MAAS failing to enlist nodes in the Lenovo lab
Bug #1289485 reported by
Diogo Matsubara
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Julian Edwards |
Bug Description
1.5+bzr1977+
In http://
Node console screenshot: http://
After the screenshot above the node turned itself off and no nodes were listed in the MAAS UI
Related branches
lp:~julian-edwards/maas/fix-enlist-subarch
- Jeroen T. Vermeulen (community): Approve
-
Diff: 132 lines (+51/-25)3 files modifiedsrc/maasserver/models/bootimage.py (+12/-4)
src/maasserver/models/tests/test_bootimage.py (+12/-8)
src/maasserver/tests/test_forms.py (+27/-13)
tags: | added: hwe |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
assignee: | nobody → Julian Edwards (julian-edwards) |
Changed in maas: | |
status: | In Progress → Triaged |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This is related to the changes from this week's sprint. The authoritative source for available architectures is now the BootImage ta ble (instead of the late Architecture enum). The generation of the choice object used in the API and the UI need to be fixed to use the 'subarchitecture' field of the BootImage objects, in addition to the 'architecture' field.
More precisely, src/maasserver/ models/ bootimage. py: BootImageManage r.get_usable_ architectures needs to be fixed to return a list of 'arch/subarch' instead of a list of 'arch'.