← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1580703] [NEW] Ironic client wrapper is unable to use keystone V3

 

Public bug reported:

While trying to set up nova-compute with an Ironic driver and keystone V3 I got an error
"Expecting to find domain in project - the server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error"


/etc/nova/nova.conf
[ironic]
api_endpoint = http://<ip>:6385/v1
admin_tenant_name = <project>
admin_url = http://<ip>:35357/v3
admin_password = <pwd>
admin_username = <user>


2016-05-11 17:20:40.529 6628 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/nova/virt/ironic/client_wrapper.py", line 143, in call
2016-05-11 17:20:40.529 6628 ERROR oslo_service.service     return self._multi_getattr(client, method)(*args, **kwargs)
....
2016-05-11 17:20:40.529 6628 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/v3/base.py", line 167, in get_auth_ref
2016-05-11 17:20:40.529 6628 ERROR oslo_service.service     authenticated=False, log=False, **rkwargs)
2016-05-11 17:20:40.529 6628 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 572, in post
2016-05-11 17:20:40.529 6628 ERROR oslo_service.service     return self.request(url, 'POST', **kwargs)
2016-05-11 17:20:40.529 6628 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 94, in inner
2016-05-11 17:20:40.529 6628 ERROR oslo_service.service     return func(*args, **kwargs)
2016-05-11 17:20:40.529 6628 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 467, in request
2016-05-11 17:20:40.529 6628 ERROR oslo_service.service     raise exceptions.from_response(resp, method, url)
2016-05-11 17:20:40.529 6628 ERROR oslo_service.service BadRequest: Expecting to find domain in project - 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-7548130b-6d89-4c30-b3e5-643b2155f921)

** 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/1580703

Title:
  Ironic client wrapper is unable to use keystone V3

Status in OpenStack Compute (nova):
  New

Bug description:
  While trying to set up nova-compute with an Ironic driver and keystone V3 I got an error
  "Expecting to find domain in project - the server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error"

  
  /etc/nova/nova.conf
  [ironic]
  api_endpoint = http://<ip>:6385/v1
  admin_tenant_name = <project>
  admin_url = http://<ip>:35357/v3
  admin_password = <pwd>
  admin_username = <user>

  
  2016-05-11 17:20:40.529 6628 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/nova/virt/ironic/client_wrapper.py", line 143, in call
  2016-05-11 17:20:40.529 6628 ERROR oslo_service.service     return self._multi_getattr(client, method)(*args, **kwargs)
  ....
  2016-05-11 17:20:40.529 6628 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/v3/base.py", line 167, in get_auth_ref
  2016-05-11 17:20:40.529 6628 ERROR oslo_service.service     authenticated=False, log=False, **rkwargs)
  2016-05-11 17:20:40.529 6628 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 572, in post
  2016-05-11 17:20:40.529 6628 ERROR oslo_service.service     return self.request(url, 'POST', **kwargs)
  2016-05-11 17:20:40.529 6628 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 94, in inner
  2016-05-11 17:20:40.529 6628 ERROR oslo_service.service     return func(*args, **kwargs)
  2016-05-11 17:20:40.529 6628 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 467, in request
  2016-05-11 17:20:40.529 6628 ERROR oslo_service.service     raise exceptions.from_response(resp, method, url)
  2016-05-11 17:20:40.529 6628 ERROR oslo_service.service BadRequest: Expecting to find domain in project - 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-7548130b-6d89-4c30-b3e5-643b2155f921)

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


Follow ups