← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1537470] [NEW] 'keystoneclient.exceptions.BadRequest'> (HTTP 500)

 

Public bug reported:

After a new install of Liberty when I try to create an instance I get
the following error in the UI

<class 'keystoneclient.exceptions.BadRequest'> (HTTP 500) (Request-ID:
req-5e1f389a-c523-4019-8126-920344bac1c0)

the nova-api.log shows:

016-01-24 12:51:56.857 4618 ERROR nova.api.openstack.extensions     raise exceptions.from_response(resp, method, url)
2016-01-24 12:51:56.857 4618 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-52a90851-108d-4d7b-92e3-237009977641)
2016-01-24 12:51:56.857 4618 ERROR nova.api.openstack.extensions
2016-01-24 12:51:57.131 4618 INFO nova.api.openstack.wsgi [req-5e1f389a-c523-4019-8126-920344bac1c0 df28035dd1e045fd94cf1363d32337d9 e687da999ce4448b9cf3699e66d96fdc - - -] 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'>
2016-01-24 12:51:57.134 4618 INFO nova.osapi_compute.wsgi.server [req-5e1f389a-c523-4019-8126-920344bac1c0 df28035dd1e045fd94cf1363d32337d9 e687da999ce4448b9cf3699e66d96fdc - - -] 192.168.82.50 "POST /v2/e687da999ce4448b9cf3699e66d96fdc/servers HTTP/1.1" status: 500 len: 441 time: 3.2982039
2016-01-24 12:51:57.288 4618 INFO nova.osapi_compute.wsgi.server [req-b8759c90-c679-48a1-aea5-97953ac7b0af df28035dd1e045fd94cf1363d32337d9 e687da999ce4448b9cf3699e66d96fdc - - -] 192.168.82.50 "GET /v2/e687da999ce4448b9cf3699e66d96fdc/servers/detail?limit=21&project_id=e687da999ce4448b9cf3699e66d96fdc HTTP/1.1" status: 200 len: 211 time: 0.0965190
2016-01-24 12:51:57.501 4618 INFO nova.osapi_compute.wsgi.server [req-4259b6d2-f525-49fe-82fc-710dde1c79e7 df28035dd1e045fd94cf1363d32337d9 e687da999ce4448b9cf3699e66d96fdc - - -] 192.168.82.50 "GET /v2/e687da999ce4448b9cf3699e66d96fdc/extensions HTTP/1.1" status: 200 len: 21880 time: 0.0840139
2016-01-24 12:51:57.590 4618 INFO nova.osapi_compute.wsgi.server [req-ba863889-4183-4c7d-8bb6-03c9c7bfc2b0 df28035dd1e045fd94cf1363d32337d9 e687da999ce4448b9cf3699e66d96fdc - - -] 192.168.82.50 "GET /v2/e687da999ce4448b9cf3699e66d96fdc/limits?reserved=1 HTTP/1.1" status: 200 len: 708 time: 0.0331728
2016-01-24 12:51:57.637 4618 INFO nova.osapi_compute.wsgi.server [req-87aae832-897e-4745-a973-a4d734406c14 df28035dd1e045fd94cf1363d32337d9 e687da999ce4448b9cf3699e66d96fdc - - -] 192.168.82.50 "GET /v2/e687da999ce4448b9cf3699e66d96fdc/limits?reserved=1 HTTP/1.1" status: 200 len: 708 time: 0.0336790


keystone.log shows:


2016-01-24 12:51:56.572 2652 INFO keystone.common.wsgi [req-52a90851-108d-4d7b-92e3-237009977641 - - - - -] POST http://localhost:5000/v2.0/tokens
2016-01-24 12:51:56.682 2652 WARNING keystone.common.wsgi [req-52a90851-108d-4d7b-92e3-237009977641 - - - - -] 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.

I do not see where I can change the reqeust be to v3.0 instead of v2.0

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/1537470

Title:
  'keystoneclient.exceptions.BadRequest'> (HTTP 500)

Status in OpenStack Compute (nova):
  New

Bug description:
  After a new install of Liberty when I try to create an instance I get
  the following error in the UI

  <class 'keystoneclient.exceptions.BadRequest'> (HTTP 500) (Request-ID:
  req-5e1f389a-c523-4019-8126-920344bac1c0)

  the nova-api.log shows:

  016-01-24 12:51:56.857 4618 ERROR nova.api.openstack.extensions     raise exceptions.from_response(resp, method, url)
  2016-01-24 12:51:56.857 4618 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-52a90851-108d-4d7b-92e3-237009977641)
  2016-01-24 12:51:56.857 4618 ERROR nova.api.openstack.extensions
  2016-01-24 12:51:57.131 4618 INFO nova.api.openstack.wsgi [req-5e1f389a-c523-4019-8126-920344bac1c0 df28035dd1e045fd94cf1363d32337d9 e687da999ce4448b9cf3699e66d96fdc - - -] 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'>
  2016-01-24 12:51:57.134 4618 INFO nova.osapi_compute.wsgi.server [req-5e1f389a-c523-4019-8126-920344bac1c0 df28035dd1e045fd94cf1363d32337d9 e687da999ce4448b9cf3699e66d96fdc - - -] 192.168.82.50 "POST /v2/e687da999ce4448b9cf3699e66d96fdc/servers HTTP/1.1" status: 500 len: 441 time: 3.2982039
  2016-01-24 12:51:57.288 4618 INFO nova.osapi_compute.wsgi.server [req-b8759c90-c679-48a1-aea5-97953ac7b0af df28035dd1e045fd94cf1363d32337d9 e687da999ce4448b9cf3699e66d96fdc - - -] 192.168.82.50 "GET /v2/e687da999ce4448b9cf3699e66d96fdc/servers/detail?limit=21&project_id=e687da999ce4448b9cf3699e66d96fdc HTTP/1.1" status: 200 len: 211 time: 0.0965190
  2016-01-24 12:51:57.501 4618 INFO nova.osapi_compute.wsgi.server [req-4259b6d2-f525-49fe-82fc-710dde1c79e7 df28035dd1e045fd94cf1363d32337d9 e687da999ce4448b9cf3699e66d96fdc - - -] 192.168.82.50 "GET /v2/e687da999ce4448b9cf3699e66d96fdc/extensions HTTP/1.1" status: 200 len: 21880 time: 0.0840139
  2016-01-24 12:51:57.590 4618 INFO nova.osapi_compute.wsgi.server [req-ba863889-4183-4c7d-8bb6-03c9c7bfc2b0 df28035dd1e045fd94cf1363d32337d9 e687da999ce4448b9cf3699e66d96fdc - - -] 192.168.82.50 "GET /v2/e687da999ce4448b9cf3699e66d96fdc/limits?reserved=1 HTTP/1.1" status: 200 len: 708 time: 0.0331728
  2016-01-24 12:51:57.637 4618 INFO nova.osapi_compute.wsgi.server [req-87aae832-897e-4745-a973-a4d734406c14 df28035dd1e045fd94cf1363d32337d9 e687da999ce4448b9cf3699e66d96fdc - - -] 192.168.82.50 "GET /v2/e687da999ce4448b9cf3699e66d96fdc/limits?reserved=1 HTTP/1.1" status: 200 len: 708 time: 0.0336790

  
  keystone.log shows:

  
  2016-01-24 12:51:56.572 2652 INFO keystone.common.wsgi [req-52a90851-108d-4d7b-92e3-237009977641 - - - - -] POST http://localhost:5000/v2.0/tokens
  2016-01-24 12:51:56.682 2652 WARNING keystone.common.wsgi [req-52a90851-108d-4d7b-92e3-237009977641 - - - - -] 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.

  I do not see where I can change the reqeust be to v3.0 instead of v2.0

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


Follow ups