<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello,<br>
<br>
How can I check the value of $my_ip? <br>
<br>
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<br>
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), <br>
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? <br>
<br>
Thanks,<br>
Xin<br>
<br>
On 8/10/2012 3:47 AM, tacy lee wrote:<br>
</div>
<blockquote
cite="mid:CAHL++v=Da43Sq=cEOT7qDbX5xY49sbmzfqwaXignKwkm1BBnxw@mail.gmail.com"
type="cite">Suggest check iptables-save output,Metadata_host
default set to $my_ip. if you often switch network,your $my_ip
maybe set wrong
<div><br>
<div class="gmail_quote">On Fri, Aug 10, 2012 at 10:31 AM, Xin
Zhao <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:xzhao@bnl.gov" target="_blank">xzhao@bnl.gov</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
In my essex install on RHEL6, there is a problem with the
metadata service.<br>
The metadata service works for instances running on the
controller node, where<br>
the nova-api(metadata service) is running. But for the other
worker nodes,<br>
the metadata service is intermittent, ie. the instances
sometimes can get its metadata,<br>
sometime it fails with errors like:<br>
<br>
$> curl -v <a moz-do-not-send="true"
href="http://169.254.169.254:8775/" target="_blank">http://169.254.169.254:8775/</a><br>
* About to connect() to 169.254.169.254 port 8775 (#0)<br>
* Trying 169.254.169.254... Connection timed out<br>
* couldn't connect to host<br>
* Closing connection #0<br>
curl: (7) couldn't connect to host<br>
<br>
Any idea where should I start investigating this?<br>
<br>
Thanks,<br>
Xin<br>
<br>
_______________________________________________<br>
Mailing list: <a moz-do-not-send="true"
href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to : <a moz-do-not-send="true"
href="mailto:openstack@lists.launchpad.net"
target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a moz-do-not-send="true"
href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help : <a moz-do-not-send="true"
href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>