Cannot deploy older Ubuntu releases

Bug #2003745 reported by Alexsander de Souza
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Alexsander de Souza
3.4
Fix Released
Critical
Alexsander de Souza
curtin (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Due to recent changes introduced to Curtin, now the installer requires at least Python 3.7 to run. This makes impossible for MAAS to deploy Ubuntu releases older than Bionic.

Revision history for this message
Alexsander de Souza (alexsander-souza) wrote :

We cannot deploy Precise, Trusty and Xenial, nor custom images that require one of these releases as ephemeral OS (e.g. CentOS 6 and SLES 12)

Revision history for this message
Andrey Grebennikov (agrebennikov) wrote :

In MAAS 3.2.6 I still have options to choose all the way back to Trusty as viable OS distros.

Revision history for this message
Dan Bungert (dbungert) wrote :

If you pin the older version of Curtin, is that enough for this release?

Revision history for this message
Jerzy Husakowski (jhusakowski) wrote :

MAAS can't pin the version of Curtin. Any other solution directions that restore the backward compatibility?

Revision history for this message
Dan Bungert (dbungert) wrote :

I would like to hear a detailed discussion on what was attempted to pin the curtin version and why this did not work.

Dan Bungert (dbungert)
Changed in curtin (Ubuntu):
status: New → Incomplete
Revision history for this message
Alexsander de Souza (alexsander-souza) wrote :

pinning isn't an option because MAAS needs features that were introduced after the compatibility was broken. We could backport these and future patches, but that would lead to a MAAS-specific fork of Curtin, and I think we shouldn't go that way.

You told us back in February that Curtin v23.1 was in the works and that it would be the last release compatible with python 3.5. This is a better solution. What's the timeline for this release?

Changed in maas:
milestone: 3.4.0 → 3.5.0
Dan Bungert (dbungert)
Changed in curtin (Ubuntu):
status: Incomplete → Fix Committed
Alberto Donato (ack)
Changed in maas:
milestone: 3.4.0 → 3.5.0
Revision history for this message
Alexsander de Souza (alexsander-souza) wrote :

we held back a Curtin update in MAAS 3.3, so this bug never affected this series.

no longer affects: maas/3.3
Revision history for this message
Alexsander de Souza (alexsander-souza) wrote :

Curtin 23.1.1 has been released and copied to latest-deps and maas/3.4-next

Changed in maas:
status: In Progress → Fix Committed
Dan Bungert (dbungert)
Changed in curtin (Ubuntu):
status: Fix Committed → Fix Released
Changed in maas:
milestone: 3.5.0 → 3.5.0-beta1
Changed in maas:
status: Fix Committed → Fix Released
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.