Monday, 2017-01-16

*** stvnoyes has quit IRC00:51
*** stvnoyes has joined #openstack-meeting-cp00:51
*** gouthamr has joined #openstack-meeting-cp01:14
*** gouthamr has quit IRC01:41
*** mars has joined #openstack-meeting-cp01:59
*** mars has quit IRC01:59
*** stevemar has quit IRC02:21
*** stevemar has joined #openstack-meeting-cp02:21
*** bswartz has quit IRC04:03
*** gouthamr has joined #openstack-meeting-cp04:23
*** bswartz has joined #openstack-meeting-cp04:31
*** bswartz has quit IRC04:32
*** bswartz has joined #openstack-meeting-cp04:36
*** bswartz has quit IRC04:44
*** bswartz has joined #openstack-meeting-cp04:54
*** greghaynes has quit IRC06:52
*** greghaynes has joined #openstack-meeting-cp06:59
*** greghaynes has quit IRC07:04
*** mars has joined #openstack-meeting-cp07:08
*** greghaynes has joined #openstack-meeting-cp07:15
*** edtubill has joined #openstack-meeting-cp07:18
*** edtubill has quit IRC07:20
*** hogepodge_ has joined #openstack-meeting-cp07:24
*** gouthamr has quit IRC07:32
*** hogepodge_ has quit IRC07:37
*** mars has quit IRC09:05
*** mars has joined #openstack-meeting-cp09:05
*** quick has joined #openstack-meeting-cp10:14
*** quick has quit IRC10:50
*** quick has joined #openstack-meeting-cp11:18
*** sdague has joined #openstack-meeting-cp12:22
*** mars has quit IRC12:58
*** xyang1 has joined #openstack-meeting-cp13:44
*** edtubill has joined #openstack-meeting-cp14:22
*** diablo_rojo_phon has joined #openstack-meeting-cp15:15
*** diablo_rojo has joined #openstack-meeting-cp15:37
*** gouthamr has joined #openstack-meeting-cp15:47
*** ducttape_ has joined #openstack-meeting-cp15:52
*** ducttape_ has quit IRC15:55
*** jkomg has joined #openstack-meeting-cp16:05
*** ducttape_ has joined #openstack-meeting-cp16:34
*** mriedem has joined #openstack-meeting-cp16:46
*** ducttape_ has quit IRC16:58
ildikov#startmeeting cinder-nova-api-changes17:00
openstackMeeting started Mon Jan 16 17:00:15 2017 UTC and is due to finish in 60 minutes.  The chair is ildikov. Information about MeetBot at http://wiki.debian.org/MeetBot.17:00
openstackUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.17:00
*** openstack changes topic to " (Meeting topic: cinder-nova-api-changes)"17:00
openstackThe meeting name has been set to 'cinder_nova_api_changes'17:00
ildikovscottda DuncanT ameade cFouts johnthetubaguy jaypipes takashin alaski e0ne jgriffith tbarron andrearosa hemna erlon mriedem gouthamr ebalduf patrickeast smcginnis diablo_rojo gsilvis  xyang1 raj_singh lyarwood17:00
mriedemo/17:00
smcginniso/17:01
ildikovhi :)17:01
ildikovlet's wait a bit hoping we will have more people around17:02
ildikovok, lets dive in17:03
ildikovwe have a few patches up for review17:03
ildikovin the server side spec there's a comment from patrickeast regarding terminate_connection and ordering17:03
ildikov#link https://review.openstack.org/#/c/414632/11/cinder/volume/manager.py17:03
ildikovline 454217:04
ildikovmriedem: did we agree on anything on the Nova side about what the ordering of things is when we detach?17:04
mriedemumm17:04
mriedemas in today or in the future?17:04
mriedemi thought we had like one detach call now?17:04
mriedemin the future17:04
ildikovnot in yet and there is one attachment-delete call17:05
mriedemfrom what i remember of johnthetubaguy's spec, we detach with cinder api and then get something back, and pass that to os-brick's disconnect_volume17:05
ildikovalthough my understanding is that Nova will still call out to os-brick for instance17:05
mriedemand the issue was if disconnect on the host fails17:05
hemnamornin17:06
ildikovhemna: morning :)17:06
mriedemsince we don't have like a terminate_connection - disconnect - os-detach (ack) flow anymore17:06
smcginnisjgriffith: Are you around?17:06
* diablo_rojo_phon sneaks in the back of the room17:07
ildikovmriedem: ok, I need to re-read that part17:09
* jgriffith shows up late17:09
ildikovjgriffith: we're talking about patrickeast's comment and detach/disconnect in general17:09
ildikovjgriffith: I mean the one in line 4542 here: https://review.openstack.org/#/c/414632/11/cinder/volume/manager.py17:10
jgriffithlooking17:11
jgriffithoh, yeah; so I can change that17:11
hemnayah patrick is correct17:11
jgriffithbut I have a fundamental problem with the FC stuff at this ponit17:12
jgriffithpoint17:12
smcginnisjgriffith: Haven't you always? ;)17:12
jgriffithPatrick may be correct, but the FZM stuff is obviously completely f'd up17:12
hemnathe FCZM code will remove the zone if the target map is passed back in terminate_connection17:12
jgriffithit uses it's own interpretation of things and ignores every other driver in the code base17:12
jgriffithit's frankly super annoying17:13
jgriffithbut anyway17:13
hemnafczm code doesn't care about non FC drivers, and only looks for the FC related information17:13
jgriffithhemna yes, but an interface is an interface!17:13
hemnawe are changing the terminate_connection behavior, so we need to adjust things accordingly17:13
jgriffithYou can't just choose to inherit from a base class and change it however you feel in this case17:13
jgriffithhemna I'm not aruging this here, I'll work on addressign the FZM stuff17:14
hemnasome FC drivers don't inherit from the FC base class17:14
jgriffithnuf said17:14
hemnaI've tried many times to get folks to adopt it17:14
hemnabut there are several FC drivers that are combined with iSCSI drivers17:14
hemnainstead of having 2 drivers iSCSI and FC, they combine them both into 1 driver17:15
hemna:(17:15
hemnaso there is that too17:15
jgriffithhemna yeah and frankly that's a good thing, again I don't want to air this out in this meeting17:15
jgriffithnot the appropriate time or place17:15
hemnaok, just sharing information.17:15
hemnasince it's relevant17:15
ildikovjgriffith: is the plan for attachment_delete to return a True/False to indicate whether there's a shared connection or not?17:17
jgriffithildikov that *was* the plan yes17:17
jgriffithildikov that had been the discussed proposal for a while now, but that's not going to work with the FZM stuff17:18
jgriffithat least, not the way it is currently17:18
ildikovdo we have alternatives?17:18
jgriffithnot really17:18
jgriffithI mean, no real alternatives other than fixing the mess17:19
jgriffithand making it work for both.  Ideally making things consistent again17:19
hemnawait17:19
hemnaso17:19
ildikovso the current plan is to fix the mess and stick to the above plan?17:19
hemnathe decorator is on terminate_connection in the driver17:19
hemnathat code has already been executed by the time _connection_terminate returns17:20
patrickeastjgriffith: I kinda like the idea of either changing the fczm code to be smarter with the wrapper function return value or a new driver API that can just like list shared connections or something17:20
hemnathe drivers are only supposed to return the target map if there are no more connections from the backend to the nova host17:20
hemnaso I'm not sure anything is wrong here17:21
hemnathe zoning has already been done by the time that return call is made17:21
patrickeasthemna: yep, the fczm can just return a book correctly based on the map it got17:21
hemnaand drivers are already tracking if there are connections left or not.17:21
patrickeastBool*17:21
jgriffithpatrickeast I liked "book" better :)17:22
patrickeastLol17:22
hemnathe zoning code just returns what it got from the driver17:22
hemnaso I don't see a problem here17:22
hemnaI don't see a conflict17:24
hemnaor I'm just slow17:24
patrickeastIt's backwards is all, the fczm needs to return true when it didn't get a request to tear down zones since the volume connection is still in use on that initiator.... I think17:27
patrickeastSo like empty map means return true, map with stuff to clean means return false17:27
patrickeastAssuming my sleepy logic checks out17:28
jgriffithpatrickeast yeah, so the "absence" of anything currently means "nothing shared, nothing to do"17:28
patrickeastYea17:28
jgriffithpatrickeast from the new codes perspective that is17:29
hemnathe fczm just returns what the driver does17:29
hemnaso, the driver can simply return it, because it already knows there are no more connections or not.17:29
hemnathe FCZM's job is to add or remove zones only.17:29
jgriffithhemna but you have a return in your decorator as well17:29
hemnawhich is a pass through from the driver17:30
patrickeastRight, my proposal is that we make it a little more than a pass though17:30
patrickeastSo that it complies with the new api17:30
hemnato do what?17:30
patrickeastTo return true or false17:31
patrickeastLike the new terminate connection should17:31
jgriffithpatrickeast +117:31
smcginnisSo iscsi drivers will return true/false but FC drivers will return a dict?17:31
hemnawe are changing every driver to return something different now in terminate_connection ?17:32
hemna?!17:32
patrickeastsmcginnis: yea, they need to know that the fczm monkeys with things17:32
smcginnispatrickeast: Not a big fan of it, but if we can get that to work, I guess I'm fine.17:32
jgriffithhemna the idea is to have a consistent interface, which would be kinda nice IMO17:32
ildikovjgriffith: +117:33
smcginnisThere's already a presumed assumption that FC driver developers know to use the decorator and what to return for the decorator.17:33
smcginnisjgriffith: +1 for consistent interface.17:33
jgriffithpart of why all of this work and things like multi-attach have been difficult is lack of consistency in interfaces17:33
jgriffitheverybody did "their own thing"17:33
patrickeastThey could all just return maps of initiators similar to the fczm17:33
jgriffithpatrickeast and that's fine as well IMO17:33
jgriffithpatrickeast just so long as it's consistent and we know what it means17:34
smcginnispatrickeast: I kind of like that just because then it is also consistent from the driver implementation side.17:34
patrickeastEhh kinda17:34
jgriffiththe point for me is I would like to get rid of all the snow-flake implementations of attach/detach17:34
jgriffiththat was the whole point of reworking these to begin with17:35
jgriffithI don't care what you do in the driver of course, but the interfaces and what they are perceived to do should be consistent17:35
hemnaso, we could also change the way drivers interact with the fczm17:35
hemnaand have the drivers call the fczm remove code manually17:35
patrickeastEveryone has their own idea of hosts and initiators, it might be similar for FC where the spec sorta forces it, but on iscsi and other protocols it might get more weird17:35
hemnainstead of as a decorator17:36
patrickeasthemna: +117:36
hemnathat would make the driver return from terminate_connection consistent17:36
smcginnisMy preference is always return an initiator map, or have an explicit call for the FC management.17:36
jgriffithpersonally I would like to see the decorator 86'd17:36
smcginnisIt is almost universal in new driver reviews that we have to point out FC drivers need a decorator and what they need to return for it17:36
* jgriffith is not a fan17:36
patrickeastI learn towards removing the decorator if we aren't going to modify it transparently17:37
hemnathis is one of the reasons why I wanted FC drivers to extend the FC base class17:37
xyang1some FC drivers don't use the zone manager17:37
hemnathen we could modify the base FC class and everyone gets the changes for free17:37
hemnaxyang1, yah and those FC drivers don't work :)17:37
hemnain a real openstack deployment17:37
xyang1hemna: they work using their own zone mgmt17:38
smcginnisWell... we actually use open zoning quite a bit since the array handles isolating the target and initiator.17:38
smcginnisSo fczm just adds complexity.17:38
jgriffithsmcginnis +1 same here17:38
hemnaok do you want me to look at a follow up patch?17:38
jgriffithbut I'm still resisting actually supporting it anyway17:38
jgriffith:)17:39
smcginnisjgriffith: :)17:39
hemnawell some arrays don't have fabric management17:39
jgriffithhemna honestly I'd prefer we have an answer and include it in the proposed patch17:39
smcginnishemna: Right, some I think absolutely need it.17:39
jgriffiththere have been WAY too many cases where we say "follow up" and it never happens, or doesn't work17:39
hemnaI don't think it would be hard to adjust things17:39
jgriffithleading to more and more 1/2 in 1/2 out impls17:40
hemnaok do what you want17:40
smcginnisSO what are our options? All return initiator map or explicit FCZM calls in the driver?17:40
hemnaI was just offering help17:40
hemnaI'd prefer explicit fczm calls in initiialize_connection and terminate_connection.17:40
smcginnishemna: I kind of lean that way too. Then we can have a cleaner interface and more explicit code in the drivers.17:41
smcginnispatrickeast: Was that what you were saying too?17:42
patrickeastYep17:42
patrickeastThats my preference if we are going to make changes to all the FC drivers17:43
smcginnisjgriffith: Work for you? I just wonder how we're going to get all the drivers updated, but I guess we will need to either way.17:43
jgriffithsure17:43
patrickeastIMO just fiddling with decorator return values isn't so bad for an interim solution though, wouldn't require additional driver patches to work with the new APIs17:45
patrickeastBut if the concern is that it's too confusing I'm OK with not doing it17:46
ildikovI just wanted to ask what's the roadmap for this what you all seem to agree on?17:46
ildikovjust to clarify this for less knowledgable people on the driver side like me :)17:47
patrickeastTo get all of them updated?17:47
ildikovto get to the next step with the new attach/detach API17:47
ildikovif everything needs to be updated before anything happens with that than yes17:48
ildikovsorry for killing the joy with administrational questions :/17:49
patrickeastLol17:49
jgriffithpatrickeast I'm fine with fiddling with the decorator to make everything consistent17:49
jgriffithpatrickeast and if later we want to dump the decorator and force drivers to impl the method that's fine17:50
jgriffithpatrickeast my only requirement is consistency17:50
jgriffithdon't care how that's done right now17:50
patrickeastjgriffith: sounds good to me17:50
jgriffithI was just confused on what if any initiators *needed* that return info17:51
jgriffithif they don't need it anyway, was confused on why it was there :)17:51
mriedemso any updates on getting nova to use cinder v3 in the last <10 min?17:51
ildikovmriedem: did you see the latest patch scottda uploaded last week?17:51
ildikovmriedem: that solves the endpoint not found error17:52
ildikovmriedem: although I'm not sure what's the preferred way of setting the api micorversion for the cinderclient for instance17:53
mriedemildikov: do you mean this? https://review.openstack.org/#/c/420201/17:53
ildikovmriedem: yeap, sorry didn't have the link handy17:54
mriedemre: the microversion to use, i commented on that here https://review.openstack.org/#/c/385682/3/nova/volume/cinder.py@10017:54
mriedemnova definitely doesn't want to use the latest available17:54
mriedemnova needs to say, i want 3.x, is that available?17:54
mriedemif nova needs 3.24 and it's not available, then we can't do whatever we needed 3.24 for17:54
mriedemthe client has to opt into whatever version it's going to use so it can handle backward compat issues17:55
ildikovmriedem: did you see the comment about the config option here: https://review.openstack.org/#/c/420201/2/nova/volume/cinder.py ?17:55
ildikovline 9817:55
mriedemwe don't want a config option17:56
ildikovthat was my thought too17:57
ildikovbut wasn't sure how it is supposed to work in general17:57
mriedemnova is going to hardcode the microversion it needs17:57
mriedemif cinder can provide it, we use it, else we fallback to the old flow17:57
ildikovok, that sounds good to me17:58
*** ducttape_ has joined #openstack-meeting-cp17:59
mriedembtw http://logs.openstack.org/01/420201/2/check/gate-tempest-dsvm-neutron-full-ubuntu-xenial/e66fd9a/logs/screen-n-api.txt.gz?level=TRACE17:59
mriedemso i guess he's around the endpoint issue which is good17:59
ildikovI think the get_version patch is not merged yet in the client18:00
mriedemwe're at time btw18:00
ildikovmriedem: https://review.openstack.org/#/c/420119/18:00
ildikovmriedem: yep, we are, tnx18:01
ildikovanything urgent for this meeting?18:01
ildikovok thanks everyone, let's catch up on the Cinder channel if there's anything18:02
smcginnisildikov: Thanks.18:02
ildikovotherwise chat next week!18:02
ildikov#endmeeting18:02
*** openstack changes topic to "OpenStack Meetings || https://wiki.openstack.org/wiki/Meetings"18:02
openstackMeeting ended Mon Jan 16 18:02:33 2017 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)18:02
openstackMinutes:        http://eavesdrop.openstack.org/meetings/cinder_nova_api_changes/2017/cinder_nova_api_changes.2017-01-16-17.00.html18:02
openstackMinutes (text): http://eavesdrop.openstack.org/meetings/cinder_nova_api_changes/2017/cinder_nova_api_changes.2017-01-16-17.00.txt18:02
openstackLog:            http://eavesdrop.openstack.org/meetings/cinder_nova_api_changes/2017/cinder_nova_api_changes.2017-01-16-17.00.log.html18:02
*** ducttape_ has quit IRC18:03
*** mriedem has left #openstack-meeting-cp18:13
*** jkomg has quit IRC18:19
*** jkomg has joined #openstack-meeting-cp18:20
*** quick has quit IRC18:48
*** ducttape_ has joined #openstack-meeting-cp19:15
*** ducttape_ has quit IRC19:19
*** ducttape_ has joined #openstack-meeting-cp19:25
*** ducttape_ has quit IRC19:30
*** diablo_rojo has quit IRC19:41
*** diablo_rojo has joined #openstack-meeting-cp20:09
*** jaugustine has joined #openstack-meeting-cp20:12
*** ducttape_ has joined #openstack-meeting-cp20:45
*** stvnoyes has quit IRC20:49
*** ducttape_ has quit IRC20:49
*** jkomg has quit IRC21:21
*** jkomg has joined #openstack-meeting-cp21:21
*** jkomg has quit IRC21:26
*** jkomg has joined #openstack-meeting-cp21:31
*** jkomg has quit IRC21:35
*** ducttape_ has joined #openstack-meeting-cp21:35
*** ducttape_ has quit IRC21:43
*** ducttape_ has joined #openstack-meeting-cp21:44
*** ducttape_ has quit IRC21:44
*** diablo_rojo has quit IRC21:44
*** diablo_rojo_phon has quit IRC22:00
*** diablo_rojo has joined #openstack-meeting-cp22:18
*** ducttape_ has joined #openstack-meeting-cp22:45
*** ducttape_ has quit IRC22:49
*** diablo_rojo has quit IRC23:02
*** jaugustine has quit IRC23:05
*** edtubill has quit IRC23:09
*** jkomg has joined #openstack-meeting-cp23:10
*** xyang1 has quit IRC23:34
*** ducttape_ has joined #openstack-meeting-cp23:35
*** knikolla has quit IRC23:47
*** knikolla has joined #openstack-meeting-cp23:47
*** knikolla has quit IRC23:47
*** knikolla has joined #openstack-meeting-cp23:48

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