xml config file being used in ovirt different from virsh?

--_000_CO2PR0801MB07431E23EE4A4AFFE56128E0A61F0CO2PR0801MB0743_ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SSBoYXZlIGEgVk0gd2l0aCBuZXR3b3JrIGZpbHRlcmluZyBlbmFibGVkLCBzcGVjaWZpY2FsbHkg dGhlIGNsZWFuLXRyYWZmaWMgZmlsdGVyLg0KDQpUaHJvdWdoIHZpcnNoLCBJIG1vZGlmeSB0aGUg Y29uZmlndXJhdGlvbiB0byByZWZsZWN0IGNoYW5nZXMgbGlrZSB0aGlzOg0KDQogICAgIDxmaWx0 ZXJyZWYgZmlsdGVyPSdjbGVhbi10cmFmZmljJz4NCiAgICAgICAgPHBhcmFtZXRlciBuYW1lPSdJ UCcgdmFsdWU9JzE5Mi4xNjguMTAuMTAuJy8+DQogICAgICAgIDxwYXJhbWV0ZXIgbmFtZT0nSVAn IHZhbHVlPScxOTIuMTY4LjEwLjExJy8+DQogICAgICA8L2ZpbHRlcnJlZj4NCg0KVGhpcyBvbmx5 IGFsbG93cyB0aG9zZSB0d28gc3BlY2lmaWVkIElQ4oCZcyB0byBjb21tdW5pY2F0ZSBvbiB0aGUg Vk0uIEnigJl2ZSBkZWZpbmVkIHRoZSB4bWwgdGhyb3VnaCB2aXJzaC4NCg0KTm93LCBpZiBJIHN0 YXJ0IHRoZSBWTSBkaXJlY3RseSB0aHJvdWdoIHZpcnNoLCB0aG9zZSBydWxlcyBhcHBseSBhbmQg d29yayBjb3JyZWN0bHkuIEkgY2FuIGFkZCBhbnkgb3RoZXIgcmFuZG9tIElQIGZyb20gdGhlIHNh bWUgc3VibmV0IGFuZCBpdCBkb2VzIG5vdCB3b3JrLCBhcyBleHBlY3RlZC4gT25seSB0aGUgdHdv IElw4oCZcyBzcGVjaWZpZWQgYWJvdmUgd2lsbCByZXNwb25kLg0KDQpUaGlzIHVuZm9ydHVuYXRl bHksIG1ha2VzIHRoZSBWTSBhcHBlYXIgdG8gYmUgZG93biBmcm9tIHdpdGggdGhlIG92aXJ0IGRh c2hib2FyZCBpZiBpdOKAmXMgc3RhcnRlZCBtYW51YWxseSB0aHJvdWdoIHZpcnNoLg0KDQpJZiBJ IGVkaXQgdGhlIG1hY2hpbmUgdGhyb3VnaCB2aXJzaCBidXQgZG8gbm90IHN0YXJ0IGl0IGFuZCB0 aGVuIGdvIG9udG8gb1ZpcnQgdG8gc3RhcnQgdGhlIFZNLCBpdCBzZWVtcyB0aGUgY29uZmlndXJh dGlvbiBpcyBub3QgbG9hZGVkIOKAkyBkb2VzIG9WaXJ0IGxvYWQgYSBkaWZmZXJlbnQgY29uZmln dXJhdGlvbiBmaWxlIG90aGVyIHRoYW4gL2V0Yy9saWJ2aXJ0L3FlbXUvbWFjaGluZS54bWw/DQo= --_000_CO2PR0801MB07431E23EE4A4AFFE56128E0A61F0CO2PR0801MB0743_ Content-Type: text/html; charset="utf-8" Content-ID: <4B0D61C4EF4E6348BF40DF4B18975372@sct-15-1-485-2-msonline-outlook-1173a.templateTenant> Content-Transfer-Encoding: base64 PGh0bWwgeG1sbnM6bz0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6b2ZmaWNlIiB4 bWxuczp3PSJ1cm46c2NoZW1hcy1taWNyb3NvZnQtY29tOm9mZmljZTp3b3JkIiB4bWxuczptPSJo dHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL29mZmljZS8yMDA0LzEyL29tbWwiIHhtbG5zPSJo dHRwOi8vd3d3LnczLm9yZy9UUi9SRUMtaHRtbDQwIj4NCjxoZWFkPg0KPG1ldGEgaHR0cC1lcXVp dj0iQ29udGVudC1UeXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9dXRmLTgiPg0KPG1l dGEgbmFtZT0iR2VuZXJhdG9yIiBjb250ZW50PSJNaWNyb3NvZnQgV29yZCAxNSAoZmlsdGVyZWQg bWVkaXVtKSI+DQo8c3R5bGU+PCEtLQ0KLyogRm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GlidmlydC9xZW11L21hY2hpbmUueG1s PzxvOnA+PC9vOnA+PC9zcGFuPjwvcD4NCjwvZGl2Pg0KPC9ib2R5Pg0KPC9odG1sPg0K --_000_CO2PR0801MB07431E23EE4A4AFFE56128E0A61F0CO2PR0801MB0743_--

--_000_CO2PR0801MB07433AA24083E8ED09DA402BA61F0CO2PR0801MB0743_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable It seems like when starting the VM through the oVirt dashboard, it=92s eith= er overwriting or removing those values. From: Bill Bill<mailto:jax2568@outlook.com> Sent: Friday, August 12, 2016 3:04 PM To: users@ovirt.org<mailto:users@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=3D'clean-traffic'> <parameter name=3D'IP' value=3D'192.168.10.10.'/> <parameter name=3D'IP' value=3D'192.168.10.11'/> </filterref> This only allows those two specified IP=92s to communicate on the VM. I=92v= e defined the xml through virsh. Now, if I start the VM directly through virsh, those rules apply and work c= orrectly. I can add any other random IP from the same subnet and it does no= t work, as expected. Only the two Ip=92s specified above will respond. This unfortunately, makes the VM appear to be down from with the ovirt dash= board if it=92s started manually through virsh. If I edit the machine through virsh but do not start it and then go onto oV= irt to start the VM, it seems the configuration is not loaded =96 does oVir= t load a different configuration file other than /etc/libvirt/qemu/machine.= xml? --_000_CO2PR0801MB07433AA24083E8ED09DA402BA61F0CO2PR0801MB0743_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1= 252"> <meta content=3D"text/html; charset=3Dutf-8"> <meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)"> <style> <!-- @font-face {font-family:"Cambria Math"} @font-face {font-family:Calibri} p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri",sans-serif} a:link, span.MsoHyperlink {color:blue; text-decoration:underline} a:visited, span.MsoHyperlinkFollowed {color:#954F72; text-decoration:underline} .MsoChpDefault {} @page WordSection1 {margin:1.0in 1.0in 1.0in 1.0in} div.WordSection1 {} --> </style> </head> <body lang=3D"EN-US" link=3D"blue" vlink=3D"#954F72"> <meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)"> <style> <!-- @font-face {font-family:"Cambria Math"} @font-face {font-family:Calibri} p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri",sans-serif} a:link, span.MsoHyperlink {color:blue; text-decoration:underline} a:visited, span.MsoHyperlinkFollowed {color:#954F72; text-decoration:underline} .MsoChpDefault {} @page WordSection1 {margin:1.0in 1.0in 1.0in 1.0in} div.WordSection1 {} --> </style> <div class=3D"WordSection1"> <p class=3D"MsoNormal">It seems like when starting the VM through the oVirt= dashboard, it=92s either overwriting or removing those values.</p> <p class=3D"MsoNormal"><span style=3D"font-size:12.0pt; font-family:"T= imes New Roman",serif"> </span></p> <div style=3D"border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0i= n 0in 0in"> <p class=3D"MsoNormal" style=3D"border:none; padding:0in"><b>From: </b><a h= ref=3D"mailto:jax2568@outlook.com">Bill Bill</a><br> <b>Sent: </b>Friday, August 12, 2016 3:04 PM<br> <b>To: </b><a href=3D"mailto:users@ovirt.org">users@ovirt.org</a><br> <b>Subject: </b>xml config file being used in ovirt different from virsh?</= p> </div> <p class=3D"MsoNormal"><span style=3D"font-size:12.0pt; font-family:"T= imes New Roman",serif"> </span></p> </div> <div> <div class=3D"WordSection1"> <p class=3D"MsoNormal">I have a VM with network filtering enabled, specific= ally the clean-traffic filter.</p> <p class=3D"MsoNormal"> </p> <p class=3D"MsoNormal">Through virsh, I modify the configuration to reflect= changes like this:</p> <p class=3D"MsoNormal"> </p> <p class=3D"MsoNormal"> <filterref filter=3D'cle= an-traffic'></p> <p class=3D"MsoNormal"> <param= eter name=3D'IP' value=3D'192.168.10.10.'/></p> <p class=3D"MsoNormal"> <param= eter name=3D'IP' value=3D'192.168.10.11'/></p> <p class=3D"MsoNormal"> </filterref></p=
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt; font-family:"T= imes New Roman",serif"> </span></p> <p class=3D"MsoNormal"><span style=3D"font-size:12.0pt; font-family:"T= imes New Roman",serif">This only allows those two specified IP=92s to = communicate on the VM. I=92ve defined the xml through virsh.</span></p> <p class=3D"MsoNormal"><span style=3D"font-size:12.0pt; font-family:"T= imes New Roman",serif"> </span></p> <p class=3D"MsoNormal"><span style=3D"font-size:12.0pt; font-family:"T= imes New Roman",serif">Now, if I start the VM directly through virsh, = those rules apply and work correctly. I can add any other random IP from th= e same subnet and it does not work, as expected. Only the two Ip=92s specified above will respond.</span></p> <p class=3D"MsoNormal"><span style=3D"font-size:12.0pt; font-family:"T= imes New Roman",serif"> </span></p> <p class=3D"MsoNormal"><span style=3D"font-size:12.0pt; font-family:"T= imes New Roman",serif">This unfortunately, makes the VM appear to be d= own from with the ovirt dashboard if it=92s started manually through virsh.= </span></p> <p class=3D"MsoNormal"><span style=3D"font-size:12.0pt; font-family:"T= imes New Roman",serif"> </span></p> <p class=3D"MsoNormal"><span style=3D"font-size:12.0pt; font-family:"T= imes New Roman",serif">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 =96 does oVirt load a different configuration file other than /etc/libvirt/qemu/machine.xml?</span></p> </div> </div> </body> </html> --_000_CO2PR0801MB07433AA24083E8ED09DA402BA61F0CO2PR0801MB0743_--

You should only use the management to keep changes. We added network filtering options in 4.0. There is also a option of VDSM hook for things that are not supported via the manager. Yaniv Dary Technical Product Manager Red Hat Israel Ltd. 34 Jerusalem Road Building A, 4th floor Ra'anana, Israel 4350109 Tel : +972 (9) 7692306 8272306 Email: ydary@redhat.com IRC : ydary On Sat, Aug 13, 2016 at 12:15 AM, Bill Bill <jax2568@outlook.com> wrote:
It seems like when starting the VM through the oVirt dashboard, it’s either overwriting or removing those values.
*From: *Bill Bill <jax2568@outlook.com> *Sent: *Friday, August 12, 2016 3:04 PM *To: *users@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='192.168.10.10.'/>
<parameter name='IP' value='192.168.10.11'/>
</filterref>
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?
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Sun, Aug 14, 2016 at 1:52 PM, Yaniv Dary <ydary@redhat.com> wrote:
You should only use the management to keep changes. We added network filtering options in 4.0. There is also a option of VDSM hook for things that are not supported via the manager.
Yaniv Dary Technical Product Manager Red Hat Israel Ltd. 34 Jerusalem Road Building A, 4th floor Ra'anana, Israel 4350109
Tel : +972 (9) 7692306 8272306 Email: ydary@redhat.com IRC : ydary
On Sat, Aug 13, 2016 at 12:15 AM, Bill Bill <jax2568@outlook.com> wrote:
It seems like when starting the VM through the oVirt dashboard, it’s either overwriting or removing those values.
*From: *Bill Bill <jax2568@outlook.com> *Sent: *Friday, August 12, 2016 3:04 PM *To: *users@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='192.168.10.10.'/>
<parameter name='IP' value='192.168.10.11'/>
</filterref>
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?
oVirt uses VDSM to build the VM/s configuration file (Domain XML). The only way to control its content from 'outside' is though the hooks: http://www.ovirt.org/develop/developer-guide/vdsm/hooks/ You could use some usage examples from the code base.
Thanks, Edy.

On Mon, Aug 15, 2016 at 10:28 AM, Edward Haas <ehaas@redhat.com> wrote:
On Sun, Aug 14, 2016 at 1:52 PM, Yaniv Dary <ydary@redhat.com> wrote:
You should only use the management to keep changes. We added network filtering options in 4.0. There is also a option of VDSM hook for things that are not supported via the manager.
Yaniv Dary Technical Product Manager Red Hat Israel Ltd. 34 Jerusalem Road Building A, 4th floor Ra'anana, Israel 4350109
Tel : +972 (9) 7692306 8272306 Email: ydary@redhat.com IRC : ydary
On Sat, Aug 13, 2016 at 12:15 AM, Bill Bill <jax2568@outlook.com> wrote:
It seems like when starting the VM through the oVirt dashboard, it’s either overwriting or removing those values.
*From: *Bill Bill <jax2568@outlook.com> *Sent: *Friday, August 12, 2016 3:04 PM *To: *users@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='192.168.10.10.'/>
<parameter name='IP' value='192.168.10.11'/>
</filterref>
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?
oVirt uses VDSM to build the VM/s configuration file (Domain XML). The only way to control its content from 'outside' is though the hooks: http://www.ovirt.org/develop/developer-guide/vdsm/hooks/
The new page is messed up a bit, here is the old one: http://old.ovirt.org/VDSM-Hooks
You could use some usage examples from the code base.
Thanks, Edy.
participants (3)
-
Bill Bill
-
Edward Haas
-
Yaniv Dary