ErroredUnit: 0 is in state cannot complete machine configuration: model configuration has no authorized-keys

Bug #1600237 reported by Nicholas Skaggs
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Critical
Andrew Wilkins

Bug Description

After Andrew's changes to authorized-keys config being only required at bootstrap, most tests now fail with

"ErroredUnit: 0 is in state cannot complete machine configuration: model configuration has no authorized-keys"

As seen in http://reports.vapour.ws/releases/issue/577fa873749a5605e22075d5

EDIT: This is not unique to our tests; anyone doing a simple deploy sees the same issue.

Changed in juju-core:
status: New → Triaged
Changed in juju-core:
importance: Undecided → Critical
assignee: nobody → Andrew Wilkins (axwalk)
milestone: none → 2.0-beta12
Revision history for this message
Cheryl Jennings (cherylj) wrote :

Doing a simple bootstrap / deploy on AWS in the default model hits this problem.

tags: added: blocker
tags: added: deploy regression
description: updated
no longer affects: juju-ci-tools
Revision history for this message
Andrew Wilkins (axwalk) wrote :

There's a couple of issues. First, we're not populating authorized-keys for the default model. We should be copying them across from the controller model. Second, there's a stray bit of code that I missed that's checking authorized-keys still. Not sure how I managed to miss that; I must have been testing with an old binary :/

Changed in juju-core:
status: Triaged → In Progress
Revision history for this message
Andrew Wilkins (axwalk) wrote :
Andrew Wilkins (axwalk)
Changed in juju-core:
status: In Progress → Fix Committed
Changed in juju-core:
status: Fix Committed → Fix Released
tags: removed: blocker
affects: juju-core → juju
Changed in juju:
milestone: 2.0-beta12 → none
milestone: none → 2.0-beta12
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.