Monday, 2017-08-07

*** yangyapeng has joined #openstack-freezer00:04
*** yangyapeng has quit IRC00:11
*** jiaopengju has joined #openstack-freezer00:36
openstackgerritOpenStack Proposal Bot proposed openstack/freezer master: Updated from global requirements  https://review.openstack.org/49128100:42
*** yangyapeng has joined #openstack-freezer01:10
*** yangyapeng has quit IRC01:10
*** yangyapeng has joined #openstack-freezer01:17
*** jiaopengju has quit IRC02:06
*** jiaopengju has joined #openstack-freezer02:12
*** jiaopengju has quit IRC02:13
*** jiaopengju has joined #openstack-freezer02:14
*** trinaths has joined #openstack-freezer05:26
*** jiaopeng_ has joined #openstack-freezer05:55
*** jiaopen__ has joined #openstack-freezer05:56
*** jiaopeng_ has quit IRC05:56
*** jiaopen__ has quit IRC05:56
*** yangyapeng has quit IRC06:01
*** yangyapeng has joined #openstack-freezer06:02
trinathsyangyapeng: hi06:33
*** yangyape_ has joined #openstack-freezer06:45
*** yangyapeng has quit IRC06:45
yangyape_trinaths: hi07:01
trinathsyangyape_: hi07:04
trinathsyangyape_: can you comment on this, http://paste.openstack.org/show/617637/07:04
trinathsyangyape_:  "path_to_backup" variable is missing some sense.07:05
trinathsyangyape_: line 48 and 4907:06
yangyape_trinaths: ok07:06
trinathsyangyape_: line 707:06
*** yangyape_ is now known as yangyapeng07:07
trinathsyangyapeng: var "path_to_backup" is the path for the file or directory to back up from the the host machine. right ?07:10
yangyapengtrinaths: [Errno 2] No such file: IOError: [Errno 2] No such file07:11
trinathsyangyapeng: the directory exists.07:11
trinaths[anaconda root@node-1046 freezer]# ls /var/lib/nova/07:12
trinathsinstances07:12
trinathsyangyapeng: i have given the absolute path07:13
yangyapengtrinaths: yes, I confirm that the SSH backup method.07:15
*** diliprenkila has joined #openstack-freezer07:15
trinathsthe destination/remote backup directory and host backup directory existis07:15
trinathsyangyapeng: confirm ??07:15
yangyapengtrinaths: SSH backup, Confirmation code workflow :) wait07:16
trinathsyangyapeng: ok07:18
jiaopengjuyangyapeng trinaths: It seems we have disscussed this question few weeks ago. Parameter ‘—no-incremental true’ should be added07:19
jiaopengjutrinaths: do you remember that?07:20
trinathsjiaopengju: thats another issue.07:21
trinathsjiaopengju: this is where you have suggested.http://paste.openstack.org/raw/616696/07:24
trinathsjiaopengju: its for freezer-agent07:24
trinathsjiaopengju: I'm not using freezer-aget manually07:24
trinathsjiaopengju: in the controller I created a job and started it. Now at the compute-node end, freezer-scheduler has taken the job and while using the freezer-agent, the freezer-agent posted this errror.07:25
jiaopengjutrinaths: freezer-scheduler also use freezer-agent. maybe you can try to add no_incremental: true to the configuration file and test again07:25
trinaths jiaopengju: one doubt. can I have "--no-incremental true" in freezer-actions section of jobs.json file ?07:25
trinathsok07:26
trinathsI will try now07:26
jiaopengjutrinaths: :)07:26
trinathsjiaopengju: in which sectio I need to add this? jobs? or freezer_actions ?07:26
jiaopengjutrinaths: freezer_action07:27
trinathsjiaopengju: ok. the job is the progress07:31
yangyapengtrinaths: /home/kube/freezer_backup  this dir   is there ?07:32
trinathsyangyapeng: yes07:32
diliprenkilaHi guys.   I am getting the following errors while connecting to freezer-api through its command line client. The error is "keystonemiddleware.auth_token [-] Bad response code while validating token: 400: BadRequest: Invalid input for field identity/password/user: id or name must be present". http://paste.openstack.org/show/617639/07:32
yangyapengjiaopengju: oh  , no-incremental ?07:33
trinathsdiliprenkila: check your adminrc07:33
yangyapengdiliprenkila: trinaths yes :)07:34
trinathsyangyapeng: http://paste.openstack.org/show/617640/07:34
trinathsyangyapeng: the directory is there07:34
jiaopengjuyangyapeng: yes. last time we found that freezer-agent will check the incremental data and not found07:34
jiaopengjutrinaths: is it works well now?07:34
trinathsjiaopengju: no respone at controller or compute-node07:35
trinathsjiaopengju: the result is pending07:35
yangyapengtrinaths: jiaopengju ok, I didn't test  ssh storage too much,  if it have the question about no-incremental, it should add this param07:36
trinathsyangyapeng: ok07:36
jiaopengjutrinaths: can you paste the log?07:36
trinathsjiaopengju: there is not log genereted at compute-node for this job.07:36
yangyapengjiaopengju: https://review.openstack.org/#/c/458379/ about the patch  i review  your common.07:36
jiaopengjuyangyapeng: yes, I means that we can not remove all the volume backups through freezer07:37
trinathsjiaopengju: this is what I have, http://paste.openstack.org/show/617641/07:37
yangyapengjiaopengju: if it is necessary delete all backup ?07:37
yangyapengjiaopengju: if we backup cinder volume and manage backup,  i think  there should be a backup  at least07:38
jiaopengjuyangyapeng: IMO, it is necessary. otherwise, if we want to delete all the backups, we must use cinder api07:39
jiaopengjuyangyangpeng: if the volume has been deleted and the user wiil not use the volume forever?07:40
yangyapengjiaopengju: okay,  i update this patch later.07:41
jiaopengjuyangyapeng: thank you! :)07:41
yangyapengjiaopengju: :)07:41
jiaopengjutrinaths: is the backup finished?07:42
trinathsjiaopengju: no07:43
trinathsjiaopengju: nothing happened at either end.07:43
jiaopengjutrinaths: what’s did you do after changing the configuration file?07:44
jiaopengjuwhat07:44
trinathsjiaopengju: stop and deleted the old job07:44
trinathscreated a new job with new config07:44
trinathsand then started the new job07:44
trinathshttp://paste.openstack.org/show/617642/07:45
jiaopengjufreezer job-start07:45
jiaopengjutrinaths: it seems you did not start the job07:46
jiaopengjuoh, sorry07:46
jiaopengjuI see it07:46
jiaopengjutrinaths: where did you execute the command (compute or controller)? where is the file you want to backup (compute or controller)?07:50
trinathsjiaopengju: i started the job in controller08:10
trinathsjiaopengju: the job is to backup a directory in compute node at a remote location08:10
trinathsjiaopengju: it started now.08:14
trinathsjiaopengju: yangyapeng: the back up went well. thanks you for your kind help and your valuable time08:25
trinaths:)08:25
diliprenkilatrinaths: my problem is http://paste.openstack.org/show/617639/08:35
diliprenkilaI think adminrc is okay.08:35
diliprenkilahere is my freezer api conf file http://paste.openstack.org/show/617649/08:37
trinathsdiliprenkila: not conf. adminrc file with envriotnment vars08:38
trinathsdiliprenkila: what do you get when to start the service ?08:39
diliprenkilatrinaths: i get no error when i start the api service.08:39
trinathsdiliprenkila:08:42
trinathsdiliprenkila: ok. why u get this error08:43
trinathsjiaopengju: yangyapeng: restore job throws an exception though restore-abs-path exists, http://paste.openstack.org/show/617650/08:46
diliprenkilatrinaths:  is it worthy to check keystone logs ?08:47
trinathsdiliprenkila: yes08:47
trinathsjiaopengju: yangyapeng: at, https://github.com/openstack/freezer/blob/stable/ocata/freezer/job.py#L249 I think it must be OR not AND. since any one exists is enough. comments ?08:49
jiaopengjutrinaths: In master branch, this issue has been fixed08:51
jiaopengjutrinaths: https://github.com/openstack/freezer/blob/master/freezer/job.py#L30608:51
*** c00281451__ is now known as zengchen08:52
yangyapengtrinaths: restore-abs-path  change to restore_abs_path, have a try08:52
yangyapengrestore-nova.json08:53
trinathsok08:53
diliprenkila# openstack user create --domain default --password-prompt freezer # openstack role add --project service --user freezer admin  # openstack service create --name freezer --description "Freezer Backup Service" backup  # openstack endpoint create --region RegionOne backup public http://freezer_api_publicurl:port # openstack endpoint create --region RegionOne backup internal http://freezer_api_internalurl:port # openstack endpoint create --regio08:54
trinathsjiaopengju: yangyapeng: success :) Backup and restore worked08:56
trinathsthanks a lot for the help.08:56
yangyapengtrinaths: :)09:11
trinathsjiaopengju: yangyapeng: where to contribute my updates towards user guide docs ?09:22
jiaopengjutrinaths: https://review.openstack.org09:23
trinathsok09:24
yangyapengtrinaths: https://github.com/openstack/freezer/blob/master/doc/source/user/    update these usage user guide09:24
jiaopengjutrinaths: https://wiki.openstack.org/wiki/How_To_Contribute09:24
yangyapengtrinaths: how to contribute  please view it https://docs.openstack.org/infra/manual/developers.html09:25
trinathsyangyapeng: yes. ok. thank you.09:25
trinathswill post a review09:25
trinathsjiaopengju: one doubt here, lets assume a restore is in progress, then accidentally the access has gone to the compute-node. do the JOB fails or still runs till the access is restored? In my case, I just unplugged the cable to my compute-node. but it just shown me the status running.09:27
jiaopengjutrinaths: the access has gone to the compute-node?09:28
trinathsjiaopengju: yes09:29
jiaopengjutrinaths: I don’t know what you mean09:29
trinathsjiaopengju: the network connectivity for compute node is down. what should happen to active backup/restore operations.?09:30
*** yangyape_ has joined #openstack-freezer09:31
jiaopengjutrinaths: I didn’t test this case yet09:32
*** yangyapeng has quit IRC09:32
jiaopengjutrinaths: If you found some error or bug, plase report it to launchpad09:33
trinathsjiaopengju: oh ok. I tested the same now. I think backup or restore must fail since the network access is DOWN. it may restart the task again or report FAIL to freezer-api. currently in stable/ocata, it just shows the status "running".09:34
trinathsjiaopengju: ok. I will raise this issue.09:34
jiaopengjutrinaths: thank you :)09:34
trinaths:)09:35
diliprenkilatrinaths:09:39
trinathsdiliprenkila: yes09:41
trinathsjiaopengju: here is the bug, https://bugs.launchpad.net/freezer/+bug/170905009:44
openstackLaunchpad bug 1709050 in OpenStack Backup/Restore and DR (Freezer) "Back and Restore functionality when network connectivity is DOWN" [Undecided,New]09:44
jiaopengjutrinaths: ok, I see it09:46
trinathsjiaopengju: restore operation take more time than backup ?10:05
trinathsjiaopengju: I think restore was a fail, http://paste.openstack.org/show/617665/10:15
trinathsjiaopengju: from past an hour the JOB is in RUNNING status and there are no files copied to the destination.10:15
*** jiaopengju has quit IRC10:17
trinathsyangyape_: hi10:26
*** yangyape_ has quit IRC10:30
*** yangyapeng has joined #openstack-freezer10:31
*** yangyapeng has quit IRC10:33
*** yangyapeng has joined #openstack-freezer10:35
*** yangyapeng has quit IRC10:39
*** trinaths has left #openstack-freezer10:54
*** eharney has quit IRC11:27
*** catintheroof has joined #openstack-freezer11:28
*** trinaths has joined #openstack-freezer11:35
*** yangyapeng has joined #openstack-freezer11:37
*** catintheroof has quit IRC11:38
*** yangyapeng has quit IRC11:39
*** yangyapeng has joined #openstack-freezer11:39
*** trinaths has left #openstack-freezer11:45
*** catintheroof has joined #openstack-freezer11:50
*** yangyapeng has left #openstack-freezer11:54
*** catintheroof has quit IRC11:55
*** catintheroof has joined #openstack-freezer12:30
*** diliprenkila has left #openstack-freezer12:54
*** jiaopengju has joined #openstack-freezer14:32
*** jiaopengju has quit IRC14:34
*** yangyapeng has joined #openstack-freezer15:03
*** yangyapeng has quit IRC16:13
*** yangyapeng has joined #openstack-freezer16:13
*** yangyapeng has quit IRC16:20
*** yangyapeng has joined #openstack-freezer18:15
*** yangyapeng has quit IRC18:20
*** yangyapeng has joined #openstack-freezer20:16
*** yangyapeng has quit IRC20:21
*** catintheroof has quit IRC21:20
*** yangyapeng has joined #openstack-freezer22:17
*** yangyapeng has quit IRC22:21
*** catintheroof has joined #openstack-freezer23:28
*** catintheroof has quit IRC23:50

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!