
--_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_--