Monday, 2016-04-04

*** darrenc is now known as darrenc_afk00:26
*** darrenc_afk is now known as darrenc00:53
*** bswartz has joined #openstack-manila03:29
*** akshai_ has joined #openstack-manila04:03
*** akshai has quit IRC04:06
*** sgotliv has joined #openstack-manila04:11
*** sgotliv has quit IRC04:19
*** jasonsb has joined #openstack-manila04:36
*** akshai_ has quit IRC04:58
*** shausy has joined #openstack-manila05:06
*** jasonsb has quit IRC05:09
*** jasonsb has joined #openstack-manila05:13
*** jasonsb has quit IRC05:24
*** sgotliv has joined #openstack-manila05:25
*** jasonsb has joined #openstack-manila05:27
*** sgotliv has quit IRC05:31
*** sgotliv has joined #openstack-manila05:32
*** shausy has quit IRC05:37
*** shausy has joined #openstack-manila05:38
*** nkrinner has joined #openstack-manila05:55
*** lpetrut has joined #openstack-manila05:59
*** sgotliv has quit IRC06:39
*** lpetrut has quit IRC07:08
-openstackstatus- NOTICE: Gerrit is going to be restarted due to bad performance07:14
*** bswartz has quit IRC07:40
*** sgotliv has joined #openstack-manila08:03
*** lpetrut has joined #openstack-manila08:44
*** sgotliv_ has joined #openstack-manila09:40
*** sgotliv has quit IRC09:41
*** number80 has quit IRC09:44
*** ociuhandu has quit IRC09:59
*** jcsp has joined #openstack-manila10:31
*** rraja has joined #openstack-manila10:35
*** ociuhandu has joined #openstack-manila10:40
*** openstackgerrit has quit IRC10:48
*** openstackgerrit has joined #openstack-manila10:48
*** jcsp has quit IRC10:56
*** jcsp has joined #openstack-manila10:57
*** krotscheck_vaca is now known as krotscheck11:13
openstackgerritMerged openstack/manila: Fix force-delete on snapshot resource  https://review.openstack.org/29720511:21
openstackgerritTom Barron proposed openstack/manila: Remove ununsed logging import and LOG global  https://review.openstack.org/30105411:25
*** gouthamr has joined #openstack-manila11:31
*** nidhimittalhada has joined #openstack-manila11:39
openstackgerritGoutham Pacha Ravi proposed openstack/manila: Add doc for Share Replication  https://review.openstack.org/30001811:42
*** rraja has quit IRC11:51
*** marcusvrn_ has joined #openstack-manila11:56
*** mlima has joined #openstack-manila11:58
*** erlon has joined #openstack-manila12:13
*** eharney has quit IRC12:21
*** gouthamr has quit IRC12:31
*** nidhimittalhada has left #openstack-manila12:32
*** timcl has joined #openstack-manila12:39
*** bswartz has joined #openstack-manila12:40
*** xyang1 has joined #openstack-manila12:40
*** gouthamr has joined #openstack-manila12:44
*** mlima has quit IRC12:49
*** merooney has joined #openstack-manila13:10
*** lgreg has joined #openstack-manila13:13
*** akshai has joined #openstack-manila13:21
*** mtanino has joined #openstack-manila13:24
*** dalgaaf has joined #openstack-manila13:27
*** mlima has joined #openstack-manila13:29
*** esker has quit IRC13:30
*** Yogi1 has joined #openstack-manila13:35
openstackgerritTom Barron proposed openstack/manila: Remove unused logging import and LOG global  https://review.openstack.org/30105413:36
*** dencaval has quit IRC13:40
*** eharney has joined #openstack-manila13:48
openstackgerritGoutham Pacha Ravi proposed openstack/manila: Add release notes usage and documentation  https://review.openstack.org/30065613:54
*** akerr has joined #openstack-manila13:54
*** shausy has quit IRC13:55
*** shausy has joined #openstack-manila13:55
*** eharney has quit IRC13:57
openstackgerritGoutham Pacha Ravi proposed openstack/manila: Add release notes usage and documentation  https://review.openstack.org/30065613:57
*** eharney has joined #openstack-manila14:00
*** shausy has quit IRC14:03
*** a_ta has joined #openstack-manila14:04
*** shausy has joined #openstack-manila14:04
*** shausy has quit IRC14:09
*** shausy has joined #openstack-manila14:10
*** a_ta has quit IRC14:16
*** xyang1 has quit IRC14:17
*** xyang1_ has joined #openstack-manila14:17
*** a_ta has joined #openstack-manila14:18
*** esker has joined #openstack-manila14:22
*** esker has quit IRC14:23
*** esker has joined #openstack-manila14:24
*** jasonsb has quit IRC14:25
*** jasonsb has joined #openstack-manila14:26
*** shausy has quit IRC14:31
*** cknight has joined #openstack-manila14:34
*** nkrinner has quit IRC14:52
*** eharney has quit IRC14:56
*** mlima has quit IRC15:00
*** merooney has quit IRC15:01
*** merooney has joined #openstack-manila15:05
*** eharney has joined #openstack-manila15:12
*** mlima has joined #openstack-manila15:15
openstackgerritTom Barron proposed openstack/manila: update dev env doc for Fedora releases  https://review.openstack.org/30014415:38
*** david-lyle_ has quit IRC15:48
*** david-lyle has joined #openstack-manila15:48
gansovponomaryov: ping16:02
vponomaryovganso: pong16:03
gansovponomaryov: Hi Valeriy. Regarding your comment on https://review.openstack.org/#/c/300138 , are you suggesting removing the second part of the test?16:03
vponomaryovganso: yes, it becomes redundant if you address previous comment16:05
vponomaryovganso: also, not a point of test16:05
gansovponomaryov: but then how will resource on backend be cleaned up?16:05
vponomaryovganso: how it will be cleaned up if you use "addCleanup"?16:06
gansovponomaryov: yes, DB entry will be removed, but resource in the backend will remain there16:06
vponomaryovganso: in which case it will remain?16:07
gansovponomaryov: in both cases, sucess and failure. Share needs to be properly managed to be removed16:07
vponomaryovganso: addressing my comment tempest will try to delete shares, current code will do nothing.16:08
vponomaryovganso: will not try to delete if test fails16:09
vponomaryovganso: after share creation16:09
vponomaryovganso: I mean "manage"16:09
gansovponomaryov: setUp method unmanages the share. There is no more share to be deleted after test is finished, since the id is gone16:09
vponomaryovganso: Rodrigo ))16:09
vponomaryovganso: I don't know why "manage" features confuses so much16:10
gansovponomaryov: o_O16:10
vponomaryovganso: you fixed API, so you always create DB record with amnage API16:11
vponomaryovganso: on line 176 you get it16:11
vponomaryovganso: so, I wrote to call "addCleanup" func right after this 176 line16:12
vponomaryovganso: to make it be deleted with any test result16:12
vponomaryovganso: right now, your test will leave DB record undeleted if test fails16:12
vponomaryovganso: if you want, I can make required change for you16:13
gansovponomaryov: I agree, that is a flaw and needs to be corrected, I did no think of that before16:13
vponomaryovganso: so, did I answer your question?16:14
gansovponomaryov: but I do not understand why the last part needs to be removed16:14
gansovponomaryov: no, my question was related to the last part16:14
vponomaryovganso: why should it exist?16:14
gansovponomaryov: if first manage call fails, which is expected16:14
gansovponomaryov: because parameters are incorrect16:14
gansovponomaryov: the way I see, adding just a cleanup will not remove resource from backend, because it was not properly managed16:15
vponomaryovganso: DB RECORD16:15
gansovponomaryov: yes, it will remove the db record16:15
vponomaryovganso: for making cleanup be happy16:15
gansovponomaryov: but both should be removed16:16
vponomaryovganso: and your current approach will not do it16:16
gansovponomaryov: no, it needs a fix just for when test fails (first manage succeeds)16:16
gansovponomaryov: to clean both DB and resource16:17
vponomaryovganso: and how it answers the question "why should it exist?"?16:19
vponomaryovganso: what is the purpose of test?16:19
vponomaryovganso: removal part is not part of purpose16:20
vponomaryovganso: that is why it should be removed and "addCleanup" added above as mentioned16:20
gansovponomaryov: there are 2 tests, you may disagree from the start that the 2 tests should not be combined in one16:21
gansovponomaryov: let's say there is only one test16:21
gansovponomaryov: which is negative, and should try to manage a share with improper parameters16:22
gansovponomaryov: if this test succeeds, resource and DB should be cleaned up, that can be accomplished by managing the share again and deleting it16:22
vponomaryovganso: split for two was incorrect too ))16:22
vponomaryovganso: you still ignore answer for purpose question16:23
vponomaryov))16:23
vponomaryovganso: you combine these two tests - it is ok, because they should have never been splitted16:24
gansovponomaryov: why do you say I ignore the answer for purpose question? I am confused16:25
vponomaryovganso: I see )16:25
gansovponomaryov: I will submit a new patch fixing the case of test failing (first manage succeeding)16:26
vponomaryovganso: from testing point of view, you test here "retry", not share deletion16:26
gansovponomaryov: well, I can rename the test16:26
vponomaryovganso: that is why "deletion" and, moreover, assertions, should be removed16:26
openstackgerritRodrigo Barbieri proposed openstack/manila: Fix Share status when driver migrates  https://review.openstack.org/29933216:28
*** sgotliv_ has quit IRC16:29
*** a_ta has quit IRC16:30
*** a_ta has joined #openstack-manila16:31
*** a_ta_ has joined #openstack-manila16:33
*** gouthamr has quit IRC16:33
*** a_ta has quit IRC16:35
*** esker has quit IRC16:39
openstackgerritTom Barron proposed openstack/manila: Remove unused logging import and LOG global  https://review.openstack.org/30105416:40
*** merooney has quit IRC16:42
*** merooney has joined #openstack-manila16:48
*** eharney has quit IRC16:49
mlimahello guys, mitaka was affected by this change? https://review.openstack.org/#/c/290511/16:52
tbarronmlima: that change is included in stable/mitaka branch if that is what you are asking.16:55
*** eharney has joined #openstack-manila16:55
*** gouthamr has joined #openstack-manila17:00
mlimatbarron, thanks for the answer17:03
mlima17:03
*** jasonsb has quit IRC17:04
*** timcl has quit IRC17:29
*** lpetrut has quit IRC17:31
openstackgerritRodrigo Barbieri proposed openstack/manila: Fix manage tempest test validation  https://review.openstack.org/30013817:34
gouthamrganso: ping17:36
gansogouthamr: pong17:36
gouthamrhey ganso!17:36
gouthamrganso: maybe you're hitting this bug? https://bugs.launchpad.net/manila/+bug/156590317:36
openstackLaunchpad bug 1565903 in Manila "retry for manage share fails with an API error " [Undecided,Confirmed] - Assigned to Yogesh (ykshirsa)17:36
gouthamrganso: simple one-line fix :)17:37
gouthamrganso: and then your test doesn't need the try.. excepts.17:37
gansogouthamr: I did not hit it17:37
gansogouthamr: let me understand the bug hold on a sec17:37
gouthamrganso: ideally, your test can do this: 1) Manage with invalid share_type 2) check whether the share ends up with 'manage_error' 3) Don't reset state, just try manage again, with a valid share_type 4) Cleanup17:38
gansogouthamr: wait, that implies going back to the code before this patch I just submitted... right17:39
gansogouthamr:17:39
gansogouthamr: ?17:39
gouthamrganso: because of that bug though, the test will fail. You would need to copy.deepcopy() in https://github.com/openstack/manila/blob/master/manila/db/sqlalchemy/api.py#L111217:39
*** merooney has quit IRC17:39
gouthamrganso: yep..17:40
gansogouthamr: different things. The patch I just submitted was to address vponomaryov 's concerns about not cleaning up DB in case of test failing17:40
gansogouthamr: then, it can be validated adjusting tempest test to do it.17:41
gouthamrganso: i understand cleanups don't go through if tests fail.. but shouldn't that be handled by the cleanup layer?17:42
gouthamrganso: seems wonky to have try excepts in the test..17:42
gansogouthamr: so, a cleanup like in line 113 is run only if test fails?17:44
gouthamrganso: that does make some sense.. worth a try..17:45
*** a_ta_ has quit IRC17:46
gouthamrganso: but then you don't need to delete the share that was created in the DB, try manage again.. according to the API, that should work..17:46
gouthamrganso: (if the test does pass)17:46
gansogouthamr: but if share_type is different, it should not consider as same share17:46
*** a_ta has joined #openstack-manila17:46
gouthamrganso: you can change the share_type17:47
gouthamrganso: since the export location and the host are the same, it should be considered as the same share?17:47
gouthamrganso: i think ^17:47
gansogouthamr: according to line 501 in share/api.py, no17:47
gouthamrganso: i mean, it is the same actual share :)17:47
gansogouthamr: it is the actual17:47
gansogouthamr: but in order to consider it a retry, thus triggering condition in like 536, it needs to be the same share type17:48
gansogouthamr: I am confused as how that bug even exists17:48
gouthamrganso: oh.. damn, thought you could retry with a different type17:48
gouthamrganso: actually, i don't userstand manage retry17:48
gouthamrganso: what was the whole point? :)17:48
gansogouthamr: no idea o_O17:49
gouthamrganso: :P17:49
gouthamrs/userstand/understand17:49
*** timcl has joined #openstack-manila17:49
gouthamrganso: we don't allow "retry" on any other API.. it's kinda weird that we have it on manage17:49
gansogouthamr: agreed17:50
gouthamrganso: so, in your case, you could insert it into the cleanup method resources as soon as it is created.. so that it will be cleaned up even if tests fail..17:50
*** a_ta has quit IRC17:51
gouthamrganso: :P Yogi1 has the oneliner fix for the other bug in a related change17:51
gansogouthamr: but I guess I should use the cleanup method resources approach only if test achieves the undesired effect (manage successfully instead of failing)... because I also need to clean the resource in the backend, not just the DB record, and to do so I need to manage properly17:53
gouthamrganso: oh. yes, i understand that17:54
gouthamrganso: because the 'host' is set17:54
gouthamrganso: it always takes the call to the backend17:54
gansogouthamr: it may not... scheduler may not allow17:55
gouthamrganso: i meant the delete call17:55
gansogouthamr: oh yes17:55
gouthamrganso: or not.. delete works only for 'available', 'error' or 'inactive'17:56
gouthamrganso: unless the operation is forced..17:56
* gouthamr wonders what sorta share will be in 'inactive' state17:58
gansogouthamr: a share that is being migrated17:58
gansogouthamr: that's why I reset state... you cannot delete a manage_error share17:59
gouthamrganso: ah.. makes sense..18:01
gouthamrganso: or you can use 'force_delete'18:01
gouthamr:)18:01
gansogouthamr: I'd rather not use force_delete instead of reset_state =)18:02
gouthamrganso: haha.. yeah.. lemme think and give you review feedback if some better idea strikes.18:03
gansogouthamr: do you have a link for Yogesh's fix?18:06
gouthamrganso: code's still internal.. im hoping he'll have it up today.18:07
*** number80 has joined #openstack-manila18:17
*** a_ta has joined #openstack-manila18:30
*** sgotliv_ has joined #openstack-manila18:40
*** timcl has quit IRC18:46
*** gouthamr has quit IRC18:48
*** timcl has joined #openstack-manila18:50
*** gouthamr has joined #openstack-manila18:52
*** Yogi1 has quit IRC18:54
*** ociuhandu has quit IRC19:17
*** mlima_ has joined #openstack-manila19:19
*** mlima has quit IRC19:23
*** mlima_ has quit IRC20:17
*** akerr has quit IRC20:21
openstackgerritMerged openstack/manila: Use install_package when preparing LVM driver installation  https://review.openstack.org/29932220:21
*** akshai has quit IRC20:25
*** timcl has quit IRC20:26
*** cknight has quit IRC20:47
*** akshai has joined #openstack-manila20:58
*** lpetrut has joined #openstack-manila21:03
*** ociuhandu has joined #openstack-manila21:06
*** sgotliv_ has quit IRC21:53
*** david-lyle_ has joined #openstack-manila22:02
*** david-lyle has quit IRC22:03
*** david-lyle_ is now known as david-lyle22:03
*** a_ta has quit IRC22:05
*** a_ta has joined #openstack-manila22:06
*** xyang1_ has quit IRC22:07
*** a_ta has quit IRC22:10
*** eharney has quit IRC22:10
*** lpetrut has quit IRC22:17
*** tpsilva has quit IRC22:27
*** ganso has quit IRC22:40
*** rebase has joined #openstack-manila22:44
*** david-lyle has quit IRC22:44
*** david-lyle has joined #openstack-manila22:47
*** gouthamr has quit IRC23:09
*** divab has joined #openstack-manila23:10
*** akshai has quit IRC23:17
openstackgerritOpenStack Proposal Bot proposed openstack/manila: Updated from global requirements  https://review.openstack.org/30076723:17
*** chlong has joined #openstack-manila23:18
*** rebase_ has joined #openstack-manila23:25
*** rebase has quit IRC23:27
*** rebase_ has quit IRC23:29
*** dalgaaf has quit IRC23:38
*** akshai has joined #openstack-manila23:52
*** akshai_ has joined #openstack-manila23:58

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