[SRU] 14.04 images not available for commissioning as distro-info --lts now reports xenial
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Andres Rodriguez | ||
maas (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
Trusty |
Fix Released
|
Critical
|
Unassigned | ||
Wily |
Won't Fix
|
Critical
|
Unassigned |
Bug Description
[Impact]
With the new version of distro-info hitting the archives, and it reporting that the LTS is 16.04, MAAS 1.7, 1.8, 1.9 won't be able to commission machines. This is because MAAS depended on distro-info to determine the commissioning release, which at the time is only Trusty.
[Test Case]
1. install maas
2. go to settings page and select commissioning release.
3. with the fix, trusty will be available. Without the fix, no commissioning will be available and machines will fail to commission/enlist.
[Regression Potential]
Minimal.
[Original bug report]
I re-installed my vMAAS setup from scratch today. I imported 14.04 LTS images but that does not allow me to commission anything - the drop-down in the UI says "No usable Release" for commissioning.
The following conversation should sum up the issue:
frobware> in 1.9.1 I have only 14.04 images, but this gives me "No usable Release" for commissioning. Does it have to be 16.04 only?
<roaksoax> frobware: that's not possible :) because you can't commissioning with xenial in 16.04
<roaksoax> frobware: so maybe the image hasn't finish importting ?
<roaksoax> frobware: you'll need 14.04
<roaksoax> frobware: ohhhhh unless.... this may be an issue with python-distroinfo then
<roaksoax> frobware: wat does distro-info --lts show you?
<frobware> roaksoax: aim@maas19:
<frobware> xenial
<roaksoax> frobware: that is in trusty ?
<roaksoax> frobware: is your machine trusty ?
<frobware> yes
<frobware> aim@maas19:
<frobware> trusty
<roaksoax> frobware: can you please file a bug...
<roaksoax> frobware: maas uses distro-info to show what release is LTS
<roaksoax> frobware: so since that is now showing xenial
<roaksoax> frobware: it is not allowing trusty
Related branches
- Andres Rodriguez (community): Approve
- Blake Rouse (community): Approve
-
Diff: 70 lines (+16/-5)3 files modifiedsrc/maasserver/api/tests/test_pxeconfig.py (+1/-1)
src/provisioningserver/drivers/osystem/tests/test_ubuntu.py (+9/-2)
src/provisioningserver/drivers/osystem/ubuntu.py (+6/-2)
Changed in maas: | |
importance: | Undecided → Critical |
milestone: | none → 1.9.2 |
status: | New → Confirmed |
tags: | added: landscape |
tags: | added: kanban-cross-team |
tags: | removed: kanban-cross-team |
Changed in maas: | |
status: | Confirmed → In Progress |
assignee: | nobody → Andres Rodriguez (andreserl) |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
summary: |
- 14.04 images not available for commissioning as distrio-info --lts now + 14.04 images not available for commissioning as distro-info --lts now reports xenial |
tags: | added: sts |
Changed in maas (Ubuntu Trusty): | |
assignee: | nobody → Felipe Reyes (freyes) |
Changed in maas (Ubuntu Wily): | |
assignee: | nobody → Felipe Reyes (freyes) |
Changed in maas (Ubuntu): | |
assignee: | Felipe Reyes (freyes) → nobody |
Changed in maas (Ubuntu Trusty): | |
assignee: | Felipe Reyes (freyes) → nobody |
Changed in maas (Ubuntu Wily): | |
assignee: | Felipe Reyes (freyes) → nobody |
Changed in maas (Ubuntu): | |
assignee: | nobody → Andres Rodriguez (andreserl) |
Changed in maas (Ubuntu Trusty): | |
assignee: | nobody → Andres Rodriguez (andreserl) |
Changed in maas (Ubuntu): | |
importance: | Undecided → Critical |
Changed in maas (Ubuntu Wily): | |
importance: | Undecided → Critical |
Changed in maas (Ubuntu Trusty): | |
importance: | Undecided → Critical |
summary: |
- 14.04 images not available for commissioning as distro-info --lts now - reports xenial + [SRU] 14.04 images not available for commissioning as distro-info --lts + now reports xenial |
Changed in maas (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in maas (Ubuntu Wily): | |
assignee: | nobody → Andres Rodriguez (andreserl) |
Changed in maas (Ubuntu): | |
assignee: | Andres Rodriguez (andreserl) → nobody |
Changed in maas (Ubuntu Trusty): | |
milestone: | none → trusty-updates |
Changed in maas (Ubuntu Wily): | |
milestone: | none → wily-updates |
Changed in maas (Ubuntu Trusty): | |
assignee: | Andres Rodriguez (andreserl) → nobody |
Changed in maas (Ubuntu Wily): | |
assignee: | Andres Rodriguez (andreserl) → nobody |
description: | updated |
description: | updated |
A workaround to apply on your MAAS instance:
http:// paste.ubuntu. com/15965420/