juju-upgrade from 2.1.2 to 2.3.2 fails

Bug #1748294 reported by Sandor Zeestraten
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Tim Penhey

Bug Description

# Issue
In the pursuit of a workaround for lp#1746265 and the recommendation of Rick in #juju-dev, I tried upgrading 3x HA juju controllers from 2.1.2 directly to 2.3.2.

As with lp#1746265, it seems that the juju environment becomes unusable and stuck in an upgrading state though from seemingly other reasons if I'm interpreting the controller machine logs correctly.

I managed to reproduce this every time both on MAAS and LXD.

# How to reproduce on LXD
* juju bootstrap lxd # with juju 2.1.2 client
* juju enable-ha
* juju upgrade-juju -m controller --agent-version 2.3.2 # with juju 2.3.2 client

Here's a repository with a Vagrant machine with steps to reproduce for LXD.

# Logs
See attached machine logs from a MAAS reproduction.

Tags: upgrade-juju
Revision history for this message
Sandor Zeestraten (szeestraten) wrote :
Revision history for this message
Sandor Zeestraten (szeestraten) wrote :
Revision history for this message
Tim Penhey (thumper) wrote :

Well... crap. Thank you for the logs, they were instrumental in showing exactly what was wrong.

Effectively something was added in 2.3.2 that relied on a model change in 2.3.0, but when upgrading from an earlier version, like 2.1 or 2.2, this hadn't been applied before it was expected.

Changed in juju:
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Tim Penhey (thumper)
milestone: none → 2.3.3
tags: added: upgrade-juju
Revision history for this message
Tim Penhey (thumper) wrote :

Not as crazy as I thought, as upgrading through 2.2 means that we don't hit this.

Changed in juju:
importance: Critical → High
Revision history for this message
Tim Penhey (thumper) wrote :
Tim Penhey (thumper)
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
status: Fix Committed → Fix Released
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.