Thursday, 2020-05-14

*** hongbin has quit IRC00:15
*** hongbin has joined #openstack-lbaas00:28
rm_workdamnit, i was going to ask the original author for help on this confusing test: https://github.com/openstack/octavia/blame/master/octavia/tests/unit/network/drivers/neutron/test_allowed_address_pairs.py#L20300:49
rm_workand then i looked at the git-blame <_<00:49
*** wuchunyang has joined #openstack-lbaas00:55
*** wuchunyang has quit IRC01:06
*** jamesdenton has joined #openstack-lbaas01:17
*** jamesdenton has quit IRC01:22
*** jamesdenton has joined #openstack-lbaas01:25
*** wuchunyang has joined #openstack-lbaas01:41
johnsomlol, I hate it when that happens01:50
*** sapd1 has quit IRC02:20
*** hongbin_ has joined #openstack-lbaas02:25
*** hongbin has quit IRC02:28
*** sapd__x has joined #openstack-lbaas02:38
*** ramishra has joined #openstack-lbaas02:44
openstackgerritAdam Harwell proposed openstack/octavia master: Share the LB security group with the LB owner  https://review.opendev.org/72373503:17
*** psachin has joined #openstack-lbaas03:23
*** hongbin_ has quit IRC03:29
openstackgerritwu.chunyang proposed openstack/octavia master: Add notifications specification documens  https://review.opendev.org/72791503:40
wuchunyanghi eveyone, will we have a discuss about  octavia notification ?03:41
openstackgerritwu.chunyang proposed openstack/octavia master: Add notifications specification documens  https://review.opendev.org/72791503:50
*** wuchunyang has quit IRC04:05
*** wuchunyang has joined #openstack-lbaas04:18
*** wuchunyang has quit IRC04:23
*** gcheresh has joined #openstack-lbaas04:33
*** vishalmanchanda has joined #openstack-lbaas04:48
*** wuchunyang has joined #openstack-lbaas04:56
*** wuchunyang has quit IRC05:02
openstackgerritAdam Harwell proposed openstack/octavia master: Refactor the failover flows  https://review.opendev.org/70531705:11
openstackgerritAdam Harwell proposed openstack/octavia master: Share the LB security group with the LB owner  https://review.opendev.org/72373505:12
*** KeithMnemonic has quit IRC05:14
openstackgerritwu.chunyang proposed openstack/octavia master: Fix hacking min version to 3.0.1  https://review.opendev.org/72793105:52
*** wuchunyang has joined #openstack-lbaas05:57
*** maciejjozefczyk has joined #openstack-lbaas07:06
*** ccamposr has joined #openstack-lbaas07:11
*** sapd1 has joined #openstack-lbaas07:11
*** ccamposr__ has quit IRC07:14
*** rpittau|afk is now known as rpittau07:33
*** ataraday_ has joined #openstack-lbaas07:33
openstackgerritwu.chunyang proposed openstack/octavia master: Fix hacking min version to 3.0.1  https://review.opendev.org/72793108:31
openstackgerritAnn Taraday proposed openstack/octavia master: Add retry for getting amphora VM  https://review.opendev.org/72608410:10
*** wuchunyang has quit IRC10:14
*** rpittau is now known as rpittau|bbl10:18
openstackgerritAnn Taraday proposed openstack/octavia master: Add retry for getting amphora VM  https://review.opendev.org/72608410:20
openstackgerritmelissaml proposed openstack/octavia master: Remove translation sections from setup.cfg  https://review.opendev.org/72802510:55
*** wuchunyang has joined #openstack-lbaas11:01
*** happyhemant has joined #openstack-lbaas11:33
*** servagem has joined #openstack-lbaas11:47
*** tkajinam has quit IRC12:01
*** rpittau|bbl is now known as rpittau12:15
*** wuchunyang has quit IRC12:48
*** psachin has quit IRC13:25
johnsomhttps://www.theregister.co.uk/2020/05/14/openstack_ussuri/13:40
cgoncalvesyay!13:42
*** wuchunyang has joined #openstack-lbaas13:43
*** KeithMnemonic has joined #openstack-lbaas13:43
cgoncalvesone good metric for measuring how important OpenStack is to a (vendor) organization is by number of commits...13:46
*** TrevorV has joined #openstack-lbaas14:07
*** riuzen has joined #openstack-lbaas14:32
*** maciejjozefczyk has quit IRC14:33
*** maciejjozefczyk has joined #openstack-lbaas14:33
openstackgerritwu.chunyang proposed openstack/octavia master: Fix hacking min version to 3.0.1  https://review.opendev.org/72793114:49
*** gcheresh has quit IRC15:03
*** gcheresh has joined #openstack-lbaas15:10
*** wuchunyang has quit IRC15:20
*** riuzen has quit IRC15:22
*** numans has joined #openstack-lbaas15:28
*** rpittau is now known as rpittau|afk16:01
*** gregwork has joined #openstack-lbaas16:03
*** happyhemant has quit IRC16:22
*** maciejjozefczyk has quit IRC16:39
*** ccamposr__ has joined #openstack-lbaas16:40
*** ccamposr has quit IRC16:43
*** gcheresh has quit IRC16:44
*** vishalmanchanda has quit IRC17:23
*** gcheresh has joined #openstack-lbaas17:25
*** gcheresh has quit IRC17:43
*** sapd__x has quit IRC17:55
*** ataraday_ has quit IRC18:26
*** gcheresh has joined #openstack-lbaas19:16
*** gcheresh has quit IRC19:40
*** servagem has quit IRC20:19
*** maciejjozefczyk has joined #openstack-lbaas20:36
*** maciejjozefczyk has quit IRC20:42
rm_workhmmmmmmmmm docs build STILL broken and blocking pep8 fix? <_<21:47
rm_workugh so apparently somehow my SG change is catching ports before they have IPs? O_o21:48
rm_workhttps://zuul.opendev.org/t/openstack/build/6cb4292884614a6c9cbcdadf342df308/log/controller/logs/screen-o-cw.txt#521921:48
rm_worknot sure how that's the case... how long do i need to wait for ports to get IPs? shouldn't they have one by the time it is bound?21:48
johnsomThe docs breakage was a new change in openstackdocstheme, the revert is making its way through requirements now. (per the e-mail)21:53
johnsomAre you not checking if SGs are enabled? I think we have some tests that run on non-port security nets21:55
rm_workhmmm i thought i was, will double check21:56
johnsomAh, nevermind, I can scroll up and see they are enabled21:56
rm_workalso yes, confirmed21:56
johnsomoh, nevermind again, that is the extension21:56
rm_work`if self.sec_grp_enabled and load_balancer:`21:56
rm_worki guess i could add some logging and check if the port is actually IP'd21:57
johnsomYeah, I am just looking at your code to understand the timing in it21:58
rm_workyeah i was trying to do it in the plug_port21:59
johnsomplug_network seems to be where you got the error.21:59
johnsomYeah, So that call to neutron is async, I bet it's just not done yet when your call comes around.22:00
rm_workerr yeah plug_network22:00
rm_workerr which call22:00
johnsomWe just didn't care before as do a bunch of stuff before actually using that port22:00
rm_work`attach_network_or_port`?22:00
johnsomyeah22:01
*** TrevorV has quit IRC22:01
rm_workhmm22:01
johnsomerr, compute call, sorry, not neutron, but probably still neutron async behind the curtain22:01
johnsomThat would be my guess22:02
rm_workyeah22:02
rm_workmaybe i can move the logic to the post-plug22:02
rm_workbut, that's an amp task not a network task22:03
johnsomThat is a amp call though, so maybe not the best place22:03
rm_workmaybe needs its own task22:03
johnsomI might add a status waiter to compute.attach_net_or_port22:03
johnsomOr some retries to your sg method22:04
rm_workyeah that could work too, i suppose no matter where i put it, it risks not being done yet due to timing or other issues22:04
rm_worknot sure what object this is exactly22:05
rm_workan "interface" is a port? kinda?22:05
rm_workdoes this action actually have a status...22:06
johnsomWell, this is "grumble, grumble, Brandon German" grumble. Sometimes it's a network driver object, sometimes it's a DB object22:06
rm_worklol22:07
xgermanYeah, we ask nova to call Neutron to..,22:08
rm_workin this case that "interface_attach" is even the name of the nova client call tho22:08
rm_workbut interface isn't actually a real nova object AFAIK22:09
johnsomWell, the nova call doesn't return a status, so I would have to look if that compute driver call does a port query or not.22:09
xgermanThe benefit is that the if the vom dies nova cleans  up the mess22:09
rm_work`/servers/%s/os-interface`22:10
rm_workhmm22:10
johnsomYeah, you would have to make another API call for status it looks like22:11
johnsomhttps://docs.openstack.org/api-ref/compute/?expanded=create-interface-detail#id17822:11
rm_worki still don't understand what this even is22:12
rm_workso there should be a client command to get port-interfaces on servers?22:12
rm_workthere's a GET defined...22:12
johnsomhttps://docs.openstack.org/api-ref/compute/?expanded=create-interface-detail,show-port-interface-details-detail#show-port-interface-details22:13
johnsomYeah, but I don't know if that "port_state" is useful information or just, yeah, there is a port22:13
johnsomIt might be best to query the port in neutron directly22:14
rm_workport doesn't have good status either...22:15
rm_workUP/DOWN is not useful22:15
rm_work`ip_allocation = deferred` isn't updated after it's complete, always stays like that forever22:16
rm_workthere's `data_plane_status` but it's just showing as `None` for me on our ports22:16
johnsomdata_plane_status22:16
johnsomOh22:16
rm_workcan look at `fixed_ips` i guess and just make sure it has one <_<22:16
rm_workbut worried if there are any cases where that might stall things badly22:16
xgermanDon’t we retry until the next thing works? Why can’t you do that?22:17
johnsomRight, that and maybe status which has a "BUILD" state, though I don't know that I have seen it22:17
rm_workyeah I will try some retries first22:17
rm_workand see what that looks like22:17
xgermanYep, that’s the k8s way22:18
xgermanRetries...22:18
johnsomOh, then don't do that...  grin22:18
xgermanLol22:18
johnsomhttps://github.com/hjacobs/kubernetes-failure-stories22:19
johnsomxgerman I got a laugh out of this: https://raw.githubusercontent.com/intel/multus-cni/master/doc/images/multus-pod-image.svg22:20
johnsomLooks awfully familiar somehow22:20
xgerman+122:23
openstackgerritAdam Harwell proposed openstack/octavia master: Share the LB security group with the LB owner  https://review.opendev.org/72373522:31
rm_workk we'll see if retries help22:31
johnsomJust keep beating on it until it accepts your SG! lol22:32
rm_work:D22:50
*** tkajinam has joined #openstack-lbaas22:58

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!