← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1324003] Re: resize failed should update migration status

 

this problem was already fixed about weeks ago, I didn't update my test
system to latest, sorry

** Changed in: nova
       Status: New => Incomplete

** Changed in: nova
       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/1324003

Title:
  resize failed should update migration status

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  when I resize an instance , it might fail due to resize down (we don't
  support it now)

  2014-05-28 15:29:12.508 4259 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__
  2014-05-28 15:29:12.508 4259 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
  2014-05-28 15:29:12.508 4259 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 296, in decorated_function
  2014-05-28 15:29:12.508 4259 TRACE oslo.messaging.rpc.dispatcher     return function(self, context, *args, **kwargs)
  2014-05-28 15:29:12.508 4259 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3464, in resize_instance
  2014-05-28 15:29:12.508 4259 TRACE oslo.messaging.rpc.dispatcher     self.instance_events.clear_events_for_instance(instance)
  2014-05-28 15:29:12.508 4259 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
  2014-05-28 15:29:12.508 4259 TRACE oslo.messaging.rpc.dispatcher     self.gen.throw(type, value, traceback)
  2014-05-28 15:29:12.508 4259 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 5556, in _error_out_instance_on_exception
  2014-05-28 15:29:12.508 4259 TRACE oslo.messaging.rpc.dispatcher     raise error.inner_exception
  2014-05-28 15:29:12.508 4259 TRACE oslo.messaging.rpc.dispatcher ResizeError: Resize error: Unable to resize disk down.
  2014-05-28 15:29:12.508 4259 TRACE oslo.messaging.rpc.dispatcher

  
  however, the migration is kept in the system without updating its status, so 
  we will keep seeing this warning:

  2014-05-28 16:12:35.031 4259 WARNING nova.compute.resource_tracker [-]
  [instance: 8138f726-de38-498c-b3fa-e3d2c416ebb9] Instance not
  resizing, skipping migration.

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


References