yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #48683
[Bug 1424900] Re: Bootstrapping Vivid: ERROR failed to bootstrap environment, Permission denied (publickey), ci-info: no authorized ssh keys fingerprints found for user ubuntu
** Changed in: cloud-init
Status: Fix Committed => Fix Released
--
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 cloud-init:
Fix Released
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