Thursday, 2018-12-06

openstackgerritMichael Johnson proposed openstack/octavia master: Adds flavor support to the amphora driver  https://review.openstack.org/62132300:37
*** yamamoto has joined #openstack-lbaas00:45
*** Swami has quit IRC00:52
lxkongjohnsom: hi, we noticed that there are a lot of threads for octavia-worker service and too much memory it is eating, https://paste.pics/d2e89878ed8a0ea36de1acc2b6614a3500:52
lxkongwouldn't you happen to know the situation before, would you?00:52
lxkongxgerman, rm_work ^^00:53
johnsomlxkong The worker, no, can't say I have seen that. Unless you have a ton of user requests coming in or the threads are backed up waiting for nova to build instances.  What do the logs look like, normal?00:54
lxkongnormal, we didn't enable the debug, so nothing happens in the log in the last 2 hours00:55
lxkongseems like all the threads are just listening or waiting for something00:55
lxkongwe are using Queens00:55
johnsomThe only thing the worker listens on is the rabbit queue00:56
johnsomIf it was processing flows and waiting on nova, you would see info or warnings in the logs.00:56
lxkongi can confirm that no lb creation requests are coming00:57
lxkongweird00:57
johnsomBut even then, the threads should not be listening/waiting, they are spun out as stuff comes in on rabbit00:57
johnsomWould be interested in a trace if you attach a debugger to one of those threads01:03
johnsomMy worker is under two megabytes with all three processes combined01:08
johnsomYou could try pmap -x as well and see if something jumps out there as to what is using that memory01:09
lxkongjohnsom: hmm...i've no idea about what the pmap -x PID command output means01:15
johnsomIt show the memory usage of a process, broken down by library if it can determine what it is01:16
lxkongthere are several lines like this `00007f774818d000   63948       0       0 -----   [ anon ]`01:16
johnsomOne of my two octavia-worker consumer processes look like this:01:17
johnsomhttps://www.irccloud.com/pastebin/ewuE95e6/01:17
*** yamamoto has quit IRC01:18
*** yamamoto has joined #openstack-lbaas01:18
lxkongours01:18
lxkonghttp://termbin.com/q9xw01:18
lxkongdidn't see anyting special01:18
lxkongexcept for the total memory01:19
johnsomYeah, that is big and you have a lot more threads than I do01:20
lxkong65 threads01:20
johnsomI have like 901:22
johnsomper process01:22
lxkongwill the 'Socket closed' error by rabbitmq lead to create new worker thread?01:23
lxkongwe have some 'Socket closed' error in the log caused by haproxy timeout01:23
johnsommaybe. The oslo messaging stuff does seem a bit fragile01:24
lxkonghttp://paste.openstack.org/show/736738/01:24
*** sapd1 has quit IRC01:40
*** sapd1 has joined #openstack-lbaas01:40
*** abaindur has quit IRC02:18
*** hongbin has joined #openstack-lbaas02:35
*** yamamoto has quit IRC02:45
*** yamamoto has joined #openstack-lbaas03:24
*** yamamoto has quit IRC03:34
*** ramishra has quit IRC03:36
*** yamamoto has joined #openstack-lbaas04:29
*** hongbin has quit IRC04:33
*** ramishra has joined #openstack-lbaas04:35
*** yboaron has joined #openstack-lbaas05:02
*** yboaron has quit IRC07:26
*** yboaron has joined #openstack-lbaas07:26
*** ataraday has quit IRC07:49
*** aojea has joined #openstack-lbaas07:52
*** rcernin has quit IRC07:56
*** pcaruana has joined #openstack-lbaas07:58
*** pcaruana is now known as muttley07:58
*** abaindur has joined #openstack-lbaas08:00
*** aojea has quit IRC08:00
*** rcernin has joined #openstack-lbaas08:03
*** abaindur has quit IRC08:11
*** abaindur has joined #openstack-lbaas08:12
*** velizarx has joined #openstack-lbaas08:12
*** abaindur has quit IRC08:22
*** abaindur has joined #openstack-lbaas08:23
*** abaindur has quit IRC08:24
*** velizarx has quit IRC08:28
*** velizarx has joined #openstack-lbaas08:33
*** rcernin has quit IRC08:33
*** abaindur has joined #openstack-lbaas09:05
*** ramishra has quit IRC09:19
*** ramishra has joined #openstack-lbaas09:21
*** AlexStaf has quit IRC09:30
*** abaindur has quit IRC09:30
*** ccamposr has quit IRC09:32
*** salmankhan has joined #openstack-lbaas10:13
*** salmankhan1 has joined #openstack-lbaas10:22
*** salmankhan has quit IRC10:23
*** salmankhan1 is now known as salmankhan10:23
*** yboaron_ has joined #openstack-lbaas10:26
*** yboaron has quit IRC10:29
*** Krast has quit IRC10:53
*** yboaron_ has quit IRC11:05
*** yboaron_ has joined #openstack-lbaas11:08
*** AlexStaf has joined #openstack-lbaas11:11
*** yboaron_ has quit IRC11:33
*** huseyin_ has joined #openstack-lbaas11:47
huseyin_Hello everybody, I want to forward terminated SSL traffic to the backend servers in http ssl mode. After adding x-forwarded-for headers on the http frontend,  I also want to send HTTPS traffic to the backend servers. Because a wsdl security framework works at the backend, and they specifically look for ssl headers.12:11
huseyin_When i use http pool, terminated-ssl listener works good12:12
huseyin_But when i try to add https pool to the tls-terminated listener, it gives an error12:13
huseyin_Amphora agent returned unexpected result code 400 with response {u'message': u'Invalid request', u'details': u"[ALERT] 339/111101 (2273) : http frontend '5a3c58a4-27d8-462b-84ca-18e57a41383e' (/var/lib/octavia/5a3c58a4-27d8-462b-84ca-18e57a41383e/haproxy.cfg.new:20) tries to use incompatible tcp backend 'a8dee118-e706-4d5b-8ecf-0efe5816bf79' (/var/lib/octavia/5a3c58a4-27d8-462b-84ca-18e57a41383e/haproxy.cfg.new:29) as its default backend (see12:13
huseyin_'mode').\n[WARNING] 339/111101 (2273) : Setting tune.ssl.default-dh-param to 1024 by default, if your workload permits it you should set it to at least 2048. Please set a value >= 1024 to make this warning disappear.\n[ALERT] 339/111101 (2273) : Fatal errors found in configuration.\n"}12:13
huseyin_As far as understand, amphora tries to add backend servers with tcp mode12:13
huseyin_But frontend is http, and they are incompatible12:14
huseyin_In a manual haproxy configuration, ssl backend definition works with tls-terminated frontend12:15
huseyin_Is there any way to do this in octavia?12:15
huseyin_Any idea?12:16
*** AlexStaf has quit IRC12:20
*** yamamoto has quit IRC12:22
*** yboaron_ has joined #openstack-lbaas12:30
*** yamamoto has joined #openstack-lbaas12:31
*** AlexStaf has joined #openstack-lbaas12:35
*** pbourke has quit IRC12:40
*** pbourke has joined #openstack-lbaas12:40
*** muttley has quit IRC13:08
*** rcernin has joined #openstack-lbaas13:17
*** muttley has joined #openstack-lbaas13:21
*** muttley has quit IRC13:25
*** muttley has joined #openstack-lbaas13:26
*** rcernin has quit IRC13:29
*** muttley has quit IRC13:29
*** yboaron_ has quit IRC13:29
*** pcaruana has joined #openstack-lbaas13:34
*** pcaruana has quit IRC13:39
cgoncalvescentos7 job green again13:41
*** yamamoto has quit IRC13:41
*** pcaruana has joined #openstack-lbaas13:43
*** pcaruana has quit IRC13:47
openstackgerritReedip proposed openstack/octavia-tempest-plugin master: Add configuration to enable/disable L7 tests  https://review.openstack.org/62149314:06
*** yamamoto has joined #openstack-lbaas14:24
*** yamamoto has quit IRC14:37
*** Swami has joined #openstack-lbaas14:44
johnsomhuseyin_: Backend re-encryption is planned for Stein as a new feature. Today we can only do HTTPS pass through is the backend server needs an HTTPS connection.14:47
huseyin_johnsom: Thank you very much for the clarification14:49
*** huseyin_ has left #openstack-lbaas14:50
*** Swami has quit IRC14:55
*** Swami has joined #openstack-lbaas14:56
*** ramishra has quit IRC15:00
openstackgerritCarlos Goncalves proposed openstack/octavia master: Enable debug for Octavia services in grenade job  https://review.openstack.org/62231915:18
*** AlexStaf has quit IRC15:34
xgermancgoncalves: I guess making it non-voting jinxed it15:34
cgoncalvesRDO imported golang, that's what fixed it15:35
*** AlexStaf has joined #openstack-lbaas15:48
*** roukoswarf has quit IRC15:53
*** ramishra has joined #openstack-lbaas15:59
*** takamatsu has quit IRC16:10
*** velizarx_ has joined #openstack-lbaas16:18
*** velizarx has quit IRC16:18
jitekaxgerman johnsom : hello, is Hongbin Lu on that IRC channel ? I've got couple of question for him as I'm interested in Zun integration in Octavia16:39
jitekahttps://review.openstack.org/#/c/579405/16:39
*** velizarx_ has quit IRC16:47
*** velizarx has joined #openstack-lbaas16:48
*** Swami has quit IRC17:14
*** velizarx has quit IRC17:15
*** salmankhan has quit IRC17:36
*** AlexStaf has quit IRC17:39
*** velizarx has joined #openstack-lbaas17:45
openstackgerritMichael Johnson proposed openstack/octavia-tempest-plugin master: Add v2 two-node scenario test  https://review.openstack.org/60516317:50
*** huseyin_ has joined #openstack-lbaas18:00
*** fnaval has joined #openstack-lbaas18:00
*** Swami has joined #openstack-lbaas18:05
*** velizarx has quit IRC18:29
openstackgerritMichael Johnson proposed openstack/octavia-tempest-plugin master: Add v2 two-node scenario test  https://review.openstack.org/60516318:31
*** yamamoto has joined #openstack-lbaas18:34
rm_workjiteka: i believe he's in the zun channel as hongbin18:34
*** fnaval has quit IRC18:37
*** yamamoto has quit IRC18:38
*** fnaval has joined #openstack-lbaas18:44
*** ramishra has quit IRC18:47
*** fnaval has quit IRC18:52
jitekarm_work: thanks ! I will check there18:56
*** salmankhan has joined #openstack-lbaas19:13
openstackgerritCarlos Goncalves proposed openstack/octavia master: Support remote debugging with PyDev  https://review.openstack.org/61994419:16
*** salmankhan has quit IRC19:18
openstackgerritMerged openstack/octavia master: Fix the grenade gate  https://review.openstack.org/62310219:53
rm_workcgoncalves: you are a victim of my first review :P19:55
rm_work😂😂😂💕👌😜😇19:55
rm_work(I just found out my new macbook has emoji on the touchbar lol 😅)19:56
nmagnezirm_work, don't forget to cancel Siri :)19:59
rm_workyeah i disabled that like instantly20:00
rm_workand removed it from the touchbar20:00
nmagnezirm_work, It can also be removed from the upper menu bar20:00
rm_workyeah, i did, disabled it completely20:00
rm_worki gave her one chance to be useful, and she failed20:01
*** aojea has joined #openstack-lbaas20:02
*** aojea has quit IRC20:07
openstackgerritNir Magnezi proposed openstack/octavia master: Fix IPv6 in Active/Standby topology  https://review.openstack.org/58929220:10
*** rcernin has joined #openstack-lbaas20:12
openstackgerritGerman Eichberger proposed openstack/octavia-tempest-plugin master: Adds a mixed IPv4/IPv6 members traffic test  https://review.openstack.org/61140520:20
nmagnezixgerman, that's cool ^^20:21
nmagnezixgerman, oh actually I've seen it before :)20:22
xgermanyeah, just rebasing...20:22
johnsomlol20:22
johnsomThere are five patches up for fixing IPv6 and adding tempest tests for it....20:23
nmagnezijohnsom, was just looking at what IPv6 tests we have to review that patch20:23
johnsomFix IPv6 in Active/Standby topology - https://review.openstack.org/#/c/589292/ - Backport Candidate +220:24
johnsomBring up secondary IPs on member networks - https://review.openstack.org/611460 - Backport Candidate20:24
johnsomAdd traffic tests using an IPv6 VIP - https://review.openstack.org/61198020:24
johnsomAdds a mixed IPv4/IPv6 members traffic test - https://review.openstack.org/61140520:24
nmagnezijohnsom, yup, I look into 58929220:24
cgoncalvesrm_work, hahah! I'll fix it, also need to fix a long line20:24
johnsomAnd this one: https://review.openstack.org/61444920:24
cgoncalvesdinner distracted me20:25
johnsomI probably should have set the topic to IPv6 on all of those or something20:25
johnsomBut that is the stack that will fix and add tests for IPv6.20:25
johnsomnmagnezi It also solves the keepalived both interfaces up issue.20:25
openstackgerritCarlos Goncalves proposed openstack/octavia master: Support remote debugging with PyDev  https://review.openstack.org/61994420:26
cgoncalvesrm_work, if you have some time, please revisit https://review.openstack.org/#/c/553381/20:28
*** salmankhan has joined #openstack-lbaas20:31
*** fnaval has joined #openstack-lbaas20:39
nmagnezijohnsom, a question re: https://review.openstack.org/#/c/589292/20/octavia/amphorae/backends/agent/agent_jinja_cfg.py20:42
nmagnezijohnsom, hmm actually give me a sec before I ask20:42
nmagnezi:)20:42
nmagnezijohnsom, okay so IIRC agent_jinja_cfg.py runs on the Octavia controller (worker). Meaning that topology value is being Read from octavia.conf20:46
nmagneziAnd the jinja rendering will put that value on amphora-agent.conf in the Amphora VM20:47
nmagneziBut https://review.openstack.org/#/c/589292/20/octavia/amphorae/backends/agent/api_server/osutils.py@129 run on the Amphora itself20:47
nmagneziSo that value is now coming from amphora-agent.conf20:47
nmagneziSo to my question: what happens if someone upgrades the Amphora image but not the controller20:47
nmagneziMaybe we should default to some empty value? I did not actually check this20:48
nmagneziJust thinking out loud20:48
johnsomnmagnezi https://github.com/openstack/octavia/blob/master/octavia/common/config.py#L37620:50
nmagnezijohnsom, yes but will that translate to amphora-agent.conf with an old controller that does not have the addition to https://review.openstack.org/#/c/589292/20/octavia/amphorae/backends/agent/agent_jinja_cfg.py ?20:51
nmagneziMeaning that controller will still render that file without the topology option20:51
johnsomnmagnezi It's the same common/config.py that is used inside the amphora to read the amphora-agent.conf.  That is why the path is "CONF.controller_worker.loadbalancer_topology" even inside the agent20:52
johnsomSo this line in osutils.py "topology=CONF.controller_worker.loadbalancer_topology," will fill in the default20:52
johnsomSince it is looking it up via CONF20:53
colin-wow, did not know irssi supported emojis20:53
colin-that was a bit startling20:53
nmagnezicolin-, ¯\_(ツ)_/¯20:54
nmagnezijohnsom, /me looking again20:54
johnsomSo does IRC cloud, but you can turn them off20:54
xgermanwhy would you? they are fun!20:56
xgermannow  we need to upload meme images and my life will be complete20:56
xgermanhttps://i.kym-cdn.com/photos/images/newsfeed/000/115/654/16behwy.jpg20:57
colin-+220:57
nmagnezijohnsom, ah, you're right. In the amp we don't have the octavia.conf file but we will default to the same thing as you said. Great, thanks :)20:59
cgoncalvesxgerman, how can I help turning your +1 a +2 on the remote debugging patch?21:25
xgermanI need to have. a minute to test21:26
rm_workworking on getting my new devstack workflow ironed out, then i'll be able to really review patches again :)21:40
cgoncalvesoctavia-v2-dsvm-scenario-two-node job took only 1 hour. fantastic!21:42
*** salmankhan has quit IRC21:53
*** abaindur has joined #openstack-lbaas22:40
*** abaindur has quit IRC22:41
*** abaindur has joined #openstack-lbaas22:42
openstackgerritMichael Johnson proposed openstack/octavia-tempest-plugin master: Add v2 two-node scenario test  https://review.openstack.org/60516323:20
*** fnaval has quit IRC23:31
rm_workwoo, *almost* got devstack up and going consistently... though no nested-virt :/23:33
*** yamamoto has joined #openstack-lbaas23:56

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