[openstack-dev] [nova][libvirt] Lets make libvirt's domain XML canonical

Roman Podoliaka rpodolyaka at mirantis.com
Mon Oct 3 08:54:09 UTC 2016


Timofei,

On Mon, Oct 3, 2016 at 10:11 AM, Timofei Durakov <tdurakov at mirantis.com> wrote:
> Hi team,
> Taking that into account, the
> question here would be:  why not to store all required information(e.g. boot
> order) in DB instead?

I think, we definitely could do that, just like we currently preserve
the order of NICs on reboot. I'm not sure it fully resolves Matt's
concerns, though, when it comes to preserving PCI device addresses. If
we were to keep the Nova DB as our source of truth, then we'd probably
need the libvirt driver to generate these addresses on creation of a
domain in a consistent fashion (assuming we store the order of devices
in the DB).

Thanks,
Roman



More information about the OpenStack-dev mailing list