Public bug reported: Tried to run "openstack compute service list" and below is the output i got.
[root@localhost mysql(keystone_admin)]# openstack compute service list Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. <class 'oslo_messaging.exceptions.MessagingTimeout'> (HTTP 500) (Request-ID: req-0d01c1bc-3fe1-45aa-920a-7a2179c62cde) please find the API logs which are related to this command. ______________________________________________________________________________________________________ 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions [req-0d01c1bc-3fe1-45aa-920a-7a2179c62cde - - - - -] Unexpected exception in API method 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions Traceback (most recent call last): 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 338, in wrapped 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions return f(*args, **kwargs) 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/services.py", line 205, in index 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions _services = self._get_services_list(req) 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/services.py", line 88, in _get_services_list 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions _services = self._get_services(req) 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/services.py", line 50, in _get_services 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions for s in self.host_api.service_get_all(context, set_zones=True) 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/cells_api.py", line 548, in service_get_all 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions filters=filters) 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/cells/rpcapi.py", line 283, in service_get_all 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions return cctxt.call(ctxt, 'service_get_all', filters=filters) 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 169, in call 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions retry=self.retry) 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 97, in _send 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions timeout=timeout, retry=retry) 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 458, in send 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions retry=retry) 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 447, in _send 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions result = self._waiter.wait(msg_id, timeout) 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 339, in wait 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions message = self.waiters.get(msg_id, timeout=timeout) 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 238, in get 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions 'to message ID %s' % msg_id) 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions MessagingTimeout: Timed out waiting for a reply to message ID d04be4c1b1b44c67a471a73242f2afeb 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions 2017-04-08 12:57:03.856 31013 INFO nova.api.openstack.wsgi [req-0d01c1bc-3fe1-45aa-920a-7a2179c62cde - - - - -] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. <class 'oslo_messaging.exceptions.MessagingTimeout'> ______________________________________________________________________________________________________ ** 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/1687536 Title: [NOVA] Unexpected exception in API method. Status in OpenStack Compute (nova): New Bug description: Tried to run "openstack compute service list" and below is the output i got. [root@localhost mysql(keystone_admin)]# openstack compute service list Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. <class 'oslo_messaging.exceptions.MessagingTimeout'> (HTTP 500) (Request-ID: req-0d01c1bc-3fe1-45aa-920a-7a2179c62cde) please find the API logs which are related to this command. ______________________________________________________________________________________________________ 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions [req-0d01c1bc-3fe1-45aa-920a-7a2179c62cde - - - - -] Unexpected exception in API method 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions Traceback (most recent call last): 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 338, in wrapped 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions return f(*args, **kwargs) 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/services.py", line 205, in index 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions _services = self._get_services_list(req) 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/services.py", line 88, in _get_services_list 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions _services = self._get_services(req) 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/services.py", line 50, in _get_services 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions for s in self.host_api.service_get_all(context, set_zones=True) 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/cells_api.py", line 548, in service_get_all 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions filters=filters) 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/cells/rpcapi.py", line 283, in service_get_all 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions return cctxt.call(ctxt, 'service_get_all', filters=filters) 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 169, in call 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions retry=self.retry) 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 97, in _send 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions timeout=timeout, retry=retry) 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 458, in send 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions retry=retry) 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 447, in _send 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions result = self._waiter.wait(msg_id, timeout) 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 339, in wait 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions message = self.waiters.get(msg_id, timeout=timeout) 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 238, in get 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions 'to message ID %s' % msg_id) 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions MessagingTimeout: Timed out waiting for a reply to message ID d04be4c1b1b44c67a471a73242f2afeb 2017-04-08 12:57:03.855 31013 ERROR nova.api.openstack.extensions 2017-04-08 12:57:03.856 31013 INFO nova.api.openstack.wsgi [req-0d01c1bc-3fe1-45aa-920a-7a2179c62cde - - - - -] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. <class 'oslo_messaging.exceptions.MessagingTimeout'> ______________________________________________________________________________________________________ To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1687536/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

