yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #00775
[Bug 1081373] Re: Retrieving instance XML in libvirt driver is inconsistent
** 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/1081373
Title:
Retrieving instance XML in libvirt driver is inconsistent
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
There are many libvirt operations which require the instance XML to
function. We use a combination of the existing defined XML, the XML
in the instances directory or to_xml function. There's no reason to
ever use the the XML files stored in the instances directory; it is
there for operational purposes only. Unless we absolutely need the
running XML, we should use to_xml to generate the configuration based
on what Nova absolutely knows about the instance. Also, we should
make sure that if we're keeping an XML file around in the instances
directory for operations, that it's always kept up to date.
This will undo any one-off/by-hand changes in favor of absolute
consistency with the database, which is preferred. For example, if a
running VM references a block device which Nova does not know about,
today we'll fail to start that VM based on the fact that none of the
logic to re-create iSCSI connections (or otherwise) are executed.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1081373/+subscriptions