08:02:08 #startmeeting multisite 08:02:08 Meeting started Thu Sep 3 08:02:08 2015 UTC. The chair is joehuang. Information about MeetBot at http://wiki.debian.org/MeetBot. 08:02:08 Useful Commands: #action #agreed #help #info #idea #link #topic. 08:02:08 The meeting name has been set to 'multisite' 08:02:22 joehuang, could you update your commit for keystone? 08:02:23 #topic rollcall 08:02:33 #info Dimitri 08:02:36 ok 08:02:38 #info colintd 08:02:43 #info joehuang 08:02:43 #info Malla 08:02:54 #info Tapio Tallgren 08:03:12 I tried to review it, but scrolling was unmanageable 08:04:09 ok, i will update the commit with break for the sentence longer than 80 characthers 08:04:35 thanks! 08:04:43 for the .rst, it looks good 08:05:04 but for gerrit, it will not autowrap 08:05:09 i meant the rst 08:05:33 sure, I will update it 08:05:51 #action update the keystone commit, joehuang 08:06:11 #topic VNF Geo site redundancy 08:06:44 #link https://etherpad.opnfv.org/p/VNF_Geo_site_redundancy 08:07:18 #info three proposal were presented in the etherpad for VNF geo site redundancy 08:07:38 yes 08:07:51 I’ve got a question on nova quiescing 08:07:57 pls 08:08:20 in the solution proposal 1 you mentioned that “Need Nova to expose the quiesce / unquiesce, fortunately it's alreay there in Nova-compute, just to add API layer to expose the functionality. 08:08:21 ” 08:08:58 no Nova API for quiesce / unquiesce 08:09:35 what about this? https://blueprints.launchpad.net/nova/+spec/quiesced-image-snapshots-with-qemu-guest-agent 08:09:37 but the functionality has been used by Nova snapshot, and implemented in the nova-compute 08:09:51 it's this one 08:09:59 but no API exposed 08:10:12 just create VM snapshot 08:10:13 then the related interface is exposed in glance 08:10:15 os_require_quiesce=yes 08:10:50 the image metadata should be os_require_quiesce=yes 08:11:00 that’s right 08:11:34 I mean no Nova api to quiesce/unquiesce VM directly 08:12:22 ok, so the intention is to enable fs quiescing on a running VM 08:12:38 you can boot a VM with image attribute with os_require_quiesce=yes ( the image support the guest agent to quiesce ) 08:12:42 yes 08:13:29 the intention is to ask Nova to expose explict api to quiesce/unquiesce running VM 08:13:37 right the point of having this metadata attribute is to install the necessary agents 08:14:12 the image is built in with the necessary agent that make quiesce working 08:15:08 ok 08:15:19 I’ve stumbled upon this post http://www.sebastien-han.fr/blog/2015/02/09/openstack-perform-consistent-snapshots-with-qemu-guest-agent/ 08:15:37 #info the purpose to expose the quiesce/unquiesce API directly is to make transactional snapshot of a group of VMs is possible 08:15:38 could be used as an interim solution 08:16:09 that way you have to manually loggon to the VM and freeze the VM by yourself 08:16:10 #info …in Nova 08:16:25 not necessarily 08:16:33 once could use virsh 08:16:46 sudo virsh qemu-agent-command instance-00000008 '{"execute":"guest-fsfreeze-freeze"}' 08:17:21 sure , you can use command line on that phsycical server 08:17:34 sorry I can not opent the link you shared 08:17:58 # info Possible interim solution http://www.sebastien-han.fr/blog/2015/02/09/openstack-perform-consistent-snapshots-with-qemu-guest-agent/ 08:18:18 I can share the text in an email 08:19:00 that;s the current API implementation. I just open the page 08:19:54 that’s right. just thought to share this in case nova refuses to expose this function as an api ;) 08:20:37 I saw the Nova PTL comment in one BP raised by Cinder 08:21:26 can restore the topic if there is engineer willing to work on it 08:21:47 can you share the bp? 08:21:51 thanks. Sorantis, helpful 08:21:54 yes 08:22:18 wait moment 08:23:00 I know I've missed some of chunk of discussion over the last week or two, but could we step back a moment and discuss whether snapshotting all the attached volumes to the current set of VMs for a VNF is what is needed? 08:24:44 sorry take time to search the bp 08:24:47 share later 08:24:58 to conlin, one second 08:25:59 if the site where the VNF failed, the VNF can restore in another site 08:26:30 especially catastrophic failures (flood, earthquake, propagating software fault), 08:27:14 so how to restore all regarding VNF in another site, but usually not running 08:27:15 I agree the desire is to restore function, my concerns is that trying to do that simply by snapshotting all the volumes is quite a coarse approach, with lots of challenges both in terms of consistency, but also interplay with the VNF Manager and orchestrator. 08:27:54 we are talking about the consistency way, that's the proposal 1 and 2 involved 08:28:20 Consider a highly elastic system, are we going to be replicating and deleting volumes each time a VM is added or removed? Also what about the need for tight coordiantion between the replication code and the VNFM so the right volume is used a restart? 08:29:31 My expectation was that we were going to focus on helping applications with replication of a _select_ set of data between sites which they would use when restarted 08:29:33 the snapshot first and then backup to third party storage, and restore it as needed in another site, the backup may be seldom or not frequently 08:30:38 no way of replication can keep consistency without quiece and snapshot, the data changed now and then 08:31:01 The data to replicate might be in cinder volumes, but it could also be some part of a Swift KV store. 08:31:13 the 3rd proposal is way of replication 08:32:17 Option 3 was much closer to what I had in mind when I raised the original use case, and at a practical level to me it seems much easier to use 08:33:05 but no consistency guaranttee 08:33:29 especially for a group of VMs 08:33:33 Agreed, but I'm not sure that the consistency guarantee actually helps you 08:34:18 the 1st and 2nd will help, for freeze and flush 08:35:22 hello hafe 08:35:24 But is it really viable to stop the entirety of your running system to take a consistent backup? Also does it help you if the VNFM in the new site starts a different number of VMs due to different scaling metrics 08:36:24 for those vms which can't be quiesce, 08:36:43 What I'm trying to say is that my original vision for the use case was to provide help in replicating a subset of the data which would be used by the newly started VNF to restore state, rather than snapshot and replicate all storage 08:37:29 that can only be done based on VM 08:37:53 only application level knowledge know which part should be replicated 08:38:05 which part shouldn't 08:39:19 I guess the key question relates to application awareness of what is going on. Options 1 & 2 seem to be more about replicating/backing up any VNF, whereas option 3 is about proving a service to a replication aware application. 08:39:22 for those vms which can't be quiesce, the consistency can only be ensured by the data writing policy of the application 08:40:51 yes, for the 3rd option, the app should know which VM has replication capability, and write regarding data to this volume, and gurarattee consistency by the app itself 08:41:02 Agreed. 08:41:13 sorry wrong typing 08:41:21 yes, for the 3rd option, the app should know which volume has replication capability, and write regarding data to this volume, and gurarattee consistency by the app itself 08:41:59 so the option 1/2/3 are all useful, but for different scenario 08:42:09 So I think there are reapply two different things we could be attempting here: 1) Provide a facility for snapshotting and replicatings any running VNF 2) Provide some replication facilities for use by aware VNFs 08:42:35 colin, same idea 08:43:13 others opinion? 08:44:40 I think we should assume for any running VNFs 08:44:43 sorantis, malla, zhipeng, your idea> 08:44:45 The challenge with case 1 is that to get abstract snapshot/replication to work requires lots of cooperation from VNFM (to ensure exactly the same set of VNFs in backup), that you can afford to regularly pause you live system to take snapshots, and that all the data you replicate (including things like IP addresses) are just as relevant in your target system as the source 08:45:45 I think that to make case 1 work for any VNF is a very difficult, perhaps impossible, problem 08:45:52 I think there’s a use case for each of the three options 08:46:09 first one requires Nova to expose a pair of API calls 08:46:13 for option 1, after restore, some reconfiguration is needed to some extent 08:46:20 the third one can be achieved already, right 08:46:50 the 3rd one require cinder with minor update 08:46:56 so basically we can describe those alternatives, and it’s up to an operator to select the one best fit his use case 08:47:19 to record the reference and could be retrieved by upper layer software 08:47:30 to sorantis: quite agree 08:48:07 the second one needs no update, but only on single VM level 08:48:42 even the first one could be automated by using virsh 08:49:14 there was no mention of changes to cinder in option 3) 08:49:21 so I think for requirements perspective we could recommend all three options 08:49:50 I'll update the option 3 for the requirement 08:50:02 Agree that it is an operator choice, but I still hold that to make option 1 work involves a lot more than just replicating the volumes. 08:50:03 Yes, I agree with Zhipeng, from requirement point of view we can update all 3 08:50:40 #action update requirements to openstack for 3 options, joehuang 08:51:10 one thing that could be really beneficial to the user is to have example use cases for each option 08:52:11 it's a nice idea Dimitri 08:52:14 could you also update the etherpad with example 08:53:09 #agree requirements perspective we could recommend all three options, that it is an operator choice 08:53:59 so may I ask colin to add example for option 3, and sorantis to add example for option 1,2? 08:54:07 congrats we've settled another use case :) 08:54:22 Happy to update #3 08:54:30 I’ll update #1 08:54:49 ok, I will update #2 08:55:32 #action add example, sorantis #1, joehuang #2, colin #3 08:55:40 great, we have a very efficient meeting today 08:56:06 after the example has been updated, i will sum up it is .rst for review and approve 08:56:44 and please register in OPNFV gerrit/gira system, we can track these issues 08:56:53 thx joehuang 08:56:55 we have use case 1 for review and approve 08:57:25 and colin to update the desciption for the use case 2 ( which is one action item in july ) 08:57:44 Will do 08:57:50 thanks a lot 08:58:19 please keep eyes on the gira/gerrit, and add youself to the reviewer 08:58:32 or assigned to you volunteely 08:59:02 Till next week.... 08:59:03 thank you all, see you next meeting, we can start use case 4 in next meeting 08:59:16 bye 08:59:24 bye 08:59:26 bye 08:59:28 #endmeeting