Upgrade stuck due to out-of-date distro-info-data package

Bug #1637079 reported by Paul Gear
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Ian Booth
2.0
Fix Released
High
Martin Packman

Bug Description

Scenario:

- Trying to upgrade controller from 2.0-rc3 to 2.0.0

Actions taken:

- juju switch controller
- juju upgrade-juju --dry-run
- juju upgrade-juju

Expected result:

- Successful upgrade

Actual result:

machine-0: 05:39:22 ERROR juju.worker.dependency "upgrader" manifold worker returned unexpected error: unexpectedly bad version "2.0.0.1-zesty-amd64" in tools storage: unknown OS for series: "zesty"

Workaround:

Upgrading disto-info-data package on the controller so that it included information about zesty and restarting jujud-machine-0 on the controller fixed the issue and the controller upgraded correctly.

Ian Booth (wallyworld)
Changed in juju:
milestone: none → 2.0.2
assignee: nobody → Alexis Bruemmer (alexis-bruemmer)
importance: Undecided → High
status: New → Triaged
Paul Gear (paulgear)
tags: added: canonical-is
Ian Booth (wallyworld)
tags: added: eda
Ian Booth (wallyworld)
Changed in juju:
milestone: 2.0.2 → 2.1.0-beta1
Ian Booth (wallyworld)
Changed in juju:
assignee: Alexis Bruemmer (alexis-bruemmer) → Ian Booth (wallyworld)
status: Triaged → In Progress
Revision history for this message
Anastasia (anastasia-macmood) wrote :

Parts of the fix against
    * version: https://github.com/juju/version/pull/4
    * utils: https://github.com/juju/utils/pull/247

Revision history for this message
Ian Booth (wallyworld) wrote :

The upgrade will no longer break when parsing tools versions. There are other places in the code which do require an up to date distroinfo data eg the instance provisioner. The code has been modified to support up to zesty out of the box.

Changed in juju:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju:
status: Fix Committed → Fix Released
Revision history for this message
Martin Packman (gz) wrote :

Backporting this fix to 2.0 branch in:

<https://github.com/juju/juju/pull/6602>

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.