Rocky services failing endpoint specific checks
Bug #1826004 reported by
Drew Freiberger
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-openstack-service-checks |
Fix Released
|
Medium
|
Unassigned |
Bug Description
the following service endpoints are returning 400 error on Rocky.
barbican
designate
gnocchi
octavia
We should determine proper endpoint test for these services and add into the refined check URLs.
Related branches
~anonybodi/charm-openstack-service-checks:reconfigure-on-configchanged
Merged
into
~canonical-bootstack/charm-openstack-service-checks:master
at
revision b241281c3a9cf5448a93633e345f9f360122b569
- Jeremy Lounder (community): Approve
- Drew Freiberger (community): Approve
-
Diff: 16 lines (+5/-0)1 file modifiedreactive/openstack_service_checks.py (+5/-0)
~xavpaice/charm-openstack-service-checks/+git/charm-openstack-service-checks:reconfigure-on-configchanged
Merged
into
~canonical-bootstack/charm-openstack-service-checks:master
at
revision 869d5d5432e3baa5f9baa54ee716ecc1aff8e3ef
- Wouter van Bommel (community): Approve
-
Diff: 16 lines (+5/-0)1 file modifiedreactive/openstack_service_checks.py (+5/-0)
Changed in charm-openstack-service-checks: | |
status: | Confirmed → Fix Released |
assignee: | Xav Paice (xavpaice) → nobody |
To post a comment you must log in.
looks like the added url options for barbican and gnocchi that expect Unauthorized and x-openstack- request- id are causing failure:
/usr/lib/ nagios/ plugins/ check_http -H barbican.myfqdn -p 9311 -u / -e Unauthorized -d x-openstack- request- id
HTTP CRITICAL - Invalid HTTP response received from host on port 9311: HTTP/1.1 400 Bad Request
Also, the barbican port is SSL (https specified in the openstack endpoint list) but it's not running check_http with the -S ssl flag.
$ /usr/lib/ nagios/ plugins/ check_http -H barbican.myfqdn -p 9311 -u / -e Unauthorized -d x-openstack- request- id -S
HTTP CRITICAL - Invalid HTTP response received from host on port 9311: HTTP/1.1 300 Multiple Choices
So, it seems there may be a couple bugs around these endpoint checks as well as the agent checks after the rewrite for pytest.