← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1320238] Re: no error reported when we try to resize down

 

[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/1320238

Title:
  no error reported when we try to resize down

Status in OpenStack Dashboard (Horizon):
  Expired

Bug description:
  After resizeing an instance I tried resizing again back to the original flavour. 
  there is no error reported in horizon but nova reports an error. 

  2014-05-16 16:34:21.286 15163 ERROR oslo.messaging.rpc.dispatcher [-] Exception during message handling: Resize error: Unable to resize disk down.
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher     incoming.message))
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher     return self._do_dispatch(endpoint, method, ctxt, args)
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher     result = getattr(endpoint, method)(ctxt, **new_args)
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/exception.py", line 88, in wrapped
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher     payload)
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/exception.py", line 71, in wrapped
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher     return f(self, context, *args, **kw)
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 280, in decorated_function
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher     pass
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 266, in decorated_function
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher     return function(self, context, *args, **kwargs)
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 333, in decorated_function
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher     function(self, context, *args, **kwargs)
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 254, in decorated_function
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher     break
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 235, in decorated_function
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher     return function(self, context, *args, **kwargs)
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 309, in decorated_function
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher     e, sys.exc_info())
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 296, in decorated_function
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher     return function(self, context, *args, **kwargs)
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 3464, in resize_instance
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher     self.instance_events.clear_events_for_instance(instance)
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib64/python2.7/contextlib.py", line 35, in __exit__
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher     self.gen.throw(type, value, traceback)
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 5556, in _error_out_instance_on_exception
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher     raise error.inner_exception
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher ResizeError: Resize error: Unable to resize disk down.
  2014-05-16 16:34:21.286 15163 TRACE oslo.messaging.rpc.dispatcher 
  2014-05-16 16:34:21.288 15163 ERROR oslo.messaging._drivers.common [-] Returning exception Resize error: Unable to resize disk down. to caller
  2014-05-16 16:34:21.288 15163 ERROR oslo.messaging._drivers.common [-] ['Traceback (most recent call last):\n', '  File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply\n    incoming.m
  essage))\n', '  File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch\n    return self._do_dispatch(endpoint, method, ctxt, args)\n', '  File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc
  /dispatcher.py", line 122, in _do_dispatch\n    result = getattr(endpoint, method)(ctxt, **new_args)\n', '  File "/usr/lib/python2.7/site-packages/nova/exception.py", line 88, in wrapped\n    payload)\n', '  File "/usr/lib/python2.7/site
  -packages/nova/openstack/common/excutils.py", line 68, in __exit__\n    six.reraise(self.type_, self.value, self.tb)\n', '  File "/usr/lib/python2.7/site-packages/nova/exception.py", line 71, in wrapped\n    return f(self, context, *args
  , **kw)\n', '  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 280, in decorated_function\n    pass\n', '  File "/usr/lib/python2.7/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n    six.rer
  aise(self.type_, self.value, self.tb)\n', '  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 266, in decorated_function\n    return function(self, context, *args, **kwargs)\n', '  File "/usr/lib/python2.7/site-packa
  ges/nova/compute/manager.py", line 333, in decorated_function\n    function(self, context, *args, **kwargs)\n', '  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 254, in decorated_function\n    break\n', '  File "/
  usr/lib/python2.7/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n    six.reraise(self.type_, self.value, self.tb)\n', '  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 235, in decorated_fun
  ction\n    return function(self, context, *args, **kwargs)\n', '  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 309, in decorated_function\n    e, sys.exc_info())\n', '  File "/usr/lib/python2.7/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n    six.reraise(self.type_, self.value, self.tb)\n', '  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 296, in decorated_function\n    return function(self, context, *args, **kwargs)\n', '  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 3464, in resize_instance\n    self.instance_events.clear_events_for_instance(instance)\n', '  File "/usr/lib64/python2.7/contextlib.py", :


  
  2014-05-16 13:33:43,202 2369 DEBUG openstack_dashboard.openstack.common.policy Rule compute:update will be now enforced
  2014-05-16 13:33:43,203 2369 DEBUG openstack_dashboard.openstack.common.policy Rule compute:update will be now enforced
  2014-05-16 13:33:43,203 2369 DEBUG openstack_dashboard.openstack.common.policy Rule compute_extension:consoles will be now enforced
  2014-05-16 13:33:43,204 2369 DEBUG openstack_dashboard.openstack.common.policy Rule compute_extension:console_output will be now enforced
  2014-05-16 13:33:43,204 2369 DEBUG openstack_dashboard.openstack.common.policy Rule compute_extension:admin_actions:pause will be now enforced
  2014-05-16 13:33:43,205 2369 DEBUG openstack_dashboard.openstack.common.policy Rule compute_extension:admin_actions:suspend will be now enforced
  2014-05-16 13:33:43,205 2369 DEBUG openstack_dashboard.openstack.common.policy Rule compute:resize will be now enforced
  2014-05-16 13:33:43,206 2369 DEBUG openstack_dashboard.openstack.common.policy Rule compute:reboot will be now enforced
  2014-05-16 13:33:43,206 2369 DEBUG openstack_dashboard.openstack.common.policy Rule compute:reboot will be now enforced
  2014-05-16 13:33:43,206 2369 DEBUG openstack_dashboard.openstack.common.policy Rule compute:stop will be now enforced
  2014-05-16 13:33:43,207 2369 DEBUG openstack_dashboard.openstack.common.policy Rule compute:rebuild will be now enforced
  2014-05-16 13:33:43,207 2369 DEBUG openstack_dashboard.openstack.common.policy Rule compute:delete will be now enforced
  2014-05-16 13:33:43,219 2369 DEBUG openstack_dashboard.openstack.common.policy Rule compute:create will be now enforced
  2014-05-16 13:33:43,219 2369 DEBUG openstack_dashboard.api.nova novaclient connection created using token "c0b3ac240bb51fc3ad35cbe115b42a45" and url "http://10.35.104.17:8774/v2/4ad766166539403189f2caca1ba306aa";
  2014-05-16 13:33:43,219 2369 DEBUG novaclient.client New session created for: (http://10.35.104.17:8774)
  2014-05-16 13:33:43,238 2369 DEBUG openstack_dashboard.openstack.common.policy Rule compute:reboot will be now enforced
  2014-05-16 13:33:43,238 2369 DEBUG openstack_dashboard.openstack.common.policy Rule compute:delete will be now enforced

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


References