yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #00596
[Bug 1100866] Re: [xen] create/update metadata during boot can put instance into ERROR
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => grizzly-3
--
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/1100866
Title:
[xen] create/update metadata during boot can put instance into ERROR
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
If an update for instance metadata is attempted during the boot
process, before "VM.get_by_name_label" will return a vm_ref, then the
metadata update will fail in the xenapi driver and the exception will
pass up the stack and eventually revert the task state from "spawning"
to None. Then after the instance has finished booting and the
_instance_update is attempted in _spawn() in compute/manager.py the
expected task state is not found and the instance is put into ERROR
status.
One possible solution would be to not allow metadata updates for
spawning instances but since this is xenapi specific that may not be
the correct approach.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1100866/+subscriptions