Friday, 2016-08-26

*** kaisers_ has joined #openstack-manila00:03
*** kaisers_ has quit IRC00:08
*** furlongm_ has quit IRC00:19
*** Suyi_ has quit IRC00:19
*** qeelee has joined #openstack-manila00:33
*** mtanino has quit IRC00:44
*** gouthamr_ has quit IRC00:47
*** yangyapeng has joined #openstack-manila00:52
*** esker has quit IRC00:55
*** chlong has joined #openstack-manila01:18
*** cknight has joined #openstack-manila01:23
*** qeelee has quit IRC01:27
openstackgerritYingzhe Zeng proposed openstack/manila: Implement replication support in huawei driver  https://review.openstack.org/33158601:30
*** wangqun has joined #openstack-manila01:33
*** cknight has quit IRC01:33
*** qeelee has joined #openstack-manila01:37
*** kaisers_ has joined #openstack-manila01:53
*** kaisers_ has quit IRC01:57
*** xiaoyang has joined #openstack-manila02:11
xiaoyanghello,manila02:13
*** qeelee has quit IRC02:16
xiaoyang how to use L2 to provide share server?02:17
*** qeelee has joined #openstack-manila02:17
*** vbellur has joined #openstack-manila02:18
xiaoyang有人吗?02:47
*** ganso has quit IRC02:51
*** alkhodos has quit IRC03:04
*** qeelee has quit IRC03:06
*** qeelee has joined #openstack-manila03:12
*** dustins has joined #openstack-manila03:28
*** zhangyi has joined #openstack-manila03:28
*** dustins has quit IRC03:37
*** chlong has quit IRC03:37
*** dustins_ has joined #openstack-manila03:41
*** kaisers_ has joined #openstack-manila03:41
*** dustins has joined #openstack-manila03:42
*** dustins_ has quit IRC03:44
*** kaisers_ has quit IRC03:46
*** dustins has quit IRC03:59
*** chlong has joined #openstack-manila04:10
*** daidv has joined #openstack-manila04:31
openstackgerritOpenStack Proposal Bot proposed openstack/manila: Updated from global requirements  https://review.openstack.org/36089105:08
*** chlong has quit IRC05:21
*** kaisers_ has joined #openstack-manila05:30
*** sandanar has joined #openstack-manila05:34
*** kaisers_ has quit IRC05:35
*** daidv has quit IRC05:37
*** daidv_ has joined #openstack-manila05:37
*** nkrinner_afk is now known as nkrinner05:43
*** gouthamr has joined #openstack-manila05:44
*** lpetrut has joined #openstack-manila06:29
openstackgerritYingzhe Zeng proposed openstack/manila: huawei driver default create thin type share  https://review.openstack.org/35147506:51
*** aovchinnikov has joined #openstack-manila06:51
*** kaisers_ has joined #openstack-manila07:19
*** kaisers_ has quit IRC07:24
openstackgerritYingzhe Zeng proposed openstack/manila: Implement replication support in huawei driver  https://review.openstack.org/33158607:29
*** lpetrut has quit IRC07:30
*** kaisers_ has joined #openstack-manila07:30
openstackgerritAlexey Ovchinnikov proposed openstack/manila: Clarify grenade failure message  https://review.openstack.org/36094207:34
openstackgerritNidhiMittalHada proposed openstack/manila: manila does not calculate allocated_capacity_gb  https://review.openstack.org/35103407:41
*** nidhimittalhada has joined #openstack-manila07:42
nidhimittalhada@vponomaryov, @gouthamr @xyang @ganso @zhongjun https://review.openstack.org/315012  https://review.openstack.org/348160  Can you please review ?07:43
*** nidhimittalhada has quit IRC07:43
openstackgerritNam Nguyen Hoai proposed openstack/manila: TrivialFix: Remove cfg import unused  https://review.openstack.org/36096008:03
*** zhangyi has quit IRC08:06
*** zhangyi has joined #openstack-manila08:07
*** ociuhandu has joined #openstack-manila08:13
*** openstackgerrit has quit IRC08:18
*** ociuhandu has quit IRC08:18
*** openstackgerrit has joined #openstack-manila08:19
openstackgerritAlexey Ovchinnikov proposed openstack/manila: [Do Not Merge] Test networking issues in tests  https://review.openstack.org/36097308:25
*** gouthamr has quit IRC09:05
*** darrenc has quit IRC09:06
*** darrenc has joined #openstack-manila09:06
openstackgerritOpenStack Proposal Bot proposed openstack/manila: Updated from global requirements  https://review.openstack.org/36089109:12
*** lpetrut has joined #openstack-manila09:13
*** esker has joined #openstack-manila09:37
*** esker is now known as esker[away]09:37
openstackgerritYingzhe Zeng proposed openstack/manila: Change test bugs for replication CI  https://review.openstack.org/36104209:46
openstackgerritCao Xuan Hoang proposed openstack/manila: Clean imports in code  https://review.openstack.org/36104309:48
openstackgerritAlexey Ovchinnikov proposed openstack/manila: [Do Not Merge] More tests for generic networking behaviour  https://review.openstack.org/36104509:50
*** esker[away] is now known as esker10:03
*** ociuhandu has joined #openstack-manila10:08
*** esker has quit IRC10:11
*** yangyapeng has quit IRC10:13
openstackgerritNidhiMittalHada proposed openstack/manila: manila does not calculate allocated_capacity_gb  https://review.openstack.org/35103410:18
*** xiaoyang has quit IRC10:20
openstackgerritNam Nguyen Hoai proposed openstack/manila: TrivialFix: Remove cfg import unused  https://review.openstack.org/36096010:32
*** wangqun has quit IRC10:53
*** ganso has joined #openstack-manila10:58
openstackgerritAlexey Ovchinnikov proposed openstack/manila: Container driver: Fix for guest mounting issue  https://review.openstack.org/36108010:59
*** JoseMello has joined #openstack-manila11:01
*** alyson_ has joined #openstack-manila11:15
openstackgerritzzxwill proposed openstack/manila: Put all imports from manila.i18n in one line  https://review.openstack.org/36109911:26
*** nkrinner is now known as nkrinner_afk11:28
*** timcl has joined #openstack-manila11:40
*** akapil has joined #openstack-manila11:59
*** nkrinner_afk is now known as nkrinner12:06
*** timcl has quit IRC12:12
*** timcl has joined #openstack-manila12:13
*** akapil has quit IRC12:13
*** akapil has joined #openstack-manila12:14
*** xyang1 has joined #openstack-manila12:17
*** kaisers1 has quit IRC12:23
*** kaisers has quit IRC12:23
*** akapil has quit IRC12:25
*** kaisers has joined #openstack-manila12:29
*** kaisers1 has joined #openstack-manila12:30
*** zhangyi has quit IRC12:34
*** akapil has joined #openstack-manila12:48
*** eharney has joined #openstack-manila13:04
*** akapil has quit IRC13:14
*** rooneym has joined #openstack-manila13:22
*** daidv_ has quit IRC13:24
gansobswartz, xyang1, markstur, tbarron: Could you please take a look at https://review.openstack.org/#/c/332267/ ? Thanks in advance13:25
openstackgerritRodrigo Barbieri proposed openstack/manila: [DNM] Testing bugfix  https://review.openstack.org/36118013:32
*** dustins has joined #openstack-manila13:37
*** gouthamr has joined #openstack-manila13:47
*** akerr has joined #openstack-manila13:48
*** nkrinner is now known as nkrinner_afk13:49
*** akapil has joined #openstack-manila13:50
*** sandanar has quit IRC13:53
*** akapil has quit IRC13:54
openstackgerritEmilien Macchi proposed openstack/puppet-manila: Prepare 9.2.0 (newton b3)  https://review.openstack.org/36120913:55
*** aovchinnikov has quit IRC13:55
bswartzganso: how are we supposed to merge this with the gate acting so flaky?14:16
*** mtanino has joined #openstack-manila14:17
gansobswartz: I have diagnosed the gate error and I am attempting to fix, it is unrelated. Still, if the code is good and worth 2 +2 and +W then I believe we should try to make it pass the gate rechecking so it unblocks other patches in the Share Migration tree, which are waiting to be reviewed.14:24
gansobswartz: by the way, curiously, the gate only fails when the node running the job has IPv6 addresses14:24
gansobswartz: only generic driver jobs fail14:24
bswartzganso: thanks14:25
bswartzganso: can you explain what the fix will look like yet?14:26
bswartzI know we can +2A your patch before the gate is fixed but the gate bug is distracting me from doing reviews14:27
*** yangyapeng has joined #openstack-manila14:28
gansobswartz: the fault is: there is a step in generic driver where it updates the routes in the host. It list the routes, and attempts to delete out-of-date routes. It is listing, and then when trying to delete says the route is not there. At first I thought about a concurrency issue, although too frequent to be that, so I added a lock (in fact a fixed a lock14:28
gansowhich was out of place, you can see in https://review.openstack.org/361180).14:28
gansobswartz: so now, I will add more logging to see what the route output is and why it is listing something and then failing to delete as if it was not there14:29
tbarronganso: so there's a race in _plug_interface_in_host but only for ipv6?  (looking at https://review.openstack.org/#/c/361180)14:29
gansobswartz: because simple lock solution did not work14:29
gansotbarron: there is race, but that's not the real cause14:29
bswartzganso: thanks I was on this same path but a bit behind you with my investigation14:29
bswartzIt wouldn't surprise me if vponomaryov wrote this code without testing ipv6 and the presense of ipv6 screws something up14:30
*** akapil has joined #openstack-manila14:30
*** cknight has joined #openstack-manila14:31
*** chlong has joined #openstack-manila14:32
*** kaisers_ has quit IRC14:32
*** Yogi1 has joined #openstack-manila14:35
*** qeelee has quit IRC14:40
openstackgerritRodrigo Barbieri proposed openstack/manila: [DNM] Testing bugfix  https://review.openstack.org/36118014:41
*** rhagarty has quit IRC14:45
*** timcl has quit IRC14:49
*** akapil has quit IRC14:55
*** kaisers1 has quit IRC14:56
*** kaisers1 has joined #openstack-manila14:58
*** timcl has joined #openstack-manila15:00
*** MikeG451 has quit IRC15:02
*** MikeG451 has joined #openstack-manila15:07
*** pcaruana has quit IRC15:33
*** timcl has quit IRC15:35
openstackgerritchen.xing proposed openstack/manila: [install] Create endpoint in one command  https://review.openstack.org/36132415:57
*** chlong has quit IRC16:07
*** alkhodos has joined #openstack-manila16:17
*** chlong has joined #openstack-manila16:19
*** kaisers_ has joined #openstack-manila16:21
*** timcl has joined #openstack-manila16:22
*** kaisers_ has quit IRC16:26
openstackgerritDavid Moreau Simard proposed openstack/puppet-manila: Prepare 9.2.0 (newton b3)  https://review.openstack.org/36120916:26
*** sandanar has joined #openstack-manila16:32
*** david-lyle has joined #openstack-manila16:36
*** Suyi_ has joined #openstack-manila16:56
openstackgerritAlexey Khodos proposed openstack/manila: Nexenta: adding share drivers for NexentaStor  https://review.openstack.org/30928616:57
openstackgerritAlexey Khodos proposed openstack/manila: Nexenta: adding share drivers for NexentaStor  https://review.openstack.org/30928616:59
*** chlong has quit IRC17:02
*** lpetrut has quit IRC17:07
*** aovchinnikov has joined #openstack-manila17:17
openstackgerritDavid Moreau Simard proposed openstack/puppet-manila: Prepare 9.2.0 (newton b3)  https://review.openstack.org/36120917:19
openstackgerritDavid Moreau Simard proposed openstack/puppet-manila: Tag manilaclient package with 'openstack' to inherit openstacklib defaults  https://review.openstack.org/36139117:19
*** DericHorn-HP has joined #openstack-manila17:26
openstackgerritDavid Moreau Simard proposed openstack/puppet-manila: Prepare 9.2.0 (newton b3)  https://review.openstack.org/36120917:27
openstackgerritDavid Moreau Simard proposed openstack/puppet-manila: Tag manilaclient package with 'openstack' to inherit openstacklib defaults  https://review.openstack.org/36139117:27
openstackgerritAlexey Khodos proposed openstack/manila: Nexenta: adding share drivers for NexentaStor  https://review.openstack.org/30928617:33
*** alkhodos has quit IRC17:41
*** tpsilva has joined #openstack-manila18:00
*** eharney has quit IRC18:03
*** sandanar has quit IRC18:06
*** ociuhandu has quit IRC18:06
*** kaisers_ has joined #openstack-manila18:10
*** aovchinnikov has quit IRC18:11
*** timcl has quit IRC18:11
openstackgerritDavid Moreau Simard proposed openstack/puppet-manila: Prepare 9.2.0 (newton b3)  https://review.openstack.org/36120918:11
gansobswartz: problem is in ip route it seems18:14
gansobswartz: "ip route" command18:14
*** kaisers_ has quit IRC18:15
openstackgerritMerged openstack/puppet-manila: Tag manilaclient package with 'openstack' to inherit openstacklib defaults  https://review.openstack.org/36139118:26
openstackgerritRodrigo Barbieri proposed openstack/manila: [CI FIX] Fix 'ip route' matching multiple subnets  https://review.openstack.org/36141318:30
bswartzganso: it looked okay to me18:30
bswartzganso: what exactly was wrong with it?18:31
gansobswartz: 'ip route list ... match <subnet>'18:32
gansobswartz: ubuntu@ubuntu:~$ ip route list proto kernel match 10.1.0.0/20 dev tap50dea090-0718:32
ganso10.0.0.0/8  scope link18:32
ganso10.1.0.0/20  scope link18:32
bswartzoh I thought you were referring to the ' ip route del' command18:33
gansobswartz: that makes no sense to me ^18:33
bswartzthe command that failed18:33
bswartzganso: why not?18:33
gansobswartz: it probably does not make sense to me because I don't expect 10.0.0.8/20 to show up if I requested 10.1.0.0/2018:34
gansobswartz: I don't know the logic and purpose of 'match' parameter18:34
gansobswartz: but there is an 'exact' parameter, which can be used instead of 'match' that fixes18:34
gansobswartz: I would expect 'match' to do what 'exact' does from the beginning18:34
*** timcl has joined #openstack-manila18:35
*** dustins has quit IRC18:35
*** baojg has joined #openstack-manila18:35
bswartzmatch returns all supernets as well18:36
bswartzaccording to the docs18:36
gansobswartz: the docs probably weren't checked when the code was written18:38
bswartzperhaps18:38
bswartzit could just a bug where the author misunderstood the iproute2 command18:38
bswartzand it didn't end up mattering until now18:39
gansobswartz: yes, seems exact like it18:39
gansobswartz: took 2.5 years to blow up lol18:40
bswartzwell it still makes me nervous because I don't understand what the purpose of the code is18:41
gansobswartz: which code/purpose exactly?18:48
gansobswartz: what part you don't understand?18:49
*** baojg has quit IRC18:49
*** eharney has joined #openstack-manila18:49
*** ociuhandu has joined #openstack-manila18:50
bswartzganso: all of this routing stuff18:50
bswartzIt's unclear why it's necessary18:50
bswartznetworking should be handled in neutron IMO18:50
bswartzI'm worried this code exists because neutron wasn't usable 2 years ago and we were implementing everything ourselves18:50
gansobswartz: oh I see18:52
gansobswartz: maybe18:52
gansobswartz: what I understand of this code is that it maintains the routes of the tap interfaces created in the host for share servers18:53
*** baojg has joined #openstack-manila18:53
gansobswartz: every time new share servers are created for different share_networks it adds a route, and it needs to be cleaned up later when they are deleted18:53
bswartzit feels hacky18:54
gansobswartz: also, the routes may be conflicting... so the generic driver has this vulnerability that is not handled very well, hence why the scenario jobs failed18:54
gansobswartz: it sure does lol18:54
gansobswartz: it may be that this fix I just submitted may have fixed scenario job as well... I am not sure yet18:55
*** ociuhandu has quit IRC18:56
gansobswartz: is today a holiday? haven't seen much activity here today18:56
*** baojg has quit IRC18:58
*** baojg has joined #openstack-manila19:00
*** baojg has quit IRC19:00
*** baojg has joined #openstack-manila19:01
bswartzganso: no it's just the day before feature freeze and people are running around trying to merge things19:03
bswartzpersonally I was out for 2 hours for a school thing but I'm back now19:03
*** ociuhandu has joined #openstack-manila19:06
openstackgerritRodrigo Barbieri proposed openstack/manila: [CI FIX] Fix 'ip route' matching multiple subnets  https://review.openstack.org/36141319:08
bswartzganso markstur xyang1 cknight toabctl tbarron: http://lists.openstack.org/pipermail/openstack-dev/2016-August/102358.html please let me know your opinions on this FFE request and I'll reply on the ML19:10
tbarronso we should make a note to look at how nova adds a route on the tap interfaces created for its instances, maybe there's a higher level routine for this setup now19:12
tbarroni don't mean instead of the fix ganso is doing right now19:12
tbarronjust a backlog item19:12
gansotbarron: the route is not in the instance, it is in the host19:12
gansotbarron: oh, for the tap interfaces19:12
gansotbarron: nevermind, misread your message19:12
tbarronganso: oh, yeah, sorry19:12
tbarronok, not sorry :)19:13
tbarronbut later19:13
gansotbarron: lol19:13
*** baojg has quit IRC19:13
*** baojg has joined #openstack-manila19:15
*** ociuhandu has quit IRC19:17
tbarronbswartz: i personally have no problem with FFEs for isolated features that don't put the rest of the project at risk.  Often was in the uncomfortable position of having to make them in cinder when I worked for a storage vendor and my perceptions of leadership there are colored by whether they were reasonable and gracious or called me names and stuff like that :)19:17
*** dustins has joined #openstack-manila19:19
*** baojg has quit IRC19:19
cknighttbarron: I never called you names! :-)19:20
tbarroncknight: :)19:21
*** ociuhandu has joined #openstack-manila19:21
cknighttbarron, bswartz, ganso, xyang1, toabctl:  Regarding this FFE, I have to vote 'no'.  The patch was untouched for all of July and has *never* passed Jenkins.  I don't see how it can suddenly be a priority.19:23
gansobswartz, xyang1, toabctl, cknight, tbarron: I noticed it had never passed jenkins before, implying that it was not completed... although incomplete patches could also pass jenkins. It seems there had not been much development in July... but I don't see that as a big problem. My vote is OK.19:27
*** dustins has quit IRC19:27
bswartzhas anyone reviewed it? I don't see the +1s/+2s19:29
bswartzI guess we need to fix the gate and recheck this one to know if it's passing jenkins yet as-is19:30
gansoalthough I am not happy that 7 days since FPF have passed and now it seems a bit late to start taking a look at this and submitting changes... if the dev is able to fix everything in time for FF then ok19:30
gansohaven't taken a look myself so I don't know how close to good to be merged it is19:31
bswartzganso: yeah he keeps updating the patch not in response to any feedback19:31
bswartzit feels like it wasn't even done as of yesterday19:31
gansobswartz: lemme check the amount of lines between patches19:32
bswartzPS9 is a trivial removal of whitespace, but PS8 adds new code out of the blue19:32
bswartzPS8 was done tuesday19:32
gansoPS #6..9 changed 10 lines of code19:33
marksturbswartz, It hasn't passed jenkins yet.  I didn't push Jay to make the FPF because he had been pulled off to do cinder work.  I didn't realize he would be back and so close to being ready for the FPF.19:33
*** dustins has joined #openstack-manila19:33
bswartzmarkstur: what's your guidance here?19:33
bswartzif this slips it's a major blow to HPE?19:33
bswartzit feels low risk, but the rules are being flouted and we want to discourage that19:34
marksturbswartz, I think it is a shame to just miss the F_P_F by a day, but w/o a passing jenkins it is hard to say how ready it is other than Jay says it is ready and fully tested.19:34
marksturIt is not a major blow to HPE.  Nothing requires pools yet.19:34
marksturIt is a long set-back for Jay if it is truly ready now and he has to sit on it until O19:35
bswartzmaybe we could approve the exception and censure jay-mehta since it's a first offense19:36
*** dustins_ has joined #openstack-manila19:36
bswartzI want to be welcoming to new community members19:37
bswartzbut I don't want to encourage bad behavior19:37
*** dustins has quit IRC19:37
xyang1bswartz: I may have reviewed that patch once but then I saw the -219:39
*** lpetrut has joined #openstack-manila19:41
*** porrua has quit IRC19:44
bswartzxyang1: do you have an opinion on the code? or the FFE?19:49
*** akerr has quit IRC19:58
*** kaisers_ has joined #openstack-manila19:59
cknightbswartz:  how is censuring someone 'welcoming'?19:59
bswartzcknight: people prefer getting warning to getting a speeding ticket20:00
*** ganso has quit IRC20:00
marksturcknight, :)20:00
cknightmarkstur: It's tough to miss FPF by a day, but revert-to-snapshot missed FPF by 45 minutes!  I guess I'm not feeling too gracious today…20:01
bswartzwe probably don't do a good enough job of publicizing the rules20:01
marksturcknight, If you go to Ben's house he may scold you first and then invite you in20:01
*** gouthamr has quit IRC20:01
*** scottda has quit IRC20:01
bswartzcknight: we can still FFE that if someone asks -- I was under the impression that it was tangled up with the mountable snapshot stuff which wasn't ready20:02
marksturThere is a share/driver.py change in that patch that doesn't look good20:02
*** rooneym has quit IRC20:02
*** ameade has quit IRC20:02
*** tpsilva has quit IRC20:02
*** Yogi1 has quit IRC20:03
cknightbswartz: nope, not tangled up at all.  But since no one else at my company seems to really care, I'm done pushing on that string.20:03
bswartzmarkstur: holy crap you're right20:04
*** kaisers_ has quit IRC20:04
bswartzwhen I read that code I assumed it was in the hpe driver class because it would be insane for it to be any other place20:04
marksturUh-oh.  I feel more censuring coming20:04
bswartzhowever he put it in the parent class20:04
* bswartz looks for the -3 button20:04
bswartzseriously though, this is easy to fix20:05
marksturThat's -11 in binary (a Spinal Tap reference)20:05
cknightmarkstur: good catch, definitely not ready20:05
openstackgerritMerged openstack/puppet-manila: Prepare 9.2.0 (newton b3)  https://review.openstack.org/36120920:05
bswartzmarkstur, cknight: those lines were not part of the change last week when I put the -2 on, they were added this week for an unknown reason20:06
*** timcl has quit IRC20:06
marksturcknight, bswartz, xyang1     Since you are here I should mention https://review.openstack.org/#/c/339795  <-- Need HPE to have update_access() in Newton.  Alex addressed my last comments.20:12
cknightmarkstur: looking...20:13
marksturThanks!20:20
*** gouthamr has joined #openstack-manila20:23
*** akerr has joined #openstack-manila20:31
*** akerr_ has joined #openstack-manila20:35
*** akerr has quit IRC20:39
bswartzanyone know where ganso went?20:40
bswartzhe did something strange with his CI patch20:40
openstackgerritBen Swartzlander proposed openstack/manila: [CI FIX] Fix 'ip route' matching multiple subnets  https://review.openstack.org/36141320:43
*** ameade has joined #openstack-manila20:43
openstackgerritRodrigo Barbieri proposed openstack/manila: [CI FIX] Fix 'ip route' matching multiple subnets  https://review.openstack.org/36141320:45
bswartzganso: ping20:45
*** ganso has joined #openstack-manila20:46
gansoI am back!20:47
gansoIRC said my account was unavailable20:47
gansobswartz: we need the depends on20:47
bswartzganso: that's weird20:47
gansobswartz: and we need to merge mitaka patch20:47
bswartzbut you can't depend on a stable/mitaka patch in master20:47
gansobswartz: grenade runs mitaka20:47
gansobswartz: it is failing in mitaka20:47
bswartzokay then we just merge the mitaka patch and wait20:48
bswartzor does the depends on magic actually fix the grenade job?20:48
gansobswartz: it does fix, it worked20:48
gansobswartz: I watched Zuul20:48
bswartzthat's.... strange20:48
gansobswartz: it applied the change to mitaka20:48
gansobswartz: and used the change on master20:48
gansobswartz: used the *updated mitaka20:48
bswartzokay I'll vote +2 on both of these20:48
bswartzanyone else want to vote or should I ninja both patches?20:49
gouthamr+1 ninja merge.20:49
ganso+1 ninja20:49
marksturswiftly and quietly done.  Very ninja-like20:51
bswartzif it get's the gate moving again I'm happy to be a ninja20:52
marksturwell if ninjas had IRC and publicly announced there intentions20:52
markstur+120:52
gansobswartz: after that merges, we should recheck scenario job fix and merge that as well20:52
bswartzganso: I was in the process of rebasing that20:53
openstackgerritBen Swartzlander proposed openstack/manila: Fix connectivity problem in Scenario job  https://review.openstack.org/35916620:53
gansobswartz: great20:53
*** scottda has joined #openstack-manila20:54
gansobswartz: migration patch after that one? xD20:56
bswartzI hope so20:56
bswartzthe question is whether any other gate blocker bugs still lurk20:56
gansobswartz: I believe generic driver still has the usual random failures, but they should be minimal after that fix merges20:57
* bswartz sighs20:57
gansobswartz: we got to stop the merge21:02
gansobswartz: forgot about the lock21:03
gansobswartz: or submit another patch21:03
*** tpsilva has joined #openstack-manila21:03
bswartzwhy? it passed when it ran. did we just get lucky?21:03
gansobswartz: lock was never there, but code will still be prone to race condition, as it always has been21:04
bswartzif you push another patch it will stop automatically21:04
gansobswartz: the race condition is rare21:04
gansobswartz: but is something to be fixed21:04
bswartzadding a lock can be done separately21:04
bswartzwhat symptom is exhibited if you have a race that goes badly?21:05
gansobswartz: ok, I will submit another patch later tonight then21:05
gansobswartz: error message will be similar to what we had21:05
gansobswartz: thread lists routes, another removes, and then the first thread will fail deleting what it listed21:05
jay-mehtamarkstur, bswartz, for patch https://review.openstack.org/#/c/329552, the check in driver.py can be avoided but will require API change for all the driver in _setup_server() to accept another keyword argument.21:07
*** eharney has quit IRC21:08
jay-mehtaPlease suggest approach21:08
bswartzjay-mehta: I'm not sure what the issue is21:08
jay-mehtafrom manager.py, I am passing another keyword argument21:08
bswartzwhat is the keyword and where does it come from?21:08
jay-mehtaIt is share instance host name from manager .py which calls driver's setup_server21:09
bswartzyou mean the backend name?21:09
jay-mehtawhich in turns forwards to driver's _setup_server() which accepts network_info, metadata=None.21:10
jay-mehtathe kwargs in setup_server() at driver.py  would pass new keyword argument "share_instance_host" which will break other driver since the API of _setup_server() does not accept arguments as *args,**kwargs21:11
jay-mehtaWe require knowledge from scheduler about host where new server is to be created which we get from this third argument21:12
*** rooneym has joined #openstack-manila21:13
bswartzjay-mehta: generally speaking, drivers need more information from the manager, the correct fix is to modify the driver interface and pass the additional information to ALL drivers21:13
bswartzhowever I'm unconvinced that this is necessary21:13
bswartz*if* drivers need more information from the manager21:14
jay-mehtaOk. I can modify API of _setup_server() to accept third argument21:14
jay-mehtaNew API would like def _setup_server(self, network_info, metadata=None, share_instance_host=None)21:15
gouthamrjay-mehta: where are you using that?21:16
openstackgerritRodrigo Barbieri proposed openstack/manila: Fix race condition updating routes  https://review.openstack.org/36147321:16
bswartzthat sounds better... I dislike the use of "metadata" here21:16
gansobswartz: ^ I marked as TriviialFix21:16
gouthamrjay-mehta: afaics you're not using the host in your driver..21:16
jay-mehtagouthamr I am using it to create share server21:16
gouthamrjay-mehta: in any case, the driver always knows the host... self.host21:16
bswartzI'm still curious about what the "share_instance_host" is supposed to be and why it's needed21:16
* gouthamr waves at ganso 21:17
gouthamrganso: saw your text now. sorry was afk myself :)21:17
gouthamrjay-mehta: in the patch you uploaded?21:18
bswartzganso: just so you know trivialfixes can't be backported -- we need a bug number21:18
gansogouthamr: np :)21:18
gansobswartz: alright, will update21:18
jay-mehtaI will check one more time is I can extract host information within _setup_server() using self.host21:19
gouthamrjay-mehta: ah, yes21:19
gouthamrjay-mehta: see that now.. yes, you shouldn't need share_instance_host..21:19
jay-mehtaOh great21:20
bswartzgouthamr: +121:20
jay-mehtaI didn't knew if self.host would have host info in format: host@backend#pool inside setup_server()21:20
jay-mehtathat simplifies a lot21:20
bswartzjay-mehta: you're interested in the pool name in particular?21:21
bswartzthe share-servers feature was designed in such a way that a share server can span pools21:21
jay-mehtaEntire host details21:21
jay-mehtaI use pool name in specific to decide where I have to create new share server21:21
bswartzso tying a share-server to a pool wouldn't be correct, unless backend has a particular limitation21:21
bswartzjay-mehta: gouthamr is saying you have the host name already, but I don't think you have the pool name -- that's a detail of the new share being created21:22
jay-mehtaWith 3PAR, pool can have only one share server21:22
bswartzsomeone needs to looks at the share-server/pool interactions because I suspect we have bugs there21:23
jay-mehtahmm. I had used all the arguments of _setup_server() to see if I can extract this host information. But I didn't find one21:23
jay-mehtaI was not aware of self.host.21:24
gouthamrjay-mehta bswartz: yes, share servers should span entire backends, shouldn't they..21:26
jay-mehtacreate share server  is called for each pool which does not have any share server created so far. If it has, manager utilizes it directly21:28
jay-mehtaAnd this creation of share server is done using setup_server()21:28
jay-mehtaThis is where the checks are done for finding compatible_share_server21:30
jay-mehtain manager.py21:30
openstackgerritRodrigo Barbieri proposed openstack/manila: Fix race condition updating routes  https://review.openstack.org/36147321:30
bswartzgouthamr: it's meant to be up to the driver21:30
bswartzthere's code remaining to be written there21:31
*** gouthamr_ has joined #openstack-manila21:33
gouthamr_bswartz jay-mehta: right.. so share servers belong to host@backend - not pools, atleast not so far..21:34
gouthamr_jay-mehta: so, if you make the change to create a share server for a pool, manila's share manager may still use something that belongs to another pool as long as there is one..21:35
*** gouthamr has quit IRC21:36
jay-mehtagouthamr_ , bswartz says  it is specific to the driver21:36
openstackgerritRodrigo Barbieri proposed openstack/manila: Fix race condition updating routes  https://review.openstack.org/36147321:37
gouthamr_jay-mehta: look at "get_available_share_servers"21:37
jay-mehtachecking21:37
gansobswartz: sorry for so many edits. Doing everything from my phone21:38
gouthamr_jay-mehta: you'd have to override "choose_share_server_compatible_with_share" and disqualify any share servers that don't belong to a pool in your case.21:39
gouthamr_jay-mehta: that don't belong to the requested pool..21:39
jay-mehtagouthamr_, I think so yes.21:40
gouthamr_jay-mehta: hmmm, the sanest thing to do is put it inside the metadata field so that you can avoid all the drivers breaking (bswartz doesn't seem to agree though)21:44
jay-mehtagouthamr_ in get_available_share_server, we make a query in db passing self.host. If the host will have pool information in form: host@backend#pool, will it not be specific to a pool?21:45
gouthamr_jay-mehta: nope.. it's just host@backend21:46
gouthamr_you'll get the pool info that you need in 'choose_share_server_compatible_with_share' with the list of share servers that your backend has21:46
gouthamr_jay-mehta: so you'll have to find the best one yourself..21:47
*** kaisers_ has joined #openstack-manila21:48
*** dustins_ has quit IRC21:48
jay-mehtagouthamr_, So are you suggesting that I should override choose_share_server_compatible_with_share()  and  use share_instance to extract pool information and use it accordingly for setup_server?21:49
*** akerr_ has quit IRC21:51
gouthamr_jay-mehta: i guess this can work... you can add the share_instance's host in the metadata in _setup_server, so far, it's not being used.. don't call it share_instance_host though, prefer just 'request_host' or something like that..21:52
*** kaisers_ has quit IRC21:52
gouthamr_jay-mehta: and override "choose_share_server_compatible_with_share" to look at the list of share servers and find the one that corresponds to the requested share['host']21:53
*** alyson_ has quit IRC21:53
gouthamr_jay-mehta: share['host'] will be a fully qualified host string host@backend#pool21:53
*** gouthamr_ is now known as gouthamr21:57
*** xyang1 has quit IRC21:57
jay-mehtagouthamr, ok.   And should I pass information as dictionary in metadata?21:58
gouthamrjay-mehta: yes, it was meant to be a dict..21:58
*** JoseMello has quit IRC22:00
jay-mehtagouthamr, Thanks . I will use it as metadata['request_host']. Yes that will not break any other driver and won't require introducing any other argument.22:00
gouthamrjay-mehta: you're welcome..22:01
jay-mehtagouthamr, I still see that in manager.py, metadata is not passed to _setup_server().  https://github.com/openstack/manila/blob/master/manila/share/manager.py22:03
jay-mehtaLing 46822:04
openstackgerritMerged openstack/manila: [CI FIX] Fix 'ip route' matching multiple subnets  https://review.openstack.org/36141322:04
gouthamrjay-mehta: yes, you can pass it, it's a kwarg in ShareDriver22:04
openstackgerritOpenStack Proposal Bot proposed openstack/manila: Updated from global requirements  https://review.openstack.org/36089122:07
jay-mehtagouthamr, I am pointing out metadata argument in _setup_server(), Line 468  in manager.py . I see that caller does not pass metadata. Am I missing22:10
gouthamrjay-mehta: not sure what the question is.. i meant you'll have to make the change to fill it in with request_host and pass it..22:11
jay-mehtaThe manager api accepts metadata which can be passed on to driver's setup_server. But the caller at line 467 in manager.py  does not pass metadata22:13
*** esker has joined #openstack-manila22:15
jay-mehtagouthamr, If I am not wrong, the flow is from line 467 to line 2344 in manager.py . But here metadata is not passed22:16
*** esker has quit IRC22:18
gouthamrjay-mehta: https://review.openstack.org/#/c/329552/9/manila/share/manager.py22:20
gouthamrjay-mehta: create the metadata dict with request_host in it and pass it on L#467 ...22:21
jay-mehtaYes22:21
jay-mehtaI will have to begin with creating a new one22:22
jay-mehtaNew metadata dict  at line 467. Thats what I was saying.22:22
jay-mehtaGot it. Thanks gouthamr22:22
jay-mehtaThanks bswartz.22:23
jay-mehtagouthamr, I had updated unit test for some share and generic driver and Huawei . https://review.openstack.org/#/c/360088/ If you could please review this22:27
*** rooneym has quit IRC23:02
*** scottda has quit IRC23:02
*** cknight has quit IRC23:02
*** ameade has quit IRC23:03
*** tpsilva has quit IRC23:03
*** lpetrut has quit IRC23:08
*** DericHorn-HP has quit IRC23:17
*** rooneym has joined #openstack-manila23:18
*** DericHorn-HP has joined #openstack-manila23:25
*** kaisers_ has joined #openstack-manila23:37
*** amit213 has quit IRC23:37
*** amit213 has joined #openstack-manila23:40
*** kaisers_ has quit IRC23:41
*** rooneym has quit IRC23:46
*** ganso has quit IRC23:46
*** DericHorn-HP has quit IRC23:58

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