Thursday, 2014-03-27

*** asselin has joined #openstack-neutron00:00
nati_uenomestery: yeah! Thanks00:00
* mestery goes to refactor in hopes of getting nati_ueno's +2.00:00
*** alexpilotti has joined #openstack-neutron00:02
rkukurasalv-orlando: I think there were docimpact flags on the related commits, but we definitly should plan to update the portbindings API doc00:04
*** nplanel_ has joined #openstack-neutron00:06
kevinbentonsalv-orlando: still there?00:06
salv-orlandoyes but not for long00:06
salv-orlandomestery: and I thought I was the pedant one00:07
mesterysalv-orlando: :P00:07
mesterysalv-orlando: Trying to quickly spin a new version to address nati_ueno's issues.00:07
*** banix has joined #openstack-neutron00:07
*** thuc has joined #openstack-neutron00:08
kevinbentonsalv-orlando: sorry, UT was beaking00:11
kevinbentonbreaking00:11
*** djoreilly has quit IRC00:11
kevinbentonsalv-orlando: see if https://review.openstack.org/#/c/83190/ will work00:11
rkukurakevinbenton: Are you introducing a new key in binding:vif_details now?00:12
salv-orlandokevinbenton: might, but I'll have to defer checks in the morning. Also people might not like the new key.00:12
salv-orlandosince it's a problem for a single plugin go for whatever you get consensus on.00:13
kevinbentonrkukura: yes, if a plugin doesn't want hybrid it would specify it explicitly with the new key00:13
salv-orlandoif the nsx plugin and a few others are going to run with increased latency or are broken it's now their problem00:13
salv-orlandook, goodnight.00:14
kevinbentonsalv-orlando: this approach gives them a way to fix it though00:14
kevinbentonsalv-orlando00:14
kevinbentonok00:14
rkukurakevinbenton: Is their a neutron-side patch adding this key?00:14
kevinbentongood night00:14
kevinbentonrkukura: it will be up to the plugins using direct plugs to add it00:14
kevinbentonrkukura: i suppose we could add the constant in a patch00:15
*** armitage81 has quit IRC00:15
*** armitage81 has joined #openstack-neutron00:15
rkukurakevinbenton: That’s what I was thinking00:15
*** thuc has quit IRC00:17
rkukurakevinbenton: Just realized you are not using ‘port-filter’ at all any more!00:17
rkukuraWhat led to that decision?00:18
kevinbentonrkukura: yeah, salv-orlando pointed out that port-filter is to imply that security filtering is happening00:18
kevinbentonrkukura: but a plugin like NSX does do security filtering, even though it doesn't use the hybrid plugging strategy00:18
*** matsuhashi has joined #openstack-neutron00:19
*** Trozz has joined #openstack-neutron00:19
kevinbentonrkukura: so they would report port_filter is True and nova would incorrectly use the hybrid mode00:19
*** Trozz has left #openstack-neutron00:20
beagleskevinbenton: this is an annoying stupid nit, but how do you feel about taking neutron out of that function name in the vif model?00:21
markmcclainHenryG: I'll take a look in the morning00:21
kevinbentonbeagles: sure. i think i have a bug anyway here00:21
beagleskevinbenton, that being said, I don't know what makes a better name... dammit, I'm going to shut up... too many cooks in the kitchen.00:23
beagles:)00:23
openstackgerritKyle Mestery proposed a change to openstack/neutron: Correct OVS VXLAN version check  https://review.openstack.org/8293100:24
mesterynati_ueno: ^^^00:24
* nati_ueno taking a look00:24
kevinbentonnati_ueno: hold for a few mins00:25
nati_uenokevinbenton: yep. I can hold here few hours00:25
banixkevinbenton: If I understand it correctly now by default the hybrid plugging is used; woudn't be better to require hybrid plugging only if it is asked explicitly? Just wondering.00:27
kevinbentonbanix: i think ones that want direct are in the minority00:29
banixkevinbenton: and the majority right now get the hybrid plugging by default? Just trying to understand this. Not implying otherwise.00:30
markmcclainno there are plugins that want direct plugging00:31
banixI am just questioning what should be the deafult. kevinbenton says majority want hybrid and I was asking if those which require hybrid get that now by default. If that is the case having "hybrid" as the default option makes sense; otherwise, it should be the other way around.00:34
mesterynati_ueno: :P00:35
*** ale has joined #openstack-neutron00:36
markmcclainbanix: direct has been the default for sometime00:38
markmcclainso changing this late in the game is something we should generally avoid00:38
kevinbentonmarkmcclain: ok, should i go towards direct as default then?00:38
banixmarkmcclain: thanks for clarification. That was my understanding but was not sure.00:40
rkukurakevinbenton: Does that mean we need a neutron patch to have the ML2 agent mechanism drivers (and maybe some plugins) pass the new key in binding:vif_details?00:40
kevinbentonrkukura: yeah00:40
*** thuc has joined #openstack-neutron00:40
rkukurakevinbenton: I have no objection to that00:41
markmcclainso we're going to need to pair 3 patches to validate this works?00:41
kevinbentonmarkmcclain: what's the 3rd patch?00:42
rkukuraThe neutron patch should be safe to merge before any of the others, since it just adds the new item to binding:vif_details.00:42
markmcclainnova+neutron+tempest00:42
*** thuc has quit IRC00:42
kevinbentonwhat needs to change in tempest?00:42
markmcclainwe have a test that has been written to prevent a regression00:42
*** thuc has joined #openstack-neutron00:43
* mestery ^5s markmcclain.00:44
mesteryWelcome back markmcclain!00:44
markmcclainmestery: thanks!00:45
markmcclainkevinbenton: this is the tempest change: https://review.openstack.org/#/c/62702/00:45
*** beagles has quit IRC00:46
*** thuc has quit IRC00:47
*** yamamoto has left #openstack-neutron00:50
*** ale has quit IRC00:50
*** mestery has quit IRC00:51
*** rkukura has quit IRC00:56
*** alexpilotti has quit IRC00:57
*** markmcclain has quit IRC00:59
*** nplanel_ has quit IRC01:01
*** enikanorov has joined #openstack-neutron01:04
kevinbentonrkukura: still need to use the cap filter01:10
*** SumitNaiksatam has quit IRC01:11
*** fouxm_ has joined #openstack-neutron01:11
*** _cjones_ has quit IRC01:11
*** matrohon has quit IRC01:12
*** enikanorov_ has quit IRC01:12
*** fouxm has quit IRC01:12
*** geekinutah has quit IRC01:12
*** matsuhashi has quit IRC01:12
*** nati_ueno has quit IRC01:12
*** harlowja has quit IRC01:12
*** otherwiseguy has quit IRC01:12
*** amotoki has quit IRC01:12
*** Matt2 has quit IRC01:12
*** zigo has quit IRC01:12
*** salv-orlando has quit IRC01:12
*** rm_work has quit IRC01:12
*** thuc has joined #openstack-neutron01:17
*** harlowja has joined #openstack-neutron01:17
*** thuc_ has joined #openstack-neutron01:17
*** claudiub has quit IRC01:18
*** geekinutah has joined #openstack-neutron01:20
*** thuc has quit IRC01:21
*** matrohon has joined #openstack-neutron01:22
*** tomoe_ has joined #openstack-neutron01:28
*** networkstatic has quit IRC01:34
kevinbentonrkukura, markmcclain, nati_ueno: https://review.openstack.org/#/c/83190/6/01:40
kevinbentonbeagles: i ended up leaving neutron in01:41
kevinbentonbeagles: since that variable is indicating that it is neutron that's filtering01:42
*** xuhanp has joined #openstack-neutron01:42
*** baoli has joined #openstack-neutron01:45
*** SumitNaiksatam has joined #openstack-neutron01:47
*** SumitNaiksatam has quit IRC01:47
*** _cjones_ has joined #openstack-neutron01:47
*** SumitNaiksatam has joined #openstack-neutron01:48
*** thuc_ has quit IRC01:48
*** matsuhashi has joined #openstack-neutron01:49
*** nati_ueno has joined #openstack-neutron01:49
*** amotoki has joined #openstack-neutron01:49
*** Matt2 has joined #openstack-neutron01:49
*** zigo has joined #openstack-neutron01:49
*** salv-orlando has joined #openstack-neutron01:49
*** rm_work has joined #openstack-neutron01:49
*** thuc has joined #openstack-neutron01:49
*** SumitNaiksatam has left #openstack-neutron01:50
*** thuc has quit IRC01:53
*** xianghui has joined #openstack-neutron01:57
*** _cjones_ has quit IRC01:58
*** dguitarbite has joined #openstack-neutron02:00
*** Jianyong has joined #openstack-neutron02:01
*** baoli has quit IRC02:01
*** Jianyong has left #openstack-neutron02:02
*** Longgeek has joined #openstack-neutron02:05
*** flwang has quit IRC02:07
*** singhs has quit IRC02:09
*** armax has quit IRC02:10
nati_uenokevinbenton: how's going?02:16
kevinbentonhttps://review.openstack.org/#/c/83190/6/02:16
kevinbentonnati_ueno: ^^02:17
nati_uenokevinbenton: yep02:17
nati_uenokevinbenton: so what's conclusion with Salvatore?02:17
kevinbentonnati_ueno: this is the direction salvatore wanted. it will allow plugins like NSX to indicate that that support filtering but still allow direct plugging02:19
*** harlowja is now known as harlowja_away02:19
nati_uenokevinbenton: gocha02:27
openstackgerritKevin Benton proposed a change to openstack/neutron: Disable XML tests on Py26  https://review.openstack.org/8186502:27
nati_uenokevinbenton: so we will have nova side fix?02:28
nati_uenokevinbenton: sorry. neutron side?02:29
kevinbentonnati_ueno: yeah, about to upload02:29
nati_uenokevinbenton: nice02:29
nati_uenokevinbenton: Thank you for your taking this one02:30
*** crc32 has quit IRC02:30
*** lifeless has joined #openstack-neutron02:30
*** lifeless has quit IRC02:35
*** s51itxsyc has joined #openstack-neutron02:36
*** harlowja_away is now known as harlowja02:37
*** s51itxsyc has quit IRC02:37
*** matsuhashi has quit IRC02:37
*** matsuhashi has joined #openstack-neutron02:38
*** HenryG has quit IRC02:46
*** armitage81 has quit IRC02:46
*** devlaps has quit IRC02:46
*** matsuhashi has quit IRC02:47
*** thuc has joined #openstack-neutron02:48
*** thuc has joined #openstack-neutron02:49
*** marun has quit IRC02:49
*** marun has joined #openstack-neutron02:50
*** lifeless has joined #openstack-neutron02:53
*** flwang has joined #openstack-neutron02:54
openstackgerritKevin Benton proposed a change to openstack/neutron: Adds OVS_HYBRID_PLUG flag to portbindings  https://review.openstack.org/8328002:58
kevinbentonnati_ueno: http://review.openstack.org/8328002:58
nati_uenokevinbenton: Thanks03:03
openstackgerritKevin Benton proposed a change to openstack/neutron: Adds OVS_HYBRID_PLUG flag to portbindings  https://review.openstack.org/8328003:10
*** ramishra has joined #openstack-neutron03:11
kevinbentonnati_ueno: this devstack patch should be testing both03:11
kevinbentonhttps://review.openstack.org/#/c/83281/03:11
nati_uenokevinbenton: nice03:12
kevinbentontesting all three*03:12
kevinbentonthe tempest one as well that enables the negative test03:12
kevinbentonnati_ueno: whoops, i missed your comment about the openvswitch plugin03:15
*** tomoe_ has quit IRC03:15
*** lollipop has joined #openstack-neutron03:16
openstackgerritKevin Benton proposed a change to openstack/neutron: Adds OVS_HYBRID_PLUG flag to portbindings  https://review.openstack.org/8328003:21
openstackgerritA change was merged to openstack/neutron: Subnets should be set as lazy='join'  https://review.openstack.org/8321303:22
nati_uenokevinbenton: OK let's wait Jenkins says OK for https://review.openstack.org/#/c/83280/303:23
nati_uenoany other core around?03:24
*** thuc_ has joined #openstack-neutron03:32
openstackgerritIan Wienand proposed a change to openstack/neutron: Record and log reason for dhcp agent resync  https://review.openstack.org/8117303:35
*** ramishra_ has joined #openstack-neutron03:35
*** thuc has quit IRC03:35
*** thuc_ has quit IRC03:36
*** ramishra has quit IRC03:37
*** amotoki has quit IRC03:37
*** devlaps has joined #openstack-neutron03:40
*** networkstatic has joined #openstack-neutron03:44
*** harlowja is now known as harlowja_away03:47
*** matsuhashi has joined #openstack-neutron03:48
*** yamahata has joined #openstack-neutron03:51
*** chandan_kumar has joined #openstack-neutron03:52
*** ramishra_ has quit IRC03:57
*** ramishra has joined #openstack-neutron03:57
*** BuSerD has quit IRC04:04
*** yamahata has quit IRC04:05
*** thuc has joined #openstack-neutron04:06
*** banix has quit IRC04:14
*** ale has joined #openstack-neutron04:16
*** tomoe_ has joined #openstack-neutron04:18
*** chandan_kumar has quit IRC04:34
*** thuc_ has joined #openstack-neutron04:36
*** saju_m has joined #openstack-neutron04:38
*** thuc has quit IRC04:40
*** thuc_ has quit IRC04:40
*** ramishra has quit IRC04:44
*** matsuhashi has quit IRC04:45
*** qiuyu_ has quit IRC04:46
*** qiuyu has joined #openstack-neutron04:46
*** rkukura has joined #openstack-neutron04:48
*** matsuhas_ has joined #openstack-neutron04:49
enikanorovjaypipes: thanks for the comments!04:49
openstackgerritKevin Benton proposed a change to openstack/neutron: Adds OVS_HYBRID_PLUG flag to portbindings  https://review.openstack.org/8328004:54
*** sacharya has joined #openstack-neutron04:57
openstackgerritAkihiro Motoki proposed a change to openstack/neutron: Remove auto-generation of db schema from models at startup  https://review.openstack.org/4029605:00
rkukurakevinbenton: ping05:00
kevinbentonrkukura: pong05:00
*** marun has quit IRC05:01
rkukuraIn the very latest version of your neutron-side patch, I’m concerned that the openvswitch plugin cannot depend on the agent-only firewall_driver config being available in neutron-server.05:02
WormMan5 cores processing is not any faster than 305:03
rkukuraI had responded to the comment in the previous version that suggested that change, but you pushed your update before I finished my review.05:03
WormManoops05:03
rkukurakevinbenton: I’m pretty sure things like puppet modules that configure openvswitch-agent, setting firewall_driver, are not typically run on the controller nodes where neutron-server runs but the L2 agent does not.05:04
kevinbentonrkukura: right, maybe i'll just leave that for a follow-up patch then and hardcode to hybrid for now?05:05
rkukurakevinbenton: That’s what I’d recommend05:05
openstackgerritKevin Benton proposed a change to openstack/neutron: Adds OVS_HYBRID_PLUG flag to portbindings  https://review.openstack.org/8328005:06
openstackgerritAkihiro Motoki proposed a change to openstack/neutron: Remove auto-generation of db schema from models at startup  https://review.openstack.org/4029605:12
kevinbentonrkukura: with regard to the constant name, i didn't use VIF_DETAIL because CAP_PORT_FILTER didn't use it either05:12
*** matsuhas_ has quit IRC05:12
rkukurakevinbenton: that’s fine - we can establish a convention later when doing the fine grained VIF security stuff05:13
kevinbentonrkukura: ok. do you want me to fix the whitespace now since it's quite right now anyway?05:13
rkukurakevinbenton: not unless you need to change something else05:14
kevinbentonrkukura: not at the moment. i'll wait for more reviews in the morning then05:14
rkukuraI’ll probably +2 as soon as jenkins finishes05:14
*** pradipta_away is now known as pradipta05:19
*** dguitarbite has quit IRC05:22
*** yfried has quit IRC05:22
*** sacharya has quit IRC05:23
*** Jabadia has joined #openstack-neutron05:28
*** matsuhashi has joined #openstack-neutron05:29
*** Longgeek has quit IRC05:30
*** chandan_kumar has joined #openstack-neutron05:30
*** tomoe__ has joined #openstack-neutron05:31
*** sridhar has joined #openstack-neutron05:32
*** amotoki has joined #openstack-neutron05:32
*** tomoe_ has quit IRC05:35
*** itzikb1 has quit IRC05:35
*** linuxgeek_ has joined #openstack-neutron05:40
*** networkstatic has quit IRC05:44
*** networkstatic has joined #openstack-neutron05:44
* nati_ueno I'm still here05:47
linuxgeek_hi, in icehouse3 when i launch an instance it fails with error TRACE oslo.messaging._executors.base   File "/usr/lib/python2.7/dist-packages/neutronclient/client.py", line 51, in get_token05:53
linuxgeek_TRACE oslo.messaging._executors.base TypeError: string indices must be integers, not str05:53
linuxgeek_ERROR oslo.messaging._drivers.common [-] Returning exception string indices must be integers, not str to caller05:53
linuxgeek_anyone seen this?05:54
*** devlaps has quit IRC05:55
amotokikevinbenton: ping05:59
kevinbentonamotoki: pong05:59
*** Jabadia has quit IRC05:59
amotokikevinbenton: i see your patch adding ovs-hybrid-flag. there are some plugin which need this flag.06:00
*** devlaps has joined #openstack-neutron06:00
amotokikevinbenton: can we use this patch as a hub to support the flag? or should we add it in another patch?06:00
amotokii am just back and would like to know the status of the situation.06:00
kevinbentonamotoki: do you know which plugins will need this?06:01
amotokikevinbenton: for example, nec and ryu plugins need this.06:02
kevinbentonamotoki: is that it?06:03
kevinbentonamotoki: i can add them now06:03
amotokikevinbenton: here is the partial list: https://bugs.launchpad.net/neutron/+bug/1297469/comments/606:04
*** lollipop has quit IRC06:04
*** lollipop has joined #openstack-neutron06:05
amotokikevinbenton: thanks.06:05
rkukuragrepping for VIF_TYPE_OVS will show which plugins might and ML2 drivers need this, although some of these don’t06:05
rkukuras/might and ML2 drivers/and ML2 drivers might/06:06
*** saju_m has quit IRC06:07
*** Longgeek has joined #openstack-neutron06:07
amotokiyes. grepping VIF_TYPE_OVS works, but we need information about hybrid one is required from plugin maintainers.06:08
amotokiAFAIK, ovs, ryu, bsn, nec, mech-ofa -- hybrid is required,   mech_odl, vmware -- not needed06:10
*** rotbeard has joined #openstack-neutron06:10
*** dave_tucker is now known as dave_tucker_zzz06:13
rkukuraamotoki: Right - only a subset of the VIF_TYPE_OVS plugins/drivers need hybrid06:14
kevinbentonamotoki: you want me to do mech_ofagent as well?06:15
*** skraynev_afk is now known as skraynev06:16
rkukurakevinbenton: I suspect the cisco n1kv plugin need this, but not sure06:17
amotokikevinbenton: Either is okay, but i heard so.06:17
kevinbentonrkukura: should i wait for someone to chime in?06:17
amotokiFor n1kv, henryG said he will ask n1kv team.06:18
kevinbentonokay, no more then for tonight. not worth spending much more time on this if the nova team doesn't accept the main solution06:19
openstackgerritKevin Benton proposed a change to openstack/neutron: Adds OVS_HYBRID_PLUG flag to portbindings  https://review.openstack.org/8328006:19
rkukurakevinbenton: I’d leave out n1kv for now - doesn’t seem to implement SG extension06:19
kevinbentonrkukura: ok06:20
kevinbentonamotoki: nec, ryu, mech_ofagent added06:20
amotokikevinbenton: we cannot clean up this topic at once. we need to add OVS_HYBRID_PLUG support in multple patches. your is the first round  :)06:20
amotokikevinbenton: really thanks for working on it!06:20
kevinbentonamotoki: no problem06:21
kevinbentonthis devstack patch is testing all 306:25
kevinbentonhttps://review.openstack.org/#/c/83281/06:25
kevinbentonlooks like it's going to pass jenkins, one job remaining in check queue06:25
*** tomoe__ has quit IRC06:28
openstackgerritJenkins proposed a change to openstack/neutron: Imported Translations from Transifex  https://review.openstack.org/8330106:29
*** marun has joined #openstack-neutron06:29
*** russellb has quit IRC06:32
*** yamahata has joined #openstack-neutron06:39
*** gdubreui has quit IRC06:40
*** tomoe_ has joined #openstack-neutron06:41
openstackgerritKevin Benton proposed a change to openstack/neutron: Adds OVS_HYBRID_PLUG flag to portbindings  https://review.openstack.org/8328006:41
*** yfried has joined #openstack-neutron06:46
*** marun is now known as marun_afk06:46
*** saju_m has joined #openstack-neutron06:50
*** dfarrell07 has quit IRC06:57
*** irenab has joined #openstack-neutron06:58
*** dguitarbite has joined #openstack-neutron07:01
*** afazekas has joined #openstack-neutron07:04
*** mrsnivvel has joined #openstack-neutron07:04
*** lollipop has quit IRC07:04
*** ramishra has joined #openstack-neutron07:05
*** lollipop has joined #openstack-neutron07:07
*** devlaps has quit IRC07:16
*** pnavarro has joined #openstack-neutron07:19
*** dguitarbite_ has joined #openstack-neutron07:19
*** dguitarbite has quit IRC07:19
*** ramishra has quit IRC07:22
*** Jabadia has joined #openstack-neutron07:22
*** ramishra has joined #openstack-neutron07:22
*** Jabadia has quit IRC07:23
openstackgerritXu Han Peng proposed a change to openstack/neutron: Permit ICMPv6 RAs only from known routers  https://review.openstack.org/7225207:23
*** Jabadia has joined #openstack-neutron07:23
*** djoreilly has joined #openstack-neutron07:23
*** ramishra has quit IRC07:27
*** ale has quit IRC07:30
*** ale has joined #openstack-neutron07:30
* nati_ueno waiting jenkins get happy with 8328007:32
*** sridhar has quit IRC07:33
*** jprovazn has joined #openstack-neutron07:36
*** ale has quit IRC07:37
*** pnavarro has quit IRC07:45
*** jistr has joined #openstack-neutron07:47
*** russellb has joined #openstack-neutron07:47
*** ramishra has joined #openstack-neutron07:49
*** _cjones_ has joined #openstack-neutron07:51
*** evgenyf has joined #openstack-neutron07:54
*** _cjones_ has quit IRC07:55
*** jlibosva has joined #openstack-neutron07:58
*** humbolt has joined #openstack-neutron08:00
*** luqas has joined #openstack-neutron08:11
*** luqas has quit IRC08:13
*** dave_tucker_zzz is now known as dave_tucker08:15
*** amuller has joined #openstack-neutron08:17
*** flwang has quit IRC08:19
*** luqas has joined #openstack-neutron08:21
*** roeyc has joined #openstack-neutron08:21
kevinbentonnati_ueno: jenkins has spoken!08:22
*** dguitarbite has joined #openstack-neutron08:23
*** jgallard has joined #openstack-neutron08:24
*** dguitarbite_ has quit IRC08:26
*** flwang has joined #openstack-neutron08:28
nati_uenokevinbenton: approved!08:29
*** Longgeek has quit IRC08:29
* nati_ueno so now, we need nova side only..08:30
kevinbentonnati_ueno: thanks. i'm off for the night. talk to you tomorrow08:31
nati_uenokevinbenton: Thanks you for your hard work!!!08:31
*** matsuhashi has quit IRC08:33
irenabnati_ueno: hi08:36
*** thuc has joined #openstack-neutron08:37
nati_uenoirenab: hi08:37
irenabnati_ueno: Can you please take a look at https://review.openstack.org/#/c/82729/. This is a fix for the issue we discussed few days ago08:39
nati_uenoirenab: sure!08:40
*** roeyc has quit IRC08:41
irenabnati_ueno: thanks08:41
*** thuc has quit IRC08:41
*** Longgeek has joined #openstack-neutron08:43
*** saju_m has quit IRC08:43
*** ramishra has quit IRC08:43
salv-orlandonati_ueno: you still around?08:44
nati_uenosalv-orlando: yes08:44
salv-orlandowe would need now to do a combined test of 83190, and 8328008:44
*** roeyc has joined #openstack-neutron08:44
salv-orlandopossibly with tempest patch #6270208:44
*** ramishra has joined #openstack-neutron08:44
salv-orlandoif you have still energies for update devstack patch 83190 we can give it  a spin08:44
nati_uenokevinbenton: has patch08:44
salv-orlandoall right08:45
nati_uenosalv-orlando: let me see..08:45
salv-orlandoso 83190 is to discard?08:45
salv-orlandohttps://review.openstack.org/#/c/83281/08:45
nati_uenosalv-orlando: https://review.openstack.org/#/c/83281/08:45
nati_uenosalv-orlando: no Kevin fixed 83190 as you wish08:46
salv-orlandoI don't know why did he feel the need for duplicating the tempest patch, but maybe that's not important08:46
nati_uenosalv-orlando: ya, may be we won't have hisown :P08:46
nati_uenooh we need to update patch set id on 83281/08:47
salv-orlandouhm. yes. If you are already in bed I can do that. I just woke up ;)08:48
nati_uenosalv-orlando: Thanks!!08:48
salv-orlandowell, over an hour ago08:48
*** ramishra has quit IRC08:49
nati_uenosalv-orlando: Actually, I should driver 101 from now.. little bit scary drive08:49
nati_uenos/driver/drive/08:49
salv-orlandoso you stayed in a office the whole time?08:50
nati_uenosalv-orlando: yeah08:50
salv-orlandoWell, get some coffee and then jump in your car then08:51
*** ygbo has joined #openstack-neutron08:52
nati_uenosalv-orlando: Thanks08:52
*** saju_m has joined #openstack-neutron08:55
*** pnavarro has joined #openstack-neutron08:57
*** Longgeek has quit IRC08:57
*** flwang has quit IRC08:58
openstackgerritenikanorov proposed a change to openstack/neutron: Proof of Concept flavor framework  https://review.openstack.org/8305509:00
enikanorovsalv-orlando: hi! If you have some spare time and interest, could you take a look at ^^^?09:02
salv-orlandocool, have you already spoken to markmcclain for potential icehouse inclusion?09:02
salv-orlandoor is it just to have a look at ti now?09:02
enikanorovhope you're kidding :)09:03
enikanorovsure not for Icehouse09:03
enikanorovalso it's a PoC09:03
enikanorovso... look only if you are bored with some usefull code :)09:04
salv-orlandook then… I will look at it after we've cut RC1. It's being tough getting bug count to 009:04
enikanorovsure np!09:05
*** safchain has joined #openstack-neutron09:08
*** leseb has joined #openstack-neutron09:13
*** saju_m has quit IRC09:16
*** pcm_ has quit IRC09:17
*** ale has joined #openstack-neutron09:17
*** Longgeek has joined #openstack-neutron09:26
*** saju_m has joined #openstack-neutron09:27
*** jpich has joined #openstack-neutron09:31
openstackgerritA change was merged to openstack/neutron: Adds OVS_HYBRID_PLUG flag to portbindings  https://review.openstack.org/8328009:34
*** bvandenh has joined #openstack-neutron09:37
*** enikanorov_ has joined #openstack-neutron09:38
*** ale___ has joined #openstack-neutron09:38
*** enikanorov_ has quit IRC09:38
*** jistr has quit IRC09:38
*** ale has quit IRC09:40
openstackgerritXu Han Peng proposed a change to openstack/python-neutronclient: Create new IPv6 attributes for Subnets by client  https://review.openstack.org/7587109:42
*** bashok has joined #openstack-neutron09:43
*** leseb has quit IRC09:43
*** Longgeek has quit IRC09:43
*** matsuhashi has joined #openstack-neutron09:45
*** yamamoto has joined #openstack-neutron09:48
*** Longgeek has joined #openstack-neutron09:51
amotokinati_ueno: salv-orlando: thanks for coordinating the secgroup issue. We have the great progress in a day :-)09:56
salv-orlandoamotoki: I've not been coordinating. Mostly being an a**hole to other people, because that's what I do better :p09:57
amotokiwhen I was back, the situation significantly changed for better direction. the community is really super :-)09:59
*** amotoki has quit IRC10:00
*** ale___ has quit IRC10:01
*** sphoorti has joined #openstack-neutron10:01
*** jp_at_hp has joined #openstack-neutron10:02
*** ale___ has joined #openstack-neutron10:03
*** jistr has joined #openstack-neutron10:04
*** sphoorti has quit IRC10:07
*** tomoe_ has quit IRC10:07
*** sphoorti has joined #openstack-neutron10:09
*** yamamoto has quit IRC10:11
*** leseb has joined #openstack-neutron10:12
*** amuller has quit IRC10:15
*** ajo_ has joined #openstack-neutron10:15
*** ajo_ has quit IRC10:17
*** sphoorti has quit IRC10:17
*** sphoorti has joined #openstack-neutron10:17
*** ajo_ has joined #openstack-neutron10:18
*** xuhanp has quit IRC10:18
*** b3nt_pin has joined #openstack-neutron10:18
*** b3nt_pin is now known as beagles10:18
*** ajo_ has quit IRC10:19
akamyshnikovasalv-orlando, Hello, can you find some time to continue our yesterday discussion about NULL on vlan_id? I've post answer to your comment at my change https://review.openstack.org/8208910:19
*** jgallard has quit IRC10:23
*** saju_m has quit IRC10:24
*** mwagner_lap has quit IRC10:26
*** luqas has quit IRC10:26
*** EmilienM has quit IRC10:28
*** EmilienM has joined #openstack-neutron10:28
*** mwagner_notHere has quit IRC10:28
*** overlayer has joined #openstack-neutron10:30
*** sphoorti has quit IRC10:30
*** sphoorti has joined #openstack-neutron10:31
*** ale___ has quit IRC10:36
*** ale___ has joined #openstack-neutron10:37
*** bvandenh has quit IRC10:40
*** sphoorti has quit IRC10:44
*** sphoorti has joined #openstack-neutron10:45
*** sphoorti has quit IRC10:46
*** ale___ has quit IRC10:48
*** sphoorti has joined #openstack-neutron10:48
*** amuller has joined #openstack-neutron10:51
*** sphoorti has quit IRC10:51
*** flwang has joined #openstack-neutron10:52
*** sphoorti has joined #openstack-neutron10:52
*** bvandenh has joined #openstack-neutron10:53
*** sphoorti has quit IRC10:54
*** sphoorti has joined #openstack-neutron10:55
*** sphoorti has quit IRC10:56
*** sphoorti has joined #openstack-neutron10:56
*** luqas has joined #openstack-neutron10:58
*** networkstatic is now known as networkstatic_zZ10:58
*** sphoorti has quit IRC11:04
*** linuxgeek_ has quit IRC11:04
*** nati_ueno has quit IRC11:04
*** xianghui_ has joined #openstack-neutron11:04
*** sphoorti has joined #openstack-neutron11:05
*** xianghui has quit IRC11:06
*** matsuhashi has quit IRC11:07
*** yamamoto has joined #openstack-neutron11:07
*** yamahata has quit IRC11:07
*** yamamoto has quit IRC11:08
*** saju_m has joined #openstack-neutron11:14
*** leseb has quit IRC11:19
*** morganfainberg is now known as morganfainberg_Z11:19
*** leseb has joined #openstack-neutron11:19
*** sphoorti has quit IRC11:21
*** leseb has quit IRC11:24
*** sphoorti has joined #openstack-neutron11:24
*** xianghui_ has quit IRC11:25
*** nati_ueno has joined #openstack-neutron11:28
*** pnavarro has quit IRC11:28
openstackgerritEvgeny Fedoruk proposed a change to openstack/neutron: Cancelling thread start while unit tests running  https://review.openstack.org/8132311:29
*** matsuhashi has joined #openstack-neutron11:32
openstackgerritA change was merged to openstack/neutron: LBaaS: make device driver decide whether to deploy instance  https://review.openstack.org/8251411:33
*** saju_m has quit IRC11:33
*** sphoorti has quit IRC11:34
*** pcm_ has joined #openstack-neutron11:34
*** sphoorti has joined #openstack-neutron11:35
*** saju_m has joined #openstack-neutron11:35
openstackgerritOleg Bondarev proposed a change to openstack/neutron: LBaaS: haproxy driver should respect vip/pool admin state  https://review.openstack.org/8274911:37
*** HenryG has joined #openstack-neutron11:39
*** dguitarbite has quit IRC11:39
*** mwagner_lap has joined #openstack-neutron11:42
*** sphoorti has quit IRC11:43
*** matsuhashi has quit IRC11:45
*** sphoorti has joined #openstack-neutron11:46
*** Longgeek has quit IRC11:46
*** sphoorti has quit IRC11:51
*** sphoorti has joined #openstack-neutron11:52
*** aryan has quit IRC11:53
*** baoli has joined #openstack-neutron11:54
*** sphoorti has quit IRC11:55
*** baoli has quit IRC11:56
*** baoli has joined #openstack-neutron11:56
*** pcm_ has quit IRC11:57
*** jgallard has joined #openstack-neutron11:57
*** mwagner_ has joined #openstack-neutron11:59
*** afazekas has quit IRC12:01
*** matsuhashi has joined #openstack-neutron12:05
*** sphoorti has joined #openstack-neutron12:05
*** sphoorti has quit IRC12:08
*** pnavarro has joined #openstack-neutron12:09
*** sballe has quit IRC12:09
*** alexpilotti has joined #openstack-neutron12:11
*** sphoorti has joined #openstack-neutron12:12
*** sphoorti has quit IRC12:14
*** pcm_ has joined #openstack-neutron12:14
*** leseb has joined #openstack-neutron12:14
*** sphoorti has joined #openstack-neutron12:15
*** afazekas has joined #openstack-neutron12:15
*** alexpilotti has quit IRC12:17
openstackgerritOleg Bondarev proposed a change to openstack/neutron: LBaaS: haproxy driver should respect vip/pool admin state  https://review.openstack.org/8274912:19
*** leseb has quit IRC12:19
openstackgerritOleg Bondarev proposed a change to openstack/neutron: Delete disassociated floating ips on external network deletion  https://review.openstack.org/5336412:22
*** lollipop has quit IRC12:25
*** sphoorti has quit IRC12:25
*** mestery has joined #openstack-neutron12:25
*** sballe has joined #openstack-neutron12:25
*** mestery has quit IRC12:26
*** sphoorti has joined #openstack-neutron12:26
*** mestery has joined #openstack-neutron12:26
*** sphoorti has quit IRC12:38
*** sphoorti has joined #openstack-neutron12:45
openstackgerritSylvain Afchain proposed a change to openstack/neutron: L2 pop regular mac learning as parameter  https://review.openstack.org/8305312:45
*** matsuhashi has quit IRC12:45
*** matsuhashi has joined #openstack-neutron12:45
*** leseb has joined #openstack-neutron12:47
*** matsuhashi has quit IRC12:50
*** luqas has quit IRC12:51
*** Jabadia has quit IRC12:51
*** sphoorti has quit IRC12:51
*** jecarey has quit IRC12:52
*** dims_ has quit IRC12:52
*** Jabadia has joined #openstack-neutron12:54
*** Jabadia has quit IRC12:54
*** Jabadia has joined #openstack-neutron12:54
*** Jabadia has quit IRC12:55
*** Jabadia has joined #openstack-neutron12:55
*** sphoorti has joined #openstack-neutron12:56
*** ramishra has joined #openstack-neutron12:58
*** xuhanp has joined #openstack-neutron12:58
*** sphoorti has quit IRC12:59
*** thuc has joined #openstack-neutron13:01
*** pradipta is now known as pradipta_away13:01
*** sphoorti has joined #openstack-neutron13:01
*** sphoorti has quit IRC13:02
*** thuc_ has joined #openstack-neutron13:02
*** sphoorti has joined #openstack-neutron13:03
*** sphoorti has quit IRC13:03
*** Jianyong has joined #openstack-neutron13:03
*** sphoorti has joined #openstack-neutron13:03
*** Jianyong has left #openstack-neutron13:04
*** nplanel_ has joined #openstack-neutron13:04
*** dims_ has joined #openstack-neutron13:05
*** _sweston_ has quit IRC13:05
*** thuc has quit IRC13:06
*** sphoorti has joined #openstack-neutron13:06
*** markmcclain has joined #openstack-neutron13:08
*** lker has joined #openstack-neutron13:09
*** pcm_ has quit IRC13:12
*** changbl has quit IRC13:17
*** matsuhashi has joined #openstack-neutron13:18
*** julim has joined #openstack-neutron13:18
*** alexpilotti has joined #openstack-neutron13:21
*** sphoorti has quit IRC13:23
ihrachysmarkmcclain: here? can we consider https://review.openstack.org/#/c/82786/ for stable neutron before release? one of my patches was successfully merged to stable today in the first go, so probably the issue with gate doesn't completely block new merges13:25
*** matsuhashi has quit IRC13:25
markmcclainihrachys: approved13:25
*** matsuhashi has joined #openstack-neutron13:26
*** jistr has quit IRC13:26
*** matsuhashi has quit IRC13:26
markmcclainihrachys: it doesn't block them so much as they randomly fail enough to cause a backup in the gate13:26
*** irenab has quit IRC13:26
*** matsuhashi has joined #openstack-neutron13:26
*** luqas has joined #openstack-neutron13:28
openstackgerritvaibhav_kale proposed a change to openstack/neutron: Changed the message line of RouterInUse class  https://review.openstack.org/8337413:29
ihrachysmarkmcclain: the gate is quite empty at the moment (6 tasks in all the queues, only 3 in neutron one), so hopefully possible benefit is greater than the risk of backup13:30
*** dave_tucker is now known as dave_tucker_zzz13:30
ihrachysmarkmcclain: ...and thanks for approval :)13:31
*** thuc has joined #openstack-neutron13:33
*** xianghui has joined #openstack-neutron13:34
*** dave_tucker_zzz is now known as dave_tucker13:34
*** chandankumar_ has joined #openstack-neutron13:35
*** krtaylor has quit IRC13:35
*** thuc_ has quit IRC13:36
*** sphoorti has joined #openstack-neutron13:36
*** sphoorti has quit IRC13:36
*** yamahata has joined #openstack-neutron13:36
*** sphoorti has joined #openstack-neutron13:38
*** skraynev is now known as skraynev_afk13:38
*** tvardeman has joined #openstack-neutron13:39
*** sphoorti has quit IRC13:39
*** lker has quit IRC13:40
*** ramishra has quit IRC13:43
*** thuc_ has joined #openstack-neutron13:43
*** jistr has joined #openstack-neutron13:44
*** thuc has quit IRC13:46
*** linuxgeek_ has joined #openstack-neutron13:48
*** thuc_ has quit IRC13:48
*** Jabadia has quit IRC13:48
*** thedodd has joined #openstack-neutron13:48
openstackgerritKyle Mestery proposed a change to openstack/neutron: Correct OVS VXLAN version check  https://review.openstack.org/8293113:49
mesterysalv-orlando: I think I finally addressed all of nati_ueno's pedant comments, can I beg for one more review on this one from you? https://review.openstack.org/#/c/82931/13:50
*** rkukura has quit IRC13:50
*** sphoorti has joined #openstack-neutron13:52
*** mestery has quit IRC13:55
sphoortimarkmcclain: hello :)13:57
*** nplanel_ has quit IRC13:58
markmcclainsphoorti: hi13:59
sphoortimarkmcclain: I made those changes as per your comments . Could you please have a look at them when free?14:00
markmcclainsphoorti: yes I'll take a look14:01
sphoortithank you markmcclain14:01
*** zigo has quit IRC14:01
*** zigo has joined #openstack-neutron14:03
*** krtaylor has joined #openstack-neutron14:06
*** markwash has joined #openstack-neutron14:06
*** banix has joined #openstack-neutron14:06
*** mordred has quit IRC14:08
*** yfried has quit IRC14:08
*** jorgem has joined #openstack-neutron14:10
*** thuc has joined #openstack-neutron14:11
*** gmurphy has joined #openstack-neutron14:13
openstackgerritAaron Rosen proposed a change to openstack/neutron: Prevent cross plugging router ports from other tenants  https://review.openstack.org/8339114:19
*** blogan has joined #openstack-neutron14:22
*** aryan has joined #openstack-neutron14:23
*** sphoorti has quit IRC14:23
*** roeyc has quit IRC14:25
*** amotoki has joined #openstack-neutron14:26
*** dims_ is now known as dims14:28
*** dims is now known as Guest6849914:28
*** Guest68499 has quit IRC14:29
*** dims_ has joined #openstack-neutron14:29
*** carl_baldwin has joined #openstack-neutron14:31
*** jgrimm has joined #openstack-neutron14:36
*** sphoorti has joined #openstack-neutron14:37
*** jecarey has joined #openstack-neutron14:37
*** leseb_ has joined #openstack-neutron14:38
*** thuc has quit IRC14:38
*** thuc has joined #openstack-neutron14:39
*** leseb has quit IRC14:42
*** sweston has joined #openstack-neutron14:43
*** jobewan has joined #openstack-neutron14:43
*** thuc has quit IRC14:43
*** baffle has joined #openstack-neutron14:45
*** ramishra has joined #openstack-neutron14:46
*** chandankumar_ has quit IRC14:46
*** pcm_ has joined #openstack-neutron14:46
*** devlaps has joined #openstack-neutron14:51
*** jobewan has quit IRC14:51
*** jobewan has joined #openstack-neutron14:52
*** chandankumar_ has joined #openstack-neutron14:53
salv-orlandokevinbenton: if you're not around I can see whether unit tests can be added to https://review.openstack.org/#/c/8319014:54
kevinbentonsalv-orlando: i will do it. i was just waiting for some sign from the nova side that this approach is okay14:55
salv-orlandoI think they will ask for more unit tests anyway.14:56
*** pcm_ has quit IRC14:56
*** pcm_ has joined #openstack-neutron14:56
*** packet has quit IRC14:57
*** otherwiseguy has joined #openstack-neutron14:58
*** thuc has joined #openstack-neutron15:00
*** mestery has joined #openstack-neutron15:01
*** networkstatic_zZ has quit IRC15:01
bloganenikanorov: glossary addition, virtualized appliance15:02
enikanorov__markmcclain: still need you eyes on https://review.openstack.org/#/c/81537/15:02
enikanorov__blogan: ok15:02
*** julim has quit IRC15:02
bloganthanks15:03
*** julim has joined #openstack-neutron15:04
openstackgerritSylvain Afchain proposed a change to openstack/neutron: L2 pop regular mac learning as parameter  https://review.openstack.org/8305315:06
*** ramishra has quit IRC15:06
*** jorgem has quit IRC15:06
*** jorgem has joined #openstack-neutron15:07
*** rkukura has joined #openstack-neutron15:08
mesterysalv-orlando amotoki: Thanks for the +2s and +A.15:09
salv-orlandonp15:09
* mestery goes back to looking at the OVS function he's working on at the OVS Hackathon.15:09
amotokimestery: np. it is a good improvement :)15:10
*** ramishra has joined #openstack-neutron15:10
mesteryamotoki: Yes! And it also closes a critical bug as well. :)15:10
enikanorov__OVS hackathon, cool15:12
enikanorov__is in c or c++?15:13
*** ramishra has quit IRC15:14
markmcclainenikanorov__: looking at that review why are we not addressing the bug the lbaas is calling existing from within a scoped namespace?15:16
*** yfried has joined #openstack-neutron15:16
*** matsuhashi has quit IRC15:18
enikanorov__markmcclain: it's common method garbage_collect_namespace15:18
*** pnavarro has quit IRC15:18
enikanorov__markmcclain: from ip_lib15:18
enikanorov__and the previous fix has introduced regression there15:18
markmcclainok that is not explained anywhere in the commit message or the fix15:21
markmcclainthis fixes a broken garbage_collection15:21
enikanorov__yep, i can add this to commit message15:22
enikanorov__can you please remove -2 for now?15:22
*** chandankumar_ has quit IRC15:24
*** safchain has quit IRC15:28
*** markwash has quit IRC15:28
*** evgenyf has quit IRC15:29
markmcclainalso added comment about the execute call itself15:32
markmcclainenikanorov__: should be using the one local to the class15:32
ihrachysmarkmcclain: can we get this 'full sync' from oslo in icehouse: https://review.openstack.org/#/c/80998/ ? Or now that we're about to release rc1, will I need to do specific 'cherry-picks' now?15:33
*** _cjones_ has joined #openstack-neutron15:39
*** sacharya has joined #openstack-neutron15:41
*** luqas has quit IRC15:41
*** _cjones_ has quit IRC15:42
*** _cjones_ has joined #openstack-neutron15:42
openstackgerritThierry Carrez proposed a change to openstack/neutron: Open Juno development  https://review.openstack.org/8343415:43
*** thuc_ has joined #openstack-neutron15:43
*** saju_m has quit IRC15:44
*** luqas has joined #openstack-neutron15:44
amotokiihrachys: cherry-pick is recommended. I talked with markmcclain about the same topic. It is the last moment of the release cycle. We need to sync only modules with specific bugs.15:45
mesteryenikanorov__: OVS is written in C, though there are also python bindings. :)15:45
ihrachysamotoki: I synced specific modules only15:45
ihrachysamotoki: but should I cherry pick *from those modules*?15:46
*** bashok has quit IRC15:46
ihrachysamotoki: and btw markmcclain approved the patch, and it was already sent to gate15:46
*** evgenyf has joined #openstack-neutron15:47
*** thuc has quit IRC15:47
*** otherwiseguy has quit IRC15:47
amotokiihrachys: rpc sync patch?15:47
ihrachysamotoki: yes15:47
ihrachysamotoki: it syncs rpc + gettextutils (as a dep)15:48
*** thuc_ has quit IRC15:48
amotokiihrachys: ah... full sync limited to related modules sounds reasonable to me.15:48
ihrachysamotoki: in stable branches, we cherry-pick specific changes from specifc modules15:48
ihrachysamotoki: that's why I asked15:48
*** asadoughi has quit IRC15:50
openstackgerritYves-Gwenael Bourhis proposed a change to openstack/neutron: Make dnsmasq aware of all names  https://review.openstack.org/5293015:51
*** marun_afk has quit IRC15:53
*** amir1 has joined #openstack-neutron15:55
*** amir1 is now known as asadoughi15:55
*** rotbeard has quit IRC15:55
*** zhipeng has joined #openstack-neutron15:55
kevinbentonsalv-orlando: new patch https://review.openstack.org/#/c/83190/15:56
*** xuhanp has quit IRC15:56
salv-orlandothanks kevinbenton15:56
*** asadoughi has quit IRC15:56
*** asadoughi has joined #openstack-neutron15:57
*** sacharya has quit IRC15:57
*** otherwiseguy has joined #openstack-neutron15:59
*** changbl has joined #openstack-neutron16:00
*** tvardeman has quit IRC16:00
*** mlavalle has joined #openstack-neutron16:00
*** tvardeman has joined #openstack-neutron16:01
*** claudiub_ has joined #openstack-neutron16:03
*** amuller has quit IRC16:03
*** SumitNaiksatam has joined #openstack-neutron16:04
*** xianghui has quit IRC16:04
*** evgenyf has quit IRC16:05
*** zhipeng has quit IRC16:10
*** dims_ has quit IRC16:10
*** emagana has joined #openstack-neutron16:10
*** zhipeng has joined #openstack-neutron16:11
openstackgerritenikanorov proposed a change to openstack/neutron: Fix namespace exist() method  https://review.openstack.org/8153716:12
*** sphoorti has quit IRC16:13
*** sphoorti has joined #openstack-neutron16:13
jlibosvamarkmcclain: hi, can I ask you please for review on https://review.openstack.org/#/c/83008/ ?16:15
jlibosvait makes grenade pass with neutron - https://jenkins04.openstack.org/job/check-grenade-dsvm/6435/16:15
*** sphoorti has quit IRC16:18
flwanggreetings16:20
*** sphoorti has joined #openstack-neutron16:21
*** sphoorti has quit IRC16:21
*** thuc_ has joined #openstack-neutron16:21
*** carl_baldwin_ has joined #openstack-neutron16:21
*** thuc_ has quit IRC16:22
*** sphoorti has joined #openstack-neutron16:22
markmcclainjlibosva: looking16:22
* jlibosva thanking16:22
*** thuc_ has joined #openstack-neutron16:22
flwangis there any way to know the public and private traffic?16:23
flwangis it possible to tag different network and then handle the notifications in ceilometer?16:24
*** nati_ueno has quit IRC16:24
*** carl_baldwin has quit IRC16:25
*** carl_baldwin_ is now known as carl_baldwin16:25
markmcclainflwang: for metering?16:25
flwangmarkmcclain: yes16:25
*** dims_ has joined #openstack-neutron16:25
markmcclainflwang: look at the metering extension for l316:26
flwangmarkmcclain: from the end user perspective, it would be great to distinguish public and private traffic  (communication between VMs in the same availability zone and  tenant)16:26
flwangmarkmcclain: could you please show me a link? I'm not a networking guy :)16:27
*** afazekas has quit IRC16:27
openstackgerritA change was merged to openstack/neutron: Import request_id middleware bug fix from oslo  https://review.openstack.org/8308016:28
*** yfried has quit IRC16:28
openstackgerritA change was merged to openstack/neutron: Correct OVS VXLAN version check  https://review.openstack.org/8293116:28
markmcclainflwang: http://docs.openstack.org/api/openstack-network/2.0/content/metering-ext.html16:29
flwangmarkmcclain: cool, thanks a lot16:29
*** sweston has quit IRC16:31
*** yfried has joined #openstack-neutron16:31
*** sphoorti has quit IRC16:32
*** sphoorti has joined #openstack-neutron16:33
*** sphoorti has quit IRC16:33
openstackgerritJenkins proposed a change to openstack/neutron: Updated from global requirements  https://review.openstack.org/8347416:34
*** sbalukoff has quit IRC16:34
*** sphoorti has joined #openstack-neutron16:34
*** sacharya has joined #openstack-neutron16:36
flwangmarkmcclain: so IIUC, on Neutron side, we just need to create metering label and rule for both public and private network, is it?16:38
flwangthen the notifications sent by Neutron will include the metering label, right?16:39
*** singhs has joined #openstack-neutron16:39
*** marun has joined #openstack-neutron16:40
markmcclainflwang: if you're running the script to report on stats16:41
*** zigo has quit IRC16:41
flwangmarkmcclain:  ^the script^ you mentioned is the metering extension for l3, right?16:42
*** sphoorti has quit IRC16:43
markmcclainneutron-metering-agent16:43
*** sphoorti has joined #openstack-neutron16:44
*** sphoorti has quit IRC16:44
flwangmarkmcclain: got it. so simple!16:45
flwangmarkmcclain: then on the Ceilometer side, we can just use the metering label to distinguish the traffic of public or private network, correct?16:46
markmcclainyes16:47
markmcclaina few deployers are using this extension to differentiate billing for intra datacenter traffic vs traffic that exits the DC16:47
flwangmarkmcclain: glad to know that. thank you so much!16:48
*** jlibosva has quit IRC16:49
*** leseb_ has quit IRC16:49
*** leseb has joined #openstack-neutron16:50
openstackgerritA change was merged to openstack/neutron: VPNaaS support for VPN service admin state change and reporting  https://review.openstack.org/8112416:53
*** yfried has quit IRC16:54
openstackgerritA change was merged to openstack/neutron: nec plugin: allow to delete resource with ERROR status  https://review.openstack.org/8214316:54
*** yfried_ has joined #openstack-neutron16:54
*** leseb has quit IRC16:54
*** carl_baldwin has quit IRC16:54
*** zhipeng has quit IRC16:55
*** yfried_ is now known as yfried16:56
*** carl_baldwin has joined #openstack-neutron16:57
*** carl_baldwin has quit IRC16:58
*** otherwiseguy has quit IRC16:59
*** SumitNaiksatam has quit IRC17:00
*** zhipeng has joined #openstack-neutron17:01
*** dguitarbite has joined #openstack-neutron17:01
*** harlowja_away is now known as harlowja17:08
*** leseb has joined #openstack-neutron17:09
*** thedodd has quit IRC17:09
*** alexpilotti_ has joined #openstack-neutron17:12
*** afazekas has joined #openstack-neutron17:13
*** marun has quit IRC17:15
*** alexpilotti has quit IRC17:15
*** alexpilotti_ is now known as alexpilotti17:15
*** nati_ueno has joined #openstack-neutron17:15
nati_uenohi17:17
*** ale___ has joined #openstack-neutron17:17
*** zhipeng has quit IRC17:18
*** hemanthravi has joined #openstack-neutron17:18
jogomarkmcclain: https://review.openstack.org/#/c/83055/2/neutron/db/flavors_db.py17:18
openstackgerritPhil Day proposed a change to openstack/python-neutronclient: Allow user ID for authentication  https://review.openstack.org/7859617:18
*** ygbo has quit IRC17:19
jogoapparently some neutron folks are using bad copyrights17:19
jogoheh and you use author tags17:19
*** bvandenh has quit IRC17:20
*** armitage81 has joined #openstack-neutron17:21
*** armitage81 has quit IRC17:21
*** armitage81 has joined #openstack-neutron17:21
*** singhs has quit IRC17:24
*** singhs has joined #openstack-neutron17:24
*** SumitNaiksatam has joined #openstack-neutron17:25
*** leseb has quit IRC17:26
*** morganfainberg_Z is now known as morganfainberg17:26
*** HenryG_ has joined #openstack-neutron17:28
kevinbentonsalv-orlando, nachi_ueno, markmcclain: devstack tests came back for sec groups and it looks good17:28
kevinbentonhttps://review.openstack.org/#/c/83281/17:28
*** bada has quit IRC17:28
nati_uenokevinbenton: woot17:29
nati_uenorussellb: around?17:29
claudiub_rkukura: hello17:30
claudiub_rkukura: if you have time today, to look at the commits we talked about yesterday, i'd be most grateful. :D17:31
markmcclainjogo: ugh on these days we'll file headers sorted17:31
markmcclainfortunately the code is WIP17:31
*** dims_ has quit IRC17:32
claudiub_rkukura: here are the commits: https://review.openstack.org/#/c/83222/1  https://review.openstack.org/#/c/83223/17:32
*** banix has quit IRC17:34
*** zhipeng has joined #openstack-neutron17:34
jogomarkmcclain: yeah, I grep shows there are a lot of copyright headers in the code that are assigned to the foundation17:34
jogomarkmcclain: also IMHO you should drop all author tags as well. but that is a seperate issue17:34
jogomarkmcclain: so the only part of copyright header that is needed is the apache2 section not who owns it17:35
*** networkstatic has joined #openstack-neutron17:35
rkukuraclaudiub_: Will try17:36
claudiub_rkukura: thanks. :)17:37
*** luqas has quit IRC17:37
*** HenryG has quit IRC17:37
*** zigo has joined #openstack-neutron17:39
*** claudiub_ has quit IRC17:41
kevinbentonsalv-orlando: ping17:41
russellbnati_ueno: seemed there was some question yesterday about which patch we should really go with ...17:41
russellbnati_ueno: what's the current status?17:42
nati_uenorussellb: OK we decides fix both of neutron and nova. The neutron side patch is already meregd.17:42
nati_uenorussellb: https://review.openstack.org/#/c/83190/7 <-- This is nova side17:42
russellbwhat's the neutron side for reference17:43
kevinbentonrussellb: i think we've mostly settled that this is the preferred approach as it doesn't enforce hybrid mode on plugins that don't want it or deployments that don't want firewalls17:43
nati_uenorussellb: This is a tempest run result with this patch + security group negative test https://review.openstack.org/#/c/83281/17:43
kevinbentonrussellb: https://review.openstack.org/#/c/83280/17:43
kevinbentonneutron patch ^^17:44
*** mwagner_ has quit IRC17:44
*** banix has joined #openstack-neutron17:44
yfriedsalv-orlando: I wonder - is it possible to have an api command that's for debug purposes only?17:44
nati_uenorussellb: In order to remove side effects, we take the way to add vif_hybrid_plugging17:45
russellbtested successfully?17:45
nati_uenorussellb: yes ->>  https://review.openstack.org/#/c/83281/17:45
yfriedsalv-orlando: like a request for neutron to dump all namespace data from all nodes17:45
nati_uenorussellb: 83281 is a devstack patch run with nova patch + security group negative test17:45
kevinbenton83281 is a devstack patch that references the negative test case enabled in tempest and this nova patch17:45
nati_uenorussellb: 83281 passed Jenkins17:46
*** marun has joined #openstack-neutron17:46
yfriedmarun: ^^17:46
marunyfried: Missed that, can you say again?17:47
*** dims_ has joined #openstack-neutron17:47
yfriedmarun: I wonder - is it possible to have an api command that's for debug purposes only?17:48
yfriedmarun:  like a request for neutron to dump all namespace data from all nodes17:48
marunyfried: Anything is possible :)17:48
yfriedmarun: btw - didn't forget my promise to draft test plans - I'm just over-swamped atm17:48
marunyfried: A use case would be helpful in determining whether it was worth doing.17:49
marunyfried: No worries, busy busy time.17:49
yfriedmarun: tempset has a debug method that dumps all ip-netns data, but it's only for AIO17:50
russellbneat17:50
russellbthat's a cool hack to get testing on cross project patches17:50
russellbdon't think i'd seen someone do that before17:50
marunyfried: I think having 'health check' support from the agents would certainly be useful.17:50
yfriedmarun: define health-check17:50
marunrussellb: the devstack trick?17:50
yfriedmarun: problem is - all node specifc operations are outside tempest scope17:51
kevinbentonrussellb: saw aarosen do it17:51
russellbcool17:51
russellbi like it17:51
marunyfried: What is the use case though?  I.e why is all that info useful?17:51
nati_uenorussellb: yeah, this make life eary :)17:52
salv-orlandoyfried: you can propose a blueprint for operator debugging if you wish. I see some uses for it17:52
*** marun has quit IRC17:52
kevinbentonrussellb: do you have any other code change suggestions or should I update the commit message now?17:52
russellbkevinbenton: one more tiny thing, one sec17:52
*** marun has joined #openstack-neutron17:52
yfriedmarun: for network related failures, you want to get the network data dumped (as the actual nodes are scrapped post test)17:53
salv-orlandopretty much that amounts to let jenkins do what we normally do in our environment17:53
russellbkevinbenton: k updated17:53
salv-orlandothe only downside is that there will be a stale patch, but anyone of us has tons of them, so it probably doesn't matter17:53
marunyfried: the use case is important17:53
*** carl_baldwin has joined #openstack-neutron17:53
marunyfried: An sdn controller already provides a good deal of the necessary introspection, and reproducing that in neutron is of questionable value17:54
*** mlavalle has quit IRC17:54
yfriedmarun: "sdn controller"?17:55
*** marun_ has joined #openstack-neutron17:56
kevinbentonrussellb: patch updated17:56
yfriedmarun_: sdn controller?17:57
*** dims_ has quit IRC17:57
russellbkevinbenton: k, +217:57
marun_yfried: I'd recommend reading up on it.17:57
marun_yfried: Lpeer and amuller could provide pointers17:58
*** marun has quit IRC17:59
*** marun_ is now known as marun17:59
yfriedis it a dependency for neutron? can it be used with to provide data for tempest failures at the gate? if not, i don't see how this solves the problem17:59
kevinbentonsalv-orlando: with regards to your comment about the unit test for no filters with neutron, I believe that is already covered. _assertTypeAndMacEquals checks the filter count17:59
marunyfried: Essentially, though, neutron's open source option can configure the data plane but doesn't provide much in the way of visibility17:59
salv-orlandook sounds good to me then17:59
marunyfried: A proper sdn controller remedies that -17:59
marunBrb18:00
*** pcm_ has quit IRC18:00
*** linuxgeek_ has quit IRC18:00
*** _tziOm has quit IRC18:00
*** linuxgeek_ has joined #openstack-neutron18:00
kevinbentonrussellb: thanks, do we need to find another nova core to check it out, or will you approve?18:01
russellbkevinbenton: need another18:01
*** pcm_ has joined #openstack-neutron18:01
russellbi asked in -nova18:01
russellbseeing if someone jumps on it18:01
kevinbentonrussellb: ok, thanks18:01
russellbif not, i'll poke people directly later today18:01
*** thuc has joined #openstack-neutron18:01
nati_uenorussellb: Thanks!18:03
marunsalv-orlando: Btw, hope to have wip later today for trapping undesired eventlet yield18:03
russellbthanks to all of you for working together to get this knocked out18:03
russellbmuch appreciated18:03
salv-orlandomarun: ok great18:04
*** thuc_ has quit IRC18:04
*** afazekas has quit IRC18:05
*** overlayer has quit IRC18:06
*** jistr has quit IRC18:07
*** marun_ has joined #openstack-neutron18:08
*** bjornar has joined #openstack-neutron18:08
*** marun has quit IRC18:08
*** marun_ is now known as marun18:08
*** marun has quit IRC18:08
*** thedodd has joined #openstack-neutron18:09
*** marun has joined #openstack-neutron18:09
*** marun has quit IRC18:11
*** dims has joined #openstack-neutron18:11
*** baoli has quit IRC18:16
*** marun has joined #openstack-neutron18:19
*** jgallard has quit IRC18:21
*** marun has quit IRC18:21
*** _cjones__ has joined #openstack-neutron18:26
*** _cjones_ has quit IRC18:29
*** markwash has joined #openstack-neutron18:30
*** markwash has quit IRC18:30
*** markwash has joined #openstack-neutron18:31
*** jpich has quit IRC18:32
*** afazekas has joined #openstack-neutron18:32
*** _cjones__ has quit IRC18:33
openstackgerritenikanorov proposed a change to openstack/neutron: Fix namespace exist() method  https://review.openstack.org/8153718:34
*** _cjones__ has joined #openstack-neutron18:35
*** _cjones__ has quit IRC18:35
*** _cjones__ has joined #openstack-neutron18:36
*** drjones has joined #openstack-neutron18:36
*** drjones is now known as _cjones__18:37
*** thuc has quit IRC18:37
*** thuc has joined #openstack-neutron18:38
*** _cjones__ has quit IRC18:38
*** drjones has joined #openstack-neutron18:38
*** drjones is now known as _cjones__18:38
*** _cjones__ is now known as _cjones_18:39
*** marun has joined #openstack-neutron18:40
*** jprovazn has quit IRC18:42
*** thuc has quit IRC18:42
*** yfried has quit IRC18:51
*** yfried has joined #openstack-neutron18:51
*** nplanel has quit IRC18:54
*** tvardeman has quit IRC18:55
*** TrevorV has joined #openstack-neutron18:55
*** ale___ has quit IRC18:58
*** sacharya has quit IRC19:00
*** ale has joined #openstack-neutron19:02
*** sbalukoff has joined #openstack-neutron19:03
*** jp_at_hp has quit IRC19:04
*** ale has quit IRC19:04
*** sacharya has joined #openstack-neutron19:05
*** terrylhowe has joined #openstack-neutron19:08
*** terrylhowe has left #openstack-neutron19:08
*** jorgem has quit IRC19:18
*** jorgem1 has joined #openstack-neutron19:18
*** jorgem1 is now known as jorgem19:18
*** amotoki has quit IRC19:19
*** otherwiseguy has joined #openstack-neutron19:19
*** hemanthravi has quit IRC19:22
*** markwash has quit IRC19:24
*** tziOm has joined #openstack-neutron19:26
*** sacharya has quit IRC19:28
*** jorgem1 has joined #openstack-neutron19:30
*** jorgem has quit IRC19:30
*** thuc has joined #openstack-neutron19:33
*** thuc has quit IRC19:34
*** thuc has joined #openstack-neutron19:34
*** BuSerD has joined #openstack-neutron19:36
openstackgerritrcurran proposed a change to openstack/neutron: ML2 Cisco Nexus MD: Support portchannel interfaces  https://review.openstack.org/8354619:39
openstackgerritrcurran proposed a change to openstack/neutron: ML2 Cisco Nexus MD: Support portchannel interfaces  https://review.openstack.org/8354619:42
*** beagles is now known as beagles_brb19:43
*** nplanel has joined #openstack-neutron19:49
*** dave_tucker is now known as dave_tucker_zzz19:50
*** dfarrell07 has joined #openstack-neutron19:51
*** zzelle has joined #openstack-neutron19:51
*** emagana has quit IRC19:55
*** dguitarbite has quit IRC19:56
*** rkukura has quit IRC19:59
*** baoli has joined #openstack-neutron19:59
*** baoli has quit IRC20:00
*** baoli has joined #openstack-neutron20:00
*** gdubreui has joined #openstack-neutron20:01
*** HenryG_ has quit IRC20:03
*** HenryG has joined #openstack-neutron20:03
*** harlowja is now known as harlowja_away20:03
*** beagles_brb is now known as beagles20:09
*** HenryG has quit IRC20:10
*** pcm_ has quit IRC20:11
*** afazekas has quit IRC20:12
*** sacharya has joined #openstack-neutron20:14
*** sacharya has quit IRC20:16
*** sacharya has joined #openstack-neutron20:17
*** TrevorV has quit IRC20:17
*** networkstatic has quit IRC20:18
*** packet has joined #openstack-neutron20:19
*** tvardeman has joined #openstack-neutron20:20
*** leseb has joined #openstack-neutron20:21
*** julim has quit IRC20:29
*** jorgem has joined #openstack-neutron20:30
*** jorgem1 has quit IRC20:30
*** manishg has joined #openstack-neutron20:31
*** jorgem has quit IRC20:31
*** jorgem1 has joined #openstack-neutron20:31
*** jorgem1 is now known as jorgem20:31
*** leseb has quit IRC20:34
*** harlowja_away is now known as harlowja20:35
*** EmilienM has quit IRC20:42
*** ale has joined #openstack-neutron20:42
*** EmilienM has joined #openstack-neutron20:43
*** ale___ has joined #openstack-neutron20:46
*** ale has quit IRC20:46
*** ale___ has quit IRC20:47
*** ale has joined #openstack-neutron20:47
*** leseb has joined #openstack-neutron20:49
*** mlavalle has joined #openstack-neutron20:49
*** mlavalle has quit IRC20:49
*** ale___ has joined #openstack-neutron20:50
*** sacharya1 has joined #openstack-neutron20:50
*** ale has quit IRC20:52
*** sacharya has quit IRC20:53
*** mlavalle has joined #openstack-neutron20:53
*** thedodd has quit IRC21:09
*** mwagner_lap is now known as mwagner_bbl21:11
*** pnavarro has joined #openstack-neutron21:15
*** mwagner_bbl has quit IRC21:16
openstackgerritA change was merged to openstack/neutron: Make dnsmasq aware of all names  https://review.openstack.org/5293021:18
*** leseb has quit IRC21:21
*** jorgem has quit IRC21:22
*** jorgem has joined #openstack-neutron21:25
*** tvardeman has quit IRC21:26
*** jorgem1 has joined #openstack-neutron21:27
*** dims has quit IRC21:28
*** jorgem has quit IRC21:29
*** jorgem has joined #openstack-neutron21:34
*** jorgem1 has quit IRC21:35
*** djoreilly has quit IRC21:40
*** leseb has joined #openstack-neutron21:41
*** dims has joined #openstack-neutron21:43
*** markwash has joined #openstack-neutron21:43
*** sungju has joined #openstack-neutron22:04
*** yamahata has quit IRC22:06
*** changbl has quit IRC22:07
*** ale___ has quit IRC22:07
*** rkukura has joined #openstack-neutron22:13
*** networkstatic has joined #openstack-neutron22:14
*** pcm_ has joined #openstack-neutron22:19
*** alexpilotti_ has joined #openstack-neutron22:20
*** alexpilotti has quit IRC22:22
*** alexpilotti_ is now known as alexpilotti22:22
*** manishg has quit IRC22:22
*** leseb has quit IRC22:23
*** sungju has quit IRC22:24
*** pcm_ has quit IRC22:26
*** pcm_ has joined #openstack-neutron22:27
*** bjornar has quit IRC22:27
maruncomstud: ping22:28
comstudmarun: pong22:28
marun comstud: I'm afraid I didn't get a chance to work on 'noyield' until today22:29
maruncomstud: It looks trivial if I'm not missing something.22:29
marunmock.patch('eventlet.hubs.hub.BaseHub.switch')22:29
marunwith this mocked out, no yielding is possible22:29
marun(I must be missing something though)22:29
kevinbentonmarun: https://review.openstack.org/#/c/81709/4/neutron/openstack/common/lockutils.py22:30
comstudthat stops yields to the hub.  but there's a couple of direct yields from one greenthread to another22:30
comstudin the queue code22:30
*** baoli has quit IRC22:30
comstudSo yes, that covers probably 99% of the cases22:30
comstudi doubt you'd use anything that would use Queue while in a transaction22:31
comstudheh22:31
maruncomstud: hmmm, will look...22:31
comstudthough note..22:32
comstudyou have to mock the object, not the class, right?22:32
comstudie, get_hub().switch22:32
*** beagles has quit IRC22:32
comstudwhich will be the current Hub object22:32
maruncomstud: I don't think it matters22:32
maruncomstud: er22:33
maruncomstud: question - why would it matter?22:33
comstudIf you mock the class, you'd have to do it before it's instantiated22:33
maruncomstud: I don't think that's true with mock22:33
comstudmaybe22:33
maruncomstud: normal monkey patching, you're definitely correct22:33
comstudmaybe there's some magic I'm not aware of22:33
maruncomstud: the mocking libraries are pretty smart about it22:33
comstudI have tried it :)22:34
maruncomstud: but it doesn't hurt to be careful22:34
comstuder22:34
comstudI haven't tried it22:34
maruncomstud: I'm not even sure if using mock is a good idea.22:34
maruncomstud: might be better to use less magic22:34
comstudI'd probably just monkey patch manually22:34
comstudthe get_hub() object22:34
kevinbentonmarun: it would be the only thing that brought the mock library into deployments :-)22:34
comstudusing mock outside of the tests seems... wrong22:34
comstudhehe22:35
comstudHere's the other case I was referring to:22:35
comstudhttps://github.com/eventlet/eventlet/blob/master/eventlet/queue.py#L10122:35
marunand what type is self.greenlet?22:35
comstudgreenlet.greenlet22:35
comstud(or it may be a eventlet.greenthread.Greenthread which is subclassed from greenlet.greenlet)22:36
comstudHere's one place that Waiter.switch() is called: https://github.com/eventlet/eventlet/blob/master/eventlet/queue.py#L24022:36
comstudBut there are other examples after that too22:37
comstudThe queue code bypasses the hub and directly switches to a waiting greenthread if necessary22:37
marunis it only the queue code that does that?22:37
marunand where does rlock fit in?22:37
comstudi'm checking22:37
comstudthreading.RLock is replaced by eventlet.semaphore.Semaphore22:38
comstudwhich I think just yields to the hub22:38
comstudyeah22:38
comstuddon't let this: https://github.com/eventlet/eventlet/blob/master/eventlet/semaphore.py#L12122:39
comstudfool you22:39
comstudthat method is only called while in the hub context after switching to the hub22:39
marunah, ok22:39
comstud( https://github.com/eventlet/eventlet/blob/master/eventlet/semaphore.py#L115 )22:39
comstudi'm checking for other direct greenthread switches22:39
marunso in the case of the queue, what about patching the queue such that calls with block=False are changed to block=True (or maybe raise an error)?22:40
marunit would appear that both get and put would be affected, since they both have _nowait variants22:40
*** b3nt_pin has joined #openstack-neutron22:41
comstudyou could break any code that relied on those to not block22:41
*** mlavalle has quit IRC22:41
comstud:)22:41
maruncomstud: I think we want that, though22:41
maruncomstud: anything that yields when a lock is held is dangerous22:42
maruncomstud: -> raise an error I mean.  changing the behavior, as you say, could have negative consequences22:42
comstudsomeone with code such as:22:42
comstudtry:22:42
*** b3nt_pin is now known as beagles22:43
comstud   while True:22:43
*** banix has quit IRC22:43
comstud       item = queue.get(block=False)22:43
comstudexcept Queue.Empty:22:43
comstud  ..22:43
ajoproject stats for , .. days22:43
ajonumber of days not allowed22:43
comstudwould break22:43
maruncomstud: right, but we can't allow yielding22:43
comstudbecause get() would all of the sudden block and never raise Empty22:43
maruncomstud: so we want it to break.22:43
maruncomstud: but raising an exception woudl be the preferred way22:43
comstudwell, you'd get a lock up in that case22:44
comstudwhich might be worse22:44
comstudheh22:44
maruncomstud: rather than changing the blocking behaviour22:44
comstudyeah you could do that... this is starting to feel a little hacky22:44
comstudi mean22:44
maruncomstud: it is entirely22:44
comstudwhat you're essentially doing..22:44
*** tchaypo is now known as jammyjam22:44
maruncomstud: but the alternative is more hacky22:44
comstudis the exact same thing that the semaphore does22:44
comstud:)22:45
comstudit keeps from switching greenthreads22:45
maruncomstud: not exactly22:45
maruncomstud: or wait, what?22:45
comstudYour goal here is to not allow greenthread switching while in the dbapi call right?22:45
marunarguably semaphore is worse...22:46
comstudThat's exactly what the semaphore decorator does22:46
marun2 greenthreads, both wanting to enter block A22:46
marun1 other unrelated greenthread22:46
comstud2 greenthreads don't ever run at the same time.22:46
maruncomstud: bear with me, please22:46
comstudsure go ahead22:46
marunso, greenthread #1 gets semaphore, yields22:46
marungreenthread #2 can't run, waiting on semaphore22:46
marungreenthread #3, runs for an arbitrary length of time22:47
comstudyeah, gotcha.22:47
marungreenthread #1 is waiting for control back while #3 runs22:47
marunso the lock gets held longer than it should22:47
marunThis 'hacky' alternative would allow #1 to complete and give up the lock faster22:47
comstudwell it doesn't matter if the lock was held or not22:47
marunnoyield22:47
comstudthe problem is that it still allowed a switch22:47
marunthe db lock i'm talking about22:47
comstudso I see the problem22:47
marununder the semaphore22:48
comstudOk gotcha22:48
comstudyep22:48
*** mwagner_bbl has joined #openstack-neutron22:48
marunso, given that use case, do you think it makes sense to pursue the alternative or is the semaphore still preferable?22:48
marunMy concern is that by introducing semaphores without preventing yields we are making it possible for other deadlocks to occur...22:49
marunwhack-a-mole22:49
comstudultimately you really shouldn't have another greenthread run for a long period of time22:49
marunif we can prevent yielding it might nip the problem in the bud.22:49
*** ale has joined #openstack-neutron22:49
comstudThat would actually cause a lot more problems...22:49
kevinbentonmarun: yep. already happened in that patch with our big switch plugin :-)22:49
comstudlike an extremely slow service22:49
comstud:)22:50
*** jobewan has quit IRC22:50
maruncomstud: the other + of adding this noyield everywhere we use db transactions would be tracking slow transactions22:50
maruncomstud: like 'slow query'22:50
maruncomstud: only at the sqla level22:50
comstudnod22:50
marunI don't think we have any visibility on this right now.22:50
*** b3nt_pin has joined #openstack-neutron22:51
marunin fact, maybe it makes sense to add the instrumentation first, and then think about preventing yields?22:51
marunthat should be more acceptable from a reviewer perspective and then preventing yields could be system-wide with only changes to the wrapper function22:51
marunthoughts?22:51
marunmarkmcclain, salv-orlando ^^22:52
comstudWell, let me talk about the endgame here first22:52
*** blogan has quit IRC22:52
marunok22:52
comstudwhich is that DBAPI calls are actually done in Threads22:52
comstud(when we have eventlet fixed or an alternative that isn't buggy with threads)22:53
maruncomstud: but does that imply only the calls to the server?22:53
comstudYou can potentially have the same problem, I think.. in that python could decide to switch Threads in the middle of the transaction22:53
comstudIt doesn't imply that, no22:53
*** beagles has quit IRC22:54
comstudyou can't conceivably do that...22:54
maruncomstud: that seems just as broken as today22:54
maruncomstud: why is that a win?22:54
comstudbecause you can actually do more than 1 DB call at once22:54
comstudand DB calls aren't completely serial22:54
comstudright now they lock up the whole process22:55
*** ale___ has joined #openstack-neutron22:55
maruncomstud: uh22:55
comstudwith Threads the I/O happens without the GIL locked22:55
* marun is boggled22:55
comstudso it's a win for performance, but doesn't address your current problem22:55
comstudok22:55
rkukuramarun, comstud: kevinbenton and I were thinking replacing with_lockmode(‘update’) with with_lockmode(‘update_nowait’) in a loop that yields might be a nice solution to the deadlock issue22:56
comstudlet me know which part I can explain better22:56
*** jorgem has quit IRC22:56
maruncomstud: I guess I'm confused as to how any solution that involves db locks can safely yield.22:57
* salv-orlando caught up on reading conversation. most things make sense.22:57
comstudWell, I've not gotten to addressing that problem yet22:58
*** ale has quit IRC22:58
comstud:)22:58
comstudI'm stating a direction that we need to go in general in openstack with respect to DB calls22:58
comstudin solving the problem that all DB calls block the whole process right now22:58
marunsalv-orlando: the question was whether it makes sense to add a transaction wrapper that can, at first, track duration of transactions22:58
comstudbecause eventlet can't wrap the I/O with the server22:58
comstudassuming mysql and mysqldb as the sql-a module22:58
salv-orlandoI've read the last 30 minutes, I think I'm up to date now22:58
marunsalv-orlando: and maybe be extended to provide additional details (like locks held) and maybe even prevent yields in the future22:59
marunsalv-orlando: if the first part seems valuable, we can implement without regard to the second, which may or may not be valuable22:59
*** ale___ has quit IRC22:59
maruncomstud: fair enough23:00
comstudSo, yielding is only a problem if you get a 'Deadlock' error23:00
maruncomstud: I guess the thing I'm struggling to decide is whether code can avoid deadlocks (by figuring out how not to yield in transaction) or whether deadlocks are an acceptable fact of life and can be mitigated (ala rkukura's update_nowait loop)23:00
comstudAnd apparently there's alternative queries that can be made to solve that23:01
marun'alternative queries'23:01
marun?23:01
comstudI don't know enough to expand much.. this is just what I've been told23:01
comstudthings like:23:02
comstudfoo = SELECT query..23:02
comstudif foo exists:23:02
comstud   UPDATE foo23:02
comstudelse:23:02
comstud    CREATE foo23:02
comstudcan be done in 1 query in mysql23:02
*** pcm_ has quit IRC23:02
comstudthat is just "UPDATE it... but create it if it doesn't exist"23:03
maruncomstud: in pg too?23:03
comstudas a dumb example.23:03
maruncomstud: :p23:03
comstudbut I don't think it's in pg, no :)  ANd I think that's the problem hehe..23:03
comstudbut anyway23:03
* marun shakes fist at pg23:03
maruncomstud: I'm not sure we have much room for that type of optimization23:03
comstudI think deadlocks are somewhat a fact of life23:03
comstudand that's why we retry them in nova23:03
maruncomstud: the problem tends to be cross-table updates where locking is required23:03
rkukuraWe need to avoid deadlocks, but we cannot avoid waiting for locks (like update locks) to be released. We need to bound how much time we spend waiting for a lock to be released without yielding to other greenthreads, or else we get deadlock.23:03
comstudI don't think we can reasonably determine what's going to cause them.23:03
marunrkukura: -> avoid yields23:04
comstudAnd by disallowing yields... you're removing parallelism (at least when using Threads)23:04
rkukurayield where you have to, but nowhere else23:04
comstud(because I think the only way to disallow yield with Thread would be to use your own lock :)23:04
maruncomstud: we should be avoiding parallelism in transactions, though23:04
comstudlike all of our db calls use transactions23:05
maruncomstud, rkukura: consider the case of multiple processes...23:05
comstudso yeah, that's another great example23:05
comstudyou can't really avoid yielding there :)23:05
marunholding locks is costlier than serialization23:05
marunwhen multiple processes are involved23:05
comstudunless you want to create a lock shared across processes23:05
maruni'm talking db locks23:05
marunso it implicitly is shared23:05
comstudyeah23:05
comstudI'm talking about.. say... you run 2 neutrons23:06
rkukuralocking rows is statically unlikely to collide so has much less contention that serializing23:06
marunwhat i'm saying is that to really scale we have to be multiprocess so serializing greengreads/threads at the cost of in-process parallization is preferable to the alternative23:06
comstudboth can be doing DB calls in parallel23:06
comstudlinux kernel could yield 1 process to another in the middle of a transaction23:06
comstudhow are you going to stop that?23:06
comstud:)23:06
maruncomstud: pin the processes to cores23:06
marun:p23:06
comstudI think the answer is that you don't stop yields and find a better alternative23:07
marun(i'm talking out of my ass023:07
comstudhaha23:07
kevinbentonacross multiple processes is okay though, because a thread failing to yield for DB lock doesn't effect the other process, right?23:07
comstudagain, I think this is another reason why we have the retry decorator in nova23:07
comstudIt's more the multi-process case23:07
maruncomstud: it's a smelly thing23:07
comstudi'm not sure it is23:07
comstudmysql says...23:07
maruncomstud: i can't help but feel that we're missing something23:08
comstudDeadlock: Retry the transaction23:08
*** b3nt_pin is now known as beagles23:08
comstud:)23:08
comstudIt's in the error message!!23:08
comstud;)23:08
beaglesdo we have row level locking available across all db backends23:08
rkukuraMy suggestion to use with_lockmode(‘update_nowait’) is intended to allow other greenthreads to do useful work during the time that with_lockmode(‘update’) would be blocked. If there is no other work to do, the process just spins trying to lock the row.23:08
marunbeagles: yes23:08
beaglesinteresting23:08
comstudhere23:08
comstudmarun: it's more argument for retry:23:08
comstud"Both deadlocks and lock wait timeouts are normal on busy servers and it is necessary for applications to be aware that they may happen and handle them by retrying."23:08
comstudhttp://dev.mysql.com/doc/refman/5.0/en/innodb-error-handling.html23:09
beaglesI am accustomed to the always having to anticipate a deadlock exception23:09
beaglesand deal23:09
comstudnod23:09
*** sacharya1 has quit IRC23:10
marunbeagles, comstud: I can see the logic of accepting deadlocks when we're not doing stupid things like yielding in the middle of a transaction.23:10
kevinbentonthe errors we get aren't usually "Deadlock: retry transaction" though23:10
marunthe smelly part is not in expecting deadlocks23:10
kevinbentonthat implies mysql understands it's a deadlock23:10
marunit's in stopping what we're doing for potentially stupid reasons23:10
kevinbentonwhich it doesn't in our case23:10
beagles"InnoDB uses automatic row-level locking. You can get deadlocks even in the case of transactions that just insert or delete a single row. That is because these operations are not really “atomic”; they automatically set locks on the (possibly several) index records of the row inserted or deleted. "23:10
beaglesfwiw23:10
marunretry-on-deadlock -> not bad23:11
comstudmarun: Think multi-process. You're going to be doing 2 DB calls at once no matter what23:11
beaglesactually just see https://dev.mysql.com/doc/refman/5.0/en/innodb-deadlocks.html.. moving on23:11
marunretry-on-deadlock + yield -> smells23:11
comstudthat's what this mysql error page is talking about really23:11
beaglesmarun, k23:11
comstud'under high load, deadlocks are going to happen no matter what'23:11
comstudNow I'm sure that means some parallelism is required for that23:12
maruncomstud: you don't need to convince me.  see: retry-on-deadlock -> not bad23:12
comstudBut what are you going to do then...23:12
comstudlimit yourself to 1 process?23:12
comstudheheh ok23:12
maruncomstud: it's the yielding that widens the window for deadlock, and I wonder if that could be avoided23:12
maruncomstud: it has nothing to do with multiprocess23:12
comstudi argue that it doesn't23:12
kevinbentonthose are mysql deadlocks it's referring to, which are fine because they are detected right away23:12
comstudWell23:13
kevinbentonthe lock wait timeout is the eventlet/mysql deadlock, which takes a painfully long time (relatively) to notice23:13
comstudI argue that it doesn't any more than multiprocess does23:13
comstudyeah23:13
comstudthe lock wait timeout is a larger problem23:13
maruncomstud: except that linux is waaaaaaay fing smarter in scheduling23:13
maruncomstud: come on, eventlet is coorperative!23:13
comstudhehe23:13
*** markmcclain has quit IRC23:14
maruncomstud: we wouldn't expect a process to not get a slice, what, millions of times/second?23:14
maruncomstud: anyway, i get your point that maybe it doesn't matter23:14
comstud:)23:14
comstudJust for you...23:14
marunand that workarounds now might conflict with switches from threads23:14
comstudI'm going to add an option to disable switches in my eventlet replacement.23:14
marunfrom -> threads23:15
marun:)23:15
marunfrom -> to *sigh*23:15
comstudbut yeah, I think eventually any code you try to patch for eventlet..23:15
maruncomstud: so, after all that...23:15
comstudwill end up going away because we'll be using real Threads23:16
comstudin which case, there will only be 1 greenthread in that Thread.. yours23:16
maruncomstud: is there value at least in tracking transaction duration (at least when locking is involved)?23:16
comstudSure, stats are good23:16
marunwhen are we going to be using 'real threads' anyway?23:16
comstudI don't know23:16
comstudwhen either23:16
comstud1) We get a fix from eventlet23:16
comstud2) We replace eventlet23:17
comstud(with something Thread safe)23:17
comstud#1 has a potential patch that needs testing23:17
marunrkukura: so, I'm going to work on adding instrumentation to all transactions.  wrapper method/helper/whatever.  it should be compatible with whatever we end up doing, and allow easier identification of problem cod23:17
marune23:17
comstudbut it's very new experimental code23:17
maruncomstud: so, 'someday' :)23:17
comstud#2 I'm almost there with, also, but has the same issue, I guess.23:18
comstudhehe yes23:18
comstudsoonish I hope23:18
maruncomstud: so, plan of action...23:18
maruncomstud: wrap all transactions in neutron so they can be instrumented23:18
maruncomstud: then experiment with halting yielding (maybe only when locks are used)23:18
*** alexpilotti has quit IRC23:18
maruncomstud: if we end up adopting a noyield, we can easily pull it out - only have to change the transaction wrapper23:19
maruncomstud: make sense?23:19
*** rm_work is now known as rm_work|away23:19
openstackgerritA change was merged to openstack/neutron: Prevent cross plugging router ports from other tenants  https://review.openstack.org/8339123:19
comstudyeah, makes sense23:20
comstudi'm not gonna stop you from trying no-yield :)23:20
comstud1) i'm curious the results23:20
comstud2) i don't have a large influence over neutron ;)23:21
rkukuramarun: I’m not opposed you your plan, but am not very confident that preventing yields really resolves the deadlock.23:21
comstudbut we'd probably not bother with that in nova23:21
maruncomstud, rkukura: the plan is really instrumentation-focused23:21
comstudexcept maybe stats, which are always useful23:21
comstudnod23:21
marunrkukura: I agree with you23:22
marunrkukura: noyield won't prevent deadlocks across processes23:22
rkukuraI think focusing on preventing the long-term socket wait inside the mysql C library is what’s needed23:22
marunrkukura: only within a process23:22
marunrkukura: but it won't be expensive23:22
marunrkukura: once we have instrumentation, the cost to insert noyield is trivial23:22
rkukuramarun: I’m OK with the instrumentation23:22
marun(and the cost to remove it)23:22
rkukuraand I completely agree unecessary yields inside transactions should be eliminated23:22
maruncomstud: and maybe the transaction wrapper is where we insert retry-on-deadlock?23:23
rkukurabut if a thread needs to lock a row thats already locked, we need to yield instead of blocking23:23
marunrkukura: right23:23
marunrkukura: the point is blocking on everything but db locking23:24
comstudmarun: yeah, I think so23:24
maruncomstud: is there a reason the nova decorator is applied on functions rather than on transactions?23:24
maruncomstud: and should we pursue the same strategy in neutron?23:25
comstudbecause most of our functions immediately grab a session and start a transaction23:25
comstudWe can only add it on the DB API call if the whole thing is inside a transaction23:25
comstudotherwise you might be re-trying something that didn't get rolled back in the transaction23:25
comstudmarun: I haven't look at neutron db code, so I can't answer...23:26
comstudif you're building a transaction manager, it should go there23:26
comstudi mean23:27
comstudwe're using mysql in a way such that there are implicit transactions23:27
comstudin nova anyway23:27
comstudalthough there can be subtransactions23:27
comstudbut you'll notice at the top of our methods with the retry decorator...23:28
comstudthe very first thing is typically with session.begin():23:28
marunrkukura: is there a reason we aren't doing the same in neutron?23:28
comstudand all code is under that23:28
*** jgrimm has quit IRC23:28
*** packet has quit IRC23:29
maruncomstud: ok, it might make sense to do the same23:30
maruncomstud: I was pretty opposed to retry-on-deadlock when I saw it, and now…*sigh*23:30
comstudI should have dug out this mysql error handling refernece sooner23:30
comstud:)23:30
maruncomstud: With my luck I'll end up giving the next questionable idea I see the benefit of the doubt, to my detriment.23:31
comstudI'd somewhat forgotten that it tells you right in the error message to retry23:31
comstudhaha23:31
comstudi'll buy you a beer if it makes you feel better23:31
marun:)23:32
comstudor your choice of beverage23:32
marunrkukura, kevinbenton: thoughts on a generic retry-on-deadlock decorator vs explicit update_nowait?23:33
comstudit kinda seems like that maybe only does anything on pg23:34
comstudmaybe not23:34
maruncomstud: you mean the decorator?23:34
comstudupdate_nowait23:34
marunarg23:35
maruni think you're right23:35
marunrkukura, kevinbenton ^^23:35
marunnon-blocking queries are _not_ supported in mysql23:36
comstudI don't see any NOWAIT option in mysql docs23:36
salv-orlandothanks for this very informative discussion… just to make sure I'm following. Are we talking about a retry decorator for lock wait timeouts?23:36
comstudfor SELECT FOR UPDATE23:36
marunsalv-orlando: yes23:36
comstudfor deadlocks probably more than the lock wait timeouts23:36
comstudbut really for both23:36
comstudthe lock wait timeouts are a special problem tho, because it takes 60s by default to timeout23:37
marunsalv-orlando: if we keep beating our heads against the wall, eventually we're bound to break through!23:37
comstudmeanwhile your whole process is locked up23:37
salv-orlandocomstud: exactly what I was saying (50 sec by default)23:37
maruncomstud: unless we yield ;)23:37
comstudok, 5023:37
maruncomstud: oh wait23:37
maruncomstud: C :(23:37
comstudcan't yield.. unless you're using Threads23:37
comstudwhich is another reason why we need Threads23:37
comstud:)23:37
comstudyep23:37
marunugh23:37
salv-orlandomarun: It would not be the first time I break a wall only to find out there's an abyss on the other side...23:37
marunso nowait still might be useful23:37
comstudor you switch to make sql-a use the pure python mysql module23:38
comstudand trade for slowness23:38
marunsorry, noyield23:38
maruncomstud: hmm.  are there metrics on the tradeoff?23:38
maruncomstud: under load, i can imagine lock contention being worse23:38
comstudi don't have any handy23:38
maruncomstud: but that's a guess23:38
*** rkukura has quit IRC23:38
maruncomstud: based on 50s timeouts!23:39
marunthat's terrible23:39
*** Sukhdev has joined #openstack-neutron23:39
*** ale___ has joined #openstack-neutron23:39
comstudso23:39
maruncomstud: so, thinking of the timeouts, avoiding them is only possible with semaphores? :(23:39
comstudthose are a particular problem with the actual queries, I think23:39
comstudmoreso than immediate deadlock error23:39
comstudmarun: different sql queries I think is the only solution23:40
comstudremember I keep going back to the multi-process case23:40
comstudI think the solution should cover it as well, if there is any23:40
maruncomstud: no problem, we'll just change our entire schema!23:40
comstudhaha23:40
comstudyeah, no problem.23:40
openstackgerritCarl Baldwin proposed a change to openstack/neutron: Delete duplicate external devices in router namespace  https://review.openstack.org/8362423:40
marundefinitely agree with the multi-process23:40
Sukhdevmestery: ping23:40
*** rkukura has joined #openstack-neutron23:40
*** ale___ has quit IRC23:41
comstudI've got to bail out for now23:41
salv-orlandocomstud: thanks a lot for joining the conversation23:41
maruncomstud: thank you for the conversation, informative as always :)23:41
comstudping me tomorrow if anything else comes up :)23:41
marunwill do23:41
comstudno problem23:41
rkukuracomstud: thanks!23:41
comstudsure!23:41
comstudoutti23:41
* comstud &23:41
marunrkukura: it looks like non-blocking queries aren't supported in mysql23:42
marunrkukura: pg only23:42
marunrkukura: or did I miss something?23:42
*** gdubreui has quit IRC23:42
rkukuramarun: I’ll talk to dkehn about that - he knows mysql internals23:42
marunrkukura: http://docs.sqlalchemy.org/en/rel_0_9/orm/query.html23:43
marunrkukura: sqla 0.9 shows update_nowait only supported by pg and oracle backends23:44
*** _cerberus has joined #openstack-neutron23:44
salv-orlandothere's that (and keep in mind more DB backends might be official supported in the future), and that there in some cases you really want the full lock (thinking IPAM for instance).23:44
salv-orlandoI mean I like the idea of preventing yields.23:44
marunsalv-orlando: what do you mean 'full lock'?23:45
salv-orlandothe thing which is not the with_lockmode('update_nowait')23:45
salv-orlandoso with_lockmode('update')23:45
salv-orlandothe blocking query23:45
marunthe intention was to use update_nowait in a loop23:46
rkukuramarun: looks like you are right re mysql23:46
marunrkukura: :(23:46
marunrkukura: comstud pointed that out23:46
marunrkukura: I wish it weren't so - waiting for lock timeout in the C code is something we'd best avoid23:46
marunrkukura: no way to yield or do anything useful while that's happening, meanwhile requests pile up23:47
*** sacharya has joined #openstack-neutron23:47
marunrkukura: semaphore is the only surefire way to avoid, though we might be able to tune the timeout23:47
marun(or just make the damn transactions faster)23:47
rkukurawonder if there is a way to use a very short timeout to simulate nowait with mysql23:48
marunrkukura: it probably makes sense to do so23:48
marunrkukura: i think the default timeout is 50s23:48
salv-orlandohonestly, I still like more the idea of preventing the yield.23:48
marunrkukura: if it were way shorter than looping to acquire would make sense23:48
marunsalv-orlando: haven't given up on it :)23:48
marunsalv-orlando: just covering the angles23:48
mesterySukhdev: pong23:48
rkukuraI’m wondering if we could insert some SQL into the query forcing a 10ms timeout or somthing like that, then loop/yield23:49
marunsalv-orlando: honestly, it may or may not be viable.  If we instrument all the transactions at least the cost of experimentation will be low23:49
beaglesmarun, salv-orlando for my own clarity... what yield are you referring to?23:49
marunrkukura: definitely worth investigating23:49
salv-orlandothe way our db access work is that it's serialized anyway at the end of the day. So if people don't do a lot of non-db stuff within a transaction I suspect performance impact won't be a lot23:49
mesterySukhdev: About to shutdown for a bit, I'll be back online later.23:50
salv-orlandomarun: the funny thing is that the lenght of a transaction might actually be impacted by yields!23:50
salv-orlandobeagles: to cut a long story short, here's my summary23:50
beaglesunless it is not a one-line answer... that is.23:50
salv-orlandocoming...23:51
salv-orlandoa greenthread starts a transaction and get a db lock (select for update).  Then from within the transaction it yields (a log statement would trigger that). Control is given to another thread which open a transaction and tries to retrieve the lock held by the other thread.23:51
salv-orlandoThe 2nd thread blocks there and does not yield because greenthreads are dumb after all.23:52
salv-orlandoresult: 2nd thread fails for "lock wait timeout"23:52
* beagles nods23:52
kevinbentonbeagles: here it is shown through the power of boxes with lines!23:53
kevinbentonbeagles: https://docs.google.com/drawings/d/13A2x4AWbf8zmzeGApUmYVlBrW8CMTPFTCBGSP_nTzDA/edit?usp=sharing23:53
salv-orlandoso marun is thinking in mocking eventlet from within transactions in order to avoid this23:53
beaglescool...23:53
*** mestery has quit IRC23:53
marunsalv-orlando: will minimize the time that locks are held, but won't prevent cross-process deadlock23:53
marunsalv-orlando: retry-on-deadlock decorator from nova is probably required regardless to cover that case (despite my initial reservations)23:54
salv-orlandomarun: on this I agree with comstud that the deadlock is a different problem23:54
beaglesregarding the yield thing.. the mocking... that's pretty radical :)23:54
salv-orlandoyes, you would still need the retry decorator23:54
marunbeagles: well, call it 'patching' instead ;)23:54
beaglesI'm familiar with the implicit yield on i/o23:54
salv-orlandobeagles: I see it as working around what is at the end of the day an eventlet issue23:54
marunthe basic intent is to nip the current trend in deadlocking errors in the bud, since fixing one area seems to cause problems in another....23:55
*** rkukura has quit IRC23:56
*** pnavarro has quit IRC23:56
*** cgoncalves has quit IRC23:56
*** linuxgeek_ has quit IRC23:57
*** cgoncalves has joined #openstack-neutron23:57
*** otherwiseguy has quit IRC23:59

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