*** yangyapeng has joined #openstack-freezer | 00:04 | |
*** yangyapeng has quit IRC | 00:11 | |
*** jiaopengju has joined #openstack-freezer | 00:36 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/freezer master: Updated from global requirements https://review.openstack.org/491281 | 00:42 |
---|---|---|
*** yangyapeng has joined #openstack-freezer | 01:10 | |
*** yangyapeng has quit IRC | 01:10 | |
*** yangyapeng has joined #openstack-freezer | 01:17 | |
*** jiaopengju has quit IRC | 02:06 | |
*** jiaopengju has joined #openstack-freezer | 02:12 | |
*** jiaopengju has quit IRC | 02:13 | |
*** jiaopengju has joined #openstack-freezer | 02:14 | |
*** trinaths has joined #openstack-freezer | 05:26 | |
*** jiaopeng_ has joined #openstack-freezer | 05:55 | |
*** jiaopen__ has joined #openstack-freezer | 05:56 | |
*** jiaopeng_ has quit IRC | 05:56 | |
*** jiaopen__ has quit IRC | 05:56 | |
*** yangyapeng has quit IRC | 06:01 | |
*** yangyapeng has joined #openstack-freezer | 06:02 | |
trinaths | yangyapeng: hi | 06:33 |
*** yangyape_ has joined #openstack-freezer | 06:45 | |
*** yangyapeng has quit IRC | 06:45 | |
yangyape_ | trinaths: hi | 07:01 |
trinaths | yangyape_: hi | 07:04 |
trinaths | yangyape_: can you comment on this, http://paste.openstack.org/show/617637/ | 07:04 |
trinaths | yangyape_: "path_to_backup" variable is missing some sense. | 07:05 |
trinaths | yangyape_: line 48 and 49 | 07:06 |
yangyape_ | trinaths: ok | 07:06 |
trinaths | yangyape_: line 7 | 07:06 |
*** yangyape_ is now known as yangyapeng | 07:07 | |
trinaths | yangyapeng: var "path_to_backup" is the path for the file or directory to back up from the the host machine. right ? | 07:10 |
yangyapeng | trinaths: [Errno 2] No such file: IOError: [Errno 2] No such file | 07:11 |
trinaths | yangyapeng: the directory exists. | 07:11 |
trinaths | [anaconda root@node-1046 freezer]# ls /var/lib/nova/ | 07:12 |
trinaths | instances | 07:12 |
trinaths | yangyapeng: i have given the absolute path | 07:13 |
yangyapeng | trinaths: yes, I confirm that the SSH backup method. | 07:15 |
*** diliprenkila has joined #openstack-freezer | 07:15 | |
trinaths | the destination/remote backup directory and host backup directory existis | 07:15 |
trinaths | yangyapeng: confirm ?? | 07:15 |
yangyapeng | trinaths: SSH backup, Confirmation code workflow :) wait | 07:16 |
trinaths | yangyapeng: ok | 07:18 |
jiaopengju | yangyapeng trinaths: It seems we have disscussed this question few weeks ago. Parameter ‘—no-incremental true’ should be added | 07:19 |
jiaopengju | trinaths: do you remember that? | 07:20 |
trinaths | jiaopengju: thats another issue. | 07:21 |
trinaths | jiaopengju: this is where you have suggested.http://paste.openstack.org/raw/616696/ | 07:24 |
trinaths | jiaopengju: its for freezer-agent | 07:24 |
trinaths | jiaopengju: I'm not using freezer-aget manually | 07:24 |
trinaths | jiaopengju: 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 |
jiaopengju | trinaths: freezer-scheduler also use freezer-agent. maybe you can try to add no_incremental: true to the configuration file and test again | 07:25 |
trinaths | jiaopengju: one doubt. can I have "--no-incremental true" in freezer-actions section of jobs.json file ? | 07:25 |
trinaths | ok | 07:26 |
trinaths | I will try now | 07:26 |
jiaopengju | trinaths: :) | 07:26 |
trinaths | jiaopengju: in which sectio I need to add this? jobs? or freezer_actions ? | 07:26 |
jiaopengju | trinaths: freezer_action | 07:27 |
trinaths | jiaopengju: ok. the job is the progress | 07:31 |
yangyapeng | trinaths: /home/kube/freezer_backup this dir is there ? | 07:32 |
trinaths | yangyapeng: yes | 07:32 |
diliprenkila | Hi 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 |
yangyapeng | jiaopengju: oh , no-incremental ? | 07:33 |
trinaths | diliprenkila: check your adminrc | 07:33 |
yangyapeng | diliprenkila: trinaths yes :) | 07:34 |
trinaths | yangyapeng: http://paste.openstack.org/show/617640/ | 07:34 |
trinaths | yangyapeng: the directory is there | 07:34 |
jiaopengju | yangyapeng: yes. last time we found that freezer-agent will check the incremental data and not found | 07:34 |
jiaopengju | trinaths: is it works well now? | 07:34 |
trinaths | jiaopengju: no respone at controller or compute-node | 07:35 |
trinaths | jiaopengju: the result is pending | 07:35 |
yangyapeng | trinaths: jiaopengju ok, I didn't test ssh storage too much, if it have the question about no-incremental, it should add this param | 07:36 |
trinaths | yangyapeng: ok | 07:36 |
jiaopengju | trinaths: can you paste the log? | 07:36 |
trinaths | jiaopengju: there is not log genereted at compute-node for this job. | 07:36 |
yangyapeng | jiaopengju: https://review.openstack.org/#/c/458379/ about the patch i review your common. | 07:36 |
jiaopengju | yangyapeng: yes, I means that we can not remove all the volume backups through freezer | 07:37 |
trinaths | jiaopengju: this is what I have, http://paste.openstack.org/show/617641/ | 07:37 |
yangyapeng | jiaopengju: if it is necessary delete all backup ? | 07:37 |
yangyapeng | jiaopengju: if we backup cinder volume and manage backup, i think there should be a backup at least | 07:38 |
jiaopengju | yangyapeng: IMO, it is necessary. otherwise, if we want to delete all the backups, we must use cinder api | 07:39 |
jiaopengju | yangyangpeng: if the volume has been deleted and the user wiil not use the volume forever? | 07:40 |
yangyapeng | jiaopengju: okay, i update this patch later. | 07:41 |
jiaopengju | yangyapeng: thank you! :) | 07:41 |
yangyapeng | jiaopengju: :) | 07:41 |
jiaopengju | trinaths: is the backup finished? | 07:42 |
trinaths | jiaopengju: no | 07:43 |
trinaths | jiaopengju: nothing happened at either end. | 07:43 |
jiaopengju | trinaths: what’s did you do after changing the configuration file? | 07:44 |
jiaopengju | what | 07:44 |
trinaths | jiaopengju: stop and deleted the old job | 07:44 |
trinaths | created a new job with new config | 07:44 |
trinaths | and then started the new job | 07:44 |
trinaths | http://paste.openstack.org/show/617642/ | 07:45 |
jiaopengju | freezer job-start | 07:45 |
jiaopengju | trinaths: it seems you did not start the job | 07:46 |
jiaopengju | oh, sorry | 07:46 |
jiaopengju | I see it | 07:46 |
jiaopengju | trinaths: where did you execute the command (compute or controller)? where is the file you want to backup (compute or controller)? | 07:50 |
trinaths | jiaopengju: i started the job in controller | 08:10 |
trinaths | jiaopengju: the job is to backup a directory in compute node at a remote location | 08:10 |
trinaths | jiaopengju: it started now. | 08:14 |
trinaths | jiaopengju: yangyapeng: the back up went well. thanks you for your kind help and your valuable time | 08:25 |
trinaths | :) | 08:25 |
diliprenkila | trinaths: my problem is http://paste.openstack.org/show/617639/ | 08:35 |
diliprenkila | I think adminrc is okay. | 08:35 |
diliprenkila | here is my freezer api conf file http://paste.openstack.org/show/617649/ | 08:37 |
trinaths | diliprenkila: not conf. adminrc file with envriotnment vars | 08:38 |
trinaths | diliprenkila: what do you get when to start the service ? | 08:39 |
diliprenkila | trinaths: i get no error when i start the api service. | 08:39 |
trinaths | diliprenkila: | 08:42 |
trinaths | diliprenkila: ok. why u get this error | 08:43 |
trinaths | jiaopengju: yangyapeng: restore job throws an exception though restore-abs-path exists, http://paste.openstack.org/show/617650/ | 08:46 |
diliprenkila | trinaths: is it worthy to check keystone logs ? | 08:47 |
trinaths | diliprenkila: yes | 08:47 |
trinaths | jiaopengju: 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 |
jiaopengju | trinaths: In master branch, this issue has been fixed | 08:51 |
jiaopengju | trinaths: https://github.com/openstack/freezer/blob/master/freezer/job.py#L306 | 08:51 |
*** c00281451__ is now known as zengchen | 08:52 | |
yangyapeng | trinaths: restore-abs-path change to restore_abs_path, have a try | 08:52 |
yangyapeng | restore-nova.json | 08:53 |
trinaths | ok | 08: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 --regio | 08:54 |
trinaths | jiaopengju: yangyapeng: success :) Backup and restore worked | 08:56 |
trinaths | thanks a lot for the help. | 08:56 |
yangyapeng | trinaths: :) | 09:11 |
trinaths | jiaopengju: yangyapeng: where to contribute my updates towards user guide docs ? | 09:22 |
jiaopengju | trinaths: https://review.openstack.org | 09:23 |
trinaths | ok | 09:24 |
yangyapeng | trinaths: https://github.com/openstack/freezer/blob/master/doc/source/user/ update these usage user guide | 09:24 |
jiaopengju | trinaths: https://wiki.openstack.org/wiki/How_To_Contribute | 09:24 |
yangyapeng | trinaths: how to contribute please view it https://docs.openstack.org/infra/manual/developers.html | 09:25 |
trinaths | yangyapeng: yes. ok. thank you. | 09:25 |
trinaths | will post a review | 09:25 |
trinaths | jiaopengju: 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 |
jiaopengju | trinaths: the access has gone to the compute-node? | 09:28 |
trinaths | jiaopengju: yes | 09:29 |
jiaopengju | trinaths: I don’t know what you mean | 09:29 |
trinaths | jiaopengju: the network connectivity for compute node is down. what should happen to active backup/restore operations.? | 09:30 |
*** yangyape_ has joined #openstack-freezer | 09:31 | |
jiaopengju | trinaths: I didn’t test this case yet | 09:32 |
*** yangyapeng has quit IRC | 09:32 | |
jiaopengju | trinaths: If you found some error or bug, plase report it to launchpad | 09:33 |
trinaths | jiaopengju: 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 |
trinaths | jiaopengju: ok. I will raise this issue. | 09:34 |
jiaopengju | trinaths: thank you :) | 09:34 |
trinaths | :) | 09:35 |
diliprenkila | trinaths: | 09:39 |
trinaths | diliprenkila: yes | 09:41 |
trinaths | jiaopengju: here is the bug, https://bugs.launchpad.net/freezer/+bug/1709050 | 09:44 |
openstack | Launchpad bug 1709050 in OpenStack Backup/Restore and DR (Freezer) "Back and Restore functionality when network connectivity is DOWN" [Undecided,New] | 09:44 |
jiaopengju | trinaths: ok, I see it | 09:46 |
trinaths | jiaopengju: restore operation take more time than backup ? | 10:05 |
trinaths | jiaopengju: I think restore was a fail, http://paste.openstack.org/show/617665/ | 10:15 |
trinaths | jiaopengju: from past an hour the JOB is in RUNNING status and there are no files copied to the destination. | 10:15 |
*** jiaopengju has quit IRC | 10:17 | |
trinaths | yangyape_: hi | 10:26 |
*** yangyape_ has quit IRC | 10:30 | |
*** yangyapeng has joined #openstack-freezer | 10:31 | |
*** yangyapeng has quit IRC | 10:33 | |
*** yangyapeng has joined #openstack-freezer | 10:35 | |
*** yangyapeng has quit IRC | 10:39 | |
*** trinaths has left #openstack-freezer | 10:54 | |
*** eharney has quit IRC | 11:27 | |
*** catintheroof has joined #openstack-freezer | 11:28 | |
*** trinaths has joined #openstack-freezer | 11:35 | |
*** yangyapeng has joined #openstack-freezer | 11:37 | |
*** catintheroof has quit IRC | 11:38 | |
*** yangyapeng has quit IRC | 11:39 | |
*** yangyapeng has joined #openstack-freezer | 11:39 | |
*** trinaths has left #openstack-freezer | 11:45 | |
*** catintheroof has joined #openstack-freezer | 11:50 | |
*** yangyapeng has left #openstack-freezer | 11:54 | |
*** catintheroof has quit IRC | 11:55 | |
*** catintheroof has joined #openstack-freezer | 12:30 | |
*** diliprenkila has left #openstack-freezer | 12:54 | |
*** jiaopengju has joined #openstack-freezer | 14:32 | |
*** jiaopengju has quit IRC | 14:34 | |
*** yangyapeng has joined #openstack-freezer | 15:03 | |
*** yangyapeng has quit IRC | 16:13 | |
*** yangyapeng has joined #openstack-freezer | 16:13 | |
*** yangyapeng has quit IRC | 16:20 | |
*** yangyapeng has joined #openstack-freezer | 18:15 | |
*** yangyapeng has quit IRC | 18:20 | |
*** yangyapeng has joined #openstack-freezer | 20:16 | |
*** yangyapeng has quit IRC | 20:21 | |
*** catintheroof has quit IRC | 21:20 | |
*** yangyapeng has joined #openstack-freezer | 22:17 | |
*** yangyapeng has quit IRC | 22:21 | |
*** catintheroof has joined #openstack-freezer | 23:28 | |
*** catintheroof has quit IRC | 23:50 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!