I had a similar problem. Take a look here:<div><a href="https://answers.launchpad.net/nova/+question/145062">https://answers.launchpad.net/nova/+question/145062</a></div><div><br></div><div>Edward<br><br><div class="gmail_quote">
On Wed, Oct 19, 2011 at 8:53 AM, aliex_liu <span dir="ltr"><<a href="mailto:aliex_liu@hotmail.com">aliex_liu@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<u></u>



<div style="font-size:10pt;margin:10px;font-family:verdana">
<div><font face="Verdana" size="2">/NOVA-INIT/instances/instacnes-0000002a/console.log</font></div>
<div> </div>
<div>when i run a instance,the default route has been deleted, and why?</div>
<div> </div>
<div>can i add the default route?</div>
<div> </div>
<div>only one network interface eth0</div>
<div> </div>
<div><font face="Verdana" size="2"><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal"> waiting for metadata service at </span><span><a href="http://169.254.169.254/2009-04-04/meta-data/instance-id" target="_blank"><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(0,0,255);font-style:normal;text-decoration:underline">http://169.254.169.254/2009-04-04/meta-data/instance-id</span></a></span><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal"><u></u><u></u><u></u></span></font></div>

<div><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal">
<p style="margin-top:0pt;margin-bottom:0pt"><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal">2011-10-14 02:20:12,455 - DataSourceEc2.py[WARNING]:   02:20:12 [1/100]: url error [timed out]</span></p>

<p style="margin-top:0pt;margin-bottom:0pt"><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal">....</span><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal"><u></u><u></u></span></p>

<p style="margin-top:0pt;margin-bottom:0pt"><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal">....(like 
above)</span></p>
<p style="margin-top:0pt;margin-bottom:0pt">....</p></span><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal"></span>
<p style="margin-top:0pt;margin-bottom:0pt"><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal">....</span></p>
<p style="margin-top:0pt;margin-bottom:0pt"><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal">...</span></p>
<p style="margin-top:0pt;margin-bottom:0pt"><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal">2011-10-14 02:48:41,455 - DataSourceEc2.py[WARNING]:   02:48:41 [100/100]: url error [timed out]</span><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal"><u></u><u></u></span></p>

<p style="margin-top:0pt;margin-bottom:0pt"><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal">2011-10-14 02:49:01,476 - DataSourceEc2.py[CRITICAL]: giving up on md after 1251 seconds</span><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal"><u></u><u></u></span></p>

<p style="margin-top:0pt;margin-bottom:0pt"><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal">Traceback (most recent call last):</span><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal"><u></u><u></u></span></p>

<p style="margin-top:0pt;margin-bottom:0pt"><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal">  File "/usr/bin/cloud-init-cfg", line 116, in <module></span><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal"><u></u><u></u></span></p>

<p style="margin-top:0pt;margin-bottom:0pt"><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal">    main()</span><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal"><u></u><u></u></span></p>

<p style="margin-top:0pt;margin-bottom:0pt"><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal">  File "/usr/bin/cloud-init-cfg", line 63, in main</span><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal"><u></u><u></u></span></p>

<p style="margin-top:0pt;margin-bottom:0pt"><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal">    cc = cloudinit.CloudConfig.CloudConfig(cfg_path)</span><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal"><u></u><u></u></span></p>

<p style="margin-top:0pt;margin-bottom:0pt"><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal">  File "/usr/lib/python2.6/dist-packages/cloudinit/CloudConfig/__init__.py", line 35, in __init__</span><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal"><u></u><u></u></span></p>

<p style="margin-top:0pt;margin-bottom:0pt"><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal">    self.cloud.get_data_source()</span><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal"><u></u><u></u></span></p>

<p style="margin-top:0pt;margin-bottom:0pt"><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal">  File "/usr/lib/python2.6/dist-packages/cloudinit/__init__.py", line 270, in get_data_source</span><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal"><u></u><u></u></span></p>

<p style="margin-top:0pt;margin-bottom:0pt"><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal">    log.debug("did not find data source from %s" % dslist)</span><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal"><u></u><u></u></span></p>

<p style="margin-top:0pt;margin-bottom:0pt"><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal">TypeError: not all arguments converted during string formatting</span><span style="font-weight:normal;font-size:9.5pt;background:rgb(255,255,255);color:rgb(51,51,51);font-style:normal"><u></u><u></u></span></p>
</div>
<div align="left"><font face="Verdana" color="#c0c0c0" size="2">2011-10-19 
</font></div><font face="Verdana" size="2">
<hr style="width:122px;min-height:2px" align="left" size="2">

<div><font face="Verdana" color="#c0c0c0" size="2"><span>aliex_liu</span> 
</font></div></font></div>
<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Best regards<div>Edward Pacheco</div><div><div>____________________________________<br>Disfruta de equivocarte y volver a empezar</div></div><br>
</div>