<div dir="ltr"><div><div>Hi Ritesh<br><br>Now I have test the ubuntu and fedora image , work well, so my Openstack setting have no problem.<br><br></div>so the problem is the in my image. <br><br></div><br><div><div><br>
<br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 8, 2014 at 6:02 PM, Ritesh Nanda <span dir="ltr"><<a href="mailto:riteshnanda09@gmail.com" target="_blank">riteshnanda09@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hello,<br><br></div>You need to check your metadata service is running. In case of nuetron you need to enable nova metadata service and do some configuration to make it act as proxy.<br>
<br></div>
Check this out <br><p>To allow virtual machines to access the Compute metadata
information, the Networking metadata agent must be enabled
and configured. The agent will act as a proxy for the
Compute metadata service.</p><p>On the controller, edit the
<code>/etc/nova/nova.conf</code> file to define a
secret key that will be shared between the Compute Service
and the Networking metadata agent.</p><p>Add to the
<code>[DEFAULT]</code> section:</p><div><div><div><div> <img src="http://docs.openstack.org/havana/install-guide/install/apt/content/images/icon_clipboard.png" alt="Select Text" title="Select Text" align="right" height="20" width="20"> </div>
</div><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><div>1</div><div>2</div><div>3</div></td><td><div><div><code>[DEFAULT]</code></div>
<div><code>neutron_metadata_proxy_shared_secret = <span>METADATA_PASS</span></code></div><div><code>service_neutron_metadata_proxy = </code><code>true</code></div></div>
</td></tr></tbody></table></div></div><p>Restart the <code>nova-api</code> service:</p><pre># service nova-api restart<br><br><a href="http://docs.openstack.org/havana/install-guide/install/apt/content/neutron-install.dedicated-network-node.html" target="_blank">http://docs.openstack.org/havana/install-guide/install/apt/content/neutron-install.dedicated-network-node.html</a><br>
</pre>Regards,<br></div>Ritesh<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Wed, Jan 8, 2014 at 2:31 PM, Shake Chen <span dir="ltr"><<a href="mailto:shake.chen@gmail.com" target="_blank">shake.chen@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><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 * <a href="tel:255.255.255.0" value="+912552552550" target="_blank">255.255.255.0</a> 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<span><font color="#888888"><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></font></span></div>
<br></div></div>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><p style="margin:0cm 0cm 0pt;color:rgb(0,0,153)"><b><span style="font-size:10pt;font-family:Arial"> With Regards <br></span></b></p>
<p style="margin:0cm 0cm 0pt;color:rgb(0,0,153)">
<b><span style="font-size:10pt;font-family:Arial"> Ritesh Nanda<br></span></b></p><p style="margin:0cm 0cm 0pt;color:rgb(0,0,153)"></p><p style="margin:0cm 0cm 0pt;color:rgb(51,51,51)"><span style="color:rgb(0,0,153)"></span><span style="font-size:9pt;color:rgb(51,51,51);font-family:Arial"><span style="color:rgb(51,51,255)"><b><span style="color:rgb(0,0,153)"></span></b></span></span><span style="font-size:9pt;color:rgb(51,51,51);font-family:Arial"><span style="color:rgb(51,51,255)"><b><span style="color:rgb(0,0,153)"><br>
</span></b></span></span></p><a href="http://www.ericsson.com/" target="_blank"></a><p style="margin:0cm 0cm 0pt"><span style="font-size:9pt;font-family:Arial"><br><br></span></p>
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br>Shake Chen<br><br>
</div>