Friday, 2017-03-17

*** catintheroof has joined #openstack-manila00:03
openstackgerritTom Barron proposed openstack/manila master: remove hacking rule that enforces log translation  https://review.openstack.org/44678900:09
*** catintheroof has quit IRC00:16
*** ganso has quit IRC00:25
*** gouthamr has joined #openstack-manila00:39
*** catintheroof has joined #openstack-manila01:02
*** catintheroof has quit IRC01:02
*** catintheroof has joined #openstack-manila01:02
openstackgerritTommyLike proposed openstack/manila-specs master: Retarget IPv6 to Pike  https://review.openstack.org/44680001:08
tommylikehuping tbarron, are you around?, this time could be late for you :)01:11
*** wangqun has joined #openstack-manila01:43
*** kaisers__ has quit IRC02:09
*** catintheroof has quit IRC02:36
*** gouthamr has quit IRC03:01
openstackgerritqtlu proposed openstack/manila master: Use HostAddressOpt for opts that accept IP and hostnames  https://review.openstack.org/44637003:13
*** crushil has joined #openstack-manila03:20
*** chlong has quit IRC03:25
*** gnarld_ is now known as nug03:26
*** nug is now known as Guest1455703:27
*** zhugaoxiao has quit IRC03:29
*** zhugaoxiao has joined #openstack-manila03:30
*** rejy has joined #openstack-manila03:40
*** tinwood has quit IRC04:05
*** tinwood has joined #openstack-manila04:06
*** kaisers_ has joined #openstack-manila04:27
*** kaisers_ has quit IRC04:28
*** arnewiebalck_ has joined #openstack-manila05:06
*** markstur has quit IRC05:12
*** crushil has quit IRC05:12
*** kaisers_ has joined #openstack-manila05:29
*** shausy has joined #openstack-manila05:34
*** kaisers_ has quit IRC05:34
*** erlon has quit IRC05:35
*** gcb has joined #openstack-manila05:54
*** arnewiebalck_ has quit IRC06:07
*** tuanluong has joined #openstack-manila06:11
*** lpetrut has joined #openstack-manila06:19
*** belmoreira has joined #openstack-manila06:38
*** gcb has quit IRC06:54
*** markstur has joined #openstack-manila06:58
*** nkrinner_afk is now known as nkrinner07:00
*** markstur has quit IRC07:03
*** gcb has joined #openstack-manila07:10
*** lpetrut has quit IRC07:18
*** kaisers_ has joined #openstack-manila07:30
*** lpetrut has joined #openstack-manila07:35
*** kaisers_ has quit IRC07:36
*** kaisers_ has joined #openstack-manila07:41
*** pcaruana has joined #openstack-manila07:43
*** kaisers_ has quit IRC07:45
*** arnewiebalck_ has joined #openstack-manila07:46
*** lpetrut has quit IRC08:04
*** lpetrut has joined #openstack-manila08:04
*** shausy has quit IRC08:33
*** shausy has joined #openstack-manila08:34
*** kaisers_ has joined #openstack-manila08:42
*** lpetrut has quit IRC08:44
*** kaisers_ has quit IRC08:46
openstackgerritTom Barron proposed openstack/manila master: User Messages  https://review.openstack.org/31354908:50
tbarrontommylikehu: pong08:51
*** gcb has quit IRC08:51
*** belmorei_ has joined #openstack-manila08:58
*** belmoreira has quit IRC08:59
*** lpetrut has joined #openstack-manila08:59
*** gcb has joined #openstack-manila09:09
*** rraja has joined #openstack-manila09:21
*** belmorei_ has quit IRC09:21
*** belmoreira has joined #openstack-manila09:29
*** kaisers_ has joined #openstack-manila09:38
*** belmoreira has quit IRC09:39
*** kaisers_ has quit IRC09:42
*** wangqun has quit IRC09:43
*** belmoreira has joined #openstack-manila09:50
*** lpetrut has quit IRC09:52
tommylikehuhey tbarron morning.  I am wondering what's your plan on the IPv6 follow up :https://etherpad.openstack.org/p/manila-pike-ptg-wednesday09:54
tommylikehutbarron, aslo for this patch, should I wait for new jenkins environment that don't depends on ubtuntu, so should I fix the bug by modify the exportfs file directly?09:57
*** markstur has joined #openstack-manila10:01
*** markstur has quit IRC10:05
openstackgerritTom Barron proposed openstack/manila master: Extend usage of user messages  https://review.openstack.org/44310110:14
openstackgerritTom Barron proposed openstack/manila master: remove hacking rule that enforces log translation  https://review.openstack.org/44678910:16
openstackgerritTom Barron proposed openstack/manila master: docs: fix build failure on html_last_updated_fmt  https://review.openstack.org/44693910:16
*** shausy has quit IRC10:16
*** shausy has joined #openstack-manila10:16
tbarrontommylikehu: I think next step is to get your patch testable, which depends on https://review.openstack.org/#/c/444479/10:31
tbarronyour patches, plural10:33
tbarronthe new jenkins job is already there but needs this for us to make it run lvm with ipv6 rather than ipv410:35
tbarronbbiab - running errands this morning10:36
*** kaisers_ has joined #openstack-manila10:38
*** kaisers_ has quit IRC10:43
*** ganso has joined #openstack-manila10:43
*** markstur has joined #openstack-manila10:44
*** tuanluong has quit IRC10:44
*** markstur has quit IRC10:49
*** lpetrut has joined #openstack-manila11:12
*** kaisers_ has joined #openstack-manila11:39
*** kaisers_ has quit IRC11:44
*** shausy has quit IRC11:51
*** shausy has joined #openstack-manila11:51
*** markstur has joined #openstack-manila11:56
*** markstur has quit IRC12:00
*** tommylikehu_ has joined #openstack-manila12:02
*** tommylikehu_ has quit IRC12:10
*** tommylikehu_ has joined #openstack-manila12:11
*** zhugaoxiao has quit IRC12:13
*** zhugaoxiao has joined #openstack-manila12:14
*** erlon has joined #openstack-manila12:33
*** kaisers_ has joined #openstack-manila12:40
*** kaisers_ has quit IRC12:44
*** shausy has quit IRC12:48
*** tommylikehu_ has quit IRC12:48
*** tommylikehu_ has joined #openstack-manila12:49
*** dustins has joined #openstack-manila12:51
*** tommylikehu_ has quit IRC12:53
*** tommylikehu_ has joined #openstack-manila12:55
*** tommylikehu_ has quit IRC12:56
*** gcb has quit IRC12:58
*** arnewiebalck__ has joined #openstack-manila12:58
*** catintheroof has joined #openstack-manila13:10
*** catintheroof has quit IRC13:10
*** catintheroof has joined #openstack-manila13:10
*** tommylik_ has joined #openstack-manila13:18
*** arnewiebalck__ has quit IRC13:20
*** ociuhandu has quit IRC13:20
*** tommylik_ has quit IRC13:22
*** xyang_ has joined #openstack-manila13:22
*** gouthamr has joined #openstack-manila13:24
*** chlong has joined #openstack-manila13:33
*** cknight has joined #openstack-manila13:34
*** arnewiebalck__ has joined #openstack-manila13:35
*** zhugaoxiao has quit IRC13:36
*** zhugaoxiao has joined #openstack-manila13:37
*** eharney has joined #openstack-manila13:38
*** kaisers_ has joined #openstack-manila13:41
*** markstur has joined #openstack-manila13:44
*** kaisers_ has quit IRC13:45
*** markstur has quit IRC13:48
*** arnewiebalck__ has quit IRC13:49
*** ociuhandu has joined #openstack-manila13:50
*** crushil has joined #openstack-manila13:53
*** xyang_ has quit IRC13:59
*** dustins has quit IRC13:59
*** tommylikehu_ has joined #openstack-manila14:01
*** tommylikehu_ has quit IRC14:02
*** tommylikehu_ has joined #openstack-manila14:02
*** xyang_ has joined #openstack-manila14:14
*** chenying__ has quit IRC14:17
*** arnewiebalck__ has joined #openstack-manila14:17
*** chenying__ has joined #openstack-manila14:18
*** chlong has quit IRC14:23
*** rraja has quit IRC14:26
*** xyang_ has quit IRC14:31
*** markstur has joined #openstack-manila14:34
*** kaisers_ has joined #openstack-manila14:41
*** kaisers_ has quit IRC14:47
*** rejy has quit IRC14:49
openstackgerritArne Wiebalck proposed openstack/manila-specs master: Add spec for per share type quotas  https://review.openstack.org/44702114:49
*** nkrinner is now known as nkrinner_afk14:58
*** tommylikehu_ has quit IRC15:05
*** arnewiebalck__ has quit IRC15:11
openstackgerritTom Barron proposed openstack/manila master: Provide filter name in user messages  https://review.openstack.org/44310215:27
*** dsariel has joined #openstack-manila15:28
*** crushil has quit IRC15:45
*** dsariel has quit IRC15:57
openstackgerritTom Barron proposed openstack/manila master: set basepython for pylint tox env  https://review.openstack.org/44704916:10
*** adrianofr_ has joined #openstack-manila16:14
*** dustins has joined #openstack-manila16:18
*** belmoreira has quit IRC16:25
*** kaisers_ has joined #openstack-manila16:28
*** kaisers_ has quit IRC16:33
*** kaisers_ has joined #openstack-manila16:34
*** kaisers_ has quit IRC16:38
*** crushil has joined #openstack-manila16:40
*** kaisers_ has joined #openstack-manila16:42
*** xyang_ has joined #openstack-manila16:46
*** xyang_ has quit IRC16:47
bswartzganso xyang: I missed this patch but I would have -2 it: https://review.openstack.org/#/c/440364/16:49
openstackgerritBen Swartzlander proposed openstack/manila master: Revert "Handle ssl for VNX manila driver"  https://review.openstack.org/44706516:50
gansobswartz: :O why? what problem has it caused?16:51
bswartzganso: I have multiple problems with it16:52
bswartzfor one, not verifying SSL certs it a security vulnerability16:52
bswartzsecondly, it changes the base driver.py which affects all drivers16:52
*** dustins has quit IRC16:53
gansobswartz: IIRC, the old behavior is maintained if the config options are not used16:53
bswartzIt's only thing if EMC wants to modify their own driver to add insecure options, but it's not okay to do that in driver.py16:53
gansobswartz: or at least should16:53
bswartzs/only/one/16:54
gansobswartz: also, I understood that this is already a problem for any m-shr service running python older than 2.7.916:54
bswartzganso: yes, python used to be insecure by default and now it's not -- I call that progress16:55
bswartzit's not a bug16:55
vponomaryovbswartz: it does not describe the need to not allow it16:56
gansobswartz: you are saying that https://review.openstack.org/#/c/440364/13/manila/share/driver.py@136 should be set Default to True, right?16:56
gansobswartz: I'll be back later, going to a meeting now16:56
bswartzganso: I'm saying these options shouldn't exist at all16:56
bswartzor if they need to exist, it should be in a per-driver config option16:57
*** dustins has joined #openstack-manila16:57
bswartzI don't want a global "use SSL insecurely" option16:57
vponomaryovbswartz: it is not global, it is per-driver16:57
vponomaryovbswartz: for the moment, it is exactly EMC-only16:58
openstackgerritBen Swartzlander proposed openstack/manila master: Revert "Handle ssl for VNX manila driver"  https://review.openstack.org/44706516:58
bswartzvponomaryov: why is manila/share/driver.py touched then?16:58
vponomaryovbswartz: as common place16:58
vponomaryovbswartz: while other driver do not start use new opt, it is used only by EMC16:59
bswartzs/driver_ssl_cert_/emc_ssl_cert_/16:59
vponomaryovbswartz: why?16:59
bswartzThis is a bad precedent to set16:59
vponomaryovbswartz: it is free-to-use by others16:59
bswartzIf EMC wants to be insecure I want their name on the insecure option17:00
bswartzI don't want anyone to get the idea this is a good option to have17:00
vponomaryovbswartz: I woudl agree for default "True" value - yes17:01
bswartzMy preferences are (1) to not have the option at all or (2) to have it be called emc_ssl_cert_* and have it on the emc driver file17:01
gouthamr+117:01
gouthamra must read: https://www.python.org/dev/peps/pep-0466/#backwards-compatibility-considerations17:01
openstackgerritValeriy Ponomaryov proposed openstack/manila master: [Share Groups] Add availability zone support  https://review.openstack.org/44707017:02
openstackgerritValeriy Ponomaryov proposed openstack/manila master: [Share Groups] Add availability zone support  https://review.openstack.org/44707017:10
*** arnewiebalck__ has joined #openstack-manila17:18
*** pcaruana has quit IRC17:18
openstackgerritTom Barron proposed openstack/manila master: set basepython for pylint tox env  https://review.openstack.org/44704917:23
bswartztbarron: do you have an opinion here?17:27
* tbarron looks back to understand the original motivation for VNX17:30
bswartztbarron you should read the bug and the original patch for context17:30
bswartzhttps://launchpad.net/bugs/166920217:30
openstackLaunchpad bug 1669202 in Manila "EMC VNX manila driver: certificate verify failed" [Undecided,Fix released] - Assigned to Peter Wang (peter.wang)17:30
bswartzhttps://review.openstack.org/#/c/440364/17:30
*** kaisers_ has quit IRC17:39
tbarronquestions:17:40
tbarron1) so all drivers except vnx are since python 2.7.9 validating certs for ssl connections to their backends?17:40
tbarronsuccessfully I think, right?17:40
bswartztbarron: for netapp we do proper verification, it works17:41
tbarron2) the log supplied in the bug looks like it is from a test run rather than from a customer report.17:41
bswartzfor others they could be, or alternatively they're only testing without SSL or they're using Python 2.7.9 or earlier17:41
tbarronthough it could just be illustrative.17:41
tbarronWe should get EMC to explain the actual use case.17:42
bswartzI know the actual use case17:42
bswartzit came up here at netapp too17:42
tbarronIs it a real customer need?  Or for testing convenience.17:43
bswartzcknight proposed a bugfix just like this for the netapp driver and I pushed back on that too17:43
cknighttbarron: Dev/test convenience in my case.  I still use that patch myself.17:43
bswartzthere's a widely held perception that HTTPS without cert verification is better than plain HTTP, which is technically true17:44
tbarronIf it's for convenience testing then I'd like to see 'insecure_for_test' or something like that in the option name.17:44
tbarronAnd scope it to each driver.17:44
tbarronAnd default it to OFF.17:44
bswartzhowever HTTPS without cert verification is way worse than HTTPS with cert verification and giving people an easy way out just breeds bad security practice17:45
cknighttbarron: Ben asked me not to push it up, so I don't plan to.17:45
tbarronThat will make it a lot easier for support personal to see when it is not set securely, as well as its scope.17:45
tbarroncknight: ack17:45
tbarronI can see that it could be useful in test scenarios and handy not to maintain a private patch.17:45
bswartztbarron: I'd prefer that people just use plain HTTP if they're not willing to setup HTTPS correctly17:45
bswartzHTTP works find for testing17:46
bswartzs/find/fine/17:46
*** arnewiebalck__ has quit IRC17:46
tbarronbswartz: not sure I have an argument with that.  But mebbe cknight or the EMC folks have a reason??17:46
bswartzseems like xyang is offline today17:47
tbarronbswartz: If there's a use case I just want the option scoped to that.17:47
bswartzso we can't ask her17:47
cknightbswartz: In the linked patch, which has merged, the default value for driver_ssl_cert_verify is False.  I expect you take issue with that?17:47
tbarronI take issue with that :D17:47
bswartzcknight: my objection is to it being a common driver option17:47
tbarronAnd that it's globally scoped.17:48
bswartzI'd rather have it be vendor scoped17:48
cknightbswartz: What's wrong with a common option if the default is True?17:48
tbarronAnd that it looks like a reasonable thing to do in production, given the option name, help, etc.17:48
bswartzif emc wants an insecure option in their driver then it's less bothersome17:48
bswartzcknight: well for one thing while it's a common driver option, it doesn't actually affect any driver but EMC's17:49
bswartzcknight: but more importantly it sets a bad precedent17:49
tbarroncknight: it's harder to see what it's for.  If it's just for testing netapp, then set a netapp option.17:49
bswartzFor the same reason I didn't want a netapp-scoped option for turn off SSL verification I don't think other should do it17:50
tbarroncknight: I'm thinking about supporting a customer with multi-backends.17:50
bswartzhowever if there are solid technical reasons for turning it off, I'd like it to be vendor specific17:50
tbarroncknight: and getting a vague customer case about their backends getting hacked or somesuch.17:50
bswartzcreating a common driver_ssl_cert_ option would make users believe it should apply to netapp too17:51
bswartzand I'm against implementing it in netapp17:52
cknightbswartz: OK, well, if I can't have it, I guess no one can :-P17:52
bswartzexactly!17:52
* bswartz wonders if those EMC guys set their root passwords to "12345" too17:53
tbarronThere's a backdoor password on many of the EMC systems: 'netappsux'17:54
bswartzwhere's my eyeroll gif?17:54
*** crushil has quit IRC17:55
tbarronseriously, there was here-unamed switch vendor who had a backdoor with pw 'ciscosux' once.17:55
* tbarron wanders down memory lane of 1990s hacks17:56
vponomaryovtbarron: LOL18:01
bswartztbarron: google is not turning up that unnamed switch vendor18:03
openstackgerritValeriy Ponomaryov proposed openstack/manila master: [Share Groups] Add availability zone support  https://review.openstack.org/44707018:03
tbarronbswartz: they were based in Pittsburgh, did ATM mostly, but this was a problem with an ethernet switch that iirc was an acquisition18:04
tbarronat UMN the wiring closets for the vertical risers up all the main buildings had these ethernet switches, spoked off an ATM backbone that ran at unbelievable OC3 speed18:06
*** lpetrut has quit IRC18:06
* tbarron wakes back up18:07
* tbarron notices his beard is white and his hair is short to nonexistent18:07
*** ociuhandu has quit IRC18:14
*** kaisers_ has joined #openstack-manila18:19
*** crushil has joined #openstack-manila18:23
*** xyang_ has joined #openstack-manila18:24
*** kaisers_ has quit IRC18:25
*** xyang_ has quit IRC18:26
*** xyang_ has joined #openstack-manila18:29
*** xyang_ has quit IRC18:51
*** kaisers has quit IRC18:54
*** xyang_ has joined #openstack-manila18:57
*** xyang_ has quit IRC18:59
*** catintheroof has quit IRC18:59
*** catintheroof has joined #openstack-manila19:06
*** xyang_ has joined #openstack-manila19:08
*** lpetrut has joined #openstack-manila19:08
*** dustins has quit IRC19:08
*** dustins has joined #openstack-manila19:09
*** kaisers has joined #openstack-manila19:11
*** dustins has quit IRC19:14
*** lpetrut has quit IRC19:17
*** xyang_ has quit IRC19:21
*** xyang_ has joined #openstack-manila19:22
*** kaisers_ has joined #openstack-manila19:43
*** xyang_ has quit IRC19:45
*** kaisers_ has quit IRC19:48
*** xyang_ has joined #openstack-manila19:51
*** xyang1 has joined #openstack-manila19:52
gansotbarron, cknight, gouthamr, bswartz, vponomaryov, xyang1, toabctl: Hello folks. Could you please take a look at this patch that is sitting around for quite a while? Thanks in advance https://review.openstack.org/#/c/427663/19:58
*** lpetrut has joined #openstack-manila19:59
gansomarkstur: ^20:00
markstur:)  just saw the Rip Van Barron comment  tbarron20:01
tbarronmarkstur: it's a very strange world out there20:01
marksturtbarron: Just read the story too. Turns out it is mostly about a guy getting away from his wife20:02
tbarronmarkstur: lotta that going around, or vice versa20:03
marksturganso: gouthamr says not trivial on ^20:03
bswartzxyang_ xyang1: ping20:04
gansomarkstur: ya, I'll file a bug, add reno, etc... anything else?20:04
gouthamrmarkstur: :P nothing to hold that back.. i just noticed its not Trivial20:04
gouthamrganso: mail me $50020:04
bswartzxyang: you missed a long discussion earlier today about https://bugs.launchpad.net/manila/+bug/166920220:04
openstackLaunchpad bug 1669202 in Manila "EMC VNX manila driver: certificate verify failed" [Undecided,Fix released] - Assigned to Peter Wang (peter.wang)20:04
gansogouthamr: lol20:05
xyang1bswartz: hi20:05
xyang1bswartz: I read the IRC logs20:05
bswartzxyang1: so you may have been my patch to revert the bugfix20:05
xyang1bswartz: so if we submit a patch with those options in EMC driver, you are ok?20:06
xyang1bswartz: yes, I saw that20:06
bswartzxyang1: that's better than what we have now, but I'd like to understand why it's not possible to just leave the SSL cert validation enabled20:06
xyang1bswartz: some one reported a bug20:06
bswartzis the bug something a customer reported?20:06
xyang1bswartz: so they want to fix it20:07
xyang1bswartz: yes20:07
bswartzdon't you think it would be better to educate the customer about how to use SSL properly instead of making your driver less secure?20:07
xyang1bswartz: I can certainly ask them to educate the customer20:08
bswartzthis came up with a netapp customer and my response was to write a blog about how to setup SSL correctly20:08
xyang1bswartz: but this means we'll get more similar bug reports20:08
xyang1bswartz: did your customer take the advice20:09
bswartzit's unfortunate that so many people don't know how to use real SSL certs20:09
bswartzxyang1: that's a good question I'm not sure20:09
bswartzthe 2 workarounds for those that don't want to use SSL correctly are to use plain HTTP or to use python 2.7.9 or older20:10
xyang1bswartz: I found it is difficult to persuade someone to do something unfamiliar20:10
bswartzwell I'd present them with those 3 options20:10
bswartz1) plain HTTP20:10
bswartz2) python 2.7.920:10
bswartz3) real SSL certs with validation20:10
*** dustins has joined #openstack-manila20:11
bswartzoption 4 which is to add a driver option is a bad technical choice, even if it is the easiest thing to do20:11
xyang1bswartz: when something that works before suddenly stops working, people will scream and open bugs20:11
xyang1bswartz: We'll try and see if they accept it20:12
bswartzxyang1: yeah I know that people regard it as a bug because it "used to work"20:13
xyang1bswartz: :)20:13
bswartzthe fact is that it was only working because it wasn't secure and the insecure part was fixed20:13
xyang1bswartz: I agree20:15
tbarronbswartz: xyang1 nit, but I think choice #2 above s/b '2) less than python 2.7.9'20:19
bswartztbarron: I thought it was less than or equal to 2.7.920:19
bswartzis 2.7.9 the version where they turned on verficiation?20:20
bswartzif so, then I meant to say strictly less than20:20
xyang1bswartz: tbarron right, 2.7.9 enabled ssl by default20:21
bswartzokay so:20:22
bswartz2) python <2.7.920:22
bswartztbarron: good catch20:22
tbarronganso: question about https://review.openstack.org/#/c/42766320:26
gansotbarron: sure20:26
tbarronganso: if someone is setting capability_revert_to_snapshot=True but not setting run_revert_to_snapshot_tests today, won't they have a new behavior after your patch merges?20:29
openstackgerritMerged openstack/manila master: docs: fix build failure on html_last_updated_fmt  https://review.openstack.org/44693920:30
gansotbarron: I remember thinking about that about 1 month ago... but I believe the answer is no, since that supposed behavior has been fixed by me in another patch20:30
gansotbarron: so, previously, the share type in some tests were created according to those capabilities20:31
gouthamrtbarron: technically we shouldn't have "run_revert_to_snapshot_tests" as an option... but that's another discussion20:32
gansotbarron: I've submitted a patch to change it to always create according to the default share type20:32
*** crushil has quit IRC20:32
gansotbarron: the default share type is created according to the default extra specs, which is another option, for CIs, and in CI environment, a bit redundant with the one I am removing20:33
gansotbarron: so, I believe there is no behavioral change right now20:33
gansogouthamr: I am not aware of that discussion20:33
gansogouthamr: but I am curious as to why20:33
gouthamrganso: these capabilities are advertised by the backend we're testing.. so the tests can be smart, look for a pool that advertises the capability being tested... if no such pool exists, don't run the test/s.20:35
gouthamrganso: that's being done in the revert tests..20:35
gouthamrganso: but there's also this option..20:35
gansogouthamr: yea but if you do that you remove the option of not running tests if the tester does not want to20:36
gouthamrganso: regex :)20:36
gansogouthamr: oh yea, forgot about that20:37
tbarronganso: hmm, but default value for run_revert_to_snapshot_tests is False, so if they didn't set it at all and the value of 'capability_revert_to_snapshot' is now going to be ignored (but is set by the tester to True), then we have a behavioral difference:20:37
tbarronganso: you would have run the revert to snapshot tests before and now you won't unless the tester changes his config20:38
gouthamrganso: probably  annoying for someone to have to toggle all these options... and its easy to get it wrong..20:38
gouthamrtbarron: would you rather we remove the option altogether?20:38
tbarrongouthamr: I would like us to have a consistent set of controls across the various capabilities and run_options, right now we have a mish-mash20:39
tbarrongouthamr: I tend to agree we could just have capability booleans and skip the run booleans.20:39
*** xyang_ has quit IRC20:40
gansotbarron: so, after my previous patch merged, it has already been ignored20:40
gansotbarron: *no ^20:40
tbarronbut inferring some of the run conditions from capabilities and allowing in other cases for the run switches to override the cpabilities is very confusing.20:40
gansotbarron: so, the behavior today is the same as the option wouldnt exist20:40
*** lpetrut has quit IRC20:41
tbarronganso: not if I set the capbility and not the run: I then have capability=True and run=False in the options, but we run anwyays.20:42
*** xyang1 has quit IRC20:42
tbarronganso: that's today ^^^^ for this revert_to_snapshot, other capabilities/options behave differently (mish-mash)20:42
*** crushil has joined #openstack-manila20:42
tbarronganso: after your change, with the same tempest config, the result is that the revert-tests will not be run.20:43
bswartzdidn't this topic come up at PTG?20:43
tbarronbswartz: yes, it came up, not sure there was crisp resolution.20:43
bswartzthe differnce between not-run tests and auto-skipped tests?20:43
gansotbarron: not really, if you set cap=True and run=false, you don't read and you don't run the test20:43
gansobswartz: I don't remember this from the PTG20:44
*** kaisers_ has joined #openstack-manila20:44
bswartztbarron: IIRC the only opposition to autoskip tests was from redhat because you regard skips a failures during certifications20:44
gansotbarron: if you set cap=False and run=True, it will run the tests, so one does not interfere with the other20:44
bswartzor am I misunderstanding?20:45
tbarronbswartz: I don't have a problem with autoskipping tests if there's a clear consistent way to map capabilities to skips and to see the capabilities that are being declared.20:45
gansotbarron: it is already like this. This is why the patch states it is unusef20:45
ganso*unused20:45
*** xyang1 has joined #openstack-manila20:46
*** kaisers_ has quit IRC20:49
*** cknight has quit IRC20:51
gouthamrtbarron: hmmm, the skips within the tests would come from the tests looking at the pools response.. so in the skip reason, we could use the capability-field necessary as-is20:51
gouthamrtbarron: then they can be parsed with any tool20:51
tbarronganso: I think I was confused about which conf option was being used to set the other if one was missing.20:53
*** lpetrut has joined #openstack-manila20:54
tbarrongouthamr: so there are two kinds of "capabilities" in this conversation: the capability flag options in tempest.conf and the capabilities advertised by backends ("pools response").20:54
gouthamrcapability:'xyz' not 'value'20:55
gouthamrtbarron: we shouldn't have capability flag options in tempest.conf20:55
tbarrongouthamr: and if I understand your argument you'd say we can get rid of the 'run_*' flags too?20:55
gouthamrtbarron: yep20:55
tbarrongouthamr: just be smart, find out what the backends advertise to the scheduler, and run the right set of tests given that?20:56
gouthamrtbarron: exactly... i had this discussion with vponomaryov in the past... unless there's value in skipping some tests, we shouldn't create these toggles20:56
tbarronIntuitively that's what I think is correct too, but iirc people told me that's not sufficient.20:57
tbarronBut I don't remember why.20:57
tbarronganso: ^^^??20:57
tbarronbswartz: ^^^ vponomaryov ^^ ??20:57
gouthamrtbarron: for instance, we have "run_host_assisted_migration_tests": this isn't related to capabilities, so having this toggle would be useful if you don't want to run these tests that  might take a longer time20:57
tbarrongouthamr: ok, so there would be a limited set of run flags still then, those that don't correspond to capabilities.20:58
gansotbarron: looks sufficient to me20:58
tbarronor we could organize the tests (as reportedly other projects do) so that regexes to select tests would work for that instead of the flags20:59
gansotbarron: no, you could avoid the test with regex20:59
gansotbarron: yes, exactly20:59
gouthamrtbarron: +1... we went through this exercise recently and tagged tests... so we could separate "api-only" tests from those requiring a back end (manila-share service)20:59
gouthamrthis would be similar imo..21:00
tbarronwell I rather like this "use real capabilities & regexes & get rid of RUN_* and CAPABILITY_* flags in tempest conf" proposal21:01
gouthamr+1 we can work slowly towards that... i wonder if we can do so without a deprecation process for these tempest options :P21:02
gansogouthamr, tbarron: ok so the conclusion is that we don't want my patch merged, right? should I abandon it?21:02
*** eharney has quit IRC21:03
*** crushil has quit IRC21:03
gouthamrganso: ganso your patch solves a bug afaics... it stops injecting "revert_to_snapshot_support" in the default share type21:03
gansogouthamr: no it doesn't21:04
gansogouthamr: a previous patch of mine solved that21:04
gouthamr:) okay21:04
*** a-pugachev has joined #openstack-manila21:04
gansogouthamr: so is it trivial now? xD21:04
gouthamrganso: no, i'm confused about the previous patch now... i see that you're removing the "capability" toggle now...  https://review.openstack.org/#/c/427663/3/manila_tempest_tests/tests/api/base.py21:06
gansogouthamr: trying to find it21:07
*** dustins_ has joined #openstack-manila21:11
*** dustins has quit IRC21:12
gansogouthamr: actually, this is how I fixed it in CI https://github.com/openstack/manila/blob/master/contrib/ci/post_test_hook.sh#L29021:14
gouthamrganso: i remember the bug we ran into, the run_revert_to_snapshot_tests option wasn't provided in tempest.conf and the default value was assumed (False) and every share type tempest created had this value, and random tests start failing21:14
gansogouthamr: yes, I fixed it with the above approach ^21:14
gansogouthamr: I suspect you are even more confused now21:15
gansogouthamr: lol21:15
gouthamrganso: because every pool in the back end supported revert, but we were looking for a pool that didn't support revert. annoying :P21:16
*** catintheroof has quit IRC21:16
gouthamrganso: ah.. yes i remember that fix21:16
gansogouthamr: that's because the "create_share_type" tempest method looks for that config option, and if absent, reads the capabilities21:17
gansogouthamr: so we got 2 branches of behaviors that are run according to non-obvious configurations21:17
gouthamrganso: reads the capabilities from?21:19
gansogouthamr: from the capabilities_revert_to_snapshot option, the one I am removing21:20
gouthamrganso: yeah... so, die option die, now.21:20
gansogouthamr: lol21:20
gouthamrganso: my CI needs 1 hr 31 min apparently to test your change... i'll review when that's done.. only LVM, dummy and cDOT drivers should be affected by the change.21:23
gansogouthamr: and HNAS, while it is still running21:23
*** cknight has joined #openstack-manila21:24
gouthamrganso: ah.. yep21:24
*** gouthamr has quit IRC21:33
*** cknight1 has joined #openstack-manila21:33
*** cknight has quit IRC21:35
*** dustins_ has quit IRC21:36
*** xyang1 has quit IRC21:48
*** kaisers_ has joined #openstack-manila21:54
*** gouthamr has joined #openstack-manila21:57
*** kaisers_ has quit IRC21:59
*** lpetrut has quit IRC22:15
*** cknight1 has quit IRC22:33
*** a-pugachev has quit IRC22:51
*** ociuhandu has joined #openstack-manila22:54
*** cknight has joined #openstack-manila22:55
*** ociuhandu has quit IRC22:59
*** ociuhandu has joined #openstack-manila23:05
*** kaisers_ has joined #openstack-manila23:09
*** ociuhandu has quit IRC23:09
*** kaisers_ has quit IRC23:14
*** erlon has quit IRC23:15
*** adrianofr_ has quit IRC23:19
*** tommylikehu_ has joined #openstack-manila23:48
*** crushil has joined #openstack-manila23:52
bswartztbarron: there is one problem with relying on capabilities exclusively23:58
bswartzif a bug develops in the driver where it doesn't report a capability when it should...23:58
bswartzthen the tests don't catch that bug23:59

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