[ovirt-users] Network issues with oVirt 4.2 and cloud-init
Berger, Sandy
SBERGER at qg.com
Mon Mar 19 13:17:08 UTC 2018
We're using cloud-init to customize VMs built from a template. We're using static IPV4 settings so we're specifying an IP address, subnet mask, and gateway. There is apparently a bug in the current version of cloud-init shipping as part of CentOS 7.4 (https://bugzilla.redhat.com/show_bug.cgi?id=1492726) that fails to set the gateway properly. In the description of the bug, it says it is fixed in RHEL 7.5 but also says one can use https://people.redhat.com/rmccabe/cloud-init/cloud-init-0.7.9-20.el7.x86_64.rpm which is what we're doing.
When the new VM first boots, the 3 IPv4 settings are all set correctly. Reboots of the VM maintain the settings properly. But, if the VM is shut down and started again via the oVirt GUI, all of the IPV4 settings on the eth0 virtual NIC are lost and the /etc/sysconfig/network-scripts/ifcfg-eth0 shows that the NIC is now set up for DHCP.
Are we doing something incorrectly?
Sandy Berger
IT - Infrastructure Engineer II
Quad/Graphics
Performance through Innovation
Sussex, Wisconsin
414.566.2123 phone
414.566.4010/2123 pager/PIN
sandy.berger at qg.com<mailto:sandy.berger at qg.com>
www.QG.com<http://www.qg.com/>
Follow Us: Facebook<http://www.qg.com/social1> | Twitter<http://www.qg.com/social2> | LinkedIn<http://www.qg.com/social3> | YouTube<http://www.qg.com/social4>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180319/d527d928/attachment.html>
More information about the Users
mailing list