[Openstack] metadata service problem

Xin Zhao xzhao at bnl.gov
Mon Aug 13 22:03:18 UTC 2012


Hello,

How can I check the value of $my_ip?

I notice that in the arp table on the instance, the entry for ip 
169.254.169.254 has a wrong mac address, which I don't see existent on 
both the controller
node and the worker node. After I change the entry for ip 
169.254.169.254 to map to the real mac address of the controller 
host(metadata host as well),
the curl command works. But, I don't know why the initial wrong mac 
address gets entered into the arp table in the first place?

Thanks,
Xin

On 8/10/2012 3:47 AM, tacy lee wrote:
> Suggest check iptables-save output,Metadata_host default set to 
> $my_ip. if you often switch network,your $my_ip maybe set wrong
>
> On Fri, Aug 10, 2012 at 10:31 AM, Xin Zhao <xzhao at bnl.gov 
> <mailto:xzhao at bnl.gov>> wrote:
>
>     Hello,
>
>     In my essex install on RHEL6, there is a problem with the metadata
>     service.
>     The metadata service works for instances running on the controller
>     node, where
>     the nova-api(metadata service) is running. But for the other
>     worker nodes,
>     the metadata service is intermittent, ie. the instances sometimes
>     can get its metadata,
>     sometime it fails with errors like:
>
>     $> curl -v http://169.254.169.254:8775/
>     * About to connect() to 169.254.169.254 port 8775 (#0)
>     *   Trying 169.254.169.254... Connection timed out
>     * couldn't connect to host
>     * Closing connection #0
>     curl: (7) couldn't connect to host
>
>     Any idea where should I start investigating this?
>
>     Thanks,
>     Xin
>
>     _______________________________________________
>     Mailing list: https://launchpad.net/~openstack
>     <https://launchpad.net/%7Eopenstack>
>     Post to     : openstack at lists.launchpad.net
>     <mailto:openstack at lists.launchpad.net>
>     Unsubscribe : https://launchpad.net/~openstack
>     <https://launchpad.net/%7Eopenstack>
>     More help   : https://help.launchpad.net/ListHelp
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120813/ad3b1e95/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3212 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120813/ad3b1e95/attachment.bin>


More information about the Openstack mailing list