horizon fails authentication with keystone
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
This report is almost identical to https:/
Chef allinone installation following directions here; https:/
Command line access works fine, but access from Horizon to many functions renders an error similar to "Error: Unable to retrieve usage information." in System -> Overview. Similarly trying to display flavors yields the error "Error: Unable to retrieve flavor list."
Attempting to create a Flavor will cause an exception with the message "Danger: There was an error submitting the form. Please try again."
This installation is running Newton on Ubuntu 16.04 with Horizon 10.0.
The Horizon operations are frequently logging errors like these when trying to create a new Flavor.
DEBUG:keystonea
DEBUG:keystonea
DEBUG:keystonea
Internal Server Error: /admin/
....
[Fri Feb 03 00:55:32.998833 2017] [wsgi:error] [pid 4156:tid 140316095899392] File "/usr/local/
[Fri Feb 03 00:55:32.998835 2017] [wsgi:error] [pid 4156:tid 140316095899392] raise exceptions.
[Fri Feb 03 00:55:32.998837 2017] [wsgi:error] [pid 4156:tid 140316095899392] BadRequest: Expecting to find domain in user - the server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400) (Request-ID: req-8e28b2a0-
After following along in the Bug report 1637072 I attempted to replace python-novaclient with 7.1.0, but the error still persisted. I'm currently running python-novaclient 6.0.0 and it also seems to fail with similar errors.
Ok, some progress... I still had some lingering 7.1.0 artifacts. Cleaned everything up and reinstalled v6.0.0 and things seem much better now.
The analysis in the last bug report was accurate. The Chef install is pulling a later version of the python-novaclient and it doesn't seem to be compatible with Newton & Horizon v10.