← Back to team overview

yahoo-eng-team team mailing list archive

[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 DEBUG nova.osapi_compute.wsgi.server [req-3fbf163d-9ee9-4b82-b583-2133eeadb3c8 admin demo] (32324) accepted ('192.168.1.109', 48960) from (pid=32324) server /usr/local/lib/python2.7/dist-packages/eventlet/wsgi.py:826
  2016-01-06 16:00:11.759 DEBUG keystoneauth.session [req-3fbf163d-9ee9-4b82-b583-2133eeadb3c8 admin demo] REQ: 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" from (pid=32324) _http_log_request /usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py:206
  2016-01-06 16:00:11.817 DEBUG keystoneauth.session [req-3fbf163d-9ee9-4b82-b583-2133eeadb3c8 admin demo] RESP: [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"}}
   from (pid=32324) _http_log_response /usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py:235
  2016-01-06 16:00:11.821 DEBUG nova.api.openstack.wsgi [req-4a2f6f5e-c5b8-403d-9336-a1a3becd4c29 admin demo] Calling method '<bound method AggregateController.index of <nova.api.openstack.compute.aggregates.AggregateController object at 0x7f8c16b599d0>>' from (pid=32324) _process_stack /opt/stack/nova/nova/api/openstack/wsgi.py:798
  2016-01-06 16:00:11.837 INFO nova.osapi_compute.wsgi.server [req-4a2f6f5e-c5b8-403d-9336-a1a3becd4c29 admin demo] 192.168.1.109 "GET /v2.1/0e585c25ef3e41aeb69321672a3bd047/os-aggregates HTTP/1.1" status: 200 len: 285 time: 0.0796518
  2016-01-06 16:00:11.842 DEBUG nova.osapi_compute.wsgi.server [req-4a2f6f5e-c5b8-403d-9336-a1a3becd4c29 admin demo] (32324) accepted ('192.168.1.109', 48962) from (pid=32324) server /usr/local/lib/python2.7/dist-packages/eventlet/wsgi.py:826
  2016-01-06 16:00:11.846 DEBUG nova.api.openstack.wsgi [req-136fd612-bb9e-45e2-a8fa-423e5322c64c admin demo] Calling method '<bound method AvailabilityZoneController.detail of <nova.api.openstack.compute.availability_zone.AvailabilityZoneController object at 0x7f8c16d2cc90>>' from (pid=32324) _process_stack /opt/stack/nova/nova/api/openstack/wsgi.py:798
  2016-01-06 16:00:11.848 ERROR nova.api.openstack.extensions [req-136fd612-bb9e-45e2-a8fa-423e5322c64c admin demo] Unexpected exception in API method
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions Traceback (most recent call last):
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions   File "/opt/stack/nova/nova/api/openstack/extensions.py", line 478, in wrapped
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions     return f(*args, **kwargs)
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions   File "/opt/stack/nova/nova/api/openstack/compute/availability_zone.py", line 120, in detail
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions     return self._describe_availability_zones_verbose(context)
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions   File "/opt/stack/nova/nova/api/openstack/compute/availability_zone.py", line 61, in _describe_availability_zones_verbose
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions     ctxt = context.elevated()
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions   File "/opt/stack/nova/nova/context.py", line 200, in elevated
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions     context = copy.deepcopy(self)
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions   File "/usr/lib/python2.7/copy.py", line 190, in deepcopy
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions     y = _reconstruct(x, rv, 1, memo)
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions   File "/usr/lib/python2.7/copy.py", line 334, in _reconstruct
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions     state = deepcopy(state, memo)
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions   File "/usr/lib/python2.7/copy.py", line 163, in deepcopy
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions     y = copier(x, memo)
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions   File "/usr/lib/python2.7/copy.py", line 257, in _deepcopy_dict
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions     y[deepcopy(key, memo)] = deepcopy(value, memo)
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions   File "/usr/lib/python2.7/copy.py", line 190, in deepcopy
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions     y = _reconstruct(x, rv, 1, memo)
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions   File "/usr/lib/python2.7/copy.py", line 334, in _reconstruct
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions     state = deepcopy(state, memo)
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions   File "/usr/lib/python2.7/copy.py", line 163, in deepcopy
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions     y = copier(x, memo)
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions   File "/usr/lib/python2.7/copy.py", line 257, in _deepcopy_dict
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions     y[deepcopy(key, memo)] = deepcopy(value, memo)
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions   File "/usr/lib/python2.7/copy.py", line 190, in deepcopy
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions     y = _reconstruct(x, rv, 1, memo)
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions   File "/usr/lib/python2.7/copy.py", line 329, in _reconstruct
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions     y = callable(*args)
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions   File "/usr/lib/python2.7/copy_reg.py", line 93, in __newobj__
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions     return cls.__new__(cls, *args)
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions TypeError: object.__new__(thread.lock) is not safe, use thread.lock.__new__()
  2016-01-06 16:00:11.848 TRACE nova.api.openstack.extensions 
  2016-01-06 16:00:11.849 INFO nova.api.openstack.wsgi [req-136fd612-bb9e-45e2-a8fa-423e5322c64c admin demo] HTTP 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'>
  2016-01-06 16:00:11.850 DEBUG nova.api.openstack.wsgi [req-136fd612-bb9e-45e2-a8fa-423e5322c64c admin demo] Returning 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'> from (pid=32324) __call__ /opt/stack/nova/nova/api/openstack/wsgi.py:1180
  2016-01-06 16:00:11.851 INFO nova.osapi_compute.wsgi.server [req-136fd612-bb9e-45e2-a8fa-423e5322c64c admin demo] 192.168.1.109 "GET /v2.1/0e585c25ef3e41aeb69321672a3bd047/os-availability-zone/detail HTTP/1.1" status: 500 len: 495 time: 0.0076890
  2016-01-06 16:00:11.918 DEBUG nova.osapi_compute.wsgi.server [req-75a83331-1fb6-4935-9ba3-6f1440ba096a admin demo] (32325) accepted ('192.168.1.109', 48964) from (pid=32325) server /usr/local/lib/python2.7/dist-packages/eventlet/wsgi.py:826
  2016-01-06 16:00:11.922 DEBUG keystoneauth.session [req-75a83331-1fb6-4935-9ba3-6f1440ba096a admin demo] REQ: 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" from (pid=32325) _http_log_request /usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py:206
  2016-01-06 16:00:11.974 DEBUG keystoneauth.session [req-75a83331-1fb6-4935-9ba3-6f1440ba096a admin demo] RESP: [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"}}
   from (pid=32325) _http_log_response /usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py:235
  2016-01-06 16:00:11.980 DEBUG nova.api.openstack.wsgi [req-477f4e16-5544-40f2-9779-1197bb406c38 admin demo] Calling method '<bound method ExtensionInfoController.index of <nova.api.openstack.compute.extension_info.ExtensionInfoController object at 0x7f8c16a9c250>>' from (pid=32325) _process_stack /opt/stack/nova/nova/api/openstack/wsgi.py:798
  2016-01-06 16:00:12.023 INFO nova.osapi_compute.wsgi.server [req-477f4e16-5544-40f2-9779-1197bb406c38 admin demo] 192.168.1.109 "GET /v2.1/0e585c25ef3e41aeb69321672a3bd047/extensions HTTP/1.1" status: 200 len: 21766 time: 0.1032760

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


References