Red Hat Bugzilla – Bug 983611
Cloud guest images needs to have "NOZEROCONF=yes" in /etc/sysconfig/network
Last modified: 2016-04-18 02:45:59 EDT
Description of problem: Cloud guest images need to have "NOZEROCONF=yes" in /etc/sysconfig/network so that it works well as an openstack guest. (At least when ovs-plugin is used with openstack Neutron/Quantum.) Without it, it fails to access metadata via http://169.254.169.254 This is because: - Metadata access is handled by the network node. - Without "NOZEROCONF=yes", access to the subnet 169.254.0.0/16 is not routed to the network node because of the following routing table entiry. It comes from the APIPA specification. $ route -n | grep 169.254 169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 em1 The image you can find at https://rhn.redhat.com/rhn/software/channel/downloads/Download.do?cid=16952 lacks "NOZEROCONF=yes" as below. $ virt-copy-out -a rhel-server-x86_64-kvm-6.4_20130130.0-4.qcow2 /etc/sysconfig/network /tmp/ $ cat /tmp/network NETWORKING=yes NETWORKING_IPV6=no HOSTNAME=localhost.localdomain Especially, the image above contains the cloud-init service and it uses the metadata at the startup time. So in the current image, cloud-int fails to work.
Verified: rhel-guest-image-6-6.5-20131101.2-1-sda.qcow2 -bash-4.1# cat /etc/sysconfig/network NETWORKING=yes NETWORKING_IPV6=no HOSTNAME=localhost.localdomain NOZEROCONF=yes -bash-4.1#
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-1735.html