yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #44660
[Bug 1531428] Re: could't find availability_zones list
Yes, that's the way I see that file on my installation. So this problem
was related with an error in starting the nova-api service. Since you
have found a solution for your problem and it didn't have to do with
nova code per se, I am marking this bug as invalid. Thank you for
working on your problem and reporting your findings.
** Changed in: nova
Status: Incomplete => Invalid
--
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/1531428
Title:
could't find availability_zones list
Status in OpenStack Compute (nova):
Invalid
Bug description:
when i logged in my devstack environment and clicked "servers"of “system panel”,
i got this errorr:could't find availability_zones list
then i had a look at n-api.log,i got this :
1-06 16:00:11.755 [00;32mDEBUG nova.osapi_compute.wsgi.server [[01;36mreq-3fbf163d-9ee9-4b82-b583-2133eeadb3c8 [00;36madmin demo[00;32m] [01;35m[00;32m(32324) accepted ('192.168.1.109', 48960)[00m [00;33mfrom (pid=32324) server /usr/local/lib/python2.7/dist-packages/eventlet/wsgi.py:826[00m
2016-01-06 16:00:11.759 [00;32mDEBUG keystoneauth.session [[01;36mreq-3fbf163d-9ee9-4b82-b583-2133eeadb3c8 [00;36madmin demo[00;32m] [01;35m[00;32mREQ: curl -g -i --cacert "/opt/stack/data/ca-bundle.pem" -X GET http://192.168.1.109:35357/v3/auth/tokens -H "X-Subject-Token: {SHA1}cece495a5656aebe24c73b55512f2971fdf9b9a4" -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}c2ccc47b4b64ccefde16fd185e2dc22d51b9fe0e"[00m [00;33mfrom (pid=32324) _http_log_request /usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py:206[00m
2016-01-06 16:00:11.817 [00;32mDEBUG keystoneauth.session [[01;36mreq-3fbf163d-9ee9-4b82-b583-2133eeadb3c8 [00;36madmin demo[00;32m] [01;35m[00;32mRESP: [200] Content-Length: 4856 X-Subject-Token: {SHA1}cece495a5656aebe24c73b55512f2971fdf9b9a4 Vary: X-Auth-Token Keep-Alive: timeout=5, max=100 Server: Apache/2.4.7 (Ubuntu) Connection: Keep-Alive Date: Wed, 06 Jan 2016 08:00:11 GMT Content-Type: application/json x-openstack-request-id: req-ffd54554-5e13-4e64-a891-3a537234bc11
RESP BODY: {"token": {"methods": ["token", "password"], "roles": [{"id": "0b334f71f26742c5b18163e379b86439", "name": "admin"}], "expires_at": "2016-01-06T08:54:13.065141Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "0e585c25ef3e41aeb69321672a3bd047", "name": "demo"}, "catalog": "<removed>", "user": {"domain": {"id": "default", "name": "Default"}, "id": "dac7f9e6ea9f4e2a8716a40e76497c13", "name": "admin"}, "audit_ids": ["tNyvTREyQeuxmnJDdBP8WA", "tKPffHVyQ7-c9mXsXo4NJA"], "issued_at": "2016-01-06T07:54:16.341202Z"}}
[00m [00;33mfrom (pid=32324) _http_log_response /usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py:235[00m
2016-01-06 16:00:11.821 [00;32mDEBUG nova.api.openstack.wsgi [[01;36mreq-4a2f6f5e-c5b8-403d-9336-a1a3becd4c29 [00;36madmin demo[00;32m] [01;35m[00;32mCalling method '<bound method AggregateController.index of <nova.api.openstack.compute.aggregates.AggregateController object at 0x7f8c16b599d0>>'[00m [00;33mfrom (pid=32324) _process_stack /opt/stack/nova/nova/api/openstack/wsgi.py:798[00m
2016-01-06 16:00:11.837 [00;36mINFO nova.osapi_compute.wsgi.server [[01;36mreq-4a2f6f5e-c5b8-403d-9336-a1a3becd4c29 [00;36madmin demo[00;36m] [01;35m[00;36m192.168.1.109 "GET /v2.1/0e585c25ef3e41aeb69321672a3bd047/os-aggregates HTTP/1.1" status: 200 len: 285 time: 0.0796518[00m
2016-01-06 16:00:11.842 [00;32mDEBUG nova.osapi_compute.wsgi.server [[01;36mreq-4a2f6f5e-c5b8-403d-9336-a1a3becd4c29 [00;36madmin demo[00;32m] [01;35m[00;32m(32324) accepted ('192.168.1.109', 48962)[00m [00;33mfrom (pid=32324) server /usr/local/lib/python2.7/dist-packages/eventlet/wsgi.py:826[00m
2016-01-06 16:00:11.846 [00;32mDEBUG nova.api.openstack.wsgi [[01;36mreq-136fd612-bb9e-45e2-a8fa-423e5322c64c [00;36madmin demo[00;32m] [01;35m[00;32mCalling method '<bound method AvailabilityZoneController.detail of <nova.api.openstack.compute.availability_zone.AvailabilityZoneController object at 0x7f8c16d2cc90>>'[00m [00;33mfrom (pid=32324) _process_stack /opt/stack/nova/nova/api/openstack/wsgi.py:798[00m
2016-01-06 16:00:11.848 [01;31mERROR nova.api.openstack.extensions [[01;36mreq-136fd612-bb9e-45e2-a8fa-423e5322c64c [00;36madmin demo[01;31m] [01;35m[01;31mUnexpected exception in API method[00m
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00mTraceback (most recent call last):
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m File "/opt/stack/nova/nova/api/openstack/extensions.py", line 478, in wrapped
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m return f(*args, **kwargs)
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m File "/opt/stack/nova/nova/api/openstack/compute/availability_zone.py", line 120, in detail
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m return self._describe_availability_zones_verbose(context)
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m File "/opt/stack/nova/nova/api/openstack/compute/availability_zone.py", line 61, in _describe_availability_zones_verbose
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m ctxt = context.elevated()
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m File "/opt/stack/nova/nova/context.py", line 200, in elevated
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m context = copy.deepcopy(self)
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m File "/usr/lib/python2.7/copy.py", line 190, in deepcopy
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m y = _reconstruct(x, rv, 1, memo)
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m File "/usr/lib/python2.7/copy.py", line 334, in _reconstruct
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m state = deepcopy(state, memo)
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m File "/usr/lib/python2.7/copy.py", line 163, in deepcopy
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m y = copier(x, memo)
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m File "/usr/lib/python2.7/copy.py", line 257, in _deepcopy_dict
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m y[deepcopy(key, memo)] = deepcopy(value, memo)
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m File "/usr/lib/python2.7/copy.py", line 190, in deepcopy
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m y = _reconstruct(x, rv, 1, memo)
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m File "/usr/lib/python2.7/copy.py", line 334, in _reconstruct
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m state = deepcopy(state, memo)
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m File "/usr/lib/python2.7/copy.py", line 163, in deepcopy
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m y = copier(x, memo)
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m File "/usr/lib/python2.7/copy.py", line 257, in _deepcopy_dict
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m y[deepcopy(key, memo)] = deepcopy(value, memo)
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m File "/usr/lib/python2.7/copy.py", line 190, in deepcopy
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m y = _reconstruct(x, rv, 1, memo)
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m File "/usr/lib/python2.7/copy.py", line 329, in _reconstruct
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m y = callable(*args)
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m File "/usr/lib/python2.7/copy_reg.py", line 93, in __newobj__
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m return cls.__new__(cls, *args)
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00mTypeError: object.__new__(thread.lock) is not safe, use thread.lock.__new__()
[01;31m2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions [01;35m[00m
2016-01-06 16:00:11.849 [00;36mINFO nova.api.openstack.wsgi [[01;36mreq-136fd612-bb9e-45e2-a8fa-423e5322c64c [00;36madmin demo[00;36m] [01;35m[00;36mHTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<type 'exceptions.TypeError'>[00m
2016-01-06 16:00:11.850 [00;32mDEBUG nova.api.openstack.wsgi [[01;36mreq-136fd612-bb9e-45e2-a8fa-423e5322c64c [00;36madmin demo[00;32m] [01;35m[00;32mReturning 500 to user: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<type 'exceptions.TypeError'>[00m [00;33mfrom (pid=32324) __call__ /opt/stack/nova/nova/api/openstack/wsgi.py:1180[00m
2016-01-06 16:00:11.851 [00;36mINFO nova.osapi_compute.wsgi.server [[01;36mreq-136fd612-bb9e-45e2-a8fa-423e5322c64c [00;36madmin demo[00;36m] [01;35m[00;36m192.168.1.109 "GET /v2.1/0e585c25ef3e41aeb69321672a3bd047/os-availability-zone/detail HTTP/1.1" status: 500 len: 495 time: 0.0076890[00m
2016-01-06 16:00:11.918 [00;32mDEBUG nova.osapi_compute.wsgi.server [[01;36mreq-75a83331-1fb6-4935-9ba3-6f1440ba096a [00;36madmin demo[00;32m] [01;35m[00;32m(32325) accepted ('192.168.1.109', 48964)[00m [00;33mfrom (pid=32325) server /usr/local/lib/python2.7/dist-packages/eventlet/wsgi.py:826[00m
2016-01-06 16:00:11.922 [00;32mDEBUG keystoneauth.session [[01;36mreq-75a83331-1fb6-4935-9ba3-6f1440ba096a [00;36madmin demo[00;32m] [01;35m[00;32mREQ: curl -g -i --cacert "/opt/stack/data/ca-bundle.pem" -X GET http://192.168.1.109:35357/v3/auth/tokens -H "X-Subject-Token: {SHA1}cece495a5656aebe24c73b55512f2971fdf9b9a4" -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}499d8c6b145741cc7f06fdafbadce2aa096c3ea9"[00m [00;33mfrom (pid=32325) _http_log_request /usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py:206[00m
2016-01-06 16:00:11.974 [00;32mDEBUG keystoneauth.session [[01;36mreq-75a83331-1fb6-4935-9ba3-6f1440ba096a [00;36madmin demo[00;32m] [01;35m[00;32mRESP: [200] Content-Length: 4856 X-Subject-Token: {SHA1}cece495a5656aebe24c73b55512f2971fdf9b9a4 Vary: X-Auth-Token Keep-Alive: timeout=5, max=100 Server: Apache/2.4.7 (Ubuntu) Connection: Keep-Alive Date: Wed, 06 Jan 2016 08:00:11 GMT Content-Type: application/json x-openstack-request-id: req-d3e29b13-cfde-4915-b27b-cd76e82effd2
RESP BODY: {"token": {"methods": ["token", "password"], "roles": [{"id": "0b334f71f26742c5b18163e379b86439", "name": "admin"}], "expires_at": "2016-01-06T08:54:13.065141Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "0e585c25ef3e41aeb69321672a3bd047", "name": "demo"}, "catalog": "<removed>", "user": {"domain": {"id": "default", "name": "Default"}, "id": "dac7f9e6ea9f4e2a8716a40e76497c13", "name": "admin"}, "audit_ids": ["tNyvTREyQeuxmnJDdBP8WA", "tKPffHVyQ7-c9mXsXo4NJA"], "issued_at": "2016-01-06T07:54:16.341202Z"}}
[00m [00;33mfrom (pid=32325) _http_log_response /usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py:235[00m
2016-01-06 16:00:11.980 [00;32mDEBUG nova.api.openstack.wsgi [[01;36mreq-477f4e16-5544-40f2-9779-1197bb406c38 [00;36madmin demo[00;32m] [01;35m[00;32mCalling method '<bound method ExtensionInfoController.index of <nova.api.openstack.compute.extension_info.ExtensionInfoController object at 0x7f8c16a9c250>>'[00m [00;33mfrom (pid=32325) _process_stack /opt/stack/nova/nova/api/openstack/wsgi.py:798[00m
2016-01-06 16:00:12.023 [00;36mINFO nova.osapi_compute.wsgi.server [[01;36mreq-477f4e16-5544-40f2-9779-1197bb406c38 [00;36madmin demo[00;36m] [01;35m[00;36m192.168.1.109 "GET /v2.1/0e585c25ef3e41aeb69321672a3bd047/extensions HTTP/1.1" status: 200 len: 21766 time: 0.1032760[00m
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1531428/+subscriptions
References