← Back to team overview

openstack team mailing list archive

Re: metadata service problem

 

Hello,

Just an update to this issue.
I make it work by adding a DNAT iptables rule on the WNs, redirecting connection destined to 169.254.169.254 to <controller ip>:8773. I thought this is taken care of by openstack automatically, maybe not? Or am I on the wrong track?

Thanks,
Xin

On 8/13/2012 6:03 PM, Xin Zhao wrote:
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@xxxxxxx <mailto:xzhao@xxxxxxx>> 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@xxxxxxxxxxxxxxxxxxx
    <mailto:openstack@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe : https://launchpad.net/~openstack
    <https://launchpad.net/%7Eopenstack>
    More help   : https://help.launchpad.net/ListHelp





_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


References