← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1535079] Re: ERROR nova.api.openstack.extensions BadRequest: Expecting to find username or userId in passwordCredentials

 

*** This bug is a duplicate of bug 1534273 ***
    https://bugs.launchpad.net/bugs/1534273

If you were following the RDO installation docs, the nova configuration
is missing a few fields. Please see the following for the correct
configuration - https://bugzilla.redhat.com/show_bug.cgi?id=1219890

This is a duplicate issue to others that have been filed and I've linked
the original bug to the openstack-manuals team for them to address.
Marking this as a duplicate and marking as invalid for Nova as this is a
configuration issue.


** Also affects: openstack-manuals
   Importance: Undecided
       Status: New

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

** Bug watch added: Red Hat Bugzilla #1219890
   https://bugzilla.redhat.com/show_bug.cgi?id=1219890

** This bug has been marked a duplicate of bug 1534273
   Keystone configuration options for nova.conf missing from Redhat/CentOS install guide

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

Title:
  ERROR nova.api.openstack.extensions BadRequest: Expecting to find
  username or userId in passwordCredentials

Status in OpenStack Compute (nova):
  Invalid
Status in openstack-manuals:
  New
Status in CentOS:
  New

Bug description:
  Environment:
  centos7.1 Linux controller 3.10.0-327.4.4.el7.x86_64 

  I am following the installation guide from;
  http://docs.openstack.org/liberty/install-guide-rdo/environment.html

  when i tried to initiate instance using following command:
   nova boot --flavor m1.tiny --image cirros --nic net-id=a0bde269-d320-4853-9045-e2e90ba14031   --security-group default --key-name mykey public-instance

  
  it gives error;

  ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'keystoneclient.exceptions.BadRequest'> (HTTP 500) (Request-ID: req-c0467d40-2fff-42b4-915a-d5ff3f1a7ff0)

  
  tail -f nova-api.log 
  2016-01-17 21:33:02.244 62036 ERROR nova.api.openstack.extensions     return self.request(url, 'POST', **kwargs)
  2016-01-17 21:33:02.244 62036 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/keystoneclient/utils.py", line 337, in inner
  2016-01-17 21:33:02.244 62036 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
  2016-01-17 21:33:02.244 62036 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/keystoneclient/session.py", line 401, in request
  2016-01-17 21:33:02.244 62036 ERROR nova.api.openstack.extensions     raise exceptions.from_response(resp, method, url)
  2016-01-17 21:33:02.244 62036 ERROR nova.api.openstack.extensions BadRequest: Expecting to find username or userId in passwordCredentials - 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-64775b3f-189b-402d-81c1-c2a0ab142bbc)
  2016-01-17 21:33:02.244 62036 ERROR nova.api.openstack.extensions 
  2016-01-17 21:33:02.245 62036 INFO nova.api.openstack.wsgi [req-c0467d40-2fff-42b4-915a-d5ff3f1a7ff0 8068f6d77937442fbf6cf5f38ef4e590 a57f6656f9b544fbb449996a6069bda2 - - -] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'keystoneclient.exceptions.BadRequest'>

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


References