<div dir="ltr">Hi Liu,<div><br></div><div style>The output above is normal if you didn't supply any <a href="http://docs.openstack.org/trunk/openstack-compute/admin/content/user-data.html">user data when booting your instance</a> :)</div>
<div style><br></div><div style>Cheers,</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 10, 2013 at 7:25 AM, Liu Wenmao <span dir="ltr"><<a href="mailto:marvelliu@gmail.com" target="_blank">marvelliu@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">Thanks Mouad<div><br></div><div>After I install the latest grizzly quantum and remove <span style="font-family:arial,sans-serif;font-size:13px">metadata_port</span><span style="font-family:arial,sans-serif;font-size:13px"> from l3_agent.ini</span>, I can connect <a href="http://169.254.169.254:80" target="_blank">169.254.169.254:80</a>, but the server return a 404 NOT Found error:</div>
<div><br></div><div><pre style="padding:8.5px;font-family:Menlo,Monaco,'Courier New',monospace;font-size:12px;color:rgb(51,51,51);border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;margin-top:0px;margin-bottom:9px;line-height:18px;background-color:rgb(245,245,245);border:1px solid rgba(0,0,0,0.14902);white-space:pre-wrap;word-break:break-all;word-wrap:break-word">
Starting dropbear sshd: generating rsa key... generating dsa key... OK
===== cloudfinal: system completely up in 5.03 seconds ====
instanceid: i0000005b
publicipv4:
localipv4 : 100.0.0.4
wget: server returned error: HTTP/1.1 404 Not Found
clouduserdata: failed to read user data url: <a href="http://169.254.169.254/20090404/userdata" target="_blank">http://169.254.169.254/20090404/userdata</a>
WARN: /etc/rc3.d/S99clouduserdata failed</pre></div><div>I use cirros-0.3.0-x86_64-disk.img, is it a problem of cirros-image, or quantum?</div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">
On Tue, Apr 9, 2013 at 6:18 PM, Mouad Benchchaoui <span dir="ltr"><<a href="mailto:m.benchchaoui@cloudbau.de" target="_blank">m.benchchaoui@cloudbau.de</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>Hi,</div><div><br></div>Are you using namespaces ? b/c i think this is related to <a href="https://bugs.launchpad.net/quantum/+bug/1160955" target="_blank">https://bugs.launchpad.net/quantum/+bug/1160955</a>, if so a fix was just commited in the stable grizzly branch, so upgrade if you want to use another port than the default one, or i think removing the option <span style="font-family:arial,sans-serif;font-size:13px">metadata_port from l3_agent.ini should also make it work for you.</span><div>
<br></div><div><br></div><div>HTH,</div><div><br></div><div>--</div><div>Mouad</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Tue, Apr 9, 2013 at 11:48 AM, Liu Wenmao <span dir="ltr"><<a href="mailto:marvelliu@gmail.com" target="_blank">marvelliu@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><div dir="ltr">hi all:<div><br></div><div>I setup quantum and nova grizzly, but vms can not get public key from <a href="http://169.254.169.254" target="_blank">169.254.169.254</a>:</div>
<div><br></div><div><pre style="padding:8.5px;font-family:Menlo,Monaco,'Courier New',monospace;font-size:12px;color:rgb(51,51,51);border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;margin-top:0px;margin-bottom:9px;line-height:18px;background-color:rgb(245,245,245);border:1px solid rgba(0,0,0,0.14902);white-space:pre-wrap;word-break:break-all;word-wrap:break-word">
############ debug end ##############
cloudsetup: failed to read iid from metadata. tried 30
WARN: /etc/rc3.d/S45cloudsetup failed
Starting dropbear sshd: generating rsa key... generating dsa key... OK
===== cloudfinal: system completely up in 39.98 seconds ====
wget: can't connect to remote host (169.254.169.254): Connection refused
wget: can't connect to remote host (169.254.169.254): Connection refused
wget: can't connect to remote host (169.254.169.254): Connection refused
instanceid:
publicipv4: </pre></div><div>I have configured nova.conf</div><div>enabled_apis=ec2,osapi_compute,metadata<br></div><div>metadata_manager=nova.api.manager.MetadataManager<br></div><div><div>metadata_listen=0.0.0.0</div>
<div>metadata_listen_port=8775<br></div></div><div>service_quantum_metadata_proxy=true<br></div><div><div>metadata_host=20.0.0.1</div><div>metadata_port=8775<br></div></div><div><br></div><div>quantum l3_agent.ini</div>
<div><div>metadata_ip = 20.0.0.1 </div><div>metadata_port = 8775 </div><div><br></div><div>metadata_agent.ini <br></div><div><div>nova_metadata_ip = 20.0.0.1 </div><div>nova_metadata_port = 8775<br></div></div><div>
<br></div><div>20.0.0.1 is my controller ip. </div><div><br></div><div>p.s. I can not see any things like "169.254.169.254" in the iptables of controller or compute nodes.</div><div><br></div>
</div>
</div>
<br></div></div><div>_______________________________________________<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" target="_blank">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></div></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>