cloud-init fails to display networking information on boot in an OpenStack environment. I.e., the following is displayed even though the network is up at that time: Cloud-init v. 0.7.1 running 'init' at Tue, 09 Apr 2013 06:25:05 +0000. Up 9.91 ci-info: ++++++++++++++++Net device info+++++++++++++++++ ci-info: +--------+-------+---------+------+------------+ ci-info: | Device | Up | Address | Mask | Hw-Address | ci-info: +--------+-------+---------+------+------------+ ci-info: | lo: | False | . | . | . | ci-info: | eth0: | False | . | . | . | ci-info: +--------+-------+---------+------+------------+ ci-info: ++++++++++++++++++++++++++++++Route info++++++++++++++++++++++++++++++ ci-info: +-------+-------------+----------+---------------+-----------+-------+ ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags | ci-info: +-------+-------------+----------+---------------+-----------+-------+ ci-info: | 0 | 0.0.0.0 | 10.0.0.1 | 0.0.0.0 | eth0 | UG | ci-info: | 1 | 10.0.0.0 | 0.0.0.0 | 255.255.255.0 | eth0 | U | ci-info: | 2 | 169.254.0.0 | 0.0.0.0 | 255.255.0.0 | eth0 | U | ci-info: +-------+-------------+----------+---------------+-----------+-------+ I believe the problem is in cloudinit/netinfo.py due to the fact the output of 'ifconfig -a' in Fedora 18 is different from other distros.
Also, we might not even _have_ ifconfig. (net-tools is a leaf package.) It would be better to use 'ip' (from iproute, which is a core dependency.
*** This bug has been marked as a duplicate of bug 786488 ***
(In reply to Juerg Haefliger from comment #0) > of 'ifconfig -a' in Fedora 18 is different from other distros. That's right, see bug #784314