Based on the discussion you referenced, this would be classified as a
packstack  but and not a Cinder or Nova bug.  Unless there's some
additional detail I'm missing, it seems this has been identified as an
issue with how packstack is (or more accurately is NOT) initializing the
Glance DataBase.

** Changed in: cinder
       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/1074061

Title:
  Creating a volume out of an image using the nova api fails

Status in Cinder:
  Invalid
Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  Trying to create a volume using this command:

  nova volume-create --image-id 9542ab1e-3602-4940-86d3-1e7593c32ed7
  --display-name "something" 50

  The nova-volume.log shows:

  2012-11-01 17:16:58 DEBUG nova.volume.manager 
[req-67d0a83a-b014-400f-b63f-169bef91a432 4629023da94042e5ab9b1fab79ddc2ce 
b73867eacaa64a90a77e16aa5cc86686] volume 
volume-4e7657a5-3e03-495b-a48f-9dcab7a5f8ca: creating lv of size 50G from 
(pid=1592) create_volume 
/usr/lib/python2.7/dist-packages/nova/volume/manager.py:137
  2012-11-01 17:16:58 ERROR nova.openstack.common.rpc.amqp [-] Exception during 
message handling
  2012-11-01 17:16:58 TRACE nova.openstack.common.rpc.amqp Traceback (most 
recent call last):
  2012-11-01 17:16:58 TRACE nova.openstack.common.rpc.amqp   File 
"/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 275, 
in _process_data
  2012-11-01 17:16:58 TRACE nova.openstack.common.rpc.amqp     rval = 
self.proxy.dispatch(ctxt, version, method, **args)
  2012-11-01 17:16:58 TRACE nova.openstack.common.rpc.amqp   File 
"/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/dispatcher.py", 
line 145, in dispatch
  2012-11-01 17:16:58 TRACE nova.openstack.common.rpc.amqp     return 
getattr(proxyobj, method)(ctxt, **kwargs)
  2012-11-01 17:16:58 TRACE nova.openstack.common.rpc.amqp   File 
"/usr/lib/python2.7/dist-packages/nova/volume/manager.py", line 166, in 
create_volume
  2012-11-01 17:16:58 TRACE nova.openstack.common.rpc.amqp     
volume_ref['id'], {'status': 'error'})
  2012-11-01 17:16:58 TRACE nova.openstack.common.rpc.amqp   File 
"/usr/lib/python2.7/contextlib.py", line 24, in __exit__
  2012-11-01 17:16:58 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
  2012-11-01 17:16:58 TRACE nova.openstack.common.rpc.amqp   File 
"/usr/lib/python2.7/dist-packages/nova/volume/manager.py", line 150, in 
create_volume
  2012-11-01 17:16:58 TRACE nova.openstack.common.rpc.amqp     image_location = 
image_service.get_location(context, image_id)
  2012-11-01 17:16:58 TRACE nova.openstack.common.rpc.amqp   File 
"/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 210, in 
get_location
  2012-11-01 17:16:58 TRACE nova.openstack.common.rpc.amqp     
_reraise_translated_image_exception(image_id)
  2012-11-01 17:16:58 TRACE nova.openstack.common.rpc.amqp   File 
"/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 208, in 
get_location
  2012-11-01 17:16:58 TRACE nova.openstack.common.rpc.amqp     image_meta = 
client.call(context, 2, 'get', image_id)
  2012-11-01 17:16:58 TRACE nova.openstack.common.rpc.amqp   File 
"/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 138, in call
  2012-11-01 17:16:58 TRACE nova.openstack.common.rpc.amqp     return 
getattr(client.images, method)(*args, **kwargs)
  2012-11-01 17:16:58 TRACE nova.openstack.common.rpc.amqp   File 
"/usr/lib/python2.7/dist-packages/glanceclient/v2/images.py", line 54, in get
  2012-11-01 17:16:58 TRACE nova.openstack.common.rpc.amqp     resp, body = 
self.http_client.json_request('GET', url)
  2012-11-01 17:16:58 TRACE nova.openstack.common.rpc.amqp   File 
"/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 174, in 
json_request
  2012-11-01 17:16:58 TRACE nova.openstack.common.rpc.amqp     resp, body_iter 
= self._http_request(url, method, **kwargs)
  2012-11-01 17:16:58 TRACE nova.openstack.common.rpc.amqp   File 
"/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 158, in 
_http_request
  2012-11-01 17:16:58 TRACE nova.openstack.common.rpc.amqp     raise 
exc.from_response(resp)
  2012-11-01 17:16:58 TRACE nova.openstack.common.rpc.amqp 
HTTPInternalServerError: HTTPInternalServerError (HTTP 500)

  
  The glance api.log and the apache error.log shows nothing in relation to 
this. I'm not sure how to further debug it.

  I'm using Folsom on Ubuntu 12.04.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to