<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><a class="moz-txt-link-freetext" href="http://docs.openstack.org/trunk/openstack-compute/admin/content/configuring-openstack-compute-basics.html#configuring-multiple-compute-nodes:">http://docs.openstack.org/trunk/openstack-compute/admin/content/configuring-openstack-compute-basics.html#configuring-multiple-compute-nodes:</a><br><br><div>If you want to use the 10.04 Ubuntu Enterprise Cloud images that are readily available at <a class="moz-txt-link-freetext" href="http://uec-images.ubuntu.com/releases/10.04/release/">http://uec-images.ubuntu.com/releases/10.04/release/</a>, you may run into delays with booting. Any server that does not have nova-api running on it needs this iptables entry so that UEC images can get metadata info. On compute nodes, configure the iptables with this next step:<br><br># iptables -t nat -A PREROUTING -d 169.254.169.254/32 -p tcp -m tcp --dport 80 -j DNAT --to-destination $NOVA_API_IP:8773<br><br><div><br></div><font color="#990099">-----openstack-bounces+gongysh=cn.ibm.com@lists.launchpad.net wrote: -----<br><br></font><blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: 2px solid #000000; margin-right: 0px;">To: openstack <a class="moz-txt-link-rfc2396E" href="mailto:openstack@lists.launchpad.net"><openstack@lists.launchpad.net></a><br>From: Pierre Amadio <a class="moz-txt-link-rfc2396E" href="mailto:pierre.amadio@canonical.com"><pierre.amadio@canonical.com></a><br>Sent by: <a class="moz-txt-link-abbreviated" href="mailto:openstack-bounces+gongysh=cn.ibm.com@lists.launchpad.net">openstack-bounces+gongysh=cn.ibm.com@lists.launchpad.net</a><br>Date: 03/28/2012 11:01PM<br>Subject: Re: [Openstack] problem  ssh-ing into vms<br><br><font face="Courier New,Courier,monospace" size="3">Hi there !<br><br>> | 2012-03-28 13:11:29,162 - DataSourceEc2.py[WARNING]: '<a class="moz-txt-link-freetext" href="http://169.254.169.254">http://169.254.169.254</a>' failed: url error [[Errno 111] Connection refused]<br>> | 2012-03-28 13:11:35,174 - DataSourceEc2.py[CRITICAL]: giving up on md after 105 seconds<br>> <br>> The instance was unable to connect to the metadata service to get your<br>> public keys and put them into the instance.  The Ubuntu images have an<br>> annoyance, in that if it can't get to the MD it doesn't even generate ssh<br>> server keys, so the ssh server just drops you immediately.<br>> <br>> But your real problem is that the guests can't see the host.<br>> <br><br>Thanks, this helped a lot.<br><br>The vm was on a node running nova-compute and nova-network only.<br><br>Turned out the metadata service was available after i have started<br>nova-api on top of that.<br><br>I though nova-api was not needed on boxes running nova-compute ? (i have<br>it running on a "manager" node that do not launch vms).<br><br>Was my assumption wrong or is there something special to do to have the<br>metadata service available without running nova-api ?<br><br><br><br><br>_______________________________________________<br>Mailing list: <a href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a><br>Post to     : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe : <a href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br><br></font> </blockquote><br></div></font> <br/>