Wednesday, 2017-01-04

*** openstackgerrit has joined #openstack-interop04:29
openstackgerritShamail Tahir proposed openstack/defcore: 2017.01 Scoring for Cinder  https://review.openstack.org/40842704:29
openstackgerritShamail Tahir proposed openstack/defcore: 2017.01 Scoring for Nova  https://review.openstack.org/38578104:39
openstackgerritShamail Tahir proposed openstack/defcore: 2017.01 Scoring for Nova  https://review.openstack.org/38578104:41
*** pcaruana has joined #openstack-interop06:51
*** openstackgerrit has quit IRC12:33
*** tongli has joined #openstack-interop13:28
*** tongli has quit IRC15:14
*** shamail has joined #openstack-interop16:02
*** openstackgerrit has joined #openstack-interop16:06
openstackgerritShamail Tahir proposed openstack/defcore: 2017.01 Scoring for Nova  https://review.openstack.org/38578116:06
*** edmondsw_ has joined #openstack-interop16:45
*** edmondsw_ has quit IRC16:45
* shamail sneaks in17:00
markvoelkerSo, couple of ideas on the cinder API transition:17:00
egluteo/17:00
markvoelker1.)  We could leave things as they are in the patch now, which makes it clear to readers that v3 is a thing going forward17:01
markvoelkerWhen the time comes that v3 has been in enough releases/etc, we could reorganize the capabilities to eliminate the version numbering17:01
markvoelker(this doesn't require another advisory cycle)17:02
markvoelkerThat would also buy some time for Cinder's plans for v2 to become more clear17:02
markvoelker(and the ecosystem's usage of v2 vs v3, which may effect other scoring criteria)17:03
eglutehogepodge what do you think17:03
markvoelker2.)  We could simply publish some sort of explicit note in the Guideline docs (might require a schema change) noting that v2 or v3 are acceptable, but v3 may be required somewhere down the line17:04
*** shamail has left #openstack-interop17:05
*** shamail has joined #openstack-interop17:05
hogepodgeboth sound good17:06
eglutehogepodge any one of those options would make your life easier when people submit their tests results?17:07
markvoelkerHeh...I guess actually those aren't mutually exclusive options, either, come to think of it. =p17:08
hogepodgeI was just thinking I like both together :-D17:08
egluteok, then we will do both :D17:09
catherineDI am not sure what we mean by do both ...17:10
catherineDplease take a look at https://review.openstack.org/#/c/408427/3/next.json line 274217:10
catherineDThe capability is volumes-v2-create-delete17:10
catherineDbut the test on line 2758 taking the path ov V217:11
catherineDtempest.api.volume.test_volumes_get.VolumesV2GetTest.test_volume_create_get_update_delete17:11
markvoelkercatherineD: right: basically that same test will pass either on v3 or v217:11
hogepodgecatherineD: I see what you're saying, the patch still needs to be revised for clarity?17:11
shamailyeah, the same test can be used by both… there are no v3 specific tests yet17:12
catherineDin the past, tests would be the same but paths would be different17:12
shamailif we remove versions from the cinder capability names then users will not know about the transition at all (e.g. the resulting guideline would look the same as it does for v2 today but without mentioning v2)17:13
catherineDso I am not sure how these tests work for v3   need to dig in17:13
shamailWe wouldn’t even make them advisory at that point, right?17:13
catherineDif the test and path are not distinguised among v2 and v3 .... should the capability name just remove the v2/v2 label?17:13
catherineDv2/v317:14
catherineDhere is how the same test are with diff paths for v1/v217:15
catherineDtempest.api.volume.test_volumes_negative.VolumesV1NegativeTest.test_get_invalid_volume_id17:15
shamailI have to drop off for another meeting, i’ll review the comments on the patch with your decisions later today.  Thanks.17:15
markvoelkerTo me, the distinction between v2 and v3 feels important from a user perspective.  I want to know if my cloud supports microversions because at some point down the line that affects either the behavior of the cloud or the clients17:15
catherineDtempest.api.volume.test_volumes_negative.VolumesV2NegativeTest.test_get_invalid_volume_id17:15
hogepodgeI need to step out for a few moments17:16
catherineDmy point is ... I am not sure we know that the vendor support both v2 and v3 or which one ... if the test are the same for v2 and v317:16
shamailtake care17:16
*** shamail has quit IRC17:16
catherineDif the same test passes both v2 and v3 ..17:17
markvoelkershamail: hogepoge: thanks gents, I'll be around later if you want to discuss further17:17
markvoelkercatherineD: yeah, I think we're kind of using the capability name to say that v2 and v3 should both be supported, even if the tests are the same17:17
markvoelkercatherineD: and keep in mind, that's a transitory thing: v3 wouldn't be required in 2017.01 (it's advisory)17:18
markvoelkerIf someone offers only v3 they'd technically still pass all the tests though, and functionally that cloud is probably interoperable with v2-only clouds or v2+v3 clouds.17:19
catherineDif that is the case, for the interop purpose as long as they pass the tests do we care whether it is v2 or v3?17:20
markvoelkerSo kind of meets Chris's ask that v2 or v3 be ok, while also making it explicit that v2 and v3 are separate things and we may not always require both17:20
markvoelkerE.g. if down the line Cinder deprecates v2 or clients simply quit using it to the point that it's scores drop below threshhold, we can remove it17:20
catherineDbesides I am not sure we can for sure know that whether the test are passed because of v2 or v3 ...17:20
catherineDthen at the point the people do not support v3 will not pass the tests17:21
catherineDif v2 is deprecates17:21
markvoelkerCorrect.17:21
catherineDbecaue enable v2 or v3 is a configuration related .17:21
catherineDwe have no way to know whether the user configure v2 or v3 unless there are tests testing for that ...17:22
markvoelkerSince the v3 stuff is advisory for 2017.01, that basically means we're not requiring v3 yet.  When we get to 2017.08 we might decide the best thing to do is drop the version identifier and say "as long as you pass the tests we don't care if it's v2 or v3".17:22
catherineD+++17:23
markvoelkerWhen we hit 2019.01 (or something) v2 may be ready to be retired or we might have capabilities that require a specific microversion (e.g. 3.7)17:23
markvoelkerI think what I want to do is find a way to be very clear what's required in cases like these17:23
catherineDwe should celebrate ( :-) ) if version are changes but the same tests still pass ... that is good news17:23
markvoelker=) +117:24
markvoelkerI wonder if we really just need to have some sort of API version identifier in the schema, frankly17:24
markvoelkerE.g. some way we can say explicitly: "for Cinder, it's ok as of this Guideline to run v2 or v3 as long as these tests pass"17:24
markvoelkerAnd in later Guidelines be able to change it to say "You will now need to be running at least 3.7 or some of these tests are going to fail"17:25
markvoelkerWe've kind of dealt with major-version API changes using capability names in the past, but that's starting to feel...overloaded.17:26
catherineDthat is a good plan ..17:26
markvoelker...which brings us back to the "combined option" we were discussing. =)17:26
markvoelkerFor now we leave this patch as-is, and then do a follow-up patch to add something to the schema17:27
markvoelkerI may try to whip up a schema change patch this afternoon as a proof of concept for discussion17:28
eglutethanks markvoelker17:29
markvoelkerUltimately we can use the "description" field in each capability for notes like this if we need to...but feels like it's time to make version(s) more explicit.17:31
markvoelkerOk, speaking of meetings, I need to run if I'm going to get lunch today before my next one17:32
markvoelkershamail: this kinda got lost in the API transition discussion, but two things of interest on that patch:17:33
markvoelkershamail: first, is there a bug/patch in the works to create a test for api version discovery?  If not I feel more hesitant to include it, but wouldn't rule it out since they're easy to write (we've done this before)17:34
markvoelkershamail: second, volumes-v2-upload was previously advisory.  Any reason not to move it to required?17:34
catherineDI need to step out too .. .will check the log later17:35
markvoelkerthanks catherineD17:35
*** galstrom_zzz is now known as galstrom18:48
*** pcaruana has quit IRC18:52
*** galstrom is now known as galstrom_zzz19:32
*** galstrom_zzz is now known as galstrom19:32
*** galstrom is now known as galstrom_zzz19:33
*** eglute has quit IRC19:36
*** eglute has joined #openstack-interop19:36
*** galstrom_zzz is now known as galstrom19:39
*** galstrom is now known as galstrom_zzz21:18
*** masayukig has quit IRC22:38
*** masayukig has joined #openstack-interop22:38
*** openstack has joined #openstack-interop22:56

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