yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #28947
[Bug 1424900] Re: Bootstrapping Vivid: ERROR failed to bootstrap environment, Permission denied (publickey), ci-info: no authorized ssh keys fingerprints found for user ubuntu
this was fixed in 0.7.7~bzr1067-0ubuntu1 uploaded to vivid 2015-02-26.
** Changed in: cloud-init
Status: Confirmed => Fix Released
** Also affects: cloud-init (Ubuntu)
Importance: Undecided
Status: New
** Changed in: cloud-init
Status: Fix Released => Fix Committed
** Changed in: cloud-init (Ubuntu)
Status: New => Fix Released
** Changed in: cloud-init (Ubuntu)
Importance: Undecided => Critical
** Changed in: cloud-init (Ubuntu)
Importance: Critical => High
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1424900
Title:
Bootstrapping Vivid: ERROR failed to bootstrap environment,
Permission denied (publickey), ci-info: no authorized ssh keys
fingerprints found for user ubuntu
Status in Init scripts for use on cloud images:
Fix Committed
Status in cloud-init package in Ubuntu:
Fix Released
Bug description:
Bootstrapping Vivid: ERROR failed to bootstrap environment,
Permission denied (publickey), ci-info: no authorized ssh keys
fingerprints found for user ubuntu
# Scenario
A user needs Unit 0 to be Vivid. The user manually sets default-series: vivid in ~/.juju/environments.yaml, then issues `juju bootstrap`.
The bootstrap times out after the default 10 minute wait, with:
"ERROR failed to bootstrap environment: waited for 10m0s without being
able to connect: Permission denied (publickey)."
The user cannot open an ssh session to the new instance using the
local user keys, nor the keys in ~/.juju/. Juju stat and juju debug-
log do not provide details as the bootstrap node cannot be contacted.
Information is collected via nova console-log.
The same user procedure does bootstrap successfully when default-
series is set to utopic or trusty. This issue has been confirmed
using two juju providers: openstack provider (serverstack) and maas
provider (dellstack). It has been confirmed on juju-core
1.21.1-0ubuntu1~14.04.1~juju1 and 1.22-beta3-0ubuntu1~14.04.1~juju1.
# The bootstrap node's nova console log reveals trouble:
Cloud-init v. 0.7.7 running 'modules:final' at Tue, 24 Feb 2015 00:44:33 +0000. Up 11.03 seconds.
ci-info: no authorized ssh keys fingerprints found for user ubuntu.
ci-info: no authorized ssh keys fingerprints found for user ubuntu.
# bootstrap output, with default-series: vivid
jenkins@juju-env0-machine-13:~$ juju bootstrap
Bootstrapping environment "osci-sv10-jdev"
Starting new instance for initial state server
Launching instance
- 15abce53-fa1a-427e-83d9-551a642f4fd7
Installing Juju agent on bootstrap instance
Waiting for address
Attempting to connect to 172.17.110.41:22
ERROR failed to bootstrap environment: waited for 10m0s without being able to connect: Permission denied (publickey).
See attachment for additional details.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1424900/+subscriptions