microk8s juju upgrade-controller doesn't match on the minor version

Bug #1892492 reported by Konrad Rzezniczak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Ian Booth

Bug Description

Ive preformed an upgrade:
➜ microk8s juju upgrade-controller
best version:
    2.8.1.3902
started upgrade to 2.8.1.3902

After which I'm still not able to preform any model upgrades:

➜ microk8s juju upgrade-controller
ERROR no upgrades available
➜ microk8s juju upgrade-model
best version:
    2.8.1.3902
ERROR model cannot be upgraded to 2.8.1.3902 while the controller is 2.8.1: upgrade 'controller' model first

It seems that the last part of the version is being ignored in the version match: x.x.x.3902
Work around to include the --agent-version 2.8.1 seems to help

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

When Juju looks for a version to upgrade to, it is not correctly filtering out tags with non zero build numbers (which are used for edge snaps).

Your workaround is a good solution pending a bug fix to the Juju client.

Changed in juju:
milestone: none → 2.8.3
assignee: nobody → Ian Booth (wallyworld)
importance: Undecided → High
status: New → Triaged
status: Triaged → In Progress
Ian Booth (wallyworld)
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.