*** jiaopengju has joined #openstack-freezer | 00:39 | |
*** vnogin has joined #openstack-freezer | 00:49 | |
*** vnogin has quit IRC | 00:53 | |
*** vnogin has joined #openstack-freezer | 02:50 | |
*** vnogin has quit IRC | 02:55 | |
*** vnogin has joined #openstack-freezer | 03:51 | |
*** vnogin has quit IRC | 03:55 | |
*** vnogin has joined #openstack-freezer | 04:51 | |
*** vnogin has quit IRC | 04:55 | |
*** trinaths has joined #openstack-freezer | 05:25 | |
*** trinaths has left #openstack-freezer | 05:25 | |
*** trinaths has joined #openstack-freezer | 05:29 | |
*** trinaths has quit IRC | 05:51 | |
*** trinaths has joined #openstack-freezer | 05:56 | |
*** vnogin has joined #openstack-freezer | 06:22 | |
trinaths | strating freezer-api gives me this error http://paste.openstack.org/show/616660/ | 06:25 |
---|---|---|
trinaths | when I start $> freezer-api , it runs on localhost. but I need to bind host to an IP address. it doesnt work properly with freezer-api | 06:26 |
trinaths | any clues ? | 06:26 |
*** vnogin has quit IRC | 06:27 | |
trinaths | jiaopengju: any comments ? | 06:38 |
*** trinaths has quit IRC | 06:51 | |
*** trinaths1 has joined #openstack-freezer | 06:51 | |
*** vnogin has joined #openstack-freezer | 07:23 | |
*** vnogin has quit IRC | 07:27 | |
*** vnogin has joined #openstack-freezer | 08:23 | |
*** vnogin has quit IRC | 08:28 | |
*** electrofelix has joined #openstack-freezer | 08:31 | |
*** daemontool has joined #openstack-freezer | 08:44 | |
*** vnogin has joined #openstack-freezer | 09:30 | |
*** daemontool has quit IRC | 10:05 | |
*** daemontool has joined #openstack-freezer | 10:15 | |
*** jiaopengju has quit IRC | 10:15 | |
trinaths1 | szaher: ping | 10:31 |
trinaths1 | m trying freezer remote storage usecase. When I try manually the freezer-agemt, I get this error in freezer-api.log = http://paste.openstack.org/show/616689/ | 10:35 |
trinaths1 | im using freezer newton | 10:35 |
*** jiaopengju has joined #openstack-freezer | 10:40 | |
trinaths1 | jiaopengju: ping | 10:40 |
jiaopengju | hi | 10:41 |
trinaths1 | jiaopengju: im trying freezer remote storage usecase. When I try manually the freezer-agemt, I get this error in freezer-api.log = http://paste.openstack.org/show/616689/ | 10:42 |
trinaths1 | jiaopengju: I have enabled password less access between compute and remote-storage nodes. | 10:42 |
jiaopengju | trinaths1: are these files exist '/home/kube/freezer_backup' /var/lib/nova/instances/b2f4d219-506a-463e-80be-1bf5f22f3266/libvirt.xml | 10:44 |
trinaths1 | jiaopengju: yes | 10:45 |
daemontool | trinaths1, try to pass explicitely the ssh key path without using ~ | 10:45 |
trinaths1 | jiaopengju: ok | 10:45 |
daemontool | I assume also this file exists: | 10:46 |
trinaths1 | ?? | 10:46 |
daemontool | /var/lib/nova/instances/b2f4d219-506a-463e-80be-1bf5f22f3266/libvirt.xml | 10:46 |
jiaopengju | ~/.ssh/id_rsa | 10:46 |
trinaths1 | daemontool: yes | 10:46 |
trinaths1 | jiaopengju: [anaconda root@node-1046 ~]# freezer-agent --action backup --path-to-backup /var/lib/nova/instances/b2f4d219-506a-463e-80be-1bf5f22f3266/libvirt.xml --backup-name instance_222 --storage ssh --ssh-username kube --ssh-key .ssh/id_rsa --ssh-host 10.20.0.4 --debug --container /home/kube/freezer_backup | 10:47 |
trinaths1 | Critical Error: [Errno 2] No such file | 10:47 |
jiaopengju | daemontool seems means use the full path of '.ssh/id_rsa' | 10:48 |
daemontool | yes paramiko returns an error where some dir is involved | 10:48 |
trinaths1 | jiaopengju: yes. please see this, [anaconda root@node-1046 ~]# freezer-agent --action backup --path-to-backup /var/lib/nova/instances/b2f4d219-506a-463e-80be-1bf5f22f3266/libvirt.xml --backup-name instance_222 --storage ssh --ssh-username kube --ssh-key .ssh/id_rsa --ssh-host 10.20.0.4 --debug --container /home/kube/freezer_backup Critical Error: [Errno 2] No such file | 10:48 |
daemontool | try with the absolute path for the key | 10:48 |
trinaths1 | daemontool: ok | 10:49 |
jiaopengju | path like /123/456 | 10:49 |
daemontool | yes like /home/user/.ssh/id_rsa | 10:50 |
*** vnogin has quit IRC | 10:50 | |
trinaths1 | jiaopengju: daemontool: i did that way too. it did not work well. http://paste.openstack.org/show/616694/ | 10:51 |
trinaths1 | one doubt doesn freezer-agent mandatory requires freezer-scheduler running? I'm trying freezer-agent in manual mode. | 10:52 |
daemontool | trinaths1, nope, you can use it directly | 10:53 |
trinaths1 | daemontool: right. | 10:53 |
daemontool | what is this? | 10:53 |
daemontool | /home/kube/freezer_backup/metadata/tar/node-1046.domain.tld_instance_222 | 10:54 |
trinaths1 | daemontool: is this the error 1970-01-01 23:42:03.719 8598 DEBUG paramiko.transport.sftp [-] [chan 0] listdir('/home/kube/freezer_backup/metadata/tar/node-1046.domain.tld_instance_222') _log /usr/lib/python2.7/site-packages/paramiko/sftp.py:131 1970-01-01 23:42:03.721 8598 ERROR freezer.main [-] [Errno 2] No such file: IOError: [Errno 2] No such file | 10:54 |
daemontool | yes | 10:54 |
trinaths1 | daemontool: why its listing that non-existing directory? puzzled | 10:54 |
jiaopengju | trinaths1: what version do you use? | 10:54 |
trinaths1 | jiaopengju: newton | 10:54 |
daemontool | I think that is the log file of paramiko... | 10:55 |
trinaths1 | daemontool: no. its the /root/.freezer/freezer-agent.log | 10:56 |
jiaopengju | trinaths1: please add --no-increamental True and take a try | 10:56 |
trinaths1 | jiaopengju: freezer-agent: error: unrecognized arguments: --no-increamental True | 10:57 |
jiaopengju | --no-incremental True | 10:57 |
jiaopengju | trinaths1: sorry | 10:57 |
daemontool | --no-incremental only should be enough | 10:57 |
trinaths1 | jiaopengju daemontool: its --no-incermental true | 10:59 |
daemontool | ok thanks | 10:59 |
jiaopengju | trinaths1: and it works? | 10:59 |
trinaths1 | still errors: http://paste.openstack.org/show/616696/ | 11:00 |
trinaths1 | its better now. it created directories | 11:01 |
trinaths1 | but existed with errors | 11:01 |
trinaths1 | http://paste.openstack.org/show/616697/ | 11:01 |
jiaopengju | trinaths1: if you use freezer-agent, it's no need to see the log of freezer-api | 11:02 |
daemontool | I think this is the the following line in paramiko that is generating the error | 11:02 |
daemontool | https://github.com/paramiko/paramiko/blob/master/paramiko/sftp.py#L131 | 11:02 |
*** Arianrhod has joined #openstack-freezer | 11:02 | |
trinaths1 | daemontool: its a logger bug ? | 11:03 |
daemontool | I'm not sure if it uses a different file or the same logging file used by freezer | 11:03 |
daemontool | so what happen if you pass explicitely the log absolute path to the freezer-agent | 11:04 |
trinaths1 | daemontool: will try now | 11:04 |
trinaths1 | daemontool: its the same kind of error. http://paste.openstack.org/show/616700/ but this time freezer-api.log is not populated. | 11:06 |
trinaths1 | do I need any conf file for agent ? | 11:06 |
*** vnogin has joined #openstack-freezer | 11:06 | |
daemontool | trinaths1, if I remember well, you can use a config file for agent but it's not required | 11:07 |
trinaths1 | daemontool: okay. | 11:07 |
daemontool | let me think, I'm not sure | 11:07 |
trinaths1 | daemontool: when I did not give --log-file option, the agent log got populated. when I have given --log-file option, the agent log did not get populated. | 11:08 |
daemontool | ok | 11:08 |
daemontool | you have space in the ssh node right? | 11:09 |
trinaths1 | yes 1 TB | 11:09 |
daemontool | just to doulbe check, can you verify this file exists on the remote node? | 11:11 |
daemontool | /home/kube/freezer_backup/data/tar/node-1046.domain.tld_instance_222/85815/0_85815 | 11:12 |
trinaths1 | kube@minikube:~/freezer_backup$ ls /home/kube/freezer_backup/data/tar/node-1046.domain.tld_instance_222/85815/0_85815 | 11:12 |
trinaths1 | data | 11:12 |
trinaths1 | kube@minikube:~/freezer_backup/data/tar/node-1046.domain.tld_instance_222/85815/0_85815$ ls -l | 11:13 |
trinaths1 | total 8068 | 11:13 |
trinaths1 | -rw-rw-r-- 1 kube kube 8257720 Jul 27 11:02 data | 11:13 |
daemontool | szaher, are you around? | 11:14 |
trinaths1 | daemontool: do I need to give any additional options for freezer-agent ? | 11:15 |
daemontool | as far as I know, that should be enough, let me check | 11:16 |
trinaths1 | daemontool: ok | 11:16 |
jiaopengju | szaher will not be here for several weeks | 11:16 |
trinaths1 | jiaopengju: yes. I see a mail in ML | 11:17 |
daemontool | jiaopengju, I'm on a windows box now, does it work for you storing onto an ssh storage? | 11:18 |
daemontool | otherwise I can check later | 11:18 |
jiaopengju | daemontool: I do not have a newton environment | 11:19 |
daemontool | ok | 11:19 |
*** vnogin has quit IRC | 11:21 | |
trinaths1 | daemontool: a manual sftp also worked fine. | 11:23 |
*** vnogin has joined #openstack-freezer | 11:24 | |
daemontool | trinaths1, I don't know, need to test it, are you online in couple of hours? | 11:24 |
trinaths1 | daemontool: yes. | 11:25 |
daemontool | ok | 11:25 |
daemontool | last thing, can you try to backup a directory instead of a single file? | 11:25 |
daemontool | use a different backup name to do this test | 11:25 |
trinaths1 | daemontool: ok. | 11:26 |
trinaths1 | daemontool: same error. | 11:27 |
daemontool | ok | 11:27 |
trinaths1 | daemontool: while I restore the same, I get the same this error. http://paste.openstack.org/show/616707/ | 11:54 |
*** jokke_ has joined #openstack-freezer | 11:58 | |
daemontool | trinaths1, thanks for the info | 12:00 |
daemontool | what if you try to use rsync instead of tar and back backup engine? | 12:00 |
daemontool | shortly I'll test it anyway | 12:01 |
trinaths1 | daemontool: ok. | 12:05 |
daemontool | brb | 12:06 |
*** daemontool has quit IRC | 12:06 | |
*** vnogin has quit IRC | 12:06 | |
*** catintheroof has joined #openstack-freezer | 12:11 | |
*** vnogin has joined #openstack-freezer | 12:16 | |
*** daemontool has joined #openstack-freezer | 12:25 | |
*** jiaopengju has quit IRC | 12:55 | |
*** jiaopengju has joined #openstack-freezer | 12:56 | |
*** Arianrhod has quit IRC | 13:03 | |
*** Arianrhod has joined #openstack-freezer | 13:14 | |
daemontool | trinaths1, ping | 13:26 |
daemontool | http://paste.openstack.org/show/616723/ | 13:26 |
daemontool | with --no-incremental true works | 13:26 |
daemontool | but the incremental does not | 13:26 |
daemontool | so it's a freezer issue I think it returns error | 13:27 |
trinaths1 | daemontool: oh okay | 13:27 |
daemontool | because cannot it cannot find | 13:27 |
daemontool | the tar metadata | 13:27 |
daemontool | that's a guess | 13:27 |
daemontool | let me check | 13:27 |
trinaths1 | daemontool: but for me --no-incremental too didnot work well. | 13:27 |
*** eharney has joined #openstack-freezer | 13:28 | |
daemontool | change backup name when using --no-incremental | 13:28 |
trinaths1 | daemontool: oh okay. let me give a try. | 13:28 |
trinaths1 | daemontool: did u try restore ? | 13:28 |
daemontool | not yet | 13:28 |
trinaths1 | daemontool: ok | 13:31 |
trinaths1 | daemontool: can you share the localrc for multi node devstack with freezer | 13:40 |
daemontool | the multi node should not change in localrc | 13:43 |
daemontool | you mean supporting multuiple backends to store backups? | 13:43 |
trinaths1 | daemontool: nope | 13:43 |
daemontool | ah ok you are looking for a localrc for a devstack deployed on multiple nodes? | 13:44 |
trinaths1 | daemontool: I have installed installed devstack ocata controller. not in another compute node I want to know the localrc changes required for freezer for devstack compute node. | 13:44 |
trinaths1 | daemontool: yes | 13:44 |
daemontool | trinaths1, ok, I don't have it currently, sorry, I use a deploymend of openstack rh osp in the lab | 13:47 |
daemontool | I assume you need that | 13:48 |
daemontool | to automate the deployment of freezer during devstack install? | 13:48 |
trinaths1 | daemontool: yes. I need to know how cinder and freezer are configured in localrc of devstack while installing a devstack compute node. | 13:51 |
daemontool | ok, this doesn't help at all? https://github.com/openstack/freezer/tree/master/devstack | 13:51 |
*** vnogin has quit IRC | 13:52 | |
trinaths1 | daemontool: i'm looking at https://docs.openstack.org/devstack/latest/guides/multinode-lab.html | 13:52 |
trinaths1 | https://docs.openstack.org/devstack/latest/guides/multinode-lab.html#configure-compute-nodes | 13:52 |
trinaths1 | daemontool: at the compute-node config, https://docs.openstack.org/devstack/latest/guides/multinode-lab.html#configure-compute-nodes can I enable freezer as I did it in controller? I think freezer-api must not run there | 13:54 |
daemontool | nope, freezer-api runs on controllers only | 13:55 |
trinaths1 | daemontool: agree | 13:59 |
daemontool | but you still want to install freezer agent there probably | 13:59 |
trinaths1 | daemontool: true said. the how to enable cinder and freezer-scheduler and freezer-agent in devstack compute node ? | 13:59 |
daemontool | why you need to enable cinder on the compute node? | 14:00 |
daemontool | for freezer I think if you add the following it should work | 14:00 |
daemontool | enable_plugin freezer https://git.openstack.org/openstack/freezer newton | 14:00 |
daemontool | in [[local|localrc]] section of your local.conf | 14:01 |
daemontool | the cinder dependencies neede for Nova on compute are deployed when installing nova | 14:01 |
*** vnogin has joined #openstack-freezer | 14:01 | |
daemontool | not sure why cinder would be needed explicitely on computes | 14:02 |
trinaths1 | daemontool: that makes sense. okay | 14:02 |
trinaths1 | daemontool: agree | 14:02 |
jiaopengju | vnogin: do we have meeting today? | 14:05 |
trinaths1 | daemontool: today we have freezer weekly meeting | 14:05 |
vnogin | jiaopengju: I'm not sure. It seems that szaher on PTO | 14:06 |
jiaopengju | vnogin: I know that. Thanks | 14:07 |
trinaths1 | ok | 14:07 |
daemontool | mhhh there's no topic change there | 14:07 |
daemontool | in #openstack-meeting-alt | 14:08 |
trinaths1 | daemontool: yes. | 14:10 |
daemontool | trinaths1, use the ocata version of freezer | 14:10 |
daemontool | even if you are on a newton openstack | 14:10 |
daemontool | these issues are not present there | 14:10 |
daemontool | it works correctly both backup and restore | 14:11 |
trinaths1 | daemontool: yes doing the same now. moving to Ocata controller and compute | 14:11 |
daemontool | anyway my feeling is that incrementals for ssh doesn't work | 14:12 |
daemontool | I think the meetings have been suspended | 14:13 |
daemontool | otherwise in the meeting room the topic would have changed already | 14:13 |
daemontool | not sure | 14:13 |
trinaths1 | daemontool: okay. since PTL is on leave this might have happened. | 14:14 |
trinaths1 | daemontool: okay. thank you for the help. i'm now leaving for home its already 20:00 hr at office. | 14:14 |
daemontool | yw | 14:14 |
daemontool | bye | 14:15 |
trinaths1 | daemontool: bye | 14:15 |
*** trinaths1 has left #openstack-freezer | 14:15 | |
daemontool | Ocata works quite well... but ssh backups on newton are broken | 14:16 |
daemontool | rsync also works | 14:19 |
daemontool | in Ocata including incrementals on ssh | 14:19 |
daemontool | even tar, but the current level is not updated in the printout | 14:19 |
daemontool | btu it works.... well done :) | 14:19 |
*** daemontool has quit IRC | 14:37 | |
*** vnogin has quit IRC | 14:43 | |
*** jiaopengju has quit IRC | 15:03 | |
*** vnogin has joined #openstack-freezer | 15:06 | |
*** vnogin has quit IRC | 15:18 | |
*** vnogin has joined #openstack-freezer | 15:31 | |
*** vnogin has quit IRC | 15:32 | |
*** vnogin has joined #openstack-freezer | 15:32 | |
*** vnogin has quit IRC | 15:56 | |
*** Arianrhod has quit IRC | 16:00 | |
*** c00281451_ has quit IRC | 17:01 | |
*** c00281451_ has joined #openstack-freezer | 17:02 | |
*** electrofelix has quit IRC | 17:43 | |
*** vnogin has joined #openstack-freezer | 19:02 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/openstack-ansible-os_freezer master: Updated from global requirements https://review.openstack.org/484120 | 19:17 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/python-freezerclient master: Updated from global requirements https://review.openstack.org/488113 | 19:20 |
*** vnogin has quit IRC | 19:21 | |
*** eharney_ has joined #openstack-freezer | 19:24 | |
*** eharney has quit IRC | 19:25 | |
*** eharney_ is now known as eharney | 19:25 | |
*** eharney has quit IRC | 19:30 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/freezer master: Updated from global requirements https://review.openstack.org/487992 | 19:44 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/python-freezerclient master: Updated from global requirements https://review.openstack.org/488113 | 19:56 |
*** eharney has joined #openstack-freezer | 20:13 | |
*** eharney has quit IRC | 20:30 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/python-freezerclient master: Updated from global requirements https://review.openstack.org/488113 | 20:32 |
*** vnogin has joined #openstack-freezer | 20:58 | |
openstackgerrit | Merged openstack/python-freezerclient master: Updated from global requirements https://review.openstack.org/488113 | 21:55 |
*** catintheroof has quit IRC | 22:27 | |
openstackgerrit | Merged openstack/freezer-api master: Updated from global requirements https://review.openstack.org/487993 | 22:34 |
*** openstack has joined #openstack-freezer | 22:45 | |
*** vnogin has quit IRC | 23:20 | |
*** vnogin has joined #openstack-freezer | 23:20 | |
*** vnogin has quit IRC | 23:25 | |
*** catintheroof has joined #openstack-freezer | 23:52 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!