[openstack][octavia] How users can debug their LB
Hello. I would like to know how users can debug their LB. For example, How can they check logs(HA proxy connection log) in their LB? Thank you. Nguyen Huu Khoi
Tenants won't be able to do this, but admins can ssh to the octavia amphora using the octavia ssh key over the amphora network to check logs. One thing tenants can do is enable the prometheus exporter for their LB and scrape it using prometheus: https://docs.openstack.org/octavia/latest/user/guides/monitoring.html#monito... ________________________________ From: Nguyễn Hữu Khôi <nguyenhuukhoinw@gmail.com> Sent: 08 May 2024 23:32 To: OpenStack Discuss <openstack-discuss@lists.openstack.org> Subject: [openstack][octavia] How users can debug their LB CAUTION: This email originates from outside THG ________________________________ Hello. I would like to know how users can debug their LB. For example, How can they check logs(HA proxy connection log) in their LB? Thank you. Nguyen Huu Khoi
Hello. Thank you for your reply. Is there a road my for this feature in future? On Thu, May 9, 2024, 2:58 PM Danny Webb <Danny.Webb@thg.com> wrote:
Tenants won't be able to do this, but admins can ssh to the octavia amphora using the octavia ssh key over the amphora network to check logs.
One thing tenants can do is enable the prometheus exporter for their LB and scrape it using prometheus:
https://docs.openstack.org/octavia/latest/user/guides/monitoring.html#monito...
------------------------------ *From:* Nguyễn Hữu Khôi <nguyenhuukhoinw@gmail.com> *Sent:* 08 May 2024 23:32 *To:* OpenStack Discuss <openstack-discuss@lists.openstack.org> *Subject:* [openstack][octavia] How users can debug their LB
* CAUTION: This email originates from outside THG * ------------------------------ Hello.
I would like to know how users can debug their LB. For example, How can they check logs(HA proxy connection log) in their LB?
Thank you.
Nguyen Huu Khoi
Well, the initial thing to check is the operating status. It will indicate if the members are testing healthy or failing the health checks. If you want to provide the HAProxy connection logs, you can enable Amphora tenant log offloading[1]. This will allow you to forward the haproxy logs (stamped with the project ID) via syslog protocol. You can then use that to expose them to your users. Finally, users can enable a Prometheus exporter on their load balancers[2]. Michael [1] https://docs.openstack.org/octavia/latest/admin/log-offloading.html#tenant-f... [2] https://docs.openstack.org/octavia/latest/user/guides/monitoring.html#monito... On Wed, May 8, 2024 at 3:39 PM Nguyễn Hữu Khôi <nguyenhuukhoinw@gmail.com> wrote:
Hello.
I would like to know how users can debug their LB. For example, How can they check logs(HA proxy connection log) in their LB?
Thank you.
Nguyen Huu Khoi
Hello. I get it. Many thanks for valuable info. :) On Fri, May 10, 2024, 7:44 AM Michael Johnson <johnsomor@gmail.com> wrote:
Well, the initial thing to check is the operating status. It will indicate if the members are testing healthy or failing the health checks.
If you want to provide the HAProxy connection logs, you can enable Amphora tenant log offloading[1]. This will allow you to forward the haproxy logs (stamped with the project ID) via syslog protocol. You can then use that to expose them to your users.
Finally, users can enable a Prometheus exporter on their load balancers[2].
Michael
[1] https://docs.openstack.org/octavia/latest/admin/log-offloading.html#tenant-f... [2] https://docs.openstack.org/octavia/latest/user/guides/monitoring.html#monito...
On Wed, May 8, 2024 at 3:39 PM Nguyễn Hữu Khôi <nguyenhuukhoinw@gmail.com> wrote:
Hello.
I would like to know how users can debug their LB. For example, How can
they check logs(HA proxy connection log) in their LB?
Thank you.
Nguyen Huu Khoi
participants (3)
-
Danny Webb
-
Michael Johnson
-
Nguyễn Hữu Khôi