<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello, <br>
      <br>
      Just an update to this issue. <br>
      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. <br>
      I thought this is taken care of by openstack automatically, maybe
      not? Or am I on the wrong track? <br>
      <br>
      Thanks,<br>
      Xin <br>
      <br>
      On 8/13/2012 6:03 PM, Xin Zhao wrote:<br>
    </div>
    <blockquote cite="mid:502979A6.9030704@bnl.gov" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Mailing list: <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
Post to     : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>
Unsubscribe : <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
More help   : <a class="moz-txt-link-freetext" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a></pre>
    </blockquote>
    <br>
  </body>
</html>