Thursday, 2017-07-13

*** xyang1 has quit IRC00:05
*** markvoelker has quit IRC00:35
*** markvoelker has joined #openstack-meeting-cp00:47
*** gouthamr has quit IRC01:05
*** diablo_rojo has quit IRC01:48
*** nhelgeson has quit IRC02:05
*** yamahata has quit IRC02:52
*** iyamahat_ has quit IRC02:52
*** yamahata has joined #openstack-meeting-cp03:17
*** pacol has joined #openstack-meeting-cp04:15
*** pacol has quit IRC04:16
*** felipemonteiro has joined #openstack-meeting-cp04:27
*** felipemonteiro has quit IRC05:01
*** gouthamr has joined #openstack-meeting-cp05:34
*** gouthamr has quit IRC07:22
*** markvoelker has quit IRC08:08
*** edmondsw has joined #openstack-meeting-cp09:16
*** edmondsw has quit IRC09:20
*** markvoelker has joined #openstack-meeting-cp10:09
*** iyamahat has joined #openstack-meeting-cp10:39
*** yamahata has quit IRC10:41
*** iyamahat has quit IRC10:42
*** markvoelker has quit IRC10:43
*** markvoelker has joined #openstack-meeting-cp11:41
*** markvoelker has quit IRC12:13
*** markvoelker has joined #openstack-meeting-cp12:32
*** deep-book-gk_ has joined #openstack-meeting-cp12:50
*** deep-book-gk_ has left #openstack-meeting-cp12:52
*** rarcea has joined #openstack-meeting-cp14:06
*** gouthamr has joined #openstack-meeting-cp14:37
*** felipemonteiro has joined #openstack-meeting-cp14:53
*** iyamahat has joined #openstack-meeting-cp14:54
*** felipemonteiro_ has joined #openstack-meeting-cp14:55
*** felipemonteiro has quit IRC14:59
*** mriedem has joined #openstack-meeting-cp15:53
ildikov#startmeeting cinder-nova-api-changes16:00
openstackMeeting started Thu Jul 13 16:00:09 2017 UTC and is due to finish in 60 minutes.  The chair is ildikov. Information about MeetBot at http://wiki.debian.org/MeetBot.16:00
openstackUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.16:00
*** openstack changes topic to " (Meeting topic: cinder-nova-api-changes)"16:00
openstackThe meeting name has been set to 'cinder_nova_api_changes'16:00
ildikovjohnthetubaguy jaypipes e0ne jgriffith hemna mriedem patrickeast smcginnis diablo_rojo xyang1 raj_singh lyarwood jungleboyj stvnoyes16:00
stvnoyeso/16:00
mriedemo/16:01
jungleboyjLurking.  In two meetings at the moment.  :-)16:01
ildikovlet's wait a half minute and then we can start :)16:01
smcginnisMaybe I'm here, maybe I'm not. The world may never know.16:02
ildikovok, let's dive in16:02
ildikoval the open reviews are here: https://review.openstack.org/#/q/topic:bp/cinder-new-attach-apis16:02
ildikov*all16:03
ildikovCinder changes are merged16:03
ildikovwe're discussing some live_migration related items on the review at the moment16:03
stvnoyesi am going thru matt's comments16:03
ildikovmriedem: stvnoyes: is there anything to discuss here to sort it out quicker?16:03
stvnoyesi think I understand his points16:03
stvnoyesso no need here unless Matt wants to clarify anything\16:04
ildikovmriedem: is there anything for live_migrate to discuss here?16:05
mriedemi've only gone through the compute manager parts and pointed out 2 issues,16:05
mriedemand as stvnoyes said i think he gets it16:05
ildikovok, sounds good16:05
ildikovmoving on then16:06
ildikovswap_volume is annoyingly close at this point16:06
mriedemyes i'm working on an etherpad of focus areas to send to the ML16:07
ildikovmriedem: sounds great, thank you16:07
ildikovand we have the remove check_detach and attach patches besides the two we mentioned above already16:07
ildikovstvnoyes has Grenade running and started to work on the test already16:07
ildikovstvnoyes: anything we should discuss about that one?16:08
stvnoyesi am looking at the test I am going to do. attach a volume pre, and then detach post. The most obvious place to do that is in cinder resource.sh as that already has code to ssh into the guest to check the volume. anyone see any issues with that?16:09
stvnoyesvs doing it in nova's resource.sh16:09
mriedemi don't think we need to worry about sshing into the guest16:09
stvnoyesso no verification? that will make it simpler. then just attach/detach and see that it works?16:10
mriedemyes16:10
stvnoyesok16:11
mriedemi think you have to do it in cinder's resource.sh because the cinder upgrade scripts run after the nova ones16:11
mriedemso the nova server instance will be created by the time the cinder resource.sh runs16:11
stvnoyesyep16:11
mriedemah i see it already boots a server from volume https://github.com/openstack-dev/grenade/blob/master/projects/70_cinder/resources.sh#L12216:11
stvnoyesyes16:12
mriedemand then on the post upgrade it deletes that server16:12
stvnoyesi i was going to add a volume to that bfv server in cinder16:12
mriedemit already does16:13
mriedemopenstack server create --volume $id16:13
mriedemthat's why an image isn't specified16:13
mriedemthe image is used from the volume in the root disk16:13
mriedemopenstack volume create --image $DEFAULT_IMAGE_NAME --size 1 $CINDER_VOL16:13
stvnoyesok then i'll need to stop the server to detach the boot disk16:13
mriedemwell, maybe this already covers what we needed to test16:14
mriedemyou can't detach the boot disk i don't think, nova won't let you16:14
stvnoyesbut it doesn't do a detach?16:14
stvnoyesthe test that is or does that happen when the server is deleted?16:14
mriedemby default delete_on_termination is goign to be False,16:15
smcginnisYeah, only way to detach a boot disk is to blow away the instance and create a new one.16:15
stvnoyesi was going to add a new volume pre, and then detach it post (on that bfv instance)16:15
mriedemso grenade first deletes the instance and then deletes the volume16:15
mriedemthis is where we start dealing with that in the compute on instance delete https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L222316:16
mriedemso we destroy the guest https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L226316:16
mriedemwe would detach the volume here https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L229516:17
mriedemwhich is just updating the cinder db state for the volume16:17
smcginnisstvnoyes: If you're looking at doing this with a separate volume (not the boot volume) then that should be fine.16:17
mriedemonce that's done we get here https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L233616:18
mriedembdm.delete_on_termination is False so we don't attempt to delete the volume16:18
mriedemso grenade deletes it16:18
mriedemso we have one flow covered already https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L2285-L229616:18
stvnoyesI think Matt is saying a detach is implicit in the shutdown code which will get called by delete so we don't need to create a second volume16:19
mriedemthe flow we do'nt have covered is the non-bfv case16:19
mriedemwhere you do16:19
mriedem1. create server16:19
mriedem2. create volume16:19
mriedem3. attach volume on old side16:19
mriedem4. detach volume on new side16:19
mriedem5. delete server and volume16:19
smcginnisstvnoyes: Yep. Just if you were saying you wanted to explicitly test it in a test, then that could work with a non-boot vol. But implicitly, it should all get deleted in the end anyway.16:19
mriedemthe nova resource script will create a server here https://github.com/openstack-dev/grenade/blob/master/projects/60_nova/resources.sh#L8516:20
mriedemso we could create a 2nd volume in the cinder resource script to attach to that server16:20
mriedemit wouldn't be a bootable volume16:21
mriedemno ssh16:21
mriedemnothing like that16:21
stvnoyesok, I got it. I will add something to cover the non-bfv case. I think I can just use the bfv server already in the cinder resource and add a volume to that. Or do you think it's important to add the disk to the nova non-bfv server?16:21
mriedemi think either is fine16:22
mriedemprobably easier to contain in the single cinder resource script16:22
stvnoyesagree16:22
mriedemso right before this https://github.com/openstack-dev/grenade/blob/master/projects/70_cinder/resources.sh#L19816:22
mriedemyou'd detach the 2nd volume16:22
mriedemthen server delete, then bootable volume delete16:22
mriedemeasy peasy16:22
ildikov:)16:23
ildikovare we all in an agreement on this plan?16:26
smcginnisShip it.16:26
ildikovor any further questions/aspects to discuss?16:26
jungleboyj:-)16:26
stvnoyesi'm good16:27
ildikovok, sounds good then :)16:27
ildikovmriedem: any hints on who to start to or stop to annoy for reviews or what would be the best strategy to get this whole thing done in Pike?16:28
mriedemi'm working on it16:28
ildikovmriedem: or anything else you see uncovered?16:28
mriedemnot right now16:28
ildikovok, then I think we're good for today unless someone has something to bring up we haven't touched already16:29
ildikovmriedem: let me know if I can do anything to make some progress16:29
stvnoyesthanks all :-)16:30
ildikovmriedem: if I have to test quotas then I might end up testing quotas, just let me know :)16:30
jungleboyjThanks ildikov16:30
*** diablo_rojo has joined #openstack-meeting-cp16:31
ildikovok, that's all folks for today then16:31
ildikovthanks everyone!16:31
smcginniso/16:31
johnthetubaguyI am hoping I will get chance to look at those reviews!16:31
ildikovwe are so very close, so thanks for all the efforts so far and let's make this happen! :)16:32
ildikovjohnthetubaguy: hey :)16:32
* johnthetubaguy waves16:32
ildikovjohnthetubaguy: I hope everything's good with you, we all missed you!16:33
johnthetubaguynot too bad, still trying to tie down my next OpenStack job, but hoping I am getting there16:33
ildikovjohnthetubaguy: I hope for the best! Fingers crossed!16:34
ildikovjohnthetubaguy: I guess there's not too much I can help with, but let me know if there would be!16:35
ildikovjohnthetubaguy: it would also be great if you could take a look at the remaining reviews16:35
johnthetubaguyyeah, hoping to take a look at those again16:36
johnthetubaguyneed to get by eye back in, I suspect16:36
ildikovif you have any questions feel free to ping me anytime16:36
ildikovotherwise the few of us taking care of these babies are very responsive in the reviews16:37
ildikovis there any questions/topics you would want to bring up now?16:37
ildikovI guess that's a no :)16:40
ildikovjohnthetubaguy: I hope you checking in means I can say Welcome back! :)16:40
ildikovjohnthetubaguy: and I also have my thoughts with you that job hunting goes well!16:41
*** gouthamr has quit IRC16:41
*** gouthamr has joined #openstack-meeting-cp16:41
ildikovalright, that's all for the meeting for today16:42
ildikovsee you All next week here the latest!16:42
mriedembye16:42
*** mriedem has left #openstack-meeting-cp16:42
ildikov#endmeeting16:42
*** openstack changes topic to "OpenStack Meetings || https://wiki.openstack.org/wiki/Meetings"16:42
openstackMeeting ended Thu Jul 13 16:42:41 2017 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)16:42
openstackMinutes:        http://eavesdrop.openstack.org/meetings/cinder_nova_api_changes/2017/cinder_nova_api_changes.2017-07-13-16.00.html16:42
openstackMinutes (text): http://eavesdrop.openstack.org/meetings/cinder_nova_api_changes/2017/cinder_nova_api_changes.2017-07-13-16.00.txt16:42
openstackLog:            http://eavesdrop.openstack.org/meetings/cinder_nova_api_changes/2017/cinder_nova_api_changes.2017-07-13-16.00.log.html16:42
smcginnisThanks ildikov16:42
*** iyamahat has quit IRC16:43
*** felipemonteiro_ has quit IRC16:51
*** iyamahat has joined #openstack-meeting-cp17:02
*** yamahata has joined #openstack-meeting-cp17:08
*** rarcea has quit IRC17:14
*** nhelgeson has joined #openstack-meeting-cp17:24
*** harlowja has quit IRC17:27
*** MarkBaker has quit IRC17:46
*** felipemonteiro has joined #openstack-meeting-cp18:03
*** felipemonteiro_ has joined #openstack-meeting-cp18:04
*** felipemonteiro has quit IRC18:08
*** harlowja has joined #openstack-meeting-cp18:54
*** diablo_rojo has quit IRC20:10
*** harlowja has quit IRC20:19
*** harlowja has joined #openstack-meeting-cp20:22
*** diablo_rojo has joined #openstack-meeting-cp20:26
*** gouthamr has quit IRC21:47
*** gouthamr has joined #openstack-meeting-cp21:49
*** iyamahat has quit IRC22:09
*** iyamahat has joined #openstack-meeting-cp22:09
*** gouthamr has quit IRC22:10
*** felipemonteiro_ has quit IRC22:27
*** iyamahat has quit IRC22:46
*** iyamahat has joined #openstack-meeting-cp22:49

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