Bug 983611 - Cloud guest images needs to have "NOZEROCONF=yes" in /etc/sysconfig/network
Cloud guest images needs to have "NOZEROCONF=yes" in /etc/sysconfig/network
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: guest-images (Show other bugs)
Unspecified Unspecified
high Severity high
: rc
: ---
Assigned To: Joey Boggs
: ZStream
Depends On:
Blocks: 997041
  Show dependency treegraph
Reported: 2013-07-11 10:37 EDT by Etsuji Nakai
Modified: 2016-04-18 02:45 EDT (History)
7 users (show)

See Also:
Fixed In Version: rhel-guest-image-6.5-20130926.0.el6
Doc Type: Bug Fix
Doc Text:
* Metadata access is handled by the network node, and the cloud-init service uses the metadata at startup time. Previously, the cloud-init service did not have "NOZEROCONF=yes" configured. Consequently, access to the subnet range was not routed to the network node, so the cloud-init service failed to work. This update adds "NOZEROCONF=yes" to cloud images in the /etc/sysconfig/network file. Users should avoid turning on the zeroconf route in these images. To disable the zeroconf route at system boot time, edit the /etc/sysconfig/network file as root and add "NOZEROCONF=yes" to a new line at the end of the file.
Story Points: ---
Clone Of:
Last Closed: 2013-11-21 19:22:17 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Etsuji Nakai 2013-07-11 10:37:01 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

This is because:

- Metadata access is handled by the network node.
- Without "NOZEROCONF=yes", access to the subnet 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     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

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.
Comment 6 Wei Shi 2013-11-03 08:05:55 EST

-bash-4.1# cat /etc/sysconfig/network
Comment 7 errata-xmlrpc 2013-11-21 19:22:17 EST
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.


Note You need to log in before you can comment on or make changes to this bug.