Public bug reported:

Openstack liberty (Ubuntu 14.04)
while executing nova cloudpipe-create <project_id> it fails with error:

ERROR (ClientException): Unexpected API Error. Please report this at 
http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'nova.exception.ImageNotFound'> (HTTP 500) (Request-ID: 
req-14a4fba1-b70f-4b64-b183-c9a1e29cd3cb)

I am using 4node openstack setup. Everything is working fine except
this.

#nova --debug cloudpipe-create 32ef54e0dbbc4b709642a31ac97dabcf

DEBUG (session:198) REQ: curl -g -i -X GET http://D446-Controller:35357/v3 -H 
"Accept: application/json" -H "User-Agent: python-keystoneclient"
INFO (connectionpool:205) Starting new HTTP connection (1): D446-Controller
DEBUG (connectionpool:385) "GET /v3 HTTP/1.1" 200 255
DEBUG (session:215) RESP: [200] Content-Length: 255 Vary: X-Auth-Token 
Keep-Alive: timeout=5, max=100 Server: Apache/2.4.7 (Ubuntu) Connection: 
Keep-Alive Date: Thu, 21 Apr 2016 09:35:53 GMT x-openstack-request-id: 
req-70f7268f-8f1b-4657-96e7-2cb2253e59fa Content-Type: application/json 
X-Distribution: Ubuntu 
RESP BODY: {"version": {"status": "stable", "updated": "2015-03-30T00:00:00Z", 
"media-types": [{"base": "application/json", "type": 
"application/vnd.openstack.identity-v3+json"}], "id": "v3.4", "links": 
[{"href": "http://D446-Controller:35357/v3/";, "rel": "self"}]}}

DEBUG (base:188) Making authentication request to 
http://D446-Controller:35357/v3/auth/tokens
DEBUG (connectionpool:385) "POST /v3/auth/tokens HTTP/1.1" 201 6658
DEBUG (session:198) REQ: curl -g -i -X GET http://D446-Controller:8774/v2/ -H 
"User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: 
{SHA1}2d9f498f6fee652894df44e52c48386b0a55a41f"
INFO (connectionpool:205) Starting new HTTP connection (1): D446-Controller
DEBUG (connectionpool:385) "GET /v2/ HTTP/1.1" 200 380
DEBUG (session:215) RESP: [200] Date: Thu, 21 Apr 2016 09:35:53 GMT Connection: 
keep-alive Content-Type: application/json Content-Length: 380 
X-Compute-Request-Id: req-6e4268b4-9f95-4188-85d5-8b4458f6102d 
RESP BODY: {"version": {"status": "SUPPORTED", "updated": 
"2011-01-21T11:33:21Z", "links": [{"href": "http://D446-Controller:8774/v2/";, 
"rel": "self"}, {"href": "http://docs.openstack.org/";, "type": "text/html", 
"rel": "describedby"}], "min_version": "", "version": "", "media-types": 
[{"base": "application/json", "type": 
"application/vnd.openstack.compute+json;version=2"}], "id": "v2.0"}}

DEBUG (session:198) REQ: curl -g -i -X POST 
http://D446-Controller:8774/v2/32ef54e0dbbc4b709642a31ac97dabcf/os-cloudpipe -H 
"User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: 
application/json" -H "X-Auth-Token: 
{SHA1}2d9f498f6fee652894df44e52c48386b0a55a41f" -d '{"cloudpipe": 
{"project_id": "32ef54e0dbbc4b709642a31ac97dabcf"}}'
DEBUG (connectionpool:385) "POST 
/v2/32ef54e0dbbc4b709642a31ac97dabcf/os-cloudpipe HTTP/1.1" 500 202
DEBUG (session:215) RESP: [500] Date: Thu, 21 Apr 2016 09:35:53 GMT Connection: 
keep-alive Content-Type: application/json; charset=UTF-8 Content-Length: 202 
X-Compute-Request-Id: req-098216b1-556e-4a6d-a9d8-be591373fda3 
RESP BODY: {"computeFault": {"message": "Unexpected API Error. Please report 
this at http://bugs.launchpad.net/nova/ and attach the Nova API log if 
possible.\n<class 'nova.exception.ImageNotFound'>", "code": 500}}

DEBUG (shell:905) Unexpected API Error. Please report this at 
http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'nova.exception.ImageNotFound'> (HTTP 500) (Request-ID: 
req-098216b1-556e-4a6d-a9d8-be591373fda3)
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 903, in main
    OpenStackComputeShell().main(argv)
  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 830, in main
    args.func(self.cs, args)
  File "/usr/lib/python2.7/dist-packages/novaclient/v2/shell.py", line 540, in 
do_cloudpipe_create
    cs.cloudpipe.create(args.project)
  File "/usr/lib/python2.7/dist-packages/novaclient/v2/cloudpipe.py", line 42, 
in create
    return_raw=True)
  File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 169, in 
_create
    _resp, body = self.api.client.post(url, body=body)
  File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 176, 
in post
    return self.request(url, 'POST', **kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 93, in 
request
    raise exceptions.from_response(resp, body, url, method)
ClientException: Unexpected API Error. Please report this at 
http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'nova.exception.ImageNotFound'> (HTTP 500) (Request-ID: 
req-098216b1-556e-4a6d-a9d8-be591373fda3)
ERROR (ClientException): Unexpected API Error. Please report this at 
http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'nova.exception.ImageNotFound'> (HTTP 500) (Request-ID: 
req-098216b1-556e-4a6d-a9d8-be591373fda3)





NOVA-API.LOG

2016-04-21 14:51:41.420 12199 INFO nova.osapi_compute.wsgi.server 
[req-e6070882-a033-43b4-bfbc-12b5c8c178d0 c814e19806d943b6a87df75af765e0fd 
32ef54e0dbbc4b709642a31ac97dabcf - - -] 127.0.0.1 "POST 
/v2/32ef54e0dbbc4b709642a31ac97dabcf/os-cloudpipe HTTP/1.1" status: 500 len: 
433 time: 0.2283669
2016-04-21 14:55:18.411 12199 INFO nova.osapi_compute.wsgi.server 
[req-7e112982-e523-46b2-83b4-594ff7aff64b c814e19806d943b6a87df75af765e0fd 
32ef54e0dbbc4b709642a31ac97dabcf - - -] 127.0.0.1 "GET /v2/ HTTP/1.1" status: 
200 len: 577 time: 0.0192671
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions 
[req-14a4fba1-b70f-4b64-b183-c9a1e29cd3cb c814e19806d943b6a87df75af765e0fd 
32ef54e0dbbc4b709642a31ac97dabcf - - -] Unexpected exception in API method
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions Traceback 
(most recent call last):
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/nova/api/openstack/extensions.py", line 478, 
in wrapped
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     return 
f(*args, **kwargs)
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in 
wrapper
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     return 
func(*args, **kwargs)
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/cloudpipe.py", 
line 131, in create
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     result = 
self.cloudpipe.launch_vpn_instance(context)
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/nova/cloudpipe/pipelib.py", line 138, in 
launch_vpn_instance
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     
security_group=[group_name])
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/nova/hooks.py", line 149, in inner
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     rv = 
f(*args, **kwargs)
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1581, in create
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     
check_server_group_quota=check_server_group_quota)
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1158, in 
_create_instance
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     image_id, 
boot_meta = self._get_image(context, image_href)
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 868, in _get_image
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     image = 
self.image_api.get(context, image_href)
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/nova/image/api.py", line 93, in get
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     
show_deleted=show_deleted)
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 311, in show
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     
_reraise_translated_image_exception(image_id)
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 604, in 
_reraise_translated_image_exception
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     
six.reraise(new_exc, None, exc_trace)
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 309, in show
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     image = 
self._client.call(context, version, 'get', image_id)
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 230, in call
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     return 
getattr(client.images, method)(*args, **kwargs)
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/glanceclient/v1/images.py", line 132, in get
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     % 
urlparse.quote(str(image_id)))
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 277, in 
head
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     return 
self._request('HEAD', url, **kwargs)
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 272, in 
_request
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     resp, 
body_iter = self._handle_response(resp)
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 93, in 
_handle_response
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     raise 
exc.from_response(resp, resp.content)
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions 
ImageNotFound: Image 0 could not be found.
2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions
2016-04-21 14:55:18.759 12199 INFO nova.api.openstack.wsgi 
[req-14a4fba1-b70f-4b64-b183-c9a1e29cd3cb c814e19806d943b6a87df75af765e0fd 
32ef54e0dbbc4b709642a31ac97dabcf - - -] HTTP exception thrown: Unexpected API 
Error. Please report this at http://bugs.launchpad.net/nova/ and attach the 
Nova API log if possible.
<class 'nova.exception.ImageNotFound'>

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: cloudpipe

-- 
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/1572925

Title:
   nova cloudpipe-create <project_id> fails Unexpected API Error and
  HTTP 500 error

Status in OpenStack Compute (nova):
  New

Bug description:
  Openstack liberty (Ubuntu 14.04)
  while executing nova cloudpipe-create <project_id> it fails with error:

  ERROR (ClientException): Unexpected API Error. Please report this at 
http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'nova.exception.ImageNotFound'> (HTTP 500) (Request-ID: 
req-14a4fba1-b70f-4b64-b183-c9a1e29cd3cb)

  I am using 4node openstack setup. Everything is working fine except
  this.

  #nova --debug cloudpipe-create 32ef54e0dbbc4b709642a31ac97dabcf

  DEBUG (session:198) REQ: curl -g -i -X GET http://D446-Controller:35357/v3 -H 
"Accept: application/json" -H "User-Agent: python-keystoneclient"
  INFO (connectionpool:205) Starting new HTTP connection (1): D446-Controller
  DEBUG (connectionpool:385) "GET /v3 HTTP/1.1" 200 255
  DEBUG (session:215) RESP: [200] Content-Length: 255 Vary: X-Auth-Token 
Keep-Alive: timeout=5, max=100 Server: Apache/2.4.7 (Ubuntu) Connection: 
Keep-Alive Date: Thu, 21 Apr 2016 09:35:53 GMT x-openstack-request-id: 
req-70f7268f-8f1b-4657-96e7-2cb2253e59fa Content-Type: application/json 
X-Distribution: Ubuntu 
  RESP BODY: {"version": {"status": "stable", "updated": 
"2015-03-30T00:00:00Z", "media-types": [{"base": "application/json", "type": 
"application/vnd.openstack.identity-v3+json"}], "id": "v3.4", "links": 
[{"href": "http://D446-Controller:35357/v3/";, "rel": "self"}]}}

  DEBUG (base:188) Making authentication request to 
http://D446-Controller:35357/v3/auth/tokens
  DEBUG (connectionpool:385) "POST /v3/auth/tokens HTTP/1.1" 201 6658
  DEBUG (session:198) REQ: curl -g -i -X GET http://D446-Controller:8774/v2/ -H 
"User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: 
{SHA1}2d9f498f6fee652894df44e52c48386b0a55a41f"
  INFO (connectionpool:205) Starting new HTTP connection (1): D446-Controller
  DEBUG (connectionpool:385) "GET /v2/ HTTP/1.1" 200 380
  DEBUG (session:215) RESP: [200] Date: Thu, 21 Apr 2016 09:35:53 GMT 
Connection: keep-alive Content-Type: application/json Content-Length: 380 
X-Compute-Request-Id: req-6e4268b4-9f95-4188-85d5-8b4458f6102d 
  RESP BODY: {"version": {"status": "SUPPORTED", "updated": 
"2011-01-21T11:33:21Z", "links": [{"href": "http://D446-Controller:8774/v2/";, 
"rel": "self"}, {"href": "http://docs.openstack.org/";, "type": "text/html", 
"rel": "describedby"}], "min_version": "", "version": "", "media-types": 
[{"base": "application/json", "type": 
"application/vnd.openstack.compute+json;version=2"}], "id": "v2.0"}}

  DEBUG (session:198) REQ: curl -g -i -X POST 
http://D446-Controller:8774/v2/32ef54e0dbbc4b709642a31ac97dabcf/os-cloudpipe -H 
"User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: 
application/json" -H "X-Auth-Token: 
{SHA1}2d9f498f6fee652894df44e52c48386b0a55a41f" -d '{"cloudpipe": 
{"project_id": "32ef54e0dbbc4b709642a31ac97dabcf"}}'
  DEBUG (connectionpool:385) "POST 
/v2/32ef54e0dbbc4b709642a31ac97dabcf/os-cloudpipe HTTP/1.1" 500 202
  DEBUG (session:215) RESP: [500] Date: Thu, 21 Apr 2016 09:35:53 GMT 
Connection: keep-alive Content-Type: application/json; charset=UTF-8 
Content-Length: 202 X-Compute-Request-Id: 
req-098216b1-556e-4a6d-a9d8-be591373fda3 
  RESP BODY: {"computeFault": {"message": "Unexpected API Error. Please report 
this at http://bugs.launchpad.net/nova/ and attach the Nova API log if 
possible.\n<class 'nova.exception.ImageNotFound'>", "code": 500}}

  DEBUG (shell:905) Unexpected API Error. Please report this at 
http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'nova.exception.ImageNotFound'> (HTTP 500) (Request-ID: 
req-098216b1-556e-4a6d-a9d8-be591373fda3)
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 903, in 
main
      OpenStackComputeShell().main(argv)
    File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 830, in 
main
      args.func(self.cs, args)
    File "/usr/lib/python2.7/dist-packages/novaclient/v2/shell.py", line 540, 
in do_cloudpipe_create
      cs.cloudpipe.create(args.project)
    File "/usr/lib/python2.7/dist-packages/novaclient/v2/cloudpipe.py", line 
42, in create
      return_raw=True)
    File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 169, in 
_create
      _resp, body = self.api.client.post(url, body=body)
    File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 
176, in post
      return self.request(url, 'POST', **kwargs)
    File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 93, in 
request
      raise exceptions.from_response(resp, body, url, method)
  ClientException: Unexpected API Error. Please report this at 
http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'nova.exception.ImageNotFound'> (HTTP 500) (Request-ID: 
req-098216b1-556e-4a6d-a9d8-be591373fda3)
  ERROR (ClientException): Unexpected API Error. Please report this at 
http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'nova.exception.ImageNotFound'> (HTTP 500) (Request-ID: 
req-098216b1-556e-4a6d-a9d8-be591373fda3)







  
  NOVA-API.LOG

  2016-04-21 14:51:41.420 12199 INFO nova.osapi_compute.wsgi.server 
[req-e6070882-a033-43b4-bfbc-12b5c8c178d0 c814e19806d943b6a87df75af765e0fd 
32ef54e0dbbc4b709642a31ac97dabcf - - -] 127.0.0.1 "POST 
/v2/32ef54e0dbbc4b709642a31ac97dabcf/os-cloudpipe HTTP/1.1" status: 500 len: 
433 time: 0.2283669
  2016-04-21 14:55:18.411 12199 INFO nova.osapi_compute.wsgi.server 
[req-7e112982-e523-46b2-83b4-594ff7aff64b c814e19806d943b6a87df75af765e0fd 
32ef54e0dbbc4b709642a31ac97dabcf - - -] 127.0.0.1 "GET /v2/ HTTP/1.1" status: 
200 len: 577 time: 0.0192671
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions 
[req-14a4fba1-b70f-4b64-b183-c9a1e29cd3cb c814e19806d943b6a87df75af765e0fd 
32ef54e0dbbc4b709642a31ac97dabcf - - -] Unexpected exception in API method
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions Traceback 
(most recent call last):
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/nova/api/openstack/extensions.py", line 478, 
in wrapped
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     return 
f(*args, **kwargs)
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in 
wrapper
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     return 
func(*args, **kwargs)
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/cloudpipe.py", 
line 131, in create
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     result 
= self.cloudpipe.launch_vpn_instance(context)
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/nova/cloudpipe/pipelib.py", line 138, in 
launch_vpn_instance
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     
security_group=[group_name])
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/nova/hooks.py", line 149, in inner
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     rv = 
f(*args, **kwargs)
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1581, in create
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     
check_server_group_quota=check_server_group_quota)
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1158, in 
_create_instance
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     
image_id, boot_meta = self._get_image(context, image_href)
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 868, in _get_image
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     image = 
self.image_api.get(context, image_href)
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/nova/image/api.py", line 93, in get
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     
show_deleted=show_deleted)
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 311, in show
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     
_reraise_translated_image_exception(image_id)
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 604, in 
_reraise_translated_image_exception
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     
six.reraise(new_exc, None, exc_trace)
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 309, in show
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     image = 
self._client.call(context, version, 'get', image_id)
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 230, in call
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     return 
getattr(client.images, method)(*args, **kwargs)
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/glanceclient/v1/images.py", line 132, in get
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     % 
urlparse.quote(str(image_id)))
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 277, in 
head
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     return 
self._request('HEAD', url, **kwargs)
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 272, in 
_request
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     resp, 
body_iter = self._handle_response(resp)
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions   File 
"/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 93, in 
_handle_response
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions     raise 
exc.from_response(resp, resp.content)
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions 
ImageNotFound: Image 0 could not be found.
  2016-04-21 14:55:18.758 12199 ERROR nova.api.openstack.extensions
  2016-04-21 14:55:18.759 12199 INFO nova.api.openstack.wsgi 
[req-14a4fba1-b70f-4b64-b183-c9a1e29cd3cb c814e19806d943b6a87df75af765e0fd 
32ef54e0dbbc4b709642a31ac97dabcf - - -] HTTP exception thrown: Unexpected API 
Error. Please report this at http://bugs.launchpad.net/nova/ and attach the 
Nova API log if possible.
  <class 'nova.exception.ImageNotFound'>

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1572925/+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

Reply via email to