Need to monitor availability of wsgi.py content
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard Charm |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
It was found during triage of lp#1849864, that two of the three horizon units were returning 404 errors for /auth/login URI.
Logs:
/var/log/
10.x.x.x - - [25/Oct/
/var/log/
[Fri Oct 25 19:16:34.772793 2019] [wsgi:error] [pid 1575811:tid 140498858981120] [client 10.55.196.
Having a simple check against the local apache instance on each dashboard unit that exercises the wsgi.py script and ensures that return code is not 404 would help to detect issues with dashboard installs/upgrades.
Changed in charm-openstack-dashboard: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
Two of three units were exhibiting issues, while the third unit was returning wsgi.py content properly. When the engineer was performing a manual check, it was pseudo-random due to haproxy high-availability whether you received a working Horizon dashboard or received 404 errors due to the broken path to wsgi.py.