Tuesday, 2018-12-11

rm_workjohnsom: i'm just not seeing how this patch helps unless "fixed_ips" contains more than one address, and I'm not sure how it would?00:12
rm_workwait, *is this* inside the amp? or not00:14
openstackgerritMichael Johnson proposed openstack/octavia master: Adds flavor support to the amphora driver  https://review.openstack.org/62132300:14
rm_workah yeah ok it is00:15
johnsomrm_work It's inside00:15
rm_worknaming collision with something we use outside confused me00:15
rm_workso we pass the port_info into the request to the amp00:16
rm_workwhich includes the fixed_ips list00:16
rm_workbut I'm not sure what case we'd generate that with multiple IPs00:16
johnsomNova tells us that list when we get the port back00:16
rm_workright ok00:17
rm_workbut this goes back to "how does nova know what subnet we want"00:17
rm_workand why would nova ever give us a port with multiple00:17
johnsomI don't think it does, I think it sends them all in the way we are asking for stuff.00:17
rm_workso this takes care of the case of them not coming up right internally, assuming it's set up properly externally00:17
rm_workbut we would never add the right subnets to the ports00:18
johnsomright, basically we were getting a list len > 1 and we were only setting up one address00:18
rm_workbecause i think it's pure dumb luck this works at all00:18
johnsomThat patch makes it bring them all up00:18
rm_workbecause per earlier, we appear to just ask nova for a port on a network00:18
rm_workand it *guesses* what subnet00:18
rm_workbecause we never specify that00:18
johnsomNo, neutron will give ALL subnets on the network back in the port details00:18
rm_workerrr, that's not true00:19
rm_worki'm looking at one right now00:19
johnsomIf we specify it would only be one00:19
rm_workif i create a port on a network in neutron00:19
rm_workhmmmm ok00:20
rm_workso it does00:20
rm_workif i just "create a port"00:20
rm_workbut i'm looking at ports on LBs00:20
rm_workoh, maybe it also does?00:20
rm_workone sec00:20
rm_workhmm no00:21
rm_workerr wtf00:21
rm_workok give me a minute00:21
rm_workthe ports aren't actually bound to the server?00:22
johnsomhttps://www.irccloud.com/pastebin/q7PpjFFK/00:23
rm_workok that's not what I get00:24
rm_workhttp://paste.openstack.org/show/UcqKSu5lHm6SEDZFSd72/00:25
rm_workthat's one of the two subnets on the network00:25
rm_workit didn't bind the ipv4 subnet on that port00:26
rm_workdo i need the patch for that to happen correctly?00:26
johnsomNo, that is master + my flavors stuff, but not the IPv6 fixes00:27
rm_workhmmm00:27
johnsomIt has worked that way for me for years frankly00:27
rm_workso on devstack, the private network has two subnets, right?00:27
johnsomMine does as I'm IPv6 enabled on the host00:27
rm_workprivate-subnet and ipv6-private-subnet00:27
rm_workyes00:27
rm_workso00:28
johnsomyeah00:28
rm_worki'm creating a new LB00:28
johnsomI do: openstack loadbalancer create --name lb1 --vip-subnet-id private-subnet00:28
johnsomAn that is what created the port I pasted you00:28
rm_workright ok00:28
rm_workso i just did that00:28
rm_workwaiting for it to come up00:29
*** yamamoto has quit IRC00:49
rm_workhmmmmmmm00:51
rm_workso when i make an LB with ipv4 VIP, it does like yours00:52
*** PagliaccisCloud has joined #openstack-lbaas00:52
rm_workwhen I make it with an ipv6 VIP...00:52
rm_workthe ports only get ipv6, no ipv400:52
rm_workSO00:52
rm_workwhen I create a member with an ipv6 subnet specified, it creates the port with only ipv600:53
rm_workand then when i add a member with ipv4, it doesn't do anything with the port, and there's no ipv4 routes00:53
rm_workbut i bet if i do it the other way around, it'll be ok?00:53
openstackgerritMichael Johnson proposed openstack/octavia master: Add provider driver capabilities API  https://review.openstack.org/62419000:54
openstackgerritMichael Johnson proposed openstack/octavia master: Add provider driver capabilities API  https://review.openstack.org/62419000:54
rm_workahhhh yeah wow even with the VIP, when I tell it to make one on private-subnet, i get an ipv4 and ipv6 VIP O_o00:59
rm_workbut if i tell it to make it on the ipv6-private-subnet it does not get both01:01
rm_workmust be a neutron peculiarity01:01
rm_workthey assume "you always get ipv6 no matter what"01:02
johnsomI know we have some funky code for "picking" subnets/addresses for the VIP01:05
rm_workhmmm ahhh maybe i'm having issues because of that01:06
rm_workyeah hah i bet01:06
rm_workone sec01:06
rm_workok yeah01:12
rm_workso your patch fixes it01:13
rm_workthe issue *I* was having was specifically because I was doing member on vip network01:13
rm_workand i was using an ipv6 VIP01:13
rm_workwhich then didn't allow an ipv4 member01:13
rm_work>_<01:13
rm_workbut if i use your patch and do an ipv6 vip on a DIFFERENT subnet from my members, it works fine01:14
rm_workjohnsom: were you maintaining that patch or no01:14
rm_workjohnsom: i'd like to merge it, but it needs a test or something...01:14
johnsomI moved on and will eventually circle back, but feel free to take it and run01:14
rm_workk01:15
rm_worki'l see if i can figure out where to add an appropriate test01:15
rm_workugh i want to submit a fix for the test i was debugging earlier even if i won't be updating the code lol01:15
openstackgerritAdam Harwell proposed openstack/octavia master: demystify the calculate_network_delta unit test  https://review.openstack.org/62425901:18
openstackgerritMichael Johnson proposed openstack/octavia master: Add provider driver capabilities API  https://review.openstack.org/62419001:18
*** ianychoi has quit IRC01:20
openstackgerritMichael Johnson proposed openstack/octavia master: Adds flavor support to the amphora driver  https://review.openstack.org/62132301:24
openstackgerritMichael Johnson proposed openstack/octavia master: Add provider driver capabilities API  https://review.openstack.org/62419001:24
rm_workok, tomorrow01:28
rm_worki'll figure that out01:28
openstackgerritZhaoBo proposed openstack/octavia master: Add boolean TLS option into Pool for backend re-encryption  https://review.openstack.org/62426403:08
openstackgerritZhaoBo proposed openstack/python-octaviaclient master: Add TLS option into Pool CLI  https://review.openstack.org/62426503:09
*** hongbin has joined #openstack-lbaas03:15
openstackgerritZhaoBo proposed openstack/octavia master: WIP: Add boolean TLS option into Pool for backend re-encryption  https://review.openstack.org/62426403:26
openstackgerritZhaoBo proposed openstack/octavia master: Amp driver support sni option to send the hostname to backend  https://review.openstack.org/62426703:26
*** bzhao__ has joined #openstack-lbaas03:28
bzhao__LOL. ;-)03:51
openstackgerritZhaoBo proposed openstack/octavia master: Add boolean TLS option into Pool for backend re-encryption  https://review.openstack.org/62426403:54
*** ramishra has quit IRC03:59
*** yamamoto has joined #openstack-lbaas04:46
*** jarodwl has joined #openstack-lbaas05:02
*** hongbin has quit IRC05:07
*** ramishra has joined #openstack-lbaas05:26
*** yboaron_ has joined #openstack-lbaas06:00
*** jmccrory has quit IRC06:34
*** jmccrory has joined #openstack-lbaas06:40
*** rcernin has quit IRC06:43
openstackgerritYang JianFeng proposed openstack/python-octaviaclient master: Add provider command support  https://review.openstack.org/62429407:00
openstackgerritxulei proposed openstack/octavia-dashboard master: Modify http to https.  https://review.openstack.org/62429607:08
openstackgerritxulei proposed openstack/octavia-dashboard master: Modify http to https.  https://review.openstack.org/62429607:10
*** ramishra has quit IRC07:15
*** ccamposr has joined #openstack-lbaas07:34
*** yboaron_ has quit IRC07:35
openstackgerritYang JianFeng proposed openstack/python-octaviaclient master: Add provider command support  https://review.openstack.org/62429407:40
*** oanson has quit IRC07:54
*** ramishra has joined #openstack-lbaas08:01
*** rpittau has joined #openstack-lbaas08:05
*** gcheresh_ has joined #openstack-lbaas08:08
*** rpittau has quit IRC08:09
openstackgerritYang JianFeng proposed openstack/python-octaviaclient master: Add provider command support  https://review.openstack.org/62429408:11
*** velizarx has joined #openstack-lbaas08:12
openstackgerritReedip proposed openstack/octavia-tempest-plugin master: Modify Member tests for Provider Drivers  https://review.openstack.org/59847608:19
*** rpittau has joined #openstack-lbaas08:26
*** ramishra has quit IRC08:44
*** ramishra has joined #openstack-lbaas08:51
*** yamamoto has quit IRC09:01
*** yamamoto has joined #openstack-lbaas09:18
*** rpittau has quit IRC09:24
*** yamamoto has quit IRC09:27
*** pbourke_ has quit IRC09:54
*** yamamoto has joined #openstack-lbaas10:06
*** salmankhan has joined #openstack-lbaas10:08
*** yamamoto has quit IRC10:10
*** salmankhan has quit IRC10:21
openstackgerritCarlos Goncalves proposed openstack/python-octaviaclient master: Add failover an amphora client support  https://review.openstack.org/53242410:21
*** salmankhan has joined #openstack-lbaas10:21
*** rpittau has joined #openstack-lbaas10:26
*** yamamoto has joined #openstack-lbaas10:45
*** yamamoto has quit IRC10:47
*** tobias-urdin is now known as tobias-urdin|lun11:00
*** tobias-urdin|lun is now known as tobias-urdin_afk11:01
*** yamamoto has joined #openstack-lbaas11:11
*** yamamoto has quit IRC11:16
*** yamamoto has joined #openstack-lbaas11:16
*** tobias-urdin_afk is now known as tobias-urdin11:27
*** salmankhan has quit IRC11:46
*** salmankhan has joined #openstack-lbaas11:50
*** yamamoto has quit IRC12:23
*** rpittau is now known as rpittau|lunch12:25
*** yamamoto has joined #openstack-lbaas12:28
*** yamamoto has quit IRC12:32
openstackgerritMerged openstack/octavia master: Correct the base class for v2 l7rules type tests  https://review.openstack.org/61939712:35
*** velizarx has quit IRC12:49
*** velizarx has joined #openstack-lbaas13:03
*** yamamoto has joined #openstack-lbaas13:05
*** rpittau|lunch is now known as rpittau13:31
*** aojea_ has joined #openstack-lbaas13:45
*** reedipb has joined #openstack-lbaas13:59
*** salmankhan has quit IRC14:01
*** salmankhan has joined #openstack-lbaas14:01
reedipb@johnsom, @xgerman , @cgoncalves : hi14:02
reedipb@johnsom, @xgerman , @cgoncalves : I wanted to know a bit about the flavors concept in Octavia14:02
reedipb@johnsom, @xgerman , @cgoncalves : precisely my question is , if the flavors functionality for Octavia Provider drivers is enabled, and we have both Amphorae ( which supports L7) and OVN Provider Driver( which supports L4) , and then if the user sends a request to create an HTTP Listener, how would the operation occur?14:07
openstackgerritArnaud Morin proposed openstack/octavia master: Update requirements for ubuntu  https://review.openstack.org/62440514:08
*** aojea_ has quit IRC14:14
openstackgerritArnaud Morin proposed openstack/octavia master: Update requirements for ubuntu  https://review.openstack.org/62440514:15
*** salmankhan has quit IRC14:46
cgoncalvesreedipb, if the LB is provided by the amphora driver, L7 listener creation request will succeed. if by OVN provider driver, it will fail14:51
*** velizarx has quit IRC14:53
reedipbcgoncalves: thanks for the info. I am not sure about the default behavior ( that would be based on implementation of the flavors functionality, I guess). Can you let me know if the flavors functionality is targetted in T release ? or later?14:56
*** salmankhan has joined #openstack-lbaas14:59
cgoncalvesreedipb, Michael has started flavor implementation last week or so. the expected plan is to have basic flavor support in Stein15:05
*** gcheresh_ has quit IRC15:17
*** oanson has joined #openstack-lbaas15:17
*** salmankhan1 has joined #openstack-lbaas15:20
*** salmankhan has quit IRC15:20
*** salmankhan1 is now known as salmankhan15:20
johnsomreedipb: flavors are defined per provider, so the driver has to support them or the settings will be the defaults defined in the octavia.conf.  Flavors are a Stein feature and most of the base work is done. I just need to add more settings, docs, client support, and tempest.15:26
*** aojea_ has joined #openstack-lbaas15:36
*** ivve has joined #openstack-lbaas15:37
*** gcheresh_ has joined #openstack-lbaas15:40
xgermanreedipb: I would assume the system pick the provider based on the flavor15:50
openstackgerritArnaud Morin proposed openstack/octavia master: Update requirements for ubuntu  https://review.openstack.org/62440515:51
*** gcheresh_ has quit IRC15:53
openstackgerritMichael Johnson proposed openstack/octavia master: Make the CentOS 7 scenario gate non-voting  https://review.openstack.org/62307016:12
cgoncalves^ understandably :(16:15
johnsomYeah, we are still seeing failures. Timeout failures to be exact. It looks like the amps aren't booting up in a timely fashion in some runs.16:16
openstackgerritMichael Johnson proposed openstack/octavia master: Add provider driver capabilities API  https://review.openstack.org/62419016:16
brtknrhmm why does my cloud-controller-manager keep creating multiple loadbalancers for the same service?16:17
johnsomDo you have Octavia configured for Active/Standby HA mode? That would cause two instances to be booted for each load balancer16:18
reedipbthanks johnsom, xgerman, cgoncalves :)16:19
openstackgerritMichael Johnson proposed openstack/octavia-tempest-plugin master: Adds get_amphora_stats to the service client  https://review.openstack.org/58506016:26
*** rpittau has quit IRC16:30
*** aojea_ has quit IRC17:02
*** aojea_ has joined #openstack-lbaas17:03
*** aojea_ has quit IRC17:07
*** yamamoto has quit IRC17:19
*** amuller has joined #openstack-lbaas17:48
johnsomrm_work Barbican/Octavia question.  In queens, when octavia reaches out to barbican to pull a secret, it is using the "octavia" service account right? Not impersonating the user? I am seeing strange barbican policy failure ERRORs even though I have added the "octavia" user to every RBAC role I can think of....17:49
*** salmankhan has quit IRC17:51
*** Swami has joined #openstack-lbaas18:09
openstackgerritLuis Tomas Bolivar proposed openstack/octavia master: Enabling SG customization on loadbalancer listerners  https://review.openstack.org/60256418:15
openstackgerritLuis Tomas Bolivar proposed openstack/octavia master: Enabling SG customization on loadbalancer listerners  https://review.openstack.org/60256418:18
jitekaI noticed that when creating a LB, it comes with a dedicated secgroup named lb-<lb uuid> with 2 rules associated to it18:21
jitekaIs it a default logic or due to configuration/misconfiguration on my side18:21
jitekaRight now I'm facing this error : ERROR oslo_messaging.rpc.server [req-4964905f-3ac1-4e38-9060-e2ee561cea8d - 57bae527dd574db09f46c04286fb0e39 - - -] Exception during message handling: OverQuotaClient: Quota exceeded for resources: ['security_group_rule'].18:21
jitekaAt first I was thinking that impacted secgroup quota relate to the project which subnet-id used to create new LB belong to18:23
openstackgerritSwaminathan Vasudevan proposed openstack/neutron-lbaas stable/ocata: Improve speed of listing from DB  https://review.openstack.org/62416018:31
openstackgerritSwaminathan Vasudevan proposed openstack/neutron-lbaas stable/pike: Improve speed of listing from DB  https://review.openstack.org/62415218:38
johnsomjiteka Hi, yes, each LB gets a security group that opens the ports the user specifies for the Listeners.18:40
johnsomThe account you are running octavia under should have non-default quotas....18:41
johnsomHere is how German set it up for OSA:  https://github.com/openstack/openstack-ansible-os_octavia/blob/master/defaults/main.yml#L47318:42
Swamijohnsom: Should we cherry-pick these two patches together ( Based on the commit message in the later it seems there is some dependency in there), can you confirm. https://review.openstack.org/#/c/624152/ and https://review.openstack.org/#/c/624225/.18:43
*** ccamposr has quit IRC18:52
johnsomSwami Yes, I think you need to. Though there is some controversy over the https://review.openstack.org/#/c/624225 patch18:53
johnsomhttps://review.openstack.org/#/c/616763/18:53
johnsomSwami Ocata? Really?18:54
Swamijohnsom: Yes I read the controversy issue in that patch, where someone was trying to revert it.18:55
Swamijohnsom: Our target is still old, newton.18:55
*** aojea has joined #openstack-lbaas18:56
Swamijohnsom: Ok I will cherry-pick both the patches then.18:56
*** yamamoto has joined #openstack-lbaas19:17
openstackgerritSwaminathan Vasudevan proposed openstack/neutron-lbaas stable/ocata: Updated "create_pool" method in plugin  https://review.openstack.org/62446819:25
openstackgerritSwaminathan Vasudevan proposed openstack/neutron-lbaas stable/ocata: Improve speed of listing from DB  https://review.openstack.org/62416019:25
*** fnaval has joined #openstack-lbaas19:49
jitekathanks johnsom19:59
jitekajohnsom: do you know if there is a way having octavia not making a security group for every new LB and falling back on a default one when listener ports are the same ? It would avoid to get a massive increase of secgroup-rule based on number of active LBs20:01
johnsomCurrently we do not have that capability.20:02
jitekajohnsom: ok thanks, I will adapt octavia tenant quota then to fix my problem20:06
*** yamamoto has quit IRC20:19
*** aojea has quit IRC21:19
*** amuller has quit IRC21:19
*** rcernin has joined #openstack-lbaas21:59
rm_workjohnsom: should be, yes22:07
openstackgerritHongbin Lu proposed openstack/neutron-lbaas master: [DNM] Test neutron policy-in-code  https://review.openstack.org/62451022:09
rm_workjiteka: the secgroup is kinda necessary, there's no way a default one would work for all LBs22:11
rm_workwe could try to flyweight it I GUESS? for like... the most common ones22:12
rm_workbut that would add a whole lot of complexity :/22:12
*** yamamoto has joined #openstack-lbaas22:55
openstackgerritMerged openstack/octavia master: Make the CentOS 7 scenario gate non-voting  https://review.openstack.org/62307022:59
openstackgerritAdam Harwell proposed openstack/octavia master: Bring up secondary IPs on member networks  https://review.openstack.org/61146023:00
rm_workjohnsom: ^^ testing added23:00
johnsomSuper, thank you!23:00
rm_workit's in a weird place IMO but that's where it was before and I'm not sure I can think of anywhere better <_<23:00
rm_workin testing my devstack, this worked fine23:00
rm_workso I'm +2 once it passes23:01
johnsomCool. I am having a bad barbican day...  Two folks stuck with issues that I don't have answers for today.23:13
johnsomThe morning was Octavia accessing barbican, we got 403 policy errors no matter what I tried for roles on the account.23:14
xgermanyeah, BBQ hates us23:15
openstackgerritGerman Eichberger proposed openstack/octavia master: Add auditing support to the Octavia API  https://review.openstack.org/60985423:32
xgermanrebase...23:33
openstackgerritMerged openstack/octavia-lib master: Initial provider driver library checkin  https://review.openstack.org/61281523:41
johnsomAwesome! We can do a first release of octavia-lib and get it in global-requirements.  Super pumped to get that going.23:42

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