[ovirt-users] xml config file being used in ovirt different from virsh?

Bill Bill 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:

     <filterref filter='clean-traffic'>
        <parameter name='IP' value=''/>
        <parameter name='IP' value=''/>

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...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160812/4ffdd24e/attachment-0001.html>

More information about the Users mailing list