Wednesday, 2024-10-16

qwebirc89049I have setup octavia using kolla-ansible project and I followed https://docs.openstack.org/kolla-ansible/2024.1/reference/networking/octavia.html and chose "Option 1" i.e. Automatically generating certificates. 15:30
qwebirc89049All the related docker containers are in healthy state: 15:31
qwebirc89049docker ps |grep octavia 59689231082b   quay.io/openstack.kolla/octavia-housekeeping:2024.1-ubuntu-jammy        "dumb-init --single-…"   26 minutes ago   Up 2 seconds (health: starting)             octavia_housekeeping fa0425ce786e   quay.io/openstack.kolla/octavia-health-manager:2024.1-ubuntu-jammy      "dumb-init --single-…"   26 minutes ago   Up 7 seconds (health: starting)             octavia_health_manager 0288e492037e   quay.15:31
qwebirc89049BUT, when I try to create a load-balancer from UI under admin project -> Network -> Load balancers, I don't see any flavor listed in the dropdown(openstack flavor list shows amphora flavor and also amphora glance image is available too). The creation gets to successful state but "Operating status" errors out. 15:33
tweiningqwebirc89049: I think you confuse nova flavor with octavia flavor15:36
tweiningopenstack flavor list shows you the nova flavor15:37
tweiningopenstack loadbalancer flavor list the octavia flavors, and that is what the dashboard should display15:37
qwebirc89049Thanks tweining and I agree but that's another issue. I don't see any commands related to loadbalancer at all. I am getting "openstack: 'loadbalancer flavor list' is not an openstack command. See 'openstack --help'." when I try to run any openstack loadbalancer command .15:41
tweiningprobably because python-octaviaclient is not installed15:43
tweiningregarding the problem that the operating status is error: did you check octavia worker logs?15:44
qwebirc89049yes. I don't see any relevant logs in octavia-worker.log file. I also checked octavia-api.log too. 15:45
qwebirc89049I now installed python-octaviaclient package and commands start to work. when I do openstack loadbalancer flavor list, it returns me empty result. I tried with admin-openrc.sh and octavia-openrc.sh both. Another strange part is that amphora flavor is visible to me in horizon unders admin->Compute->Flavor list. 15:47
tweiningmaybe it shows what "openstack flavor list --all" shows15:49
tweiningwithout --all the amphora compute flavor might be hidden15:50
qwebirc89049You're right! Tried both the command(with and without --all) and UI shows results with --all 15:50
qwebirc89049So, currently, I don't see amphora flavor using "openstack loadbalancer flavor list" and also don't see any errors in octavia-worker or octavia-api log files15:57
qwebirc89049"openstack loadbalancer amphora list" show status as "BOOTING" and associated IP from lb_network. 15:58
qwebirc89049"openstack loadbalancer amphora list" show 1 resource with status as "BOOTING" and associated IP from lb_network. 16:00
gthiemon1eqwebirc89049: do you see WARNING-level messages in the octavia-worker logs?16:07
gthiemon1eor any other ERRORs16:09
qwebirc890492024-10-12 11:31:28.960 27 WARNING amqp [-] Received method (60, 30) during closing channel 1. This method will be ignored16:10
qwebirc89049No error messages. 16:10
gthiemon1ethis warning looks like a shutdown messasge AFAIK, is the worker still running?16:11
qwebirc890492024-10-12 11:31:24.534 7 INFO octavia.common.config [-] Logging enabled! 2024-10-12 11:31:24.535 7 INFO octavia.common.config [-] /var/lib/kolla/venv/bin/octavia-health-manager version 14.0.1.dev13 2024-10-12 11:31:24.907 7 INFO octavia.cmd.health_manager [-] Health Manager listener process starts: 2024-10-12 11:31:24.922 7 INFO octavia.cmd.health_manager [-] Health manager check process starts: 2024-10-12 11:31:24.930 27 INFO octavi16:13
qwebirc89049Last logs in the worker.log file16:13
gthiemon1eis the date correct? 2024-10-12 was 4 days ago, but the containers were restarted 26 min ago16:28
gmannjohnsom: can you check this, this is needed to fix the grenade testing for current master (stable/2024.2 -> master) https://review.opendev.org/c/openstack/octavia/+/93201119:33
johnsomack19:33
gmannthanks 19:33
*** gmann is now known as gmann_afk20:58
opendevreviewMerged openstack/octavia master: Run octavia-db-manage in grenade testing from venv  https://review.opendev.org/c/openstack/octavia/+/93201121:17
*** gmann_afk is now known as gmann_21:41
*** gmann_ is now known as gmann21:41

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