yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #45912
[Bug 1527514] Re: cells:resize/migrate instance failed in cells
https://review.openstack.org/#/c/183199/ addressed this.
** Changed in: nova
Status: New => Fix Released
--
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/1527514
Title:
cells:resize/migrate instance failed in cells
Status in OpenStack Compute (nova):
Fix Released
Bug description:
1. version
kilo 2015.1.0
2. Relevant log files:
2015-12-17 16:53:14.218 2695 ERROR nova.api.openstack [req-3cdc0eaf-673c-4d31-bf45-467d8d6ed77f f04e318acd7e4e5093c91e6dc74a28c3 53adc6d6825b43378d6ab89fc38051da - - -] Caught error: Object action create failed because: cannot create a Migration object without a migration_type set
...
...
2015-12-17 16:53:14.218 2695 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 2725, in _resize_cells_support
2015-12-17 16:53:14.218 2695 TRACE nova.api.openstack mig.create()
2015-12-17 16:53:14.218 2695 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/objects/base.py", line 208, in wrapper
2015-12-17 16:53:14.218 2695 TRACE nova.api.openstack return fn(self, *args, **kwargs)
2015-12-17 16:53:14.218 2695 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/objects/migration.py", line 105, in create
2015-12-17 16:53:14.218 2695 TRACE nova.api.openstack reason="cannot create a Migration object without a "
2015-12-17 16:53:14.218 2695 TRACE nova.api.openstack ObjectActionError: Object action create failed because: cannot create a Migration object without a migration_type set
More detailed log:
http://paste.openstack.org/show/482270/
3. Reproduce steps:
create a new instance from image in cells, then resize or migrate the instance.
Expected result:
resize success
Actual result:
resize failed , Log in the second quarter
4, In the process of the resize/migrate, _resize_cells_support will be
call in nova/compute/api.py. in this func, a migration object will be
create ,but now this object create failed because "without a
migration_type", and leading to the resize/migate fail.
So this is a serious bug If build and use cell environment
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1527514/+subscriptions
References