yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #04649
[Bug 1207238] Re: xenapi: metadata updates causing rebuild and resize to fail
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => havana-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/1207238
Title:
xenapi: metadata updates causing rebuild and resize to fail
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
When you update instance metadata during tasks where the VM is not
available, such as resize or rebuild, its possible you get NotFound
exceptions causing the instances to go into the Error state, which
resets the Task state, which then causes instance updates to fail that
are part of the long running operation.
This should not happen, as change_instance_metadata can only be called
when the task_state=None, however there is clearly a window where the
metadata request has been made, and the resize or rebuild has started
in the mean time, and so the NotFound error is raised.
To avoid this, we can silently fail metadata updates where the VM
cannot be found, as the latest metadata will be added back into the VM
when it is being configured on the destination.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1207238/+subscriptions