openstackgerrit | Vitaliy Nogin proposed openstack/freezer-dr: Change according to preferred word choice https://review.openstack.org/403943 | 00:05 |
---|---|---|
*** catintheroof has joined #openstack-freezer | 00:08 | |
*** yangyapeng has quit IRC | 00:12 | |
openstackgerrit | Vitaliy Nogin proposed openstack/freezer-dr: Change according to preferred word choice https://review.openstack.org/403956 | 00:30 |
*** longlq_ has quit IRC | 00:36 | |
*** vnogin has quit IRC | 01:01 | |
*** longlq_ has joined #openstack-freezer | 01:05 | |
*** zhurong has joined #openstack-freezer | 01:11 | |
*** yangyapeng has joined #openstack-freezer | 01:15 | |
*** vnogin has joined #openstack-freezer | 01:25 | |
*** vnogin has quit IRC | 02:10 | |
*** catintheroof has quit IRC | 02:16 | |
*** catintheroof has joined #openstack-freezer | 02:16 | |
*** catintheroof has quit IRC | 02:20 | |
*** catintheroof has joined #openstack-freezer | 03:25 | |
*** zhurong has quit IRC | 04:15 | |
*** zhurong has joined #openstack-freezer | 04:15 | |
*** catinthe_ has joined #openstack-freezer | 04:23 | |
*** catintheroof has quit IRC | 04:26 | |
*** catinthe_ has quit IRC | 04:26 | |
*** catintheroof has joined #openstack-freezer | 04:27 | |
*** catintheroof has quit IRC | 04:27 | |
*** sam_nowitzki has joined #openstack-freezer | 05:00 | |
*** longlq_ has quit IRC | 05:00 | |
*** zhusz has quit IRC | 06:12 | |
*** yangyapeng has quit IRC | 06:13 | |
*** yangyapeng has joined #openstack-freezer | 06:13 | |
*** lpetrut has joined #openstack-freezer | 06:31 | |
*** lpetrut has quit IRC | 07:28 | |
*** zhurong has quit IRC | 07:40 | |
*** zhurong has joined #openstack-freezer | 07:41 | |
*** zhusz has joined #openstack-freezer | 08:14 | |
*** athinkingmeat has joined #openstack-freezer | 08:28 | |
openstackgerrit | Shangzhong Zhu proposed openstack/freezer: Replace --unlink-first with --overwrite https://review.openstack.org/404079 | 08:34 |
*** vnogin has joined #openstack-freezer | 09:16 | |
*** lpetrut has joined #openstack-freezer | 09:19 | |
vnogin | morning guys | 09:20 |
openstackgerrit | Shangzhong Zhu proposed openstack/freezer: Replace --unlink-first with --overwrite https://review.openstack.org/404079 | 09:24 |
*** lpetrut has quit IRC | 09:24 | |
*** lpetrut has joined #openstack-freezer | 09:31 | |
*** yuval has joined #openstack-freezer | 09:36 | |
*** lpetrut has quit IRC | 09:41 | |
*** lpetrut has joined #openstack-freezer | 09:43 | |
*** lpetrut has quit IRC | 09:47 | |
*** openstackgerrit has quit IRC | 09:48 | |
*** openstackgerrit has joined #openstack-freezer | 09:49 | |
*** lpetrut has joined #openstack-freezer | 09:49 | |
*** electrofelix has joined #openstack-freezer | 09:55 | |
*** zhurong has quit IRC | 10:05 | |
vnogin | https://review.openstack.org/#/c/404126/ | 10:25 |
raliev | morning guys, vnogin: morning Vitaliy :) | 10:33 |
vnogin | raliev: morning Ruslan :) | 10:34 |
zhusz | morning vnogin, raliev | 10:35 |
vnogin | zhusz: o/ | 10:37 |
zhusz | In fact, I'm off duty now. :) | 10:39 |
zhusz | Vnogin: By the way, where are you now? | 10:41 |
vnogin | zhusz: do you mean my current location? :) if yes - Ukraine | 10:43 |
zhusz | Yes. :) | 10:43 |
vnogin | zhusz: I think you have seen my patch in the middle of the night :))) | 10:45 |
zhusz | Yes. I have already reviewed that patch. :) | 10:47 |
*** yangyapeng has quit IRC | 10:51 | |
*** yangyapeng has joined #openstack-freezer | 10:52 | |
zhusz | Hello, yangyapeng | 10:52 |
zhusz | Are you in Shanghai now? | 10:53 |
raliev | hi zhusz :) | 10:53 |
zhusz | Hi raliev :) | 10:53 |
*** yangyapeng has quit IRC | 10:56 | |
openstackgerrit | Vitaliy Nogin proposed openstack/freezer-specs: Create relavant files for Ocata https://review.openstack.org/404154 | 11:12 |
openstackgerrit | Vitaliy Nogin proposed openstack/freezer-specs: Create relevant files for Ocata https://review.openstack.org/404154 | 11:13 |
*** lpetrut1 has joined #openstack-freezer | 11:39 | |
*** lpetrut has quit IRC | 11:41 | |
*** lpetrut1 is now known as lpetrut | 11:41 | |
openstackgerrit | Shangzhong Zhu proposed openstack/freezer: Remove unused code from freezer-scheduler https://review.openstack.org/404169 | 11:45 |
*** yangyapeng has joined #openstack-freezer | 12:12 | |
*** catinthe_ has joined #openstack-freezer | 12:37 | |
*** vnogin has quit IRC | 13:18 | |
openstackgerrit | Shangzhong Zhu proposed openstack/freezer: Remove unused code from freezer-scheduler https://review.openstack.org/404169 | 13:37 |
*** vnogin has joined #openstack-freezer | 13:40 | |
*** vnogin has quit IRC | 13:59 | |
openstackgerrit | Gleb Stepanov proposed openstack/freezer: Add flexible wait mechanism for events https://review.openstack.org/402855 | 14:14 |
*** sam_nowitzki has quit IRC | 14:15 | |
openstackgerrit | Gleb Stepanov proposed openstack/freezer: Add flexible wait mechanism for events https://review.openstack.org/402855 | 14:15 |
*** daemontool has joined #openstack-freezer | 14:19 | |
daemontool | Hi Team o/ | 14:19 |
raliev | daemontool, hi :) | 14:19 |
openstackgerrit | Gleb Stepanov proposed openstack/freezer: Add flexible wait mechanism for events https://review.openstack.org/402855 | 14:20 |
daemontool | szaher, slashme ping | 14:20 |
daemontool | for i in [szaher, slashme]: | 14:21 |
daemontool | ping i | 14:21 |
daemontool | :) | 14:21 |
slashme | import socket | 14:29 |
slashme | s = socket.socket(socket.AF_INET,socket.SOCK_RAW,socket.IPPROTO_ICMP) | 14:29 |
slashme | s.setsockopt(socket.SOL_IP, socket.IP_HDRINCL, 1) | 14:29 |
slashme | while 1: | 14:29 |
slashme | data, addr = s.recvfrom(1508) | 14:29 |
slashme | if addr == daemontool.public_ip: | 14:29 |
slashme | print("Pong daemontool") | 14:29 |
slashme | I actualy had to lookup how to implement an ICMP socket server in python before I could answer ;) | 14:29 |
daemontool | haha | 14:30 |
slashme | Did not implement the answer part though | 14:30 |
daemontool | brilliant | 14:30 |
slashme | Hi everyone | 14:30 |
daemontool | I'm finding a way to get the volume from ceph | 14:30 |
daemontool | i.e. from here https://github.com/openstack/cinder/blob/master/cinder/volume/drivers/rbd.py (not sure yet if it is the only place) | 14:31 |
daemontool | so the idea is to get the volume from the backend storage, following the same approach that is used when a snapshot volume is created | 14:31 |
daemontool | and then it is converted to image and uploaded to glance | 14:31 |
daemontool | but rather than uploading it to Glance | 14:31 |
daemontool | we process it with the freezer-agent (correct me if I'm wrong) | 14:32 |
daemontool | and process it as we do normally | 14:32 |
daemontool | so there's not need to download the volume from Glance (Swift) | 14:32 |
daemontool | this is probably driver specific | 14:32 |
daemontool | not sure if I explained myself | 14:33 |
daemontool | if not please tell me | 14:33 |
daemontool | the context is volumes baas | 14:33 |
slashme | Well if you want a specific driver for ceph, there is no real need to go through OpenStack Api | 14:33 |
slashme | You can talk directly to ceph | 14:33 |
slashme | Volumes are named with the OpenStack uuid's if I remember well | 14:34 |
slashme | So as long as you have a ceph key to access it, you can perform your action with rbdlib I'd say | 14:34 |
slashme | This will be more performant I think | 14:34 |
daemontool | ok, good good | 14:35 |
slashme | Plus, this would allow for a generic ceph driver, that can backup/restore any ceph rbd volumes, not only cinder/nova ones | 14:35 |
slashme | Just my 2 cents | 14:35 |
daemontool | so the point would be to use direclty rdblib on Ceph, rather passing through the OS APIs | 14:36 |
daemontool | like we query only the OS API (i.e. Cinder) | 14:37 |
daemontool | are used only to get the volumes uuid | 14:37 |
daemontool | or doing correlation from volumes we get from ceph | 14:37 |
daemontool | and tenants | 14:37 |
slashme | Yes. If you are passing the volume-uuid to Freezer, no need for interation. If you are passing a name, iteract with Cinder-api to get the volume uuid. | 14:39 |
slashme | Not sure if that would fall under application or engine plugin. Maybe both. | 14:40 |
slashme | szaher ? | 14:40 |
*** Marcellin__ has joined #openstack-freezer | 14:41 | |
daemontool | going to write something about that | 14:42 |
daemontool | would be good to have someone from RH reviewing it | 14:42 |
*** vnogin has joined #openstack-freezer | 14:48 | |
*** saggi has joined #openstack-freezer | 14:57 | |
slashme | daemontool: | 15:00 |
slashme | Very good idea :) | 15:00 |
*** c00281451 has joined #openstack-freezer | 15:02 | |
*** c00281451 is now known as zengchen | 15:02 | |
*** gstepanov has joined #openstack-freezer | 15:27 | |
daemontool | like this: https://www.sebastien-han.fr/blog/2012/07/03/download-a-glance-image-from-rbd/ | 15:45 |
daemontool | so we have a volume, convert it to image, then download -> process it with the agent -> upload to backup storage media | 15:46 |
daemontool | we could even wrap around | 15:50 |
daemontool | rbd export --pool=images e5d3c6dc-37b3-41e8-b375-987fe7935080 - | 15:50 |
daemontool | so the stream would go to std out | 15:50 |
daemontool | what I'm not sure to understand is if that uuid is a volume id or an image id (after image volume to image conversation) | 15:53 |
daemontool | for sure a volume snapshot should be in the middle somewhere to reduce risks of data corruption | 15:53 |
daemontool | something like | 15:55 |
daemontool | rbd snap create mypool/parent@snap | 15:55 |
daemontool | rbd snap protect mypool/parent@snap | 15:55 |
daemontool | rbd export mypool/parent@snap - | 15:55 |
openstackgerrit | Saad Zaher proposed openstack/freezer: [WIP] Freezer Engines: Added Openstack Engine https://review.openstack.org/386682 | 15:57 |
*** vnogin has quit IRC | 15:59 | |
*** yuval has quit IRC | 16:00 | |
*** vnogin has joined #openstack-freezer | 16:07 | |
*** StraubTW has joined #openstack-freezer | 16:08 | |
slashme | daemontool: Seems like a good workflow | 16:10 |
*** vnogin has quit IRC | 16:17 | |
*** vnogin has joined #openstack-freezer | 16:21 | |
vnogin | slashme: szaher m3m0_ guys, can we merge it? https://review.openstack.org/#/c/404126/ | 16:24 |
gstepanov | Hi, folks, could you tell me is it possible right now to restore nova instance? When I try to create such action in horizon I have only fs option. | 16:24 |
openstackgerrit | Saad Zaher proposed openstack/freezer: [WIP] Freezer Engines: Added Openstack Engine https://review.openstack.org/386682 | 16:43 |
openstackgerrit | Merged openstack/freezer-specs: Create relevant files for Ocata https://review.openstack.org/404154 | 16:47 |
*** zengchen has quit IRC | 16:49 | |
*** zengchen has joined #openstack-freezer | 16:50 | |
openstackgerrit | Merged openstack/freezer-api: Fix warn 'Unable to retrieve request id from context' https://review.openstack.org/402141 | 16:57 |
*** lpetrut has quit IRC | 17:28 | |
*** saggi has quit IRC | 17:29 | |
*** athinkingmeat has quit IRC | 17:30 | |
*** daemontool has quit IRC | 17:39 | |
vnogin | slashme: szaher m3m0_ raliev yangyapeng : guys, please review https://review.openstack.org/#/c/404353/ | 18:04 |
openstackgerrit | Saad Zaher proposed openstack/freezer: Fix upload Engine metafile to swift. https://review.openstack.org/404365 | 18:07 |
szaher | vnogin: Do you want just to test generating the configuration file ? or do you want to build it on the fly ? | 18:08 |
openstackgerrit | Merged openstack/freezer-dr: Add gencofig tox target https://review.openstack.org/404353 | 18:10 |
vnogin | szaher: frankly now I want it only for quick tests. However we can buildit on the fly. | 18:10 |
*** lpetrut has joined #openstack-freezer | 18:11 | |
szaher | Ok | 18:11 |
*** vnogin has quit IRC | 18:20 | |
*** vnogin has joined #openstack-freezer | 18:28 | |
*** vnogin has quit IRC | 18:32 | |
*** electrofelix has quit IRC | 18:55 | |
openstackgerrit | Merged openstack/freezer: Fix upload Engine metafile to swift. https://review.openstack.org/404365 | 19:08 |
*** lpetrut has quit IRC | 19:21 | |
*** lpetrut has joined #openstack-freezer | 20:14 | |
*** catinthe_ has quit IRC | 20:35 | |
*** vnogin has joined #openstack-freezer | 20:35 | |
*** vnogin has quit IRC | 20:54 | |
*** vnogin has joined #openstack-freezer | 20:57 | |
openstackgerrit | Shangzhong Zhu proposed openstack/freezer: Raise IndexError if backup doesn't exist https://review.openstack.org/403483 | 21:17 |
openstackgerrit | Shangzhong Zhu proposed openstack/freezer: Raise IndexError if backup doesn't exist https://review.openstack.org/403483 | 21:18 |
*** vnogin has quit IRC | 21:33 | |
*** catintheroof has joined #openstack-freezer | 21:34 | |
*** catintheroof has quit IRC | 21:38 | |
*** vnogin has joined #openstack-freezer | 21:45 | |
*** catintheroof has joined #openstack-freezer | 21:47 | |
openstackgerrit | Shangzhong Zhu proposed openstack/python-freezerclient: Fixed "End Date" and "Interval" error https://review.openstack.org/400671 | 21:59 |
openstackgerrit | Shangzhong Zhu proposed openstack/python-freezerclient: The --file parameter should be changed to required https://review.openstack.org/398097 | 22:00 |
openstackgerrit | Shangzhong Zhu proposed openstack/python-freezerclient: Change --session-id and --job-id to required https://review.openstack.org/398101 | 22:00 |
openstackgerrit | Shangzhong Zhu proposed openstack/freezer: Compare the two time using different format https://review.openstack.org/402271 | 22:01 |
*** lpetrut has quit IRC | 22:05 | |
*** vnogin has quit IRC | 22:46 | |
*** vnogin has joined #openstack-freezer | 22:47 | |
*** vnogin has quit IRC | 22:58 | |
*** vnogin has joined #openstack-freezer | 23:00 | |
*** StraubTW has quit IRC | 23:02 | |
*** catinthe_ has joined #openstack-freezer | 23:03 | |
*** catintheroof has quit IRC | 23:06 | |
*** vnogin has quit IRC | 23:28 | |
*** epheo has quit IRC | 23:38 | |
*** vnogin has joined #openstack-freezer | 23:39 | |
*** vnogin has quit IRC | 23:41 | |
*** vnogin has joined #openstack-freezer | 23:43 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!