This doesn't appear to have resolved the issue for me. If I change the if statement in nova/virt/libvirt/connection.py from:
if FLAGS.libvirt_type != 'lxc' or FLAGS.libvirt_type != 'uml':
to:
if FLAGS.libvirt_type != 'lxc' and FLAGS.libvirt_type != 'uml':
... my libvirt.xml looks good and my instance boots as expected.
In other news, I could simply have added "--vnc_enabled=false" to /etc/nova/nova.conf rather than use an alternate /usr/share/pyshared/nova/virt/libvirt.xml.template file.
Hi all,
This doesn't appear to have resolved the issue for me. If I change the if statement in nova/virt/ libvirt/ connection. py from:
if FLAGS.libvirt_type != 'lxc' or FLAGS.libvirt_type != 'uml':
to:
if FLAGS.libvirt_type != 'lxc' and FLAGS.libvirt_type != 'uml':
... my libvirt.xml looks good and my instance boots as expected.
In other news, I could simply have added "--vnc_ enabled= false" to /etc/nova/nova.conf rather than use an alternate /usr/share/ pyshared/ nova/virt/ libvirt. xml.template file.
Thanks!
-Matt