Saturday, 2024-03-23

sorbalHey everyone, is this the right place to ask a quick question about how octavia creates and manages amphora instances?21:29
johnsomsorbal: yes21:36
sorbalI noticed that while I am connected to an amphora instance via the horizon console I sometimes get disconnected. Then I noticed that it wasn't just a disconnect but the instance was being destroyed and recreated with different IP in the mngmt network. Is that normal behavior for the load balancer to recreate an amphora randomly? Or is there an issue?21:39
sorbalI am currently going through the logs to see if there is an error but for now I can't find something21:40
johnsomCheck the health manager logs (controller process), there is some reason it thinks the load balancer is failed and it's attempting to repair it.21:46
sorbalthanks, I was looking at the worker log and although I could see the failover getting triggered I could not see the reason21:58
sorbalI have created my own image and I am running some tests that change the haproxy config and restart the haproxy service, somewhere in my process something goes wrong because I do get health message reports 0 listeners when 1 expected as warning in the health manager logs21:59
johnsomYeah, health manager and the amphora agent monitor the haproxy stats socket to determine health. It will look for listeners (frontends in haproxy speak), etc.22:01
sorbalI know its a bad solution but since I am trying to develop something inside a custom amphora image is there a way to turn the health manager off?22:02
johnsomYeah, just stop the process22:06
johnsomStatistics and status updates won't occur, but it also won't attempt to repair it22:07
sorbalGreat! I paused the container (i am using kolla) and it worked. Thank you for your help johnsom22:32
johnsomSure, NP22:32

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