check if login to Horizon is possible
Bug #1772944 reported by
Andrea Ieri
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-openstack-service-checks |
Fix Released
|
High
|
Sudeep Bhandari |
Bug Description
A recent outage showed that we don't really ensure that Horizon is healthy enough to support logins.
A proper check would actually perform a login and perhaps do some basic validation on the returned page body.
Related branches
~sudeephb/charm-openstack-service-checks:bug/1772944
Merged
into
charm-openstack-service-checks:master
at
revision ea21d737f69b0da6c12f1f3ad3ede053e6e10850
- Martin Kalcok (community): Approve
- Robert Gildein: Approve
- Eric Chen: Approve
- BootStack Reviewers: Pending requested
-
Diff: 561 lines (+401/-1)13 files modifiedsrc/README.md (+7/-0)
src/config.yaml (+6/-0)
src/files/plugins/check_horizon.py (+115/-0)
src/layer.yaml (+1/-0)
src/lib/lib_openstack_service_checks.py (+18/-1)
src/metadata.yaml (+3/-0)
src/reactive/openstack_service_checks.py (+82/-0)
src/tests/functional/tests/bundles/bionic.yaml (+7/-0)
src/tests/functional/tests/bundles/focal-yoga.yaml (+7/-0)
src/tests/functional/tests/bundles/focal.yaml (+7/-0)
src/tests/functional/tests/test_deploy.py (+16/-0)
src/tests/unit/horizon_check_test_novarc (+3/-0)
src/tests/unit/test_check_horizon.py (+129/-0)
Changed in charm-openstack-service-checks: | |
importance: | Undecided → Wishlist |
tags: | added: bseng-222 |
Changed in charm-openstack-service-checks: | |
importance: | Wishlist → High |
Changed in charm-openstack-service-checks: | |
assignee: | nobody → Sudeep Bhandari (sudeephb) |
Changed in charm-openstack-service-checks: | |
status: | New → In Progress |
Changed in charm-openstack-service-checks: | |
status: | In Progress → Fix Committed |
Changed in charm-openstack-service-checks: | |
milestone: | none → 22.10 |
Changed in charm-openstack-service-checks: | |
status: | Fix Committed → Fix Released |
Changed in charm-openstack-service-checks: | |
status: | Fix Released → Fix Committed |
Changed in charm-openstack-service-checks: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
note that openstack- service- checks currently does not check the dashboard endpoint at all since horizon isn't listed under `openstack endpoint list` and thus it is not collected by create_ endpoint_ checks.
I'll re-triage to high.