Hi
I made all the changes as documented in
https://docs.openstack.org/ocata/install-guide-ubuntu/nova-controller-install.html
https://docs.openstack.org/ocata/install-guide-ubuntu/nova-compute-install.html
The issue im facing is when nova compute comes up and queries the placement API
it seems to get a status 300 error code
2017-06-10 10:48:27.236 33 ERROR nova.scheduler.client.report
[req-18ea91e0-a210-42af-a560-5c7697a20604 - - - - -] Failed to create resource
provider record in placement API for UUID d2067675-062b-4550-8631-d23a3b13343b.
Got 300: {"choices": [{"status": "SUPPORTED", "media-types": [{"base":
"application/json", "type":
"application/vnd.openstack.compute+json;version=2"}], "id": "v2.0", "links":
[{"href": "http://15.0.0.42:8778/v2/resource_providers", "rel": "self"}]},
{"status": "CURRENT", "media-types": [{"base": "application/json", "type":
"application/vnd.openstack.compute+json;version=2.1"}], "id": "v2.1", "links":
[{"href": "http://15.0.0.42:8778/v2.1/resource_providers", "rel": "self"}]}]}.
The symptoms look like service catalog is messed up as even if I stop placement
API I get this error
Now when I looked at the keystone service catalog it seems fine
| placement | placement | RegionOne
|
| | | publicURL: https://172.29.86.12:8778
|
| | | internalURL: http://15.0.0.42:8778
|
| | | adminURL: http://15.0.0.42:8778
| nova | compute | RegionOne
|
| | | publicURL:
https://172.29.86.12:8774/v2.1 |
| | | internalURL: http://15.0.0.42:8774/v2.1
|
| | | adminURL: http://15.0.0.42:8774/v2.1
Not sure what I am doing wrong here
Also nova-status upgrade check returns an error
nova-status upgrade check
Option "verbose" from group "DEFAULT" is deprecated for removal. Its value may
be silently ignored in the future.
{u'versions': [{u'status': u'SUPPORTED', u'updated': u'2011-01-21T11:33:21Z',
u'links': [{u'href': u'http://15.0.0.42:8778/v2/', u'rel': u'self'}],
u'min_version': u'', u'version': u'', u'id': u'v2.0'}, {u'status': u'CURRENT',
u'updated': u'2013-07-23T11:33:21Z', u'links': [{u'href':
u'http://15.0.0.42:8778/v2.1/', u'rel': u'self'}], u'min_version': u'2.1',
u'version': u'2.42', u'id': u'v2.1'}]}
Error:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nova/cmd/status.py", line 457, in main
ret = fn(*fn_args, **fn_kwargs)
File "/usr/lib/python2.7/site-packages/nova/cmd/status.py", line 387, in check
result = func(self)
File "/usr/lib/python2.7/site-packages/nova/cmd/status.py", line 202, in
_check_placement
max_version = float(versions["versions"][0]["max_version"])
KeyError: 'max_version'
This is with Ocata
Ajay
_______________________________________________
OpenStack-operators mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators