Machines with base ubuntu@24.04 (Noble) flagged as deprecated, blocking controller upgrade

Bug #2068671 reported by James Simpson
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Committed
Critical
Alastair Flynn
3.5
Fix Committed
Critical
Alastair Flynn

Bug Description

This bug was observed during an attempt to upgrade a Juju controller from 3.4.2 to 3.4.3.

jsimpso@nautilus:~$ juju upgrade-controller
ERROR cannot upgrade to "3.4.3" due to issues with these models:
"admin/stg-parca-server":
- the model hosts deprecated ubuntu machine(s): ubuntu@24.04(1)

Revision history for this message
James Simpson (jsimpso) wrote :

A PR has already been proposed to resolve this issue after it was raised on Matrix (thanks Jack!): https://github.com/juju/juju/pull/17481

Jack Shaw (jack-shaw)
Changed in juju:
assignee: nobody → Jack Shaw (jack-shaw)
milestone: none → 3.4.4
Revision history for this message
John A Meinel (jameinel) wrote :

Bugs which prevent us from getting to a new version are quite critical. We won't be able to directly change 3.4.2.
If we had to, we have things like `juju upgrade-controller --ignore-agent-versions`. That probably only skips the check for Juju agent versions, and not the application bases.

If we had to work around, we certainly can do the manual steps (ensuring that `agent-version` is correct in the controller model's config, which could easily trigger the UpgradeWorker to notice and do the upgrade. And if that was failing, down to the point of actually putting the agent binary on disk and updating the symlinks.

I think the config would be sufficient, though if you just edited the Mongodb record, you'd then probably need to restart the jujud agents because they wouldn't have the event that said the config has changed to then notice that they need to restart the workers themselves.

Certainly the check for "what can be deployed" needs to align with the check for "when can we upgrade".

Changed in juju:
importance: Undecided → Critical
status: New → In Progress
Revision history for this message
Jack Shaw (jack-shaw) wrote :

https://github.com/juju/juju/pull/17513

Thank you @Aflynn50 for handling this while I was away

Changed in juju:
assignee: Jack Shaw (jack-shaw) → Alastair Flynn (aflynn50)
Changed in juju:
status: In Progress → Fix Committed
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.