Thursday, 2019-03-21

*** dviroel_ has quit IRC01:24
openstackgerritLucio Seki proposed openstack/manila-tempest-plugin master: Delete servers before deleting its share network  https://review.openstack.org/64490502:51
openstackgerritSoledad Kuczala proposed openstack/manila master: Adding documentation for user messages in Manila  https://review.openstack.org/64501003:15
*** whoami-rajat has joined #openstack-manila04:10
*** lseki has quit IRC04:59
*** MisterS has quit IRC05:07
*** carlos_silva has quit IRC05:17
*** e0ne has joined #openstack-manila06:06
*** e0ne has quit IRC06:07
*** pcaruana has joined #openstack-manila06:11
*** e0ne has joined #openstack-manila07:45
*** openstackgerrit has quit IRC08:17
*** kopecmartin|off is now known as kopecmartin08:18
*** kopecmartin is now known as randarah08:19
*** randarah is now known as kopecmartin08:19
*** tosky has joined #openstack-manila08:27
*** e0ne has quit IRC08:48
*** e0ne has joined #openstack-manila08:51
*** whoami-rajat has quit IRC09:10
*** whoami-rajat has joined #openstack-manila09:18
*** pcaruana has quit IRC09:45
*** pcaruana has joined #openstack-manila09:46
*** e0ne has quit IRC10:14
*** e0ne has joined #openstack-manila10:17
*** dviroel_ has joined #openstack-manila10:30
*** carlos_silva has joined #openstack-manila10:56
*** e0ne has quit IRC10:58
*** e0ne has joined #openstack-manila10:59
*** openstackgerrit has joined #openstack-manila11:12
openstackgerritLucian Petrut proposed openstack/manila master: Document Windows SMB driver  https://review.openstack.org/64512811:12
*** eharney has quit IRC11:16
openstackgerritHelen Walsh proposed openstack/manila stable/pike: VMAX manila - deprecate old tags correctly  https://review.openstack.org/64512911:16
openstackgerritHelen Walsh proposed openstack/manila stable/pike: VMAX manila doc - use of correct VMAX tags  https://review.openstack.org/64513411:22
openstackgerritHelen Walsh proposed openstack/manila stable/pike: VMAX manila doc - SSL Support  https://review.openstack.org/64513611:25
openstackgerritHelen Walsh proposed openstack/manila stable/pike: Manila VMAX docs -  clarify driver_handles_share_servers  https://review.openstack.org/64513711:27
*** thgcorrea has joined #openstack-manila11:28
*** whoami-rajat has quit IRC11:30
*** whoami-rajat has joined #openstack-manila11:34
openstackgerritHelen Walsh proposed openstack/manila stable/pike: Manila VMAX docs -  clarify snapshot support  https://review.openstack.org/64514011:37
*** eharney has joined #openstack-manila11:43
openstackgerritLucian Petrut proposed openstack/manila master: Document Windows SMB driver  https://review.openstack.org/64512811:45
openstackgerritHelen Walsh proposed openstack/manila stable/pike: Manila VMAX docs -  improve pre-configurations on VMAX section  https://review.openstack.org/64514811:50
openstackgerritHelen Walsh proposed openstack/manila stable/pike: Manila VMAX docs -  differences between quotas  https://review.openstack.org/64515011:53
openstackgerritVictoria Martinez de la Cruz proposed openstack/python-manilaclient master: [WIP] Get rid of python-keystoneclient requirement  https://review.openstack.org/51148312:06
*** eharney has quit IRC12:09
openstackgerritLucian Petrut proposed openstack/manila master: Document Windows SMB driver  https://review.openstack.org/64512812:20
*** lpetrut has joined #openstack-manila12:26
openstackgerritCarlos Eduardo proposed openstack/manila-tempest-plugin master: Delete servers before deleting its share network  https://review.openstack.org/64490512:28
openstackgerritCarlos Eduardo proposed openstack/manila-tempest-plugin master: Delete servers before deleting its share network  https://review.openstack.org/64490512:42
openstackgerritLucian Petrut proposed openstack/manila master: Document Windows SMB driver  https://review.openstack.org/64512812:45
*** e0ne has quit IRC12:51
*** lseki has joined #openstack-manila12:53
*** eharney has joined #openstack-manila12:56
*** enriquetaso has joined #openstack-manila13:01
*** irclogbot_0 has quit IRC13:07
*** irclogbot_0 has joined #openstack-manila13:09
*** altlogbot_1 has quit IRC13:23
*** e0ne has joined #openstack-manila13:23
*** altlogbot_3 has joined #openstack-manila13:24
*** e0ne has quit IRC13:37
*** altlogbot_3 has quit IRC13:39
*** whoami-rajat has quit IRC13:40
*** altlogbot_2 has joined #openstack-manila13:40
tbarrongouthamr: lseki: carlos_silva: I bought a little time from the release team if we can still land https://review.openstack.org/644560 today13:43
gouthamrtbarron: ack, thank you13:43
tbarrongouthamr: but we need to avoid last minute theatrics, the earlier the better13:44
*** irclogbot_0 has quit IRC13:45
lsekitbarron: great! thank you!13:45
*** e0ne has joined #openstack-manila13:45
carlos_silvatbarron: ok, thanks!13:45
*** irclogbot_0 has joined #openstack-manila13:46
carlos_silvawe are figuring out what's happening with the tempest tests13:46
*** lpetrut has quit IRC14:06
*** lpetrut has joined #openstack-manila14:07
openstackgerritLucian Petrut proposed openstack/manila master: Document Windows SMB driver  https://review.openstack.org/64512814:08
tbarrontoabctl: if you could take another look at https://review.openstack.org/#/c/640185/ that would be great14:10
openstackgerritGoutham Pacha Ravi proposed openstack/manila master: Dummy driver: Don't fail unmanage on malformed share servers  https://review.openstack.org/64519014:13
gouthamrcarlos_silva lseki: try this ^14:14
carlos_silvathanks, I'll try14:15
openstackgerritGoutham Pacha Ravi proposed openstack/manila master: Dummy driver: Don't fail unmanage on malformed share servers  https://review.openstack.org/64519014:16
gouthamror that ^ :)14:16
lsekigouthamr: makes sense, thanks!14:17
*** whoami-rajat has joined #openstack-manila14:23
*** altlogbot_2 has quit IRC14:35
*** altlogbot_3 has joined #openstack-manila14:36
*** irclogbot_0 has quit IRC14:38
*** irclogbot_3 has joined #openstack-manila14:39
openstackgerritAmit Oren proposed openstack/manila master: INFINIDAT: suppress 'no-member' pylint errors  https://review.openstack.org/64519814:40
carlos_silvagouthamr: we cherry-picked your patch but the dummy driver test is still failing :/14:50
gouthamrcarlos_silva: are you running it locally?14:50
carlos_silvayeah14:50
gouthamrcarlos_silva: cool, what's the log now?14:51
lsekibtw its failing on zuul as well :-( http://logs.openstack.org/60/644560/5/check/manila-tempest-minimal-dsvm-dummy/bd19b76/job-output.txt.gz14:56
carlos_silvaIn the assertRases of the test_share_servers_manage_negative looks like we was waiting for ShareServerBuildErrorException but it was throwing BadRequest, I changed this and now the test is trying to manage a share server that is in unmanage_starting status14:56
carlos_silvas/we was/we were14:57
carlos_silvathe method that fails is the test_manage_share_server_invalid_identifier... what is weird 'cause we have a "self._unmanage_share_server_and_wait(share_server)" that shouldn't let the test proceed to the next steps unless the share server is in a valid state14:59
carlos_silvagouthamr: it fails in the 2nd time that the "self._unmanage_share_server_and_wait(share_server)" is called14:59
gansogouthamr: wow, how did that not fail before?15:02
gouthamrganso: we were probably ignoring the share server until the share network was being torn down..15:02
gouthamrganso: and share network teardowns won't fail if share servers are there because it's an RPC call to the share manager, and cleanup on the database as far as the API is concerned15:03
gouthamrRPC calls to the share manager to clean up the share servers*15:03
carlos_silvaganso: idk :p15:04
gouthamrcarlos_silva: can you add a depends-On on the test patch so we can see what's going on15:12
carlos_silvaok15:15
*** spd_25 has joined #openstack-manila15:16
carlos_silvagouthamr: should I add the depends that points to your patch on in the lseki's patch?15:21
*** gouthamr has left #openstack-manila15:21
*** gouthamr has joined #openstack-manila15:21
gouthamrcarlos_silva: yep15:21
*** eharney has quit IRC15:22
lsekiI think #644560 already depends on #64490515:22
spd_25Hi all! I am an outreachy aspirant and would like to fix the Bug #1799742 . Can someone please explain me the expected code structure. Thanks.15:22
openstackbug 1799742 in Manila "Wrong segmentation ID sent to drivers when using multi-segments" [Medium,New] https://launchpad.net/bugs/179974215:22
lsekibut #644560 didn't run since #644905 was rebased on top of #64519015:23
tbarronspd_25: we're in a weekly meeting on #openstack-meeting-alt right now but will come back here on the hour15:23
lsekiso should carlos_silva just recheck his patch,gouthamr?15:23
spd_25tbarron: okay! will wait.15:25
*** enriquetaso has quit IRC15:31
gouthamrlseki: unsure what you mean, carlos_silva said you're still seeing a dummy driver failure with https://review.openstack.org/#/c/644905/ after cherry-picking https://review.openstack.org/#/c/645190/15:33
gouthamrlseki: i wanted to see the error to understand the issue, so asking for the commit message in  https://review.openstack.org/#/c/644905/ to have a Depends-On: https://review.openstack.org/#/c/645190/15:34
lsekigouthamr: oh, I see. Will do it, thanks15:35
openstackgerritCarlos Eduardo proposed openstack/manila-tempest-plugin master: Delete servers before deleting its share network  https://review.openstack.org/64490515:39
carlos_silvagouthamr: done! I've added the depends on in the patch15:41
gouthamrthanks carlos_silva15:41
tbarronspd_25: our meeting ended early.  Do you undertand the bug report for https://bugs.launchpad.net/manila/+bug/1799742 and the code where the problem is?15:41
openstackLaunchpad bug 1799742 in Manila "Wrong segmentation ID sent to drivers when using multi-segments" [Medium,New]15:41
carlos_silvaalso rechecked https://review.openstack.org/#/c/64456015:41
spd_25tbarron: I got the code and understood why the problem is occuring, but I couldn't figure out what should be expected change.15:53
spd_25like, If the segmentation ID should not be assigned there (as in the current code), then where should it be assigned?16:00
openstackgerritSoledad Kuczala proposed openstack/manila master: Adding documentation for user messages in Manila  https://review.openstack.org/64501016:01
tbarronspd_25: as I read that bug the last segmentation ID is always being assigned instead of the appropriate one, so one needs to loop over them and pick the right one.16:03
tbarronspd_25: you may want to check with ganso if that is correct16:04
tbarronspd_25: he's Rodrigo Barbieri who reported the bug16:04
tbarronspd_25: but if that's right, I'd approach it by making a unit test (or adapting an existing one) such that16:04
tbarronspd_25: you hit more than one segmentation ID that fulfills the condition at https://github.com/openstack/manila/blob/2b40e5618f2c1039bbbbd1a3e31b72e104b5436b/manila/network/neutron/neutron_network_plugin.py#L26816:05
tbarronspd_25: understand why the last one of those is getting chosen and figure how to get a better condition and break out of the loop ...16:06
spd_25Thanks for the response tbarron. Am I required to query ganso?16:07
tbarronspd_25: in manila one is required to make (or adapt) unit tests for bug fixes like this anyways and that would enable you to test this out without having to actually set up a network with multi-segemnts etc. just to fix this bug16:08
tbarronspd_25: you are not *required* to do so, I was just letting you know that this bug reporter is on irc in this channel so if it is helpful to you you'll know who he is.16:09
tbarronspd_25: we will add him as a reviewer for your proposed patch though :)16:09
*** e0ne has quit IRC16:10
spd_25ohh, thanks. I will try to find how the in the loop the last one is getting selected.16:10
tbarronspd_25: There is an "assigned to" field for this bug, you can assign it to yourself.16:10
spd_25tbarron: sure!16:11
tbarronspd_25: thanks for working on this one!16:11
spd_25tbarron: will come back here if I get stuck.16:11
tbarronspd_25: yup16:11
*** eharney has joined #openstack-manila16:14
gansogouthamr: shouldn't https://review.openstack.org/#/c/644560 be tagged with APIImpact?16:16
gouthamrganso: can be..16:17
gansocarlos_silva: ^16:18
openstackgerritCarlos Eduardo proposed openstack/manila master: Fix server delete attempt along with share net deletion  https://review.openstack.org/64456016:25
carlos_silvaganso: APIImpact done ^16:26
carlos_silvas/done/added in the commit message16:27
carlos_silva:p16:27
gouthamrcarlos_silva lseki: https://review.openstack.org/#/c/644905/6/manila_tempest_tests/tests/api/admin/test_share_servers_manage_negative.py@25816:28
*** lpetrut has quit IRC16:32
lsekigouthamr: yep, makes sense. will put the shareserverbuildexception back16:35
carlos_silvagouthamr: i agree with your comment...16:36
openstackgerritCarlos Eduardo proposed openstack/manila-tempest-plugin master: Delete servers before deleting its share network  https://review.openstack.org/64490516:46
openstackgerritMerged openstack/manila master: Document Windows SMB driver  https://review.openstack.org/64512816:56
*** enriquetaso has joined #openstack-manila17:41
*** enriquetaso has quit IRC17:42
*** enriquetaso has joined #openstack-manila17:42
*** senrique_ has joined #openstack-manila17:44
*** enriquetaso has quit IRC17:46
*** gouthamr has left #openstack-manila17:49
*** gouthamr has joined #openstack-manila17:49
gouthamrganso: if you're around, i've a quick question around this bugfix17:49
gouthamrganso: please take a look at https://review.openstack.org/#/c/644905/7/manila_tempest_tests/tests/api/admin/test_share_manage.py@135 -> do you agree? - the ability to run tempest tests with a configured share_network_id is important - if using a single neutron plugin or if you need to do stuff on the share network, like assigning security services - which is mandatory for NetApp/CIFS17:51
*** senrique_ has quit IRC18:00
*** spd_25 has quit IRC18:02
gansogouthamr: I agree18:04
gansogouthamr: we already did this for several other tests18:04
gansogouthamr: it makes sense18:04
gouthamrganso: awesome :) thanks!18:04
gouthamrlseki: moar comments ^18:05
*** e0ne has joined #openstack-manila18:05
gouthamrlseki: but the good news is that your last PS passed18:05
lseki\O/18:05
lsekigouthamr: thx, will check'em18:05
*** e0ne has quit IRC18:12
carlos_silva\o/18:15
*** whoami-rajat has quit IRC18:23
gouthamrlseki carlos_silva: can we expect a patchset soon? to address comments in https://review.openstack.org/#/c/644905/? I don't mind merging as is, so you can fix it in a follow up patch18:23
gouthamrlseki carlos_silva: the priority is to get the bugfix passing/merged so we don't have an ugly backport to deal with18:24
carlos_silvalseki: is working on a new patch18:26
lsekigouthamr: sure, gimme 5min plz18:26
gouthamrthanks lseki carlos_silva..18:26
amitoneed one more core for: https://review.openstack.org/#/c/645198/   :) thanks18:30
openstackgerritLucio Seki proposed openstack/manila-tempest-plugin master: Delete servers before deleting its share network  https://review.openstack.org/64490518:32
lsekigouthamr: ^18:33
gouthamrlseki: neat18:39
*** kopecmartin is now known as kopecmartin|off18:43
openstackgerritMerged openstack/manila master: Dummy driver: Don't fail unmanage on malformed share servers  https://review.openstack.org/64519018:59
*** whoami-rajat has joined #openstack-manila19:26
*** e0ne has joined #openstack-manila19:30
gouthamrbummer19:33
carlos_silvahey folks... lseki's patch passed in the dummy driver but mine didn't19:34
carlos_silvait was supposed to pass 'cause it has a depend's on in lseki's patch, right?19:36
gouthamrcarlos_silva: hmmm, yeah.. looking at the tests and their, i found one issue. i'm seeing if that's it, or there are more problems19:42
gouthamrs/their/their logs: http://logs.openstack.org/60/644560/6/check/manila-tempest-minimal-dsvm-dummy/4000c6e/logs/tempest_1/19:43
gouthamrso far i only see a problem in the tests19:44
tbarronmeaning all the failures are in the test teardownclass?19:46
gouthamryes19:46
carlos_silvayes19:47
gouthamrfour share networks were created in the manage tests and they were reused everywhere else, which caused 14 failures: a17c23c2-2b11-4fa1-b3e7-58d05c35713d, 5a3f5901-28aa-4497-adde-3c314f763008, 18ab203d-6073-42ff-9102-e96cda811893, 9aebcc28-f9a1-4067-9cbb-f1e27594e0a019:47
*** e0ne has quit IRC19:49
*** e0ne has joined #openstack-manila19:52
carlos_silvagouthamr: yep19:53
gouthamrcarlos_silva: hey, feel free to fix up the obvious problem noted here: https://review.openstack.org/#/c/644905/819:53
gouthamri'm still troubleshooting19:54
lsekigouthamr: whoops, will fix it19:55
gouthamrwait, hold on.. shouldn't share and managed share have the same share_server_id19:55
gouthamrit's possible they may not, however...19:55
lsekioh, they should19:56
lsekithey are the same, unless when the share-server is unmanaged as well19:57
gouthamryeah.. line 96...19:57
lsekibut it's not the case19:57
gouthamrack19:57
gouthamrhmmm, so here's what i'm thinking - tempest tests are going to share the share network across test classes19:58
gouthamrwhen they decide they're done, they're going to teardown the share network19:59
gouthamrin the meanwhile, if the network has an undeletable share server, it blows up during teardown of that share network19:59
gouthamrso, it made sense to me that we enumerate these specific share servers during share network teardown and blow them away20:00
lsekigouthamr: so should I put back those cleanup instructions in the base test class?20:01
gouthamrganso's suggestion that you have currently implemented isn't working... although it makes sense to cleanup resources that you forced the creation of20:01
*** thgcorrea has quit IRC20:02
gouthamrthis current solution makes best sense if you turned down the concurrency to 1 (from 24)...20:02
gouthamror prevent share networks from being reused by different/unrelated classes20:03
lsekimakes sense, we ran the tests locally with concurrency=120:03
*** e0ne has quit IRC20:04
lsekihmm is it possible that the share networks are reused, even restoring the cleanup code in the bsae test class teardown?  due to the concurrency?20:06
gouthamrlseki: yes, it is possible, however, the teardown happens towards the end, i.e, when we don't plan on ever reusing the credential that we used to run the tests20:08
gouthamrlseki: the tests run with concurrency 24, and there are a lot of "test accounts" available to use them with... so 24 threads are spawned and each of of them picks up test classes to execute..20:09
gouthamrlseki: so at any point, when a thread looks for more test classes, but doesn't find any (because the other threads are already working on any remaining tests), it's time for a "teardown"20:10
gouthamrlseki: so, you can't really tell *which* test class will eventually be the final one to use your share network, but... the cleanup in the base class will be the *last* thing certainly20:11
gouthamrlseki: https://review.openstack.org/#/c/328391/ should add some context20:11
gouthamrthis whole thing is because of our use of test credentials (tenants/projects that run tests) - and their isolated tenant networks20:12
*** senrique_ has joined #openstack-manila20:21
lsekigouthamr: I see... so the failing tests might be happening because threads start to teardown as they run out of test classes to execute20:24
lsekigouthamr: and each thread uses an account (w/ isolated share-network), which is reused among the tests that the thread runs20:25
carlos_silvagouthamr: makes sense... thanks for the explanation20:26
lsekigouthamr: and there might be is_auto_deletable=False share-servers (that might be in deleting state), associated to the share-networks about to be deleted, and that raises the error...?20:27
*** e0ne has joined #openstack-manila20:28
lsekigouthamr: so in this case, delete-and-wait-for-deletion of those share-servers upon share-network deletion would avoid teardown to fail20:30
lsekigouthamr: may I try this change and recheck carlos_silva's patch?20:33
openstackgerritMerged openstack/manila master: INFINIDAT: suppress 'no-member' pylint errors  https://review.openstack.org/64519820:33
gouthamrlseki: it's possible.. for confirmation - don't change anything from your patch... let's just do this:20:37
openstackgerritGoutham Pacha Ravi proposed openstack/manila-tempest-plugin master: [DNM] Log share servers on the share network before deletion  https://review.openstack.org/64534120:37
lsekigouthamr: nice!20:38
*** e0ne has quit IRC21:17
*** pcaruana has quit IRC21:33
*** whoami-rajat has quit IRC21:45
lsekigouthamr: http://logs.openstack.org/41/645341/1/check/manila-tempest-minimal-dsvm-dummy/ada9ad9/logs/tempest_1/tempest.txt.gz?level=INFO21:56
gouthamrlseki: looking21:59
gouthamrneed to regex search this :) downloading it22:02
gouthamrwow, 107 share networks created and deleted, concurrency ftw22:04
*** irclogbot_3 has quit IRC22:05
gouthamrlseki: http://logs.openstack.org/41/645341/1/check/manila-tempest-minimal-dsvm-dummy/ada9ad9/logs/tempest_1/tempest.txt.gz?#_2019-03-21_21_16_25_40622:06
gouthamrone instance where we have a non-autodeletable server22:06
gouthamrweird thing is that we never tried to delete that server..22:08
openstackgerritMerged openstack/manila master: Only allow IP access type for CephFS NFS  https://review.openstack.org/64018522:23
lsekigouthamr: hmm some test is creating it and leaving behind without deleting?22:25
gouthamrlseki: noticed the cleanup patch didn't touch the manage share server test class22:25
gouthamrlseki: although i'm seeing other residue not pertaining to that test class22:26
*** erlon has joined #openstack-manila22:32
gouthamri mean, i see one share network with a non-autodeletable server left over from that test class (https://github.com/openstack/manila-tempest-plugin/blob/370569/manila_tempest_tests/tests/api/admin/test_share_servers_manage.py)..22:33
lsekigouthamr: ? the code seems to be deleting the server in the last line of this file22:38
gouthamrit does..22:38
lsekiand the share network is created with cleanup_in_class=True22:39
gouthamri usually type out loud, and answer my own questions shortly after22:39
gouthamrlseki: yes.. the "class" over there is the base class, if the share network is being reused22:40
*** senrique_ has quit IRC22:40
*** senrique_ has joined #openstack-manila22:41
*** senrique_ has quit IRC22:57
*** tosky has quit IRC22:59
gouthamrlseki: are you still around?23:11
lsekihi23:11
gouthamrlseki: hey, found a bug23:13
lsekioh no23:13
lseki(or oh yes if the fix is easy23:14
gouthamrlseki: commented on https://review.openstack.org/#/c/644905/23:16
openstackgerritGoutham Pacha Ravi proposed openstack/manila-tempest-plugin master: Delete servers before deleting its share network  https://review.openstack.org/64490523:35
dviroel_fingers crossed23:41
carlos_silva^ :p23:41

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