Public bug reported: We have Liberty setup with all services in HA. Sometimes vm creation is getting failed throwing below error. We are getting this error randomly.
" nCould not find image fdc-centos7-image: 500 Internal Server Error Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\n<class 'glanceclient.exc.HTTPServiceUnavailable'>\n\n " Below is the nova api log: 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions [req-6f2cacb2-c36b-464e-b816-3caad8c24746 3612616185a748f788fb0532729ccc3a 5896939c506840c2bf083cb1100bee2b - - -] Unexpected exception in API method 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions Traceback (most recent call last): 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, in wrapped 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions return f(*args, **kwargs) 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/images.py", line 145, in detail 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions **page_params) 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/image/api.py", line 68, in get_all 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions return session.detail(context, **kwargs) 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 284, in detail 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions for image in images: 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 254, in list 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions for image in paginate(params, return_request_id): 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 238, in paginate 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions images, resp = self._list(url, "images") 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 63, in _list 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions resp, body = self.client.get(url) 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 280, in get 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions return self._request('GET', url, **kwargs) 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 272, in _request 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions resp, body_iter = self._handle_response(resp) 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 93, in _handle_response 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions raise exc.from_response(resp, resp.content) 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions HTTPInternalServerError: 500 Internal Server Error: The server has either erred or is incapable of performing the requested operation. (HTTP 500) 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions 2017-01-09 05:19:00.583 592 INFO nova.api.openstack.wsgi [req-6f2cacb2-c36b-464e-b816-3caad8c24746 3612616185a748f788fb0532729ccc3a 5896939c506840c2bf083cb1100bee2b - - -] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. <class 'glanceclient.exc.HTTPInternalServerError'> ** 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/1654990 Title: Vm creation getting failed with image not found error Status in OpenStack Compute (nova): New Bug description: We have Liberty setup with all services in HA. Sometimes vm creation is getting failed throwing below error. We are getting this error randomly. " nCould not find image fdc-centos7-image: 500 Internal Server Error Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\n<class 'glanceclient.exc.HTTPServiceUnavailable'>\n\n " Below is the nova api log: 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions [req-6f2cacb2-c36b-464e-b816-3caad8c24746 3612616185a748f788fb0532729ccc3a 5896939c506840c2bf083cb1100bee2b - - -] Unexpected exception in API method 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions Traceback (most recent call last): 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, in wrapped 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions return f(*args, **kwargs) 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/images.py", line 145, in detail 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions **page_params) 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/image/api.py", line 68, in get_all 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions return session.detail(context, **kwargs) 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 284, in detail 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions for image in images: 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 254, in list 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions for image in paginate(params, return_request_id): 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 238, in paginate 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions images, resp = self._list(url, "images") 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 63, in _list 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions resp, body = self.client.get(url) 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 280, in get 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions return self._request('GET', url, **kwargs) 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 272, in _request 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions resp, body_iter = self._handle_response(resp) 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 93, in _handle_response 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions raise exc.from_response(resp, resp.content) 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions HTTPInternalServerError: 500 Internal Server Error: The server has either erred or is incapable of performing the requested operation. (HTTP 500) 2017-01-09 05:19:00.582 592 ERROR nova.api.openstack.extensions 2017-01-09 05:19:00.583 592 INFO nova.api.openstack.wsgi [req-6f2cacb2-c36b-464e-b816-3caad8c24746 3612616185a748f788fb0532729ccc3a 5896939c506840c2bf083cb1100bee2b - - -] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. <class 'glanceclient.exc.HTTPInternalServerError'> To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1654990/+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

