*** yangyapeng has quit IRC | 00:06 | |
*** yangyapeng has joined #openstack-freezer | 01:16 | |
*** yangyapeng has quit IRC | 01:16 | |
*** yangyapeng has joined #openstack-freezer | 01:17 | |
yangyapeng | ping gahan | 01:19 |
---|---|---|
yangyapeng | gahan: hi | 01:19 |
*** EinstCrazy has joined #openstack-freezer | 01:25 | |
*** yangyape_ has joined #openstack-freezer | 03:18 | |
*** yangyapeng has quit IRC | 03:22 | |
*** yangyape_ has quit IRC | 03:22 | |
*** yangyapeng has joined #openstack-freezer | 03:42 | |
*** c00281451 has joined #openstack-freezer | 03:49 | |
*** zhangjn has quit IRC | 03:51 | |
*** chenzeng has quit IRC | 03:51 | |
*** yangyapeng has quit IRC | 03:58 | |
*** zhangjn has joined #openstack-freezer | 04:02 | |
*** c00281451 has quit IRC | 04:20 | |
*** c00281451 has joined #openstack-freezer | 04:21 | |
*** dmellado has quit IRC | 04:24 | |
*** dmellado has joined #openstack-freezer | 04:27 | |
*** yangyapeng has joined #openstack-freezer | 05:23 | |
*** lpetrut has joined #openstack-freezer | 05:32 | |
*** zhangjn has quit IRC | 05:33 | |
*** zhangjn has joined #openstack-freezer | 05:36 | |
*** yangyape_ has joined #openstack-freezer | 06:00 | |
*** yangyape_ has quit IRC | 06:01 | |
*** yangyape_ has joined #openstack-freezer | 06:01 | |
*** yangyape_ has quit IRC | 06:01 | |
*** yangyape_ has joined #openstack-freezer | 06:02 | |
*** yangyapeng has quit IRC | 06:04 | |
*** lpetrut has quit IRC | 06:39 | |
*** yangyapeng has joined #openstack-freezer | 06:44 | |
*** yangyape_ has quit IRC | 06:45 | |
*** lpetrut has joined #openstack-freezer | 06:58 | |
*** zhangjn has quit IRC | 07:12 | |
*** zhangjn has joined #openstack-freezer | 07:15 | |
*** samuelBartel has joined #openstack-freezer | 07:31 | |
*** lpetrut has quit IRC | 07:31 | |
*** yangyapeng has quit IRC | 07:34 | |
*** yangyapeng has joined #openstack-freezer | 07:37 | |
gahan | yangyapeng: ping | 07:54 |
yangyapeng | hi gahan | 08:13 |
gahan | hi yangyapeng | 08:13 |
yangyapeng | I See, you want backup instance to storage local ? | 08:13 |
gahan | yes, a specific directory if possible? | 08:15 |
yangyapeng | https://review.openstack.org/#/c/315939/ https://review.openstack.org/#/c/315547/ | 08:17 |
yangyapeng | two patch it is ok, but it is merging | 08:17 |
yangyapeng | freezer-agent --nova-inst-id 1983bb28-b962-4597-ab83-c7529594c1c5 | 08:18 |
yangyapeng | --storage local --container /home/nfs | 08:18 |
yangyapeng | --container it cloud specific diretory | 08:18 |
gahan | I'm not using latest master branch but stable/liberty | 08:19 |
yangyapeng | why not master? . i have using it openstack liberty and freezer master | 08:20 |
yangyapeng | It is ok | 08:20 |
gahan | I was asked to use latest stable on here | 08:24 |
gahan | Just followed advice | 08:24 |
gahan | yangyapeng: do you have any issues with freezer-scheduler registering with freezer-api? | 08:25 |
yangyapeng | freezer-scheduler and freezer-agent need be installed in the same machine. | 08:26 |
gahan | yeah could it be same as api too? | 08:26 |
yangyapeng | api and scheduler could be Independent of each other. | 08:29 |
gahan | that's fine, I'm just having issues registering scheduler against api and there's not much logs are telling (I used paste.openstack.org yesterday) | 08:29 |
yangyapeng | ok i read it , wait | 08:30 |
gahan | How do I make /home/ntfs a cloid specific direcotry? I didn't get that part | 08:31 |
gahan | could it not be just local path? | 08:31 |
yangyapeng | remote ssh? | 08:31 |
yangyapeng | now about nfs or gluster and so on . it need be mount to local. | 08:32 |
yangyapeng | about other driver it is not implemented | 08:32 |
gahan | lets just keep it simple and backup an instance to local storage. or backup a directory /etc/bind within an instance into local storage | 08:35 |
gahan | # freezer-agent --nova-inst-id 6b74d579-fa5f-4159-9264-96174ba0b888 --storage local --container /tmp/secondary_dns | 08:38 |
gahan | [*] Critical Error: 'Namespace' object has no attribute 'client_manager' | 08:38 |
gahan | CRITICAL:root:[*] Critical Error: 'Namespace' object has no attribute 'client_manager' | 08:38 |
yangyapeng | oh | 08:41 |
yangyapeng | i see | 08:41 |
yangyapeng | i have a patch to fix it | 08:41 |
yangyapeng | wait | 08:41 |
yangyapeng | https://review.openstack.org/#/c/303701/5/freezer/main.py | 08:45 |
yangyapeng | gahan: | 08:45 |
yangyapeng | if your openstack have swift ? | 08:45 |
gahan | well in autopilot selected ceph but i'm also using ceph-radosgw | 08:47 |
yangyapeng | liberty could have some problem | 08:47 |
gahan | ok I'm going to create another container and put api, scheduler and agent in there. is that patch applied if I get latest master using git? | 08:49 |
yangyapeng | yeah, this patch have been merged about client_manger | 08:50 |
gahan | yangyapeng: when using latest master, what elasticsearch version are you using? still 1.x or 2.x ? | 08:50 |
yangyapeng | i use 1.4.2 | 08:51 |
gahan | hm | 08:51 |
gahan | I used 1.7.5 with liberty | 08:51 |
gahan | should I use 1.4.2 with the new setup? | 08:51 |
gahan | yangyapeng: what java to run elasticsearch 1.4.2? | 08:52 |
gahan | and which python? 2.7 or 3.x? | 08:52 |
gahan | for freezer | 08:52 |
*** lpetrut has joined #openstack-freezer | 08:53 | |
yangyapeng | 2.7 | 09:04 |
yangyapeng | 1.7.5 you have met some problem ? | 09:05 |
gahan | scheduler couldn't register with api and I had no idea where was the fault | 09:05 |
gahan | I'm now trying latest master like you suggest | 09:05 |
yangyapeng | :) | 09:06 |
yangyapeng | ping szaher | 09:06 |
gahan | what's freezer-paste.ini ? | 09:07 |
yangyapeng | freezer-scheduler.conf ? or freezer-api.conf ? | 09:13 |
gahan | api | 09:17 |
gahan | oh, freezer-scheduler registered fine | 09:21 |
yangyapeng | oh , haha | 09:21 |
yangyapeng | it is fine | 09:21 |
gahan | although it's not displayed in the web ui | 09:22 |
gahan | do I need to use the same username and password for my default logins and freezer? I though sharing the same tenant is enough | 09:23 |
yangyapeng | you mean, backup nova or volume ? use admin_openrc? | 09:29 |
gahan | I thought if I was registering a client within the same region/tenant it would appear for all admins having access to that region/tenant but it seems user-based | 09:30 |
openstackgerrit | Memo Garcia proposed openstack/freezer: Move docs from readme to docs/source and docs.openstack.org https://review.openstack.org/312694 | 09:34 |
yangyapeng | gahan: about it , I'm not sure, may need to verify, if szaher can explan it | 09:39 |
gahan | yangyapeng: so webui, api, scheduler all seem to work. now going to try and backup to local storage, not cloud. --container specifics local path? | 09:39 |
*** lpetrut has quit IRC | 09:39 | |
yangyapeng | yeah | 09:39 |
*** lpetrut has joined #openstack-freezer | 09:39 | |
yangyapeng | --container /tmp/ eg.. | 09:39 |
gahan | can you explain incremental to me? I start with level 0 and if I only want to have update files that changed which level do I set? | 09:40 |
gahan | seems to be doing something | 09:41 |
gahan | does it always have to create a snapshot? | 09:41 |
yangyapeng | if backup nova, it create a snapshot. | 09:42 |
gahan | can I backup instance somehow without the need to create image snapshot? | 09:46 |
gahan | yangyapeng: [*] Critical Error: 'LocalStorage' object has no attribute 'add_stream' | 09:47 |
gahan | # freezer-agent --nova-inst-id 6b74d579-fa5f-4159-9264-96174ba0b888 --storage local --container /tmp/secondary_dns | 09:49 |
gahan | That's what I ran | 09:49 |
gahan | latest master | 09:49 |
yangyapeng | if you apply the patch | 09:50 |
yangyapeng | 1 patch https://review.openstack.org/#/c/315085/ 2 patch: https://review.openstack.org/#/c/315547/1/freezer/openstack/backup.py | 09:51 |
gahan | is gthere a nice download button so I could run patch -p0 ... ? | 09:53 |
gahan | or should I just replace backup.py downloadable from there | 09:54 |
yangyapeng | about patch1 , you can replace it is ok . | 09:55 |
gahan | is there a way to download them all as .zip ? | 09:55 |
gahan | I never used gerrit | 09:55 |
yangyapeng | but patch2, you need to have a change manual | 09:55 |
yangyapeng | oh | 09:55 |
gahan | or .tar or whatever | 09:56 |
gahan | .diff | 09:56 |
gahan | I've got the .tar for #1 - manually replace files? | 09:57 |
gahan | or run python setup.py install ? | 09:57 |
gahan | perhaps python setup.py develop ? | 09:57 |
yangyapeng | how you install freezer ? | 09:58 |
gahan | pip install -e freezer | 09:58 |
gahan | but then on the box with webui I had to run python setup.py install | 09:58 |
gahan | from within freezer and webui dirs | 09:59 |
gahan | so I've downloaded the .tar from the #2 second link, I'm thinking about replacing its backup.py with the one you've given me, and running install ? | 09:59 |
yangyapeng | no, #1 link, you can download tar | 10:00 |
gahan | yes sorry I messed numbers around | 10:00 |
gahan | I got the .tar from #1 | 10:01 |
gahan | I wanted to replace backup.py in #1 from link #2 | 10:01 |
gahan | then install as usual and that should replace the files? | 10:01 |
openstackgerrit | Memo Garcia proposed openstack/python-freezerclient: Enforce content-type in request headers https://review.openstack.org/323793 | 10:02 |
gahan | or do I extract the .tar in freezer directory I used originally, replacing the files, and re-installing? | 10:02 |
gahan | root@juju-machine-14-lxc-6:/usr/local/lib/python2.7/dist-packages# cat freezer.egg-link | 10:04 |
gahan | /root/freezer | 10:04 |
gahan | how about replacing the files within that directory using the ones I downloaded | 10:05 |
yangyapeng | you need to Modify some code to 1# link backup.py | 10:07 |
*** c00281451 has quit IRC | 10:08 | |
gahan | It ran without errors now but the size is suspicious | 10:17 |
gahan | # du -sh /tmp/secondary_dns/ | 10:17 |
gahan | 16K/tmp/secondary_dns/ | 10:17 |
gahan | there's one file | 10:17 |
gahan | # cat /tmp/secondary_dns/6b74d579-fa5f-4159-9264-96174ba0b888/1464862380/6b74d579-fa5f-4159-9264-96174ba0b888-meta | 10:18 |
gahan | {"x-object-meta-flavor-id": "2cfcfda7-cf90-40af-9682-21ea875f6350", "x-object-meta-name": "DNS Secondary"} | 10:18 |
gahan | w | 10:18 |
yangyapeng | oh . backup file is ok . | 10:18 |
gahan | where's the content of the backup? | 10:18 |
yangyapeng | #1 link1 patch to backup cinder_volume to local. #2. backup nova_instalce to local. | 10:18 |
gahan | accessing /disaster_recovery/backups/ returns RROR:disaster_recovery.utils:'NoneType' object has no attribute 'copy' | 10:19 |
gahan | I patched both | 10:19 |
yangyapeng | ls -l /tmp/secondary_dns/6b74d579-fa5f-4159-9264-96174ba0b888/1464862380/ | 10:21 |
gahan | my new backup.py has both modified backup_cinder_by_glance() and backup_nova() | 10:21 |
yangyapeng | ok . it is ok | 10:21 |
gahan | -rw-r--r-- 1 root root 106 Jun 2 10:13 6b74d579-fa5f-4159-9264-96174ba0b888-meta | 10:21 |
gahan | that's all | 10:22 |
gahan | root@juju-machine-14-lxc-6:/tmp/secondary_dns# find . -type f | wc -l | 10:23 |
gahan | 1 | 10:23 |
gahan | no more files | 10:23 |
yangyapeng | it have some error ? | 10:23 |
gahan | no errors | 10:23 |
gahan | I can re-run with some verbose, debug options if you'd like | 10:23 |
yangyapeng | ok | 10:24 |
gahan | freezer-agent -v -d --nova-inst-id 6b74d579-fa5f-4159-9264-96174ba0b888 --storage local --container /tmp/backup_dns | 10:24 |
gahan | that fine? | 10:24 |
yangyapeng | can you see the log . ~/.freezer/freezer.log | 10:26 |
*** EinstCrazy has quit IRC | 10:26 | |
yangyapeng | hi gahan | 10:27 |
gahan | backup.py", line 89, in backup_nova raise BaseException(msg) | 10:28 |
gahan | I'm running again with verbose and debug | 10:30 |
yangyapeng | have some error ? | 10:32 |
yangyapeng | can you check glanceclient code ? | 10:32 |
yangyapeng | https://github.com/openstack/python-glanceclient/blob/stable/liberty/glanceclient/v1/images.py#L80 | 10:32 |
gahan | yeah got error | 10:33 |
yangyapeng | what error? | 10:33 |
gahan | http://paste.openstack.org/show/507241/ | 10:34 |
gahan | again only one file created locally | 10:35 |
gahan | # cat /tmp/backup_dns/6b74d579-fa5f-4159-9264-96174ba0b888/1464863477/6b74d579-fa5f-4159-9264-96174ba0b888-meta | 10:35 |
gahan | {"x-object-meta-flavor-id": "2cfcfda7-cf90-40af-9682-21ea875f6350", "x-object-meta-name": "DNS Secondary"} | 10:35 |
*** electrofelix has joined #openstack-freezer | 10:36 | |
gahan | I think my glance is using v2 | 10:36 |
gahan | should I downgrade python-glanceclient? | 10:36 |
yangyapeng | yes | 10:37 |
yangyapeng | oh | 10:37 |
gahan | which version do you suggest? | 10:37 |
gahan | root@juju-machine-14-lxc-6:~/freezer# grep glance requirements.txt | 10:38 |
gahan | python-glanceclient>=2.0.0 # Apache-2.0 | 10:38 |
gahan | I'm not sure that will help? | 10:38 |
gahan | I do have that line in my images.py for glanceclient | 10:39 |
gahan | yangyapeng: did you notice the link I pasted? http://paste.openstack.org/show/507241/ - is that enough logs? | 10:40 |
gahan | the thing is, image did got created | 10:43 |
gahan | yangyapeng: any ideas? | 10:45 |
yangyapeng | I have a try , sorrt | 10:46 |
yangyapeng | I have a try , i am ok | 10:48 |
yangyapeng | freezer-agent --nova-inst-id 1a3d6e77-00ac-4d70-86f9-2ad7738978fb --storage local --container /tmp/11 | 10:48 |
gahan | and the size of /tmp/11 is few gigs? | 10:49 |
gahan | what format is it? | 10:50 |
yangyapeng | I see | 10:52 |
yangyapeng | gahan: | 10:52 |
gahan | yangyapeng: can you share your freezer dir? | 10:52 |
gahan | yes | 10:52 |
yangyapeng | about glance it is error. my patch is glance v1. but master is v2 | 10:53 |
yangyapeng | [stack@freezer freezer]$ ls /tmp/11/1a3d6e77-00ac-4d70-86f9-2ad7738978fb/1464864484/ | 10:53 |
yangyapeng | 1a3d6e77-00ac-4d70-86f9-2ad7738978fb 1a3d6e77-00ac-4d70-86f9-2ad7738978fb-meta | 10:53 |
yangyapeng | I have a change today. | 10:54 |
gahan | that 1a3d6e77-00ac-4d70-86f9-2ad7738978fb is a glance image file? | 10:54 |
yangyapeng | yes | 10:56 |
gahan | mine didn't get downloaded | 10:56 |
gahan | any workaround? | 10:56 |
gahan | can I force v1 using OS env var? | 10:56 |
gahan | or something | 10:56 |
yangyapeng | can you check freezer/openstack/osclients.py | 10:57 |
gahan | sure, what line? | 10:57 |
yangyapeng | it have a change 2weeks ago. | 10:57 |
gahan | I'm looking at the file | 10:58 |
yangyapeng | https://review.openstack.org/#/c/310733/ | 10:58 |
gahan | well I've got the # (c) Copyright 2016 Hewlett-Packard Enterprise Development Company, L.P. | 10:59 |
gahan | on the second line | 10:59 |
gahan | class OSClientManager(object): too | 10:59 |
gahan | so it looks fine | 10:59 |
yangyapeng | freezer/openstack/osclients.py glance v2 , but 2 week ago is v1. | 10:59 |
yangyapeng | I shoud fix it later. | 11:00 |
yangyapeng | sorry gahan | 11:01 |
gahan | okay | 11:01 |
gahan | yangyapeng: ping me when you do :) | 11:01 |
yangyapeng | OK | 11:01 |
yangyapeng | If you have some issue , you can Join us #openstack-freezer recurring every Thursday start 4:00 PM - end 5:00 PM GMT - Meetings | 11:02 |
gahan | how many hours from now is it? | 11:03 |
yangyapeng | 3 hours | 11:03 |
gahan | okay | 11:03 |
gahan | that's the only issue I have for now | 11:04 |
gahan | do you think cinder backup would work locally? | 11:04 |
yangyapeng | ok. | 11:04 |
gahan | but with cinder I can't specify instance id, it has to be volume id, right? | 11:04 |
*** yangyapeng has quit IRC | 11:08 | |
openstackgerrit | Memo Garcia proposed openstack/freezer: Move docs from readme to docs/source and docs.openstack.org https://review.openstack.org/312694 | 11:13 |
openstackgerrit | Jonas Pfannschmidt proposed openstack/freezer: WIP: First scenario test https://review.openstack.org/320591 | 12:01 |
*** yangyapeng has joined #openstack-freezer | 12:20 | |
openstackgerrit | Saad Zaher proposed openstack/freezer-api: Moving to freezer-manage to create/update/delete mappings https://review.openstack.org/324529 | 13:27 |
szaher | yangyapeng: hi | 13:30 |
szaher | you asked about me :) | 13:30 |
szaher | m3m0 https://review.openstack.org/#/c/316178/ | 13:30 |
yangyapeng | hi szaher | 13:30 |
szaher | Hi :) | 13:30 |
yangyapeng | some patch need review last week | 13:30 |
yangyapeng | :) | 13:31 |
szaher | send it plz | 13:31 |
yangyapeng | ok | 13:32 |
*** ddieterly has joined #openstack-freezer | 14:00 | |
slashme | Okay guys, let's move to the #openstack-meeting-alt for the freezer meeting | 14:03 |
*** EinstCrazy has joined #openstack-freezer | 14:04 | |
openstackgerrit | Saad Zaher proposed openstack/freezer-api: Moving to freezer-manage to create/update/delete mappings https://review.openstack.org/324529 | 14:05 |
jonaspf | hi | 14:07 |
slashme | jonaspf: got to the #openstack-meeting-alt room | 14:12 |
openstackgerrit | Saad Zaher proposed openstack/freezer-api: Moving to freezer-manage to create/update/delete mappings https://review.openstack.org/324529 | 14:41 |
*** zhonghua is now known as zhonghua-lee | 14:57 | |
*** EinstCrazy has quit IRC | 15:35 | |
openstackgerrit | Jonas Pfannschmidt proposed openstack/freezer: WIP: First scenario test https://review.openstack.org/320591 | 15:44 |
*** ddieterly is now known as ddieterly[away] | 15:57 | |
*** ddieterly[away] is now known as ddieterly | 16:02 | |
*** samuelBartel has quit IRC | 16:14 | |
*** clenimar has joined #openstack-freezer | 16:39 | |
openstackgerrit | Clenimar Filemon proposed openstack/freezer-api: Request service token using identity v3 https://review.openstack.org/304742 | 17:09 |
*** ddieterly is now known as ddieterly[away] | 17:32 | |
*** electrofelix has quit IRC | 17:40 | |
*** lpetrut has quit IRC | 18:12 | |
*** ddieterly[away] is now known as ddieterly | 18:37 | |
*** ddieterly has quit IRC | 18:43 | |
*** clenimar has quit IRC | 19:02 | |
*** clenimar has joined #openstack-freezer | 19:06 | |
*** clenimar has quit IRC | 19:14 | |
*** clenimar has joined #openstack-freezer | 19:17 | |
*** clenimar has quit IRC | 19:32 | |
*** openstack has joined #openstack-freezer | 19:41 | |
*** lpetrut has joined #openstack-freezer | 19:46 | |
*** clenimar has joined #openstack-freezer | 19:51 | |
*** clenimar has quit IRC | 19:56 | |
*** clenimar has joined #openstack-freezer | 19:59 | |
*** clenimar has quit IRC | 20:07 | |
*** clenimar has joined #openstack-freezer | 20:11 | |
*** clenimar has quit IRC | 20:17 | |
*** clenimar has joined #openstack-freezer | 20:21 | |
*** clenimar has quit IRC | 20:31 | |
*** clenimar has joined #openstack-freezer | 20:34 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/freezer: Updated from global requirements https://review.openstack.org/315055 | 21:04 |
*** openstackgerrit has quit IRC | 22:19 | |
*** openstackgerrit has joined #openstack-freezer | 22:20 | |
*** lpetrut has quit IRC | 22:51 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!