<font size=2 face="sans-serif">I run into trouble in Ubuntu VMs when avahi-autoipd
is installed.  This is when I install OpenStack using DevStack with
a fairly plain local.conf.  For example, make an instance of Ubuntu
Server 12.04.  You can reboot it, and all is well.  Cloud-init
continues to be able to read its metadata from 169.254.169.254.  Here
is an excerpt from the log (as shown in Horizon) of a successful reboot:</font>
<br>
<br><tt><font size=2>cloud-init start-local running: Fri, 28 Mar 2014 15:24:45
+0000. up 3.46 seconds</font></tt>
<br><tt><font size=2>no instance data found in start-local</font></tt>
<br><tt><font size=2>ci-info: lo    : 1 127.0.0.1    
  255.0.0.0       .</font></tt>
<br><tt><font size=2>ci-info: eth0  : 1 10.10.0.136    
255.255.0.0     fa:63:63:c3:0c:b0</font></tt>
<br><tt><font size=2>ci-info: route-0: 0.0.0.0        
10.10.0.1       0.0.0.0         eth0
  UG</font></tt>
<br><tt><font size=2>ci-info: route-1: 10.10.0.0       0.0.0.0
        255.255.0.0     eth0   U</font></tt>
<br><tt><font size=2>cloud-init start running: Fri, 28 Mar 2014 15:24:45
+0000. up 3.99 seconds</font></tt>
<br><tt><font size=2>found data source: DataSourceEc2</font></tt>
<br><tt><font size=2>Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd</font></tt>
<br><tt><font size=2> * Starting AppArmor profiles      
[80G [74G[ OK ]</font></tt>
<br><tt><font size=2>landscape-client is not configured, please run landscape-config.</font></tt>
<br><tt><font size=2> * Stopping System V initialisation compatibility[74G[
OK ]</font></tt>
<br><tt><font size=2> * Starting System V runlevel compatibility[74G[
OK ]</font></tt>
<br><tt><font size=2> * Starting regular background program processing
daemon[74G[ OK ]</font></tt>
<br><tt><font size=2> * Starting save kernel messages[74G[ OK ]</font></tt>
<br><tt><font size=2> * Starting deferred execution scheduler[74G[
OK ]</font></tt>
<br><tt><font size=2> * Starting ACPI daemon[74G[ OK ]</font></tt>
<br><tt><font size=2> * Starting automatic crash report generation[74G[
OK ]</font></tt>
<br><tt><font size=2> * Stopping save kernel messages[74G[ OK ]</font></tt>
<br><tt><font size=2> * Starting CPU interrupts balancing daemon[74G[
OK ]</font></tt>
<br><tt><font size=2> * Stopping System V runlevel compatibility[74G[
OK ]</font></tt>
<br><tt><font size=2> * Starting execute cloud user/final scripts[74G[
OK ]</font></tt>
<br><tt><font size=2>cloud-init boot finished at Fri, 28 Mar 2014 15:24:58
+0000. Up 16.74 seconds</font></tt>
<br>
<br><font size=2 face="sans-serif">After avahi-autoipd is installed, there
is an extra route (number 2 in the excerpt below) that makes 169.254.169.254
unreachable.  Here is an excerpt from the log of a reboot after avahi-autoipd
is installed:</font>
<br>
<br><tt><font size=2>cloud-init start-local running: Fri, 28 Mar 2014 18:39:24
+0000. up 5.10 seconds</font></tt>
<br><tt><font size=2>no instance data found in start-local</font></tt>
<br><tt><font size=2>ci-info: lo    : 1 127.0.0.1    
  255.0.0.0       .</font></tt>
<br><tt><font size=2>ci-info: eth0  : 1 10.10.0.136    
255.255.0.0     fa:63:63:c3:0c:b0</font></tt>
<br><tt><font size=2>ci-info: route-0: 0.0.0.0        
10.10.0.1       0.0.0.0         eth0
  UG</font></tt>
<br><tt><font size=2>ci-info: route-1: 10.10.0.0       0.0.0.0
        255.255.0.0     eth0   U</font></tt>
<br><tt><font size=2>ci-info: route-2: 169.254.0.0     0.0.0.0
        255.255.0.0     eth0   U</font></tt>
<br><tt><font size=2>cloud-init start running: Fri, 28 Mar 2014 18:39:25
+0000. up 5.90 seconds</font></tt>
<br><tt><font size=2>2014-03-28 18:39:28,821 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id'
failed [3/120s]: url error [[Errno 113] No route to host]</font></tt>
<br>
<br><font size=2 face="sans-serif">I have spared you all the bloody mess
that follows.</font>
<br>
<br><font size=2 face="sans-serif">Of course, avahi-autoipd thinks it is
doing me a favor.  Nova thinks it is doing me harm.  Which is
right, and how do we achieve harmony?</font>
<br>
<br><font size=2 face="sans-serif">Thanks,</font>
<br><font size=2 face="sans-serif">Mike</font>