Improve user feedback and error handling
Currently, when an underlying error occurs, dashboard just returns 500 server error. The original error is well hidden from the user.
For new persons, and especially for people setting up OpenStack in their own environment this will become frustrating. Supporting is just impossible, because people just could report that server error. Looking for the root of that error can be painful and tedious.
Also, when e.g. nova-api service doesn't answer for some reason, horizon fails badly.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Obsolete
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
- Gabriel Hurley
Related branches
Related bugs
Bug #961761: If nova-network is down, Access and Security panel hangs | Fix Released |
Bug #1067206: Server error pages are broken | Fix Released |
Sprints
Whiteboard
[gabriel] The horizon.
[mrunge]
Agreed, having not a descriptive name should absolutely be avoided.
Last week I was debugging an OpenStack installation, which just returned 500 server error. Checking the services themself, returned no error. It turned out, not all necessary services were configured. In that case, I think volumes were disabled at that point. As a new user, you don't have a chance to find that. Sadly, that's not the only situation, where this 500 error is returned. Just look to the openstack list. Nearly every message belonging to the Dashboard has a stack trace with that 500 error, changing some configuration fixes it, without a line of code touched.
Maybe we could improve the situation by also providing a more descriptive status page:
service ... on host ... is up and running
service ... on host ... is ....