1.24.6 fails to bootstrap with "ERROR juju.cmd supercommand.go:430 upgrade in progress - Juju functionality is limited"

Bug #1513659 reported by Mike McCracken
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju-core
Won't Fix
High
Unassigned

Bug Description

juju 1.24.6 , trusty 14.04.3:

attempting to bootstrap onto a VM enlisted in maas, bootstrap fails repeatably.
the last line in --debug output is here:
ERROR juju.cmd supercommand.go:430 upgrade in progress - Juju functionality is limited

Here's the full contents of juju --debug bootstrap:

http://paste.ubuntu.com/13117526/

Changed in juju-core:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Cheryl Jennings (cherylj) wrote :

When you bootstrap, the agents will update to the latest version of whatever release you're on. In this case, you're bootstrapping with 1.24.6, and 1.24.7 is available. The bootstrap command will wait for 60 seconds for the upgrade to finish before giving up and returning an error. (Granted, it could use some additional information, rather than just returning the upgrade in progress error) It could be that the upgrade was just taking too long, or had failed out and we didn't see it as the error was on the bootstrap node.

You can pin the agent version, an prevent the upgrade by using agent-version: 1.24.6 in your environments.yaml.

Could you try that and see if your bootstrap succeeds? If it does, we could then investigate why the upgrade was not completing within the timeout.

Revision history for this message
Mike McCracken (mikemc) wrote :

Yep, pinning the agent version to 1.24.6 worked.

Revision history for this message
Cheryl Jennings (cherylj) wrote :

Did you want to try the upgrade to 1.24.7 and see why it took so long (or possibly failed?)

Revision history for this message
Cheryl Jennings (cherylj) wrote :

If nothing else, I'd like to better annotate that error you got back from bootstrap. We should be explicit that we timed out waiting for the upgrade to complete.

Revision history for this message
Cheryl Jennings (cherylj) wrote :

mikemc was able to do a manual upgrade from 1.24.6 -> 1.24.7 once the environment bootstrapped. I gave him a binary with a longer timeout waiting for the upgrade to complete to check if the issue was just the timeout being too short.

Changed in juju-core:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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