*** sdake has quit IRC | 00:22 | |
*** sdake has joined #openstack-meeting-cp | 00:32 | |
*** zhurong has joined #openstack-meeting-cp | 01:14 | |
*** zhurong has quit IRC | 01:19 | |
*** zhurong has joined #openstack-meeting-cp | 01:20 | |
*** stevemar has quit IRC | 02:30 | |
*** stevemar has joined #openstack-meeting-cp | 02:31 | |
*** sdake has quit IRC | 02:35 | |
*** david-lyle has quit IRC | 03:04 | |
*** markvoelker has joined #openstack-meeting-cp | 03:48 | |
*** markvoelker has quit IRC | 03:53 | |
*** hj-hpe has joined #openstack-meeting-cp | 04:02 | |
*** gouthamr has quit IRC | 04:08 | |
*** beekhof has joined #openstack-meeting-cp | 04:19 | |
*** prateek has joined #openstack-meeting-cp | 04:30 | |
*** sdake has joined #openstack-meeting-cp | 04:41 | |
*** sdake has quit IRC | 04:45 | |
*** markvoelker has joined #openstack-meeting-cp | 04:49 | |
*** markvoelker has quit IRC | 04:53 | |
*** coolsvap has joined #openstack-meeting-cp | 04:57 | |
*** DuncanT_ has joined #openstack-meeting-cp | 05:15 | |
*** sslypushenko_ has joined #openstack-meeting-cp | 05:16 | |
*** rosmaita_ has joined #openstack-meeting-cp | 05:16 | |
*** luzC- has joined #openstack-meeting-cp | 05:18 | |
*** alaski_ has joined #openstack-meeting-cp | 05:19 | |
*** jklare_ has joined #openstack-meeting-cp | 05:20 | |
*** homerp_ has joined #openstack-meeting-cp | 05:20 | |
*** homerp has quit IRC | 05:20 | |
*** raj_singh has quit IRC | 05:21 | |
*** vkmc has quit IRC | 05:21 | |
*** sslypushenko has quit IRC | 05:21 | |
*** luzC has quit IRC | 05:21 | |
*** IgorYozhikov has quit IRC | 05:21 | |
*** rosmaita has quit IRC | 05:21 | |
*** DuncanT has quit IRC | 05:21 | |
*** jklare has quit IRC | 05:21 | |
*** hogepodge has quit IRC | 05:21 | |
*** alaski has quit IRC | 05:21 | |
*** luzC- is now known as luzC | 05:21 | |
*** IgorYozhikov has joined #openstack-meeting-cp | 05:21 | |
*** sslypushenko_ is now known as sslypushenko | 05:22 | |
*** raj_singh has joined #openstack-meeting-cp | 05:22 | |
*** vkmc has joined #openstack-meeting-cp | 05:23 | |
*** DuncanT_ is now known as DuncanT | 05:36 | |
*** eeiden has quit IRC | 06:44 | |
*** ttx has quit IRC | 06:48 | |
*** ttx has joined #openstack-meeting-cp | 06:48 | |
*** eeiden has joined #openstack-meeting-cp | 06:55 | |
*** jklare_ has quit IRC | 07:32 | |
*** jklare has joined #openstack-meeting-cp | 07:33 | |
*** cartik has joined #openstack-meeting-cp | 07:38 | |
*** mars has joined #openstack-meeting-cp | 07:41 | |
*** mars has quit IRC | 07:41 | |
*** cartik has quit IRC | 08:20 | |
*** cartik has joined #openstack-meeting-cp | 08:30 | |
*** cartik has quit IRC | 09:38 | |
*** flaper87 has joined #openstack-meeting-cp | 09:39 | |
*** flaper87 has quit IRC | 09:39 | |
*** flaper87 has joined #openstack-meeting-cp | 09:39 | |
*** zhurong has quit IRC | 10:01 | |
*** sdake has joined #openstack-meeting-cp | 10:06 | |
*** sdague has joined #openstack-meeting-cp | 10:14 | |
*** cartik has joined #openstack-meeting-cp | 10:27 | |
*** circ-user-P9gJZ has joined #openstack-meeting-cp | 10:58 | |
*** sdake_ has joined #openstack-meeting-cp | 11:04 | |
*** sdake has quit IRC | 11:04 | |
*** sdake_ has quit IRC | 11:43 | |
*** alaski_ is now known as alaski | 11:54 | |
*** zhurong has joined #openstack-meeting-cp | 11:59 | |
*** zhurong has quit IRC | 12:09 | |
*** zhurong has joined #openstack-meeting-cp | 12:11 | |
*** rosmaita_ is now known as rosmaita | 12:12 | |
*** markvoelker has joined #openstack-meeting-cp | 12:20 | |
*** gouthamr has joined #openstack-meeting-cp | 12:30 | |
*** cartik has quit IRC | 12:34 | |
*** markvoelker has quit IRC | 12:41 | |
*** david-lyle has joined #openstack-meeting-cp | 12:56 | |
*** markvoelker has joined #openstack-meeting-cp | 12:57 | |
*** sdake has joined #openstack-meeting-cp | 12:57 | |
*** xyang1 has joined #openstack-meeting-cp | 12:59 | |
*** prateek has quit IRC | 13:00 | |
*** xyang1 has quit IRC | 13:02 | |
*** sdake_ has joined #openstack-meeting-cp | 13:03 | |
*** sdake has quit IRC | 13:06 | |
*** xyang1 has joined #openstack-meeting-cp | 13:13 | |
*** cartik has joined #openstack-meeting-cp | 13:47 | |
*** sdake has joined #openstack-meeting-cp | 13:47 | |
*** sdake_ has quit IRC | 13:50 | |
*** sdake_ has joined #openstack-meeting-cp | 13:51 | |
*** sdake has quit IRC | 13:54 | |
*** zhurong has quit IRC | 14:01 | |
*** prateek has joined #openstack-meeting-cp | 14:05 | |
*** uxdanielle has joined #openstack-meeting-cp | 14:24 | |
*** cartik has quit IRC | 14:37 | |
*** hogepodge has joined #openstack-meeting-cp | 14:58 | |
*** sdake_ has quit IRC | 14:59 | |
*** gouthamr has quit IRC | 15:01 | |
*** gouthamr has joined #openstack-meeting-cp | 15:01 | |
*** piet_ has joined #openstack-meeting-cp | 15:08 | |
*** hemna_ has joined #openstack-meeting-cp | 15:15 | |
*** hemna_ has quit IRC | 15:15 | |
*** sdake has joined #openstack-meeting-cp | 15:15 | |
*** circ-user-P9gJZ has quit IRC | 15:17 | |
*** prateek has quit IRC | 15:23 | |
*** david-lyle has quit IRC | 16:13 | |
*** david-lyle has joined #openstack-meeting-cp | 16:14 | |
*** Rockyg has joined #openstack-meeting-cp | 16:52 | |
ildikov | #startmeeting cinder-nova-api-changes | 17:00 |
---|---|---|
openstack | Meeting started Mon Sep 26 17:00:06 2016 UTC and is due to finish in 60 minutes. The chair is ildikov. Information about MeetBot at http://wiki.debian.org/MeetBot. | 17:00 |
openstack | Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. | 17:00 |
*** openstack changes topic to " (Meeting topic: cinder-nova-api-changes)" | 17:00 | |
openstack | The meeting name has been set to 'cinder_nova_api_changes' | 17:00 |
ildikov | scottda ildikov DuncanT ameade cFouts johnthetubaguy jaypipes takashin alaski e0ne jgriffith tbarron andrearosa hemna erlon mriedem gouthamr ebalduf patrickeast smcginnis diablo_rojo gsilvis xyang1 | 17:00 |
scottda | hi | 17:00 |
ildikov | scottda: hi :) | 17:00 |
hemna | heyas | 17:00 |
xyang1 | hi | 17:01 |
ildikov | scottda: I started to put a few item to the etherpad from the last meeting: #link https://etherpad.openstack.org/p/cinder-nova-api-changes | 17:01 |
ildikov | I also saw jgriffith uploaded new versions of his patch last week | 17:01 |
ildikov | last time we weren't 100% sure about the cross-project session on the Summit | 17:02 |
ildikov | are we in an agreement regarding we plan to have one? | 17:02 |
jgriffith | 0/ | 17:03 |
scottda | It sounds like a good idea to me. We've API changes, multi-attach, and privsep issues. | 17:03 |
*** electrichead is now known as redrobot | 17:03 | |
ildikov | scottda: coolio | 17:04 |
jgriffith | scottda: that's a pretty long list of things for 40 minutes | 17:04 |
ildikov | our PTLs are in charge for rooms and slots available, right? | 17:04 |
hemna | fyi, I won't be at the summit | 17:04 |
scottda | But I reckon it needs buy-in from smginnis and mriedeman, both of whom aren't here | 17:04 |
scottda | ildikov: Yes, It's in the hands of the PTLs | 17:04 |
ildikov | I guess it will not be that tough to find overlap | 17:04 |
ildikov | hemna: oh no, I'm sorry :( | 17:04 |
ildikov | scottda: ok, I'll ping them about this | 17:05 |
scottda | jgriffith: Yes, long list, but I think that's whey we need the session. I'm not sure we'll actually solve problems, but I think there's lotsa folks who don't know about what's going on here. | 17:05 |
ildikov | #action ildikov to ping smcginnis and mreiedm about a cross-project session at the summit | 17:05 |
scottda | hemna: Let's make sure someone attending understands the privsep issues and can advocate for what we need to do. | 17:06 |
hemna | scottda, ok sounds good | 17:06 |
ildikov | what do we want to discuss before the Summit regarding the API changes? | 17:09 |
ildikov | it would be great to have some decisions before and trying to address the less trivial items during the Summit | 17:09 |
ildikov | like edge cases in Nova and how to handle those without overcomplicating the new Cinder API, etc. | 17:10 |
hemna | save the connector! | 17:10 |
ildikov | I didn't have the chance to read johnthetubaguy's initial patch yet: #link https://review.openstack.org/#/c/373203/ | 17:10 |
ildikov | hemna: +1, I added that to the etherpad once more to ensure we do that | 17:10 |
hemna | :) | 17:11 |
johnthetubaguy | so I kinda had quite a few open questions in there | 17:11 |
ildikov | jgriffith: did you have a chance to check what johnthetubaguy started to sketch? ^^ | 17:11 |
jgriffith | ildikov: I did, and it looked AWESOME | 17:11 |
johnthetubaguy | basically I read jgriffith's spec and added some guess work where I wasn't sure :) | 17:11 |
ildikov | jgriffith: I'm glad to hear :) | 17:12 |
jgriffith | ildikov: johnthetubaguy I'm *hoping* to push and update to the Nova patch later today, and then use that to work with johnthetubaguy to flush out some remaining details | 17:12 |
ildikov | jgriffith: johnthetubaguy and all: can we go through the sure and then the unsure items? | 17:12 |
scottda | ildikov: How to do that? ON the etherpad? | 17:13 |
ildikov | in the sense of if we start with the obvious and moving towards the less obvious items and discuss these we will not get to the 20% of the material during the session in Barcelona | 17:13 |
johnthetubaguy | yeah, I think thats a good plan | 17:13 |
johnthetubaguy | do what we can async, so we have a smaller list in BCN | 17:13 |
ildikov | scottda: we have a few meetings left before the Summit and we can use the etherpad in parallel as well | 17:13 |
jgriffith | johnthetubaguy: ildikov +1 | 17:14 |
jgriffith | honestly, I'm hoping we're just happy and merge this before Barcelona :) | 17:14 |
scottda | ildikov: Sounds good. Perhaps list things on the etherpad and give feedback, then discuss in detail at these meetings | 17:14 |
johnthetubaguy | so a quick one, possible | 17:14 |
johnthetubaguy | what is unreserve for? | 17:14 |
scottda | jgriffith: ++ It would be nice to get some momentum, else we're going to run out of time quickly. | 17:14 |
jgriffith | johnthetubaguy: heeh :) | 17:14 |
jgriffith | johnthetubaguy: the idea behind it was to notify cinder you're going to let it go | 17:15 |
johnthetubaguy | ah, so a pre-remove call? | 17:15 |
jgriffith | johnthetubaguy: mark it as detaching to avoid races | 17:15 |
jgriffith | johnthetubaguy: exactly.. truly the exact opposite of reserve | 17:15 |
jgriffith | johnthetubaguy: it was initially JUST a db update/toggle | 17:15 |
johnthetubaguy | so if we call reserve, but attach fails, what do we do, call unreserve then remove? | 17:15 |
jgriffith | johnthetubaguy: so that's what's kinda goofy | 17:16 |
jgriffith | johnthetubaguy: we don't always do that and probably don't necessarily need to | 17:16 |
jgriffith | johnthetubaguy: we probably *should* just for consistency and clarity | 17:16 |
ildikov | scottda: yeap, that sounds good | 17:16 |
jgriffith | johnthetubaguy: there's a problem now with cinder objects though... | 17:17 |
ildikov | jgriffith: if we can even merge things before the SUmmit that would be amazing!!! :) | 17:17 |
jgriffith | johnthetubaguy: it has an expected status of attaching, so if something failed that went to error-attaching or error* we're sunk | 17:17 |
jgriffith | the skip of unreserve bypasses that problem | 17:17 |
johnthetubaguy | yikes | 17:17 |
jgriffith | johnthetubaguy: easy to fix at least, but a minor problem with that particular call | 17:18 |
scottda | I've always thought we should have an idempotent attach we could call for cleanup...It should work regardless of the state | 17:18 |
johnthetubaguy | so if you skip create_attachment, you skip unreserve? | 17:18 |
johnthetubaguy | so thats a good point... | 17:18 |
jgriffith | johnthetubaguy: yeah, or if you fail create_attachment | 17:19 |
scottda | Sorry, that should be an idempotent "detach" for cleanup | 17:19 |
johnthetubaguy | ah, so one question about create_attachment, when do I call that? | 17:19 |
johnthetubaguy | I guess that gives me the connection_info? | 17:19 |
johnthetubaguy | so I call that before calling brick | 17:19 |
hemna | yes | 17:19 |
jgriffith | johnthetubaguy: I'm reworking that, so the flow would be: reserve--->create_attachment | 17:19 |
jgriffith | done | 17:19 |
hemna | you call that before calling brick connect_volume | 17:19 |
johnthetubaguy | cool, that makes sense | 17:20 |
jgriffith | hemna: johnthetubaguy well that's sort of a gray area with what we've designed in brick though | 17:20 |
johnthetubaguy | so yeah, I guess its understanding what I do to clean up each step, should something crazy happen | 17:20 |
johnthetubaguy | uh, oh | 17:20 |
jgriffith | hemna: johnthetubaguy because there are *things* that some drivers apparantly need to create the initialize and attach on the cinder side | 17:20 |
johnthetubaguy | oh, so there is something post attach? | 17:21 |
hemna | huh? | 17:21 |
jgriffith | johnthetubaguy: cleanup with the new code is easier IMHO... if create_attachment fails, then we just call remove_attachment and cleanup on cinder's side | 17:21 |
jgriffith | johnthetubaguy: not post attach, post initialize_connection | 17:21 |
johnthetubaguy | jgriffith: true | 17:21 |
jgriffith | so remember we had the multi-phase mess: reserve-->initialize-->attach | 17:22 |
johnthetubaguy | right, we totally skip all that | 17:22 |
jgriffith | johnthetubaguy: going to just reserve-->create-attachment means there's some slight changes to what we need | 17:22 |
jgriffith | johnthetubaguy: but I'm also working to add an "update-attachment" for those special cases (like boot as instance) | 17:23 |
jgriffith | and live-migration | 17:23 |
johnthetubaguy | sorry, I am a bit lost, whats that special case about boot as instance? | 17:23 |
hemna | that makes sense for live migration | 17:24 |
johnthetubaguy | PS I thought live-migration would be just another call to create_attachement, with a new connection_info, just its a different host, and same instance_uuid | 17:24 |
hemna | johnthetubaguy, but you still need to update the older attachment | 17:24 |
hemna | basically removing it | 17:24 |
jgriffith | johnthetubaguy: so when you do a boot from volume, the attach info isn't actually available yet | 17:24 |
johnthetubaguy | hemna: we need to remove_attachment for that old one, just like if we were disconnecting | 17:24 |
jgriffith | johnthetubaguy: it's easier for me to explain via code... just a sec | 17:24 |
johnthetubaguy | jgriffith: cause we can't reserve a volume we haven't created yet? | 17:25 |
* johnthetubaguy is not sure this is coming across, but I actually love discovering about who all this *actually* works, totally geeking out | 17:26 | |
jgriffith | johnthetubaguy: https://github.com/openstack/nova/blob/master/nova/virt/block_device.py#L264 | 17:27 |
johnthetubaguy | jgriffith: oh... | 17:28 |
jgriffith | johnthetubaguy: so in that case the actual attach on the Nova side is not done until later | 17:28 |
johnthetubaguy | jgriffith: although, something tells me we should probably just call create right away there | 17:29 |
jgriffith | johnthetubaguy: and we may not have all of the info required for the actual attachment record in Cinder, so I stub things out, then do an update later if needed | 17:29 |
jgriffith | johnthetubaguy: I refactored some things last night though and may not need to worry about that any more... TBD :) | 17:29 |
johnthetubaguy | yeah, I think we should just call reserve in the boot case, until we land on the host, then call create_attachement | 17:30 |
*** harlowja has joined #openstack-meeting-cp | 17:30 | |
johnthetubaguy | at least thats what by "nova gut" tells me | 17:30 |
jgriffith | johnthetubaguy: might be a good idea | 17:30 |
jgriffith | johnthetubaguy: I'll for sure have a look at that | 17:30 |
johnthetubaguy | I think the BDM is fine not having the connection info till later, probably means delete will need updates though, but in a good way | 17:31 |
johnthetubaguy | so... that was a big rat hole there | 17:31 |
johnthetubaguy | were where we before? | 17:31 |
jgriffith | johnthetubaguy: :) | 17:31 |
johnthetubaguy | ah, live-migrate | 17:32 |
johnthetubaguy | so I have an idea here | 17:32 |
johnthetubaguy | create_attachement | 17:32 |
jgriffith | :) | 17:32 |
johnthetubaguy | lets say that takes volume uuid, host uuid and instance uuid | 17:32 |
johnthetubaguy | live-migrate and multi-attach are the only cases we have more than one attachment | 17:33 |
johnthetubaguy | you only have two attach for the same volume uuid, and only in live-migrate case | 17:33 |
johnthetubaguy | thats a long way of saying, for live-migrate, we call create for the new host, and remove for the old host | 17:33 |
scottda | Won't you for multi-attach as well? | 17:33 |
johnthetubaguy | yeah, multi-attach is different instance-uuid | 17:33 |
scottda | Have 2 attach for the same volume_id ? | 17:34 |
hemna | scottda, yah | 17:34 |
jgriffith | johnthetubaguy: scottda FWIW, that's what I do currently | 17:34 |
hemna | for live migration | 17:34 |
johnthetubaguy | right, you have N uuids, only two hosts per each uuid | 17:34 |
*** gnarld_ is now known as cFouts | 17:34 | |
* johnthetubaguy needs a whiteboard, and drawing skills | 17:34 | |
johnthetubaguy | jgriffith: cool | 17:34 |
johnthetubaguy | so I think this means I can update my spec | 17:35 |
johnthetubaguy | * error handing for create_attach fails | 17:35 |
johnthetubaguy | * live-migrate flow and multi-attach notes | 17:35 |
johnthetubaguy | * fix unreserve | 17:35 |
jgriffith | johnthetubaguy: I'll sign up to document those out | 17:35 |
jgriffith | the live-migrate and multi-attach that is | 17:35 |
jgriffith | johnthetubaguy: they'll hopefully end up being the same solution for both problems | 17:36 |
johnthetubaguy | yeah, would be good to get that into the Cinder spec | 17:36 |
johnthetubaguy | yeah, I think it should be | 17:36 |
johnthetubaguy | so there is one bit thats missing | 17:36 |
johnthetubaguy | arguments for the API calls | 17:36 |
jgriffith | I just need to figure out how to fix the shelved instance stuff then I'll get those tested out and documented | 17:36 |
scottda | johnthetubaguy: Do you want to tackle shelve_offload as well? Should be a bit simpler than live migration. | 17:36 |
scottda | snap! jgriffith already is on it. | 17:36 |
johnthetubaguy | scottda: I had forgotten about that... | 17:36 |
jgriffith | johnthetubaguy: I haven't :( | 17:37 |
jgriffith | johnthetubaguy: although I wish I had | 17:37 |
johnthetubaguy | so shelve, can we have a host_uuid of None? | 17:37 |
jgriffith | johnthetubaguy: I think I've got it working | 17:37 |
johnthetubaguy | for the attachement | 17:37 |
johnthetubaguy | treat the host change like migrate | 17:37 |
jgriffith | johnthetubaguy: yes, that's what I do currently is stub out the info and then update it | 17:37 |
johnthetubaguy | crud... migrate | 17:37 |
johnthetubaguy | jgriffith: perfect | 17:37 |
jgriffith | johnthetubaguy: the trick for me has been figuring out how to work with the bdm object efficiently :) | 17:38 |
johnthetubaguy | migrate I think is the same as live-migrate, if we do it correctly | 17:38 |
johnthetubaguy | jgriffith: I fear thats not really possible | 17:38 |
jgriffith | johnthetubaguy: hopefully all of those just leverage the multi-attach capability | 17:38 |
johnthetubaguy | jgriffith: +1 | 17:38 |
jgriffith | LOL | 17:38 |
jgriffith | johnthetubaguy: well, even ignoring efficiency, still trying to untangle how some of it works | 17:39 |
johnthetubaguy | seriously though, I think we need to get the BDM into the instance object, and so we don't have to keep fetching the dammed thing ever 5 seconds | 17:39 |
johnthetubaguy | but lets do that later! | 17:39 |
johnthetubaguy | oh, yeah, arguments | 17:39 |
jgriffith | johnthetubaguy: that would be awesome, but yeah... later :) | 17:39 |
jgriffith | johnthetubaguy: arguments are subject to change :) | 17:40 |
johnthetubaguy | so remove_attachment, that takes attachment_uuid | 17:40 |
johnthetubaguy | I am more thinking logically | 17:40 |
johnthetubaguy | rather than REST-e-ly | 17:40 |
johnthetubaguy | it feels like reserve creates the attachement_uiid | 17:40 |
jgriffith | johnthetubaguy: so I'm currently stuffing the attachmnet-id into the bdm record | 17:41 |
johnthetubaguy | so only reserve takes volume_uuid, host_uuid, instance_uuid | 17:41 |
jgriffith | johnthetubaguy: nahh... it doesn't but do you want it to? Currently create_attachment does that | 17:41 |
johnthetubaguy | the others take attachment uuid? | 17:41 |
jgriffith | reserve just takes a volume-id that's it | 17:41 |
johnthetubaguy | oh... interesting | 17:41 |
jgriffith | create_attachment returns a bunch of connector info AND an attachment-id | 17:41 |
johnthetubaguy | debugging wise, its probably good to know who did that | 17:42 |
johnthetubaguy | from the operator point of view | 17:42 |
jgriffith | that way there's no confusion on what we want to do | 17:42 |
jgriffith | and it solves the multi-attach problem without a bunch of crazy guessing or inferring | 17:42 |
jgriffith | Caller told me to remove <attachment-id> so that's what I do | 17:42 |
johnthetubaguy | mutli-attach still calls reserve right? | 17:42 |
jgriffith | if they have multiple attachments to the same node it still works and I don't care | 17:42 |
jgriffith | johnthetubaguy: yes, but for that to work we need to update reserve | 17:43 |
johnthetubaguy | ah, true, but thats all non-driver stuff I guess? | 17:43 |
jgriffith | johnthetubaguy: and probably include a "what" we're attaching too | 17:43 |
johnthetubaguy | yeah, thats what I was thinking above I guess | 17:43 |
jgriffith | I've been tabling the multi-attach support for a follow up | 17:43 |
jgriffith | at least the "true" multi-attach | 17:44 |
johnthetubaguy | ah, so crazy idea.... | 17:44 |
johnthetubaguy | ditch create_attachement | 17:44 |
johnthetubaguy | call it initialize_connection | 17:44 |
johnthetubaguy | oh, wait..., thats nuts | 17:44 |
johnthetubaguy | create_attachement (now reserve), initialize_attachement (now create), initialize_dettachement (now unreserve), remove_attachment | 17:45 |
johnthetubaguy | so you get the attachement_id back from the first one | 17:46 |
johnthetubaguy | all the others are actions on the attachement | 17:46 |
scottda | I think hemna Was advocating that for a while. | 17:46 |
johnthetubaguy | so it turns out I am +1 hemna's suggestion | 17:46 |
hemna | phew | 17:47 |
johnthetubaguy | basically because of the arguments each of these things need, and how it should fit into a REST API | 17:47 |
johnthetubaguy | its attachement CRUD now | 17:47 |
johnthetubaguy | oh dear, jgriffith has gone rally quite | 17:49 |
johnthetubaguy | really | 17:49 |
johnthetubaguy | so os-brick and remove | 17:50 |
hemna | shoot | 17:50 |
johnthetubaguy | does unreserve give me the info to call os-brick, or is that remove_attachement? | 17:51 |
hemna | the bdm has the connection_info currently for os-brick remove_volume | 17:51 |
hemna | I believe unreserve is just to set the cinder side state for races | 17:52 |
hemna | nova pulls the current connection_info out of the bdm, then calls os-brick to remove_volume | 17:52 |
hemna | then nova calls cinder to terminate_connection | 17:52 |
johnthetubaguy | oh, I thought terminate_connection had died | 17:52 |
johnthetubaguy | anyways, sorry, back up a sec | 17:53 |
johnthetubaguy | I am thinking about multi-attach | 17:53 |
hemna | sorry | 17:53 |
hemna | I was covering what currently exists afaik | 17:53 |
johnthetubaguy | ah, no worries | 17:53 |
johnthetubaguy | I am thinking about the future | 17:53 |
hemna | ok | 17:53 |
hemna | so is nova not going to store the connection_info in the bdm ? | 17:53 |
johnthetubaguy | wondering who decides if we need to call remove | 17:53 |
johnthetubaguy | hemna: I was wondering if we could stop needing that, I guess | 17:54 |
hemna | hrmm | 17:54 |
hemna | I'm assuming you are thinking of the issue we had with calling or not calling os-brick to remove_volume | 17:55 |
johnthetubaguy | it would be great if we called cinder, and it told us, nothing for os-brick to do here, or send os-brick this stuff | 17:55 |
johnthetubaguy | yeah, thats the one | 17:55 |
hemna | depending on if the volume has multiple attachments or a single shared attachment on a single n-cpu host | 17:55 |
ildikov | hemna: I think jgriffith planned a new API call that tells whether it's ok to call remove or not | 17:55 |
johnthetubaguy | well, that logout thing | 17:55 |
johnthetubaguy | ildikov: yeah, I remember something about that at one point | 17:55 |
hemna | that does sound familiar | 17:56 |
*** piet_ has quit IRC | 17:56 | |
hemna | johnthetubaguy, so if we don't store the connection_info in the bdm | 17:56 |
hemna | then it has to ask cinder for it | 17:56 |
hemna | and cinder isn't storing it currently | 17:56 |
hemna | I'd guess nova would have to at least retain the attachment_id to know which attachment it's talking about. | 17:57 |
ildikov | yeap, but as we plan to have Cinder as the ultimate source of truth that should be ok | 17:57 |
johnthetubaguy | yeah, I think we can do better deployer clean up, if cinder knows that even if Nova screws up | 17:57 |
ildikov | johnthetubaguy: +1 | 17:57 |
johnthetubaguy | ildikov: +1 | 17:57 |
hemna | I don't see why we couldn't store that connection_info in the attachments table as well as the connector | 17:57 |
ildikov | :) | 17:57 |
ildikov | also if we can get BDM a bit less messy somehow that would be great too | 17:57 |
ildikov | but that was just a sidenote | 17:58 |
johnthetubaguy | ildikov: yeah, thats true | 17:58 |
hemna | live migration will create a brand new attachment row, with it's new host and connector and would also need to save the connection_info then as well | 17:58 |
hemna | nova just updates the attachment_id and it's done | 17:58 |
johnthetubaguy | hemna: its the same for every new attachement, I believe | 17:58 |
johnthetubaguy | I mean each attachment has its own connection info I think | 17:58 |
hemna | so | 17:58 |
hemna | the trick then is the case where nova needs to detach the old volume for the source | 17:59 |
hemna | nova would have to save both attachment_ids | 17:59 |
hemna | for that small window | 17:59 |
scottda | For historical reference #link https://etherpad.openstack.org/p/cinder-nova-api-changes L#178 | 17:59 |
johnthetubaguy | right, but thats when Nova knows we have two attachments now | 17:59 |
hemna | which is akin to this hack: https://review.openstack.org/#/c/312773/ | 17:59 |
johnthetubaguy | yeah | 17:59 |
scottda | That's what we decided on this issue, I believe | 17:59 |
*** piet_ has joined #openstack-meeting-cp | 17:59 | |
johnthetubaguy | so we are going through the same problems with neutron | 18:00 |
johnthetubaguy | I think Nova just needs to know about both connections | 18:00 |
johnthetubaguy | so, afraid my hunger is taking over, and we are getting towards the end of time | 18:00 |
hemna | I do like the idea of nova not saving much of anything but the attachment_id's associated with the volumes it has | 18:00 |
ildikov | hemna: +1 | 18:00 |
johnthetubaguy | but I feel like we made progress here | 18:00 |
hemna | it's really future safe | 18:01 |
johnthetubaguy | hemna: yeah, that feels right | 18:01 |
ildikov | yeap, our time is passed, I will try to get a summary out of the today's good chat and put it on the etherpad | 18:01 |
johnthetubaguy | we give you the control to evolve | 18:01 |
hemna | yah that sounds good. | 18:01 |
ildikov | johnthetubaguy: +1 | 18:01 |
ildikov | johnthetubaguy: did we touch on anything today that should go to your spec? | 18:01 |
johnthetubaguy | so it feels like whatever we call unreserve, should return something to tell os-brick what it needs to do | 18:01 |
johnthetubaguy | ildikov: I think there will be more questions, but thats a huge step forward for me | 18:02 |
johnthetubaguy | I just don't know what those questions will be yet :) | 18:02 |
hemna | unreserve could fetch the connection_info from the attachment, if we have the attachment_id passed in to unreserve | 18:02 |
johnthetubaguy | yeah, +1 | 18:02 |
ildikov | johnthetubaguy: no doubt in that, I was just wondering about putting some info into your patch as opposed to the etherpad | 18:02 |
ildikov | johnthetubaguy: just to make some progress :) | 18:03 |
hemna | this seems much cleaner and explicit. | 18:03 |
johnthetubaguy | so I can have an action to rework that tomorrow morning | 18:03 |
johnthetubaguy | I am just blobling some comments on there now | 18:03 |
ildikov | hemna: in theory that should work fine | 18:03 |
ildikov | johnthetubaguy: great! | 18:03 |
scottda | I wonder if someone could create some more nifty diagrams for these new flows..... | 18:03 |
ildikov | #action johnthetubaguy to update his spec in Nova with some details of the discssion from this meeting | 18:04 |
johnthetubaguy | scottda: yeah, thats a good point, something visual | 18:04 |
*** cartik has joined #openstack-meeting-cp | 18:04 | |
johnthetubaguy | lets see how that spec goes | 18:04 |
ildikov | scottda: hemna is our visualisation expert | 18:04 |
hemna | doh! | 18:05 |
scottda | Oh yeah, he is, isn't he ? :) | 18:05 |
scottda | And he did such a great job on the last diagrams... | 18:05 |
ildikov | he seriously did, those are very nice diagrams! | 18:06 |
hemna | *sigh* | 18:06 |
ildikov | hemna: but if you can share your experience then I guess someone can take that over so you don't need to suffer again | 18:06 |
johnthetubaguy | coolness, hopefully with the text straight, we can have a think about those | 18:06 |
hemna | I have to remember what I used to create those | 18:07 |
ildikov | it would be great before the Summit | 18:07 |
ildikov | it could be a great way to update people more quickly I think | 18:07 |
johnthetubaguy | sorry, I must run now | 18:07 |
johnthetubaguy | will try get that undated ASAP | 18:08 |
ildikov | johnthetubaguy: thanks!!! | 18:08 |
ildikov | I think we covered much today, great discussion! | 18:08 |
scottda | Yup, thanks ildikov | 18:08 |
ildikov | so I will update the etherpad, johnthetubaguy will update his spec and let's move forward in the review | 18:09 |
ildikov | and also on the etherpad with the items in question | 18:09 |
ildikov | and talk to you next week this time the latest! | 18:09 |
ildikov | thank you all! | 18:09 |
ildikov | #endmeeting | 18:09 |
*** openstack changes topic to "OpenStack Meetings || https://wiki.openstack.org/wiki/Meetings" | 18:09 | |
openstack | Meeting ended Mon Sep 26 18:09:50 2016 UTC. Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4) | 18:09 |
openstack | Minutes: http://eavesdrop.openstack.org/meetings/cinder_nova_api_changes/2016/cinder_nova_api_changes.2016-09-26-17.00.html | 18:09 |
openstack | Minutes (text): http://eavesdrop.openstack.org/meetings/cinder_nova_api_changes/2016/cinder_nova_api_changes.2016-09-26-17.00.txt | 18:09 |
openstack | Log: http://eavesdrop.openstack.org/meetings/cinder_nova_api_changes/2016/cinder_nova_api_changes.2016-09-26-17.00.log.html | 18:09 |
*** markvoelker_ has joined #openstack-meeting-cp | 18:18 | |
*** markvoelker has quit IRC | 18:19 | |
*** markvoelker has joined #openstack-meeting-cp | 18:21 | |
*** markvoelker_ has quit IRC | 18:24 | |
*** cartik has quit IRC | 18:39 | |
*** sdake has quit IRC | 19:33 | |
*** sdake has joined #openstack-meeting-cp | 19:46 | |
*** gouthamr has quit IRC | 20:26 | |
*** piet_ has quit IRC | 21:19 | |
*** piet_ has joined #openstack-meeting-cp | 21:23 | |
*** piet_ has quit IRC | 21:23 | |
*** sdague has quit IRC | 21:27 | |
*** sdake has quit IRC | 21:33 | |
*** gouthamr has joined #openstack-meeting-cp | 21:50 | |
*** sdague has joined #openstack-meeting-cp | 21:51 | |
*** xyang1 has quit IRC | 22:11 | |
*** uxdanielle has quit IRC | 22:37 | |
*** sdake has joined #openstack-meeting-cp | 23:44 | |
*** zhurong has joined #openstack-meeting-cp | 23:48 | |
*** notmyname has quit IRC | 23:53 | |
*** sdague has quit IRC | 23:53 | |
*** notmyname has joined #openstack-meeting-cp | 23:53 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!