Merge lp:~blake-rouse/maas/fix-mbr-max-partition-size into lp:~maas-committers/maas/trunk
Proposed by
Blake Rouse
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Blake Rouse | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 4361 | ||||
Proposed branch: | lp:~blake-rouse/maas/fix-mbr-max-partition-size | ||||
Merge into: | lp:~maas-committers/maas/trunk | ||||
Diff against target: |
339 lines (+162/-12) 7 files modified
src/maasserver/models/partition.py (+19/-0) src/maasserver/models/partitiontable.py (+7/-3) src/maasserver/models/tests/test_filesystemgroup.py (+5/-2) src/maasserver/models/tests/test_partition.py (+35/-0) src/maasserver/models/tests/test_partitiontable.py (+12/-0) src/maasserver/storage_layouts.py (+36/-7) src/maasserver/tests/test_storage_layouts.py (+48/-0) |
||||
To merge this branch: | bzr merge lp:~blake-rouse/maas/fix-mbr-max-partition-size | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ricardo Bánffy (community) | Approve | ||
Review via email: mp+273641@code.launchpad.net |
Commit message
Don't allow creating partitions larger than 2TiB for MBR partition tables. When creating the LVM storage layout add extra partitions to fill the disks.
To post a comment you must log in.
Looks good. I'd rename a couple tests to make the expected result more explicit (I had to read the code to get what was being tested).