MAAS currently only supports Ubuntu version 12.04 to be installed on the nodes.
Bug #1013146 reported by
Raphaël Badin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Andres Rodriguez |
Bug Description
'precise' is hardcoded in a few places. Instead, we should have a list of supported releases. This list could probably be derived from the list given by the command "distro-info --supported" and the name of the first supported release ('precise').
Related branches
lp:~andreserl/maas/add_node_distro_series
- Raphaël Badin (community): Approve
-
Diff: 244 lines (+203/-0)3 files modifiedsrc/maasserver/enum.py (+18/-0)
src/maasserver/migrations/0026_add_node_distro_series.py (+179/-0)
src/maasserver/models/node.py (+6/-0)
lp:~andreserl/maas/distro_series_support
- Gavin Panella (community): Needs Fixing
- John A Meinel (community): Approve
-
Diff: 244 lines (+54/-20)7 files modifiedsrc/maasserver/api.py (+6/-3)
src/maasserver/forms.py (+13/-0)
src/maasserver/models/config.py (+6/-1)
src/maasserver/models/node.py (+11/-0)
src/maasserver/preseed.py (+12/-16)
src/maasserver/templates/maasserver/snippets.html (+4/-0)
src/maasserver/tests/test_forms.py (+2/-0)
Changed in maas: | |
importance: | Low → High |
Changed in maas: | |
assignee: | nobody → Andres Rodriguez (andreserl) |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
When adding support for other releases, it might be important to consider that pxelinux.0, chain.c32 and ifcpu64.c32 are being copied from the syslinux-common package installed on the host system. However, if I look at the md5sum just for pxelinux.0 over time, it seems to have changed for each release:
86d7c19925f7c b5d9f1f54c0dec7 812a 10.04 ccf19bd6f63c0ab 3b7d 11.04 1789bc326a7a391 7959 11.10 869b79cba074491 27c2 12.04 2a5d94ba64dca61 8a21 12.10
0ae389801f547
a13943e52958d
94fa5add303db
4fa6c99087621
So, it might not be possible to always use pxelinux.0, chain.c32 and ifcpu64.c32 from the host for deploying older and newer releases. This change would also imply that the target directory where the files are copied would have to be specific to the release. For example, the pxelinux.0 file is currently being copied directly into /var/lib/tftpboot whereas it might have to be relocated to /var/lib/ tftpboot/ $release. This change would in turn imply that the dhcp configuration, whether it be in dhcpd or dnsmasq, would need to point to the appropriate target depending on the release intended to be installed on a target system.