<div dir="ltr"><div><div><div><div><div><div><div><div>Hi Sandy,<br></div><br></div>Can you elaborate some more about the steps you have taken?<br><br></div>Specifically, how\where do you apply cloud-init-0.7.9-20 rpm? Can you make sure that rpm -q cloud-init after VM reboot is still this one?<br><br></div>How do you apply the static IP settings that do persist to the VM - via oVirt web-admin\REST API\other?<br><br></div>When you restart the VM via oVirt GUI - do you &#39;Run&#39; it or &#39;Run Once&#39;?<br><br></div>Thanks,<br></div>Eitan<br></div>oVirt networking team<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 20, 2018 at 10:22 AM, Dominik Holler <span dir="ltr">&lt;<a href="mailto:dholler@redhat.com" target="_blank">dholler@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Begin forwarded message:<br>
<br>
Date: Mon, 19 Mar 2018 13:17:08 +0000<br>
From: &quot;Berger, Sandy&quot; &lt;<a href="mailto:SBERGER@qg.com">SBERGER@qg.com</a>&gt;<br>
To: &quot;<a href="mailto:users@ovirt.org">users@ovirt.org</a>&quot; &lt;<a href="mailto:users@ovirt.org">users@ovirt.org</a>&gt;<br>
Subject: [ovirt-users] Network issues with oVirt 4.2 and cloud-init<br>
<br>
<br>
We&#39;re using cloud-init to customize VMs built from a template. We&#39;re<br>
using static IPV4 settings so we&#39;re specifying an IP address, subnet<br>
mask, and gateway. There is apparently a bug in the current version of<br>
cloud-init shipping as part of CentOS 7.4<br>
(<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1492726" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/<wbr>show_bug.cgi?id=1492726</a>) that fails to set<br>
the gateway properly. In the description of the bug, it says it is<br>
fixed in RHEL 7.5 but also says one can use<br>
<a href="https://people.redhat.com/rmccabe/cloud-init/cloud-init-0.7.9-20.el7.x86_64.rpm" rel="noreferrer" target="_blank">https://people.redhat.com/<wbr>rmccabe/cloud-init/cloud-init-<wbr>0.7.9-20.el7.x86_64.rpm</a><br>
which is what we&#39;re doing.<br>
<br>
When the new VM first boots, the 3 IPv4 settings are all set correctly.<br>
Reboots of the VM maintain the settings properly. But, if the VM is<br>
shut down and started again via the oVirt GUI, all of the IPV4 settings<br>
on the eth0 virtual NIC are lost and<br>
the /etc/sysconfig/network-<wbr>scripts/ifcfg-eth0 shows that the NIC is now<br>
set up for DHCP.<br>
<br>
Are we doing something incorrectly?<br>
<br>
Sandy Berger<br>
IT - Infrastructure Engineer II<br>
<br>
Quad/Graphics<br>
Performance through Innovation<br>
<br>
Sussex, Wisconsin<br>
<a href="tel:414.566.2123" value="+14145662123">414.566.2123</a> phone<br>
<a href="tel:414.566.4010" value="+14145664010">414.566.4010</a>/2123 pager/PIN<br>
<br>
<a href="mailto:sandy.berger@qg.com">sandy.berger@qg.com</a>&lt;mailto:<a href="mailto:sandy.berger@qg.com">san<wbr>dy.berger@qg.com</a>&gt;<br>
<a href="http://www.QG.com" rel="noreferrer" target="_blank">www.QG.com</a>&lt;<a href="http://www.qg.com/" rel="noreferrer" target="_blank">http://www.qg.com/</a>&gt;<br>
<br>
Follow Us: Facebook&lt;<a href="http://www.qg.com/social1" rel="noreferrer" target="_blank">http://www.qg.com/<wbr>social1</a>&gt; |<br>
Twitter&lt;<a href="http://www.qg.com/social2" rel="noreferrer" target="_blank">http://www.qg.com/<wbr>social2</a>&gt; |<br>
LinkedIn&lt;<a href="http://www.qg.com/social3" rel="noreferrer" target="_blank">http://www.qg.com/<wbr>social3</a>&gt; | YouTube&lt;<a href="http://www.qg.com/social4" rel="noreferrer" target="_blank">http://www.qg.com/<wbr>social4</a>&gt;<br>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Eitan Raviv<br>IRC: erav (#ovirt #vdsm #devel #rhev-dev)<br></div></div></div></div>
</div>