[Openstack] metadata service problem
Xin Zhao
xzhao at bnl.gov
Wed Aug 15 13:24:25 UTC 2012
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 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
>>
>>
>
>
>
> _______________________________________________
> 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/20120815/451d19f4/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/20120815/451d19f4/attachment.bin>
More information about the Openstack
mailing list