← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1661456] Re: horizon fails authentication with keystone

 

Please ensure that your installed libraries match those specified in the
upper-constraints.txt file relevant to the version of Horizon you're
running (see
https://docs.openstack.org/developer/horizon/topics/install.html for how
that works).

** Changed in: horizon
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1661456

Title:
  horizon fails authentication with keystone

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  This report is almost identical to
  https://bugs.launchpad.net/horizon/+bug/1637072

  Chef allinone installation following directions here;
  https://github.com/openstack/openstack-chef-repo

  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:keystoneauth.session:GET call to identity for http://127.0.0.1:5000/v3/users/e87dfdcd37204e60b9cc5e2b4f2cecee/projects used request id req-929b0e41-1ec0-4435-b8e9-de0ea821668d
  DEBUG:keystoneauth.identity.v3.base:Making authentication request to http://127.0.0.1:5000/v3/auth/token
  DEBUG:keystoneauth.session:Request returned failure status: 400
  Internal Server Error: /admin/flavors/create/
  ....
  [Fri Feb 03 00:55:32.998833 2017] [wsgi:error] [pid 4156:tid 140316095899392]   File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py", line 655, in request
  [Fri Feb 03 00:55:32.998835 2017] [wsgi:error] [pid 4156:tid 140316095899392]     raise exceptions.from_response(resp, method, url)
  [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-25c4-466c-b881-47a0cd8224a1)

  
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1661456/+subscriptions


References