← Back to team overview

openstack team mailing list archive

Re: cc_ssh.py warning (cloud-init issue resolved)

 




-------- Original Message --------
Subject: 	Re: [Openstack] cc_ssh.py warning (cloud-init issue resolved)
Date: 	Fri, 07 Jun 2013 12:31:45 -0700
From: 	Justin Chiu <j.chiu@xxxxxxx>
To: 	Steven Hardy <shardy@xxxxxxxxxx>



Thanks Steve.

cloud-init-0.6.3-0.12.bzr532.el6.noarch
python-boto-2.5.2-3.el6.noarch
(grabbed from EPEL)

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.
I will post if I run into the metadata issue again...
--
I've run into a (not so critical) issue with one of the scripts:

cc_ssh.py[WARNING]: applying credentials failed!

Further down in the log:

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-----

So it seems like the keys are applied. Furthermore, I can log-in with the corresponding private key just fine. Is there some non-critical incompatibility between the cloud-init scripts and SSH paths, etc...that I have overlooked?

Thanks for your help,
Justin

On 2013-06-06 2:27 AM, Steven Hardy wrote:
On Wed, Jun 05, 2013 at 09:25:17AM -0700, Justin Chiu wrote:
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?
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