← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1294013] Re: failed to create a new instance from a volume snapshot when volume usage reached quota limit

 

[Expired for OpenStack Dashboard (Horizon) because there has been no
activity for 60 days.]

** Changed in: horizon
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1294013

Title:
  failed to create a new instance from a volume snapshot when volume
  usage reached quota limit

Status in OpenStack Dashboard (Horizon):
  Expired

Bug description:
  2014-03-18 11:16:35.228 2018 TRACE nova.openstack.common.rpc.amqp     raise exception.InvalidBDM()
  2014-03-18 11:16:35.228 2018 TRACE nova.openstack.common.rpc.amqp InvalidBDM: Block Device Mapping is Invalid.
  2014-03-18 11:16:35.228 2018 TRACE nova.openstack.common.rpc.amqp

  Cinder's volume log:

  2014-03-18 11:16:31.702 11891 ERROR cinder.api.middleware.fault [req-615ab455-ba56-4f0a-b51d-3dfc869c6e87 824aa0d15577454494ef482560b231e2 be523c490cd2410a931e4700838ffcd4] Caught error: Maximum number of volumes allowed (10) exceeded
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault Traceback (most recent call last):
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault   File "/usr/lib/python2.6/site-packages/cinder/api/middleware/fault.py", line 77, in __call__
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault     return req.get_response(self.application)
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault   File "/usr/lib/python2.6/site-packages/WebOb-1.2.3-py2.6.egg/webob/request.py", line 1296, in send
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault     application, catch_exc_info=False)
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault   File "/usr/lib/python2.6/site-packages/WebOb-1.2.3-py2.6.egg/webob/request.py", line 1260, in call_application
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault     app_iter = application(self.environ, start_response)
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault   File "/usr/lib/python2.6/site-packages/WebOb-1.2.3-py2.6.egg/webob/dec.py", line 144, in __call__
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault     return resp(environ, start_response)
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault   File "/usr/lib/python2.6/site-packages/keystoneclient/middleware/auth_token.py", line 598, in __call__
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault     return self.app(env, start_response)
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault   File "/usr/lib/python2.6/site-packages/WebOb-1.2.3-py2.6.egg/webob/dec.py", line 144, in __call__
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault     return resp(environ, start_response)
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault   File "/usr/lib/python2.6/site-packages/WebOb-1.2.3-py2.6.egg/webob/dec.py", line 144, in __call__
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault     return resp(environ, start_response)
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault   File "/usr/lib/python2.6/site-packages/Routes-1.12.3-py2.6.egg/routes/middleware.py", line 131, in __call__
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault     response = self.app(environ, start_response)
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault   File "/usr/lib/python2.6/site-packages/WebOb-1.2.3-py2.6.egg/webob/dec.py", line 144, in __call__
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault     return resp(environ, start_response)
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault   File "/usr/lib/python2.6/site-packages/WebOb-1.2.3-py2.6.egg/webob/dec.py", line 130, in __call__
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault     resp = self.call_func(req, *args, **self.kwargs)
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault   File "/usr/lib/python2.6/site-packages/WebOb-1.2.3-py2.6.egg/webob/dec.py", line 195, in call_func
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault     return self.func(req, *args, **kwargs)
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault   File "/usr/lib/python2.6/site-packages/cinder/api/openstack/wsgi.py", line 898, in __call__
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault     content_type, body, accept)
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault   File "/usr/lib/python2.6/site-packages/cinder/api/openstack/wsgi.py", line 946, in _process_stack
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault     action_result = self.dispatch(meth, request, action_args)
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault   File "/usr/lib/python2.6/site-packages/cinder/api/openstack/wsgi.py", line 1022, in dispatch
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault     return method(req=request, **action_args)
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault   File "/usr/lib/python2.6/site-packages/cinder/api/v1/volumes.py", line 419, in create
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault     **kwargs)
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault   File "/usr/lib/python2.6/site-packages/cinder/volume/api.py", line 171, in create
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault     flow.run(context)
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault   File "/usr/lib/python2.6/site-packages/cinder/taskflow/decorators.py", line 105, in wrapper
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault     return f(self, *args, **kwargs)
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault   File "/usr/lib/python2.6/site-packages/cinder/taskflow/patterns/linear_flow.py", line 232, in run
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault     run_it(r)
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault   File "/usr/lib/python2.6/site-packages/cinder/taskflow/patterns/linear_flow.py", line 212, in run_it
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault     self.rollback(context, cause)
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault   File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault     self.gen.next()
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault   File "/usr/lib/python2.6/site-packages/cinder/taskflow/patterns/linear_flow.py", line 172, in run_it
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault     result = runner(context, *args, **kwargs)
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault   File "/usr/lib/python2.6/site-packages/cinder/taskflow/utils.py", line 260, in __call__
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault     self.result = self.task(*args, **kwargs)
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault   File "/usr/lib/python2.6/site-packages/cinder/volume/flows/create_volume/__init__.py", line 649, in __call__
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault     raise exception.VolumeLimitExceeded(allowed=quotas['volumes'])
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault VolumeLimitExceeded: Maximum number of volumes allowed (10) exceeded
  2014-03-18 11:16:31.702 11891 TRACE cinder.api.middleware.fault 

  Version-Release number of selected component (if applicable):
  python-cinderclient-1.0.7-2.el6ost.noarch
  openstack-cinder-2013.2.2-2.el6ost.noarch
  python-cinder-2013.2.2-2.el6ost.noarch
  python-nova-2013.2.2-2.el6ost.noarch
  openstack-nova-console-2013.2.2-2.el6ost.noarch
  openstack-nova-network-2013.2.2-2.el6ost.noarch
  python-novaclient-2.15.0-3.el6ost.noarch
  openstack-nova-common-2013.2.2-2.el6ost.noarch
  openstack-nova-api-2013.2.2-2.el6ost.noarch
  openstack-nova-compute-2013.2.2-2.el6ost.noarch
  openstack-nova-conductor-2013.2.2-2.el6ost.noarch
  openstack-nova-novncproxy-2013.2.2-2.el6ost.noarch
  openstack-nova-scheduler-2013.2.2-2.el6ost.noarch
  openstack-nova-cert-2013.2.2-2.el6ost.noarch
  python-django-horizon-2013.2.2-1.el6ost.noarch

  How reproducible:
  100%

  Steps to Reproduce:
  1. Create a volume from an iso image (fedora/RHEL/Ubuntu)
  2. Take a snapshot of the volume.
  3. Create 9 more volumes.
  4. Try to launch an instance from the volume snapshot

  Actual results:
  The instance launching fails with a generic error.

  Expected results:
  The horizon should raise an error with the reason of the failure.

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


References