Tuesday, 2017-01-24

*** yangyapeng has quit IRC00:16
*** zhurong has joined #openstack-freezer00:48
*** yangyapeng has joined #openstack-freezer01:39
*** yangyapeng has quit IRC01:55
*** Marcellin__ has quit IRC01:59
*** yangyapeng has joined #openstack-freezer02:00
*** c00281451_ has joined #openstack-freezer03:05
*** zengchen has quit IRC03:09
*** zhurong has quit IRC03:40
*** vAlexa_ has joined #openstack-freezer05:35
*** vAlexa has quit IRC05:36
*** lpetrut has joined #openstack-freezer06:15
*** vAlexa_ has quit IRC06:49
*** lpetrut has quit IRC06:56
*** saggi has quit IRC07:16
*** yuvalb has quit IRC07:16
*** lpetrut has joined #openstack-freezer07:16
*** yuvalb has joined #openstack-freezer07:17
*** saggi has joined #openstack-freezer07:17
*** yuvalb has quit IRC07:31
*** yuvalb has joined #openstack-freezer07:32
*** lpetrut has quit IRC07:50
*** yuval has joined #openstack-freezer08:01
*** openstackgerrit has quit IRC08:03
*** lpetrut has joined #openstack-freezer08:06
*** vAlexa has joined #openstack-freezer08:24
*** lpetrut has quit IRC08:56
*** electrofelix has joined #openstack-freezer08:56
*** vAlexa has quit IRC09:19
*** vAlexa has joined #openstack-freezer09:21
*** yangyapeng has quit IRC10:18
*** yangyapeng has joined #openstack-freezer11:44
*** openstackgerrit has joined #openstack-freezer12:08
openstackgerritOpenStack Proposal Bot proposed openstack/freezer: Updated from global requirements  https://review.openstack.org/42366312:08
*** catintheroof has joined #openstack-freezer12:16
*** lpetrut has joined #openstack-freezer12:37
*** lpetrut has quit IRC13:04
*** AlexeyAbashkin has joined #openstack-freezer13:16
*** daemontool has joined #openstack-freezer14:18
daemontoolall, https://etherpad.openstack.org/p/freezer_cinder-os-brick please take a look14:32
daemontoolit would be a new engine14:32
daemontoollike cinder-osbrick14:33
daemontoolto backup volume, without passing throught Glance14:33
daemontooland leveraging os_bricks from Cinder14:33
daemontoolplanning to create a spec today for review, thanks14:33
slashmeThx daemontool :)14:34
slashmeSeems interresting14:34
slashmeI'll take a look :)14:34
daemontoolthanks slashme14:34
daemontoolI have couple of thought14:35
daemontoolwas discussing14:35
daemontools/discussing/thinking/14:35
daemontoolit is possible to mount the image of a VM?14:35
ralievhey everyone :)14:35
slashmedaemontool: Yes, through a loopback14:35
daemontoollike VM -> snapshot -> (convert to something)? -> mount it14:35
slashmeHi raliev14:36
daemontoolnot sure if os-brick can be used for VMs14:36
daemontoolbut we could use the same approach14:36
daemontoolalso for instances backup14:36
daemontooleventually14:36
daemontoolso with os-brick basically we do not pass throught glance14:36
daemontoolthat's the difference14:36
daemontoolthe summary of the workflow would be14:36
daemontoolvolume snap -> convert snap to volume -> attach it with os-brick -> mount it on the vm where the freezer-agent is runnning14:37
daemontooland then execute a normal fs backup of /14:37
slashmeI did not know about os-brick14:37
*** dstepanenko has joined #openstack-freezer14:37
daemontoolthen umount, detach, remove the new volume14:37
daemontoolslashme:  it's a library that allows you to mount volumes from the vm14:38
daemontooldirectly14:38
slashmeIt provides python utilities to access cinder-columes regardless of the cinder backend then ?14:38
daemontoolhttp://docs.openstack.org/developer/os-brick/api/os_brick/initiator/connector.html14:38
daemontoolyes14:38
daemontoolexactly14:38
slashmeThat's pretty cool14:38
daemontoolbut, you do not have access14:39
daemontoolto the volume file as a whole14:39
daemontoolbut you can mount it14:39
daemontooldireclty14:39
daemontooland see the content14:39
daemontoolse we save the Glance step14:39
daemontoolfor volumes backup14:39
daemontooland was wondering if the same approch (that of course need to be evaluated by the Team)14:39
daemontoolcan work for instances too14:40
daemontoolanyway all take a look14:40
slashmedaemontool, if the ephemeral uses volumes (for example this can be configured with ceph), then, I guess yes. But not in most case14:40
daemontoolok14:41
daemontoolthe other point I'm wondering is14:42
daemontoolwhat volume clone does underneath14:42
daemontoolwhat happen if the volume is being written while a clone is happening14:42
daemontoolbecause in that spec14:42
daemontoolthe proposal would be to use14:43
slashmeI guess it depends on the backend14:43
*** lpetrut has joined #openstack-freezer14:43
daemontoolsnap -> convert to vol back (so the volume can be attached with os-brick)14:43
daemontoolbut snap -> convert back to vol14:43
daemontoolmay take time14:43
daemontoolso was thinking about clone14:43
daemontoolok14:43
ralievdaemontool, did you read this article? http://docs.openstack.org/admin-guide/blockstorage-volume-backups.html14:54
daemontoolraliev:  yes14:58
daemontoolthing about that is that cinder-backup needs to be available14:58
daemontooland14:58
daemontoolonly swift can be used as stoarge14:58
daemontoolalso all the operations there on volumes, like compress and encrypt14:59
daemontoolhappens in the storage node14:59
daemontoolwhile our approach with the agent is distributed, it probably scales better14:59
daemontoolthe other thing is14:59
daemontoolthat the volumes encryption keys14:59
daemontoolare managed by the storage node14:59
daemontoolwhile we give to each tenant his own key15:00
daemontoolwith the storage brick approach, we backup data within the volume, without having the agent installed in the VM15:01
daemontoolso that can be restore anywhere15:01
daemontoolon another volume, on a VM non-ephemeral15:01
daemontoolon a bare metal15:01
daemontoolprobably more flexible15:02
daemontoolI need to write the restore part thought...15:02
daemontool(in the spec)15:02
ralievso, the most important problem for now - step about creating a snap and converting back to a volume15:03
ralievam I right?15:03
daemontoolwell that's 2 API calls15:05
daemontoolissues is amount of time15:05
daemontoolto make that happen15:05
daemontoolrelated to the Volume size15:05
daemontoolthat's why I was asking before is volume clone15:05
daemontoolcan be of any help to speed up the process (but consistency can be an issue there is snapshot is not taken)15:06
*** yangyapeng has quit IRC15:12
daemontoolraliev: make sense a bit what I'm saying?15:31
daemontoolprobably some points are weak15:31
daemontoolbut I think distributed approach is probably better15:32
ralievdaemontool, yep, but we'll have a whole picture after describing restore process15:32
daemontoolgood statement :)15:33
ralievI'll try to ask Ivan Kolodyazhny from cinder team for review this spec, mb he has ideas how to improve that :)15:36
daemontoolok thanks, let's wait couple of dys15:38
daemontoolso I can add more contant15:38
daemontoolre: restore15:38
daemontooldefinetely yes, thanks15:38
ralievso, our final goal is to run freezer-agent on root dir of attached volume and create backup file with it's content15:39
daemontoolyes15:40
daemontoolotherwise we have to implement a driver for each storage backend15:41
daemontoolto act directly on volume files (as a whole)15:41
daemontoolthen we can reuse the rync, tar coe15:41
daemontoolcode15:41
daemontoolbut without having the agent actually installed in the VM15:42
daemontoollike agentless with agent15:42
daemontool:)15:42
daemontooljust a proposal15:42
daemontoolfell free of course to disagree with anything15:42
ralievdon't have any objections for now because I still have some "white spots" in understanding a whole process :)15:44
ralievas far as I understand, we have to create and boot a vm with bundled freezer-agent for backup, correct?15:45
*** yuval has quit IRC15:45
daemontoolraliev: yes, the same VM where the agent run, the if we want to parallelize and automate15:50
daemontoolby creating the VM from scratch15:50
daemontoolthat's cool either15:50
daemontoolbut probalby we could do that by implementing heat resources for freezer15:50
daemontoolsomehow we need to solve the scalability issues15:51
daemontoolwithout implementing storage backend specific code15:51
daemontoolis possible15:51
daemontoolif possible15:52
ralievin general, that's a good idea, if we'll find a way how to speed up the process of creating snapshot of a volume and restore it - that would be perfect :)15:57
daemontoolyep15:59
ralievbasically this is a main issue - get a quick access to static volume content, regardless of backend type16:02
daemontoolyes16:02
daemontoolagreed16:02
*** dmellado has quit IRC16:07
*** yangyapeng has joined #openstack-freezer16:12
*** yangyapeng has quit IRC16:17
*** dstepanenko has quit IRC16:21
ralievslashme, daemontool I've updated rsync patchset, actually there are no issues with incremental backup and backup a single file. Also I've added tests and workaround if file was deleted (it'will be marked as deleted in backup meta and unlinked during restore process). if you have a chance - please review it :)16:25
daemontoolraliev:  excellent, thanks16:27
daemontoolabout that, at some point probably we need to think about the soft/hard approach we were discussing?16:32
*** dmellado has joined #openstack-freezer16:48
*** dmellado has quit IRC16:53
*** dmellado has joined #openstack-freezer16:59
*** vAlexa has quit IRC17:39
*** yangyapeng has joined #openstack-freezer17:53
*** yangyapeng has quit IRC17:59
*** daemontool has quit IRC18:02
*** vAlexa has joined #openstack-freezer18:20
*** vAlexa_ has joined #openstack-freezer18:24
*** vAlexa_ has quit IRC18:30
*** electrofelix has quit IRC18:34
*** lpetrut has quit IRC19:16
openstackgerritOpenStack Proposal Bot proposed openstack/freezer: Updated from global requirements  https://review.openstack.org/42366319:50
*** yangyapeng has joined #openstack-freezer19:56
*** yangyapeng has quit IRC20:00
*** vanez has joined #openstack-freezer20:40
*** yangyapeng has joined #openstack-freezer20:57
*** yangyapeng has quit IRC21:02
*** lpetrut has joined #openstack-freezer21:10
*** NostawRm has joined #openstack-freezer21:16
*** catintheroof has quit IRC21:35
*** catintheroof has joined #openstack-freezer21:35
*** catintheroof has quit IRC21:35
*** vanez has quit IRC21:58
NostawRmam i reading the docs correctly that the incremental backups only work with swift?22:41
*** lpetrut has quit IRC22:44
*** yangyapeng has joined #openstack-freezer22:58
*** yangyapeng has quit IRC23:03
*** yangyapeng has joined #openstack-freezer23:44
*** yangyapeng has quit IRC23:48

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