[Openstack] vm unable to reach 169.254.169.254

Mouad Benchchaoui m.benchchaoui at cloudbau.de
Tue Apr 9 10:18:48 UTC 2013


Hi,

Are you using namespaces ? b/c i think this is related to
https://bugs.launchpad.net/quantum/+bug/1160955, 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 metadata_port
from l3_agent.ini should also make it work for you.


HTH,

--
Mouad


On Tue, Apr 9, 2013 at 11:48 AM, Liu Wenmao <marvelliu at gmail.com> wrote:

> hi all:
>
> I setup quantum and nova grizzly, but vms can not get public key from
> 169.254.169.254:
>
>
> ############ 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:
>
> I have configured nova.conf
> enabled_apis=ec2,osapi_compute,metadata
> metadata_manager=nova.api.manager.MetadataManager
> metadata_listen=0.0.0.0
> metadata_listen_port=8775
> service_quantum_metadata_proxy=true
> metadata_host=20.0.0.1
> metadata_port=8775
>
> quantum l3_agent.ini
> metadata_ip = 20.0.0.1
> metadata_port = 8775
>
> metadata_agent.ini
> nova_metadata_ip = 20.0.0.1
> nova_metadata_port = 8775
>
> 20.0.0.1 is my controller ip.
>
> p.s. I can not see any things like "169.254.169.254" in the iptables of
> controller or compute nodes.
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130409/250b9c38/attachment.html>


More information about the Openstack mailing list