Can't override built in partitioning
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Andres Rodriguez | ||
1.9 |
Fix Released
|
High
|
Andres Rodriguez | ||
curtin |
Invalid
|
Undecided
|
Unassigned |
Bug Description
In MAAS 1.7 it was possible to override partitioning command. For example we could configure encryption using snippet like this:
partitioning_
builtin: []
01_partition: ['sh', '-c', *curtin_partition]
After upgrade to 1.9 above no longer works. When I retrieve preseed like this:
maas <user> node get-curtin-config <node>
My snippet is not there
I also tried configuring encryption using "storage" stanzas as per example here:
http://
But my config also never makes it to the rendered preseed.
I made non-storage changes to the same preseed file and they do work so I think MAAS just ignores storage config from local files.
I am using MAAS 1.9.1+bzr4543-
Related branches
- Andres Rodriguez (community): Approve
- Blake Rouse (community): Approve
-
Diff: 10 lines (+1/-1)1 file modifiedsrc/maasserver/preseed.py (+1/-1)
Changed in maas: | |
status: | Won't Fix → Confirmed |
milestone: | none → 2.0.0 |
status: | Confirmed → Triaged |
Changed in maas: | |
assignee: | nobody → Andres Rodriguez (andreserl) |
importance: | Undecided → High |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
I prepared a fix which worked in my environment, see lp:~jacekn/maas/lp1571563