<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-forward-container"><br>
      <br>
      -------- Original Message --------
      <table class="moz-email-headers-table" border="0" cellpadding="0"
        cellspacing="0">
        <tbody>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject:
            </th>
            <td>Re: [Openstack] cc_ssh.py warning (cloud-init issue
              resolved)</td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date: </th>
            <td>Fri, 07 Jun 2013 12:31:45 -0700</td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">From: </th>
            <td>Justin Chiu <a class="moz-txt-link-rfc2396E" href="mailto:j.chiu@cern.ch"><j.chiu@cern.ch></a></td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">To: </th>
            <td>Steven Hardy <a class="moz-txt-link-rfc2396E" href="mailto:shardy@redhat.com"><shardy@redhat.com></a></td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">Thanks Steve.<br>
        <br>
        cloud-init-0.6.3-0.12.bzr532.el6.noarch<br>
        python-boto-2.5.2-3.el6.noarch<br>
        (grabbed from EPEL)<br>
        <br>
        Some good and bad news. The issue of cloud-init not being able
        to obtain metadata seems to have resolved itself. Launched a
        dozen instances and they all grabbed the metadata just fine.<br>
        I will post if I run into the metadata issue again...<br>
        --<br>
        I've run into a (not so critical) issue with one of the scripts:<br>
        <br>
        cc_ssh.py[WARNING]: applying credentials failed!<br>
        <br>
        Further down in the log:<br>
        <meta http-equiv="content-type" content="text/html;
          charset=ISO-8859-1">
        <pre class="logs">ec2: #############################################################

ec2: -----BEGIN SSH HOST KEY FINGERPRINTS-----

ec2: 1024 XX:XX:... /etc/ssh/ssh_host_dsa_key.pub (DSA)

ec2: 2048 XX:XX:... /etc/ssh/ssh_host_key.pub (RSA1)

ec2: 2048 XX:XX:... /etc/ssh/ssh_host_rsa_key.pub (RSA)

ec2: -----END SSH HOST KEY FINGERPRINTS-----

ec2: #############################################################

-----BEGIN SSH HOST KEY KEYS-----
*my keys*
-----END SSH HOST KEY KEYS-----</pre>
        So it seems like the keys are applied. Furthermore, I can log-in
        with the corresponding private key just fine.<br>
        Is there some non-critical incompatibility between the
        cloud-init scripts and SSH paths, etc...that I have overlooked?<br>
        <br>
        Thanks for your help,<br>
        Justin<br>
        <br>
        On 2013-06-06 2:27 AM, Steven Hardy wrote:<br>
      </div>
      <blockquote cite="mid:20130606092719.GB2543@t430slt.redhat.com"
        type="cite">
        <pre wrap="">On Wed, Jun 05, 2013 at 09:25:17AM -0700, Justin Chiu wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">Hi all,
I sent this message out a few days ago. I am still trying to figure
out what is going on. Any advice would be much appreciated.
--
I am having some issues with cloud-init being unable to contact the
metadata server. cloud-init built into a base Scientific Linux 6.4
image with Oz. Any ideas on what might be the cause?
</pre>
        </blockquote>
        <pre wrap="">Can you confirm the version of cloud-init and python-boto in your image?

I found on Fedora that cloud-init 0.7.x only works with newer (> 2.6.0)
boto versions.  Getting the wrong combination can lead to the sort of problems
you're seeing IME.

Steve
</pre>
      </blockquote>
      <br>
      <br>
    </div>
    <br>
  </body>
</html>