keystone v3 :: nova and glance cli failing with error after configuring v3.
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.1 |
Fix Released
|
Critical
|
Deepinder Setia | |||
R3.2 |
Fix Committed
|
Critical
|
Deepinder Setia | |||
Trunk |
Fix Committed
|
Critical
|
Deepinder Setia |
Bug Description
build 3 kilo setup - multi node HA
root@nodeg34:~# nova list
ERROR (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-b887a077-
root@nodeg34:~# nova service-list
ERROR (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-d0dcceef-
root@nodeg34:~# glance image-list
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-bce4655b-
root@nodeg34:~#
Setup:-
host1 = 'root@10.
host2 = 'root@10.
host3 = 'root@10.
host4 = 'root@10.
host5 = 'root@10.
env.roledefs = {
'all': [host1, host2, host3, host4, host5],
'cfgm': [host1, host2, host3],
'openstack'
'control'
'compute': [host4, host5],
'collector': [host1, host2, host3],
'webui': [host1, host2, host3],
'database': [host1, host2, host3],
'build': [host_build],
}
env.hostnames ={
'all': ['nodeg34', 'nodec48', 'nodec49', 'nodec51', 'nodec63']
}
env.ha = {
'internal_vip' : '192.168.100.10',
'external_vip' : '10.204.221.17',
}
information type: | Proprietary → Public |
Changed in juniperopenstack: | |
milestone: | r3.1.0.0-fcs → none |
root@nodeg34:~# nova --debug list 192.168. 100.10: 5000/v3/ -H "Accept: application/json" -H "User-Agent: python- keystoneclient" :188) Starting new HTTP connection (1): 192.168.100.10 :362) "GET /v3/ HTTP/1.1" 200 253 request- id: req-f2db4d4e- 11b7-4366- a73d-80695c4548 68 30T00:00: 00Z", "media-types": [{"base": "application/json", "type": "application/ vnd.openstack. identity- v3+json" }], "id": "v3.4", "links": [{"href": "http:// 192.168. 100.10: 5000/v3/", "rel": "self"}]}}
DEBUG (session:195) REQ: curl -g -i -X GET http://
DEBUG (retry:155) Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=0)
INFO (connectionpool
DEBUG (connectionpool
DEBUG (session:223) RESP: [200] content-length: 253 vary: X-Auth-Token x-distribution: Ubuntu date: Thu, 28 Jul 2016 09:59:22 GMT content-type: application/json x-openstack-
RESP BODY: {"version": {"status": "stable", "updated": "2015-03-
DEBUG (v3:125) Making authentication request to http:// 192.168. 100.10: 5000/v3/ auth/tokens :362) "POST /v3/auth/tokens HTTP/1.1" 400 236 7e1c-4ba1- b65b-216b3fba46 65) python2. 7/dist- packages/ novaclient/ shell.py" , line 911, in main mputeShell( ).main( argv) python2. 7/dist- packages/ novaclient/ shell.py" , line 838, in main func(self. cs, args) python2. 7/dist- packages/ novaclient/ v2/shell. py", line 1377, in do_list dirs=sort_ dirs) python2. 7/dist- packages/ novaclient/ v2/servers. py", line 617, in list "/servers% s%s" % (detail, query_string), "servers") python2. 7/dist- packages/ novaclient/ base.py" , line 64, in _list client. get(url) python2. 7/dist- packages/ keystoneclient/ adapter. py", line 164, in get python2. 7/dist- packages/ novaclient/ client. py", line 89, in request python2. 7/dist- packages/ keystoneclient/ adapter. py", line 200, in request nAdapter, self).request( *args, **kwargs) python2. 7/dist- packages/ keystoneclient/ adapter. py", line 89, in request request( url, method, **kwargs) python2. 7/dist- packages/ keystoneclient/ utils.py" , line 318, in inner python2. 7/dist- packages/ keystoneclient/ session. py", line 307, in request auth_headers( auth) python2. 7/dist- packages/ keystoneclient/ session. py", line 589, in get_auth_headers headers( self, **kwargs) python2. 7/dist- packages/ keystoneclient/ auth/base. py", line 114, in get_headers token(session)
DEBUG (retry:155) Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=0)
DEBUG (connectionpool
DEBUG (session:388) Request returned failure status: 400
DEBUG (shell:914) 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-cb4955f8-
Traceback (most recent call last):
File "/usr/lib/
OpenStackCo
File "/usr/lib/
args.
File "/usr/lib/
sort_
File "/usr/lib/
return self._list(
File "/usr/lib/
_resp, body = self.api.
File "/usr/lib/
return self.request(url, 'GET', **kwargs)
File "/usr/lib/
**kwargs)
File "/usr/lib/
resp = super(LegacyJso
File "/usr/lib/
return self.session.
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
auth_headers = self.get_
File "/usr/lib/
return auth.get_
File "/usr/lib/
token = self.get_
File...