<div dir="ltr"><div><div><div><div><div><div><div>Hi<br><br></div>Now I use RDO deploy Openstack Havana, use GRE network.<br><br></div>I use Ubuntu image, work well, <br><br></div>but I according to the <a href="http://docs.openstack.org/grizzly/openstack-image/content/ch_creating_images_automatically.html" target="_blank">http://docs.openstack.org/grizzly/openstack-image/content/ch_creating_images_automatically.html</a><br>
<br></div>use Oz create centOS6.4 image, include cloud init.<br><br></div>when create instance use the image, the log show<br><br><pre>Rebuilding /boot/initrd-2.6.32-431.3.1.el6.x86_64kdump.img
Starting kdump:[ OK ]
Starting cloud-init: ci-info: lo : 1 127.0.0.1 255.0.0.0 .
ci-info: eth0 : 1 10.10.10.4 255.255.255.0 fa:16:3e:50:bf:91
ci-info: route-0: 10.10.10.0 0.0.0.0 255.255.255.0 eth0 U
ci-info: route-1: 169.254.0.0 0.0.0.0 255.255.0.0 eth0 U
ci-info: route-2: 0.0.0.0 10.10.10.1 0.0.0.0 eth0 UG
cloud-init start running: Wed, 08 Jan 2014 07:44:22 +0000. up 24.15 seconds
2014-01-08 02:44:25,861 - DataSourceEc2.py[WARNING]: '<a href="http://169.254.169.254/2009-04-04/meta-data/instance-id" target="_blank">http://169.254.169.254/2009-04-04/meta-data/instance-id</a>' failed [3/120s]: url error [[Errno 113] No route to host]<br>
<br></pre><pre>Now I can use root user login vm, check the router<br><br></pre># route<br>Kernel IP routing table<br>Destination Gateway Genmask Flags Metric Ref Use Iface<br>10.10.10.0 * 255.255.255.0 U 0 0 0 eth0<br>
link-local * 255.255.0.0 U 1002 0 0 eth0<br>default 10.10.10.1 0.0.0.0 UG 0 0 0 eth0<br><br></div>but I can not access 169.254.169.254<br><br># curl -f <a href="http://169.254.169.254/openstack" target="_blank">http://169.254.169.254/openstack</a><br>
curl: (7) couldn't connect to host<br><br></div>the image have installed cloud init.<br><br># rpm -qa | grep cloud-init<br>cloud-init-0.6.3-0.12.bzr532.el6.noarch<br><br><br><div><br><br><div><div><div><div><div><br>
<br clear="all">
<div><div><br>-- <br>Shake Chen<br><br>
</div></div></div></div></div></div></div></div></div>