[ovirt-users] xml config file being used in ovirt different from virsh?
jax2568 at outlook.com
Fri Aug 12 17:15:13 EDT 2016
It seems like when starting the VM through the oVirt dashboard, it’s either overwriting or removing those values.
From: Bill Bill<mailto:jax2568 at outlook.com>
Sent: Friday, August 12, 2016 3:04 PM
To: users at ovirt.org<mailto:users at ovirt.org>
Subject: xml config file being used in ovirt different from virsh?
I have a VM with network filtering enabled, specifically the clean-traffic filter.
Through virsh, I modify the configuration to reflect changes like this:
<parameter name='IP' value='192.168.10.10.'/>
<parameter name='IP' value='192.168.10.11'/>
This only allows those two specified IP’s to communicate on the VM. I’ve defined the xml through virsh.
Now, if I start the VM directly through virsh, those rules apply and work correctly. I can add any other random IP from the same subnet and it does not work, as expected. Only the two Ip’s specified above will respond.
This unfortunately, makes the VM appear to be down from with the ovirt dashboard if it’s started manually through virsh.
If I edit the machine through virsh but do not start it and then go onto oVirt to start the VM, it seems the configuration is not loaded – does oVirt load a different configuration file other than /etc/libvirt/qemu/machine.xml?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users