Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

can I temporarily stop openstack from rewriting the libvirt XML?

hi all,

I recently learned that the file vi /usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py is responsible for building the libvirt XML that openstack (kvm/qemu) uses to create instance definitions.

Now, I would like to test some custom libvirt settings using my openstack environment. Can I change something on the compute node where I will be testing these settings to stop openstack from rewriting these instance definitions each time and instance is rebooted/etc. say in this driver.py file (where?)?

I know this isn't a change that can exist indefinitely but something temporarily put in place? and I know depending on the custom settings used I can break the awesome features openstack affords me (ie migrate/resize)

just curious. thanks!