openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #03749
Re: Ubuntu run instance error + xen
Hi,
Talking about cloud-init and Ubuntu instances... I have a problem related to that part which I can't really reproduce reliably.
When spinning up an Ubuntu "tty" image, I'm often seeing this, during the cloud-init/cloud-setup phase:
cloud-setup: cloudinit: getting ssh keys: [0=test]
stty: /dev/console
System is configured for NO sshd.
and then I'm unable to ssh to my instance: I'm getting "connection refused", because there's no sshd runnng on port 22.
The weird thing is, when I repeat the same Openstack/nova installation procedure a few days later, I would typically not get this issue.
Then after another installation attempt yet a few days later the issue would crop up again.
Does any recognize this error or know what it means? Maybe cloud-init/setup fails to fetch the keys and as a result won't start up sshd ?
The only thing that MIGHT be a factor is that at one point I pulled sources from Launchpad/Bazaar and next time I used the Git mirror.
I could try that again and see if that's the culprit. So then it would be down to the particular version of the source code or the build of the tty image, etc.
--Leo--
On Aug 25, 2011, at 10:25 PM, Scott Moser wrote:
> On Fri, 19 Aug 2011, Joshua Harlow wrote:
>
>> Begin: Running /scripts/init-bottom ... done.
>> [ 1.348832] EXT4-fs (sda1): re-mounted. Opts: (null)
>> cloud-init start-local running: Fri, 19 Aug 2011 21:34:59 +0000. up 4.01 seconds
>> no instance data found in start-local
>> init: cloud-init-local main process (186) terminated with status 1
>>
>> What would be causing that? If anyone knows.
>
> Its hung waiting for networking to come up.
> cloud-init has two init scripts, 'cloud-init local' and 'cloud-init start'
> (bad name). The second runs only when the networking has come up.
>
> That is where you're blocked.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
Follow ups
References