When using LVM, wrong partition type code is used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Undecided
|
Unassigned | ||
curtin |
Triaged
|
Medium
|
Unassigned |
Bug Description
When MAAS is configured to use LVM for deployment, LVM physical volumes (partitions) are given the wrong partition type code -- 0x83 on MBR disks or 0FC63DAF-
The appropriate type code for LVM partitions is 0x8E (on MBR) or E6D6D379-
* http://
* https:/
For the most part, Linux ignores partition type codes, so the current misuse of type codes doesn't negatively affect deployment, booting, or routine operation; however, it's conceivable that some utility or script that will be run on a node will try to use type codes to identify LVM vs. Linux filesystem partitions and come to the wrong conclusion because of the incorrect type code and therefore misbehave in unpredictable ways.
MAAS version information on the server on which I discovered this issue:
$ dpkg -l '*maas*'|cat
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii maas 2.1.5+bzr5596-
ii maas-cert-server 0.2.30-
ii maas-cli 2.1.5+bzr5596-
un maas-cluster-
ii maas-common 2.1.5+bzr5596-
ii maas-dhcp 2.1.5+bzr5596-
ii maas-dns 2.1.5+bzr5596-
ii maas-proxy 2.1.5+bzr5596-
ii maas-rack-
ii maas-region-api 2.1.5+bzr5596-
ii maas-region-
un maas-region-
un python-django-maas <none> <none> (no description available)
un python-maas-client <none> <none> (no description available)
un python-
ii python3-django-maas 2.1.5+bzr5596-
ii python3-maas-client 2.1.5+bzr5596-
ii python3-
I'm attaching the /var/log/maas directory tree from this server.
Changed in curtin: | |
importance: | Undecided → Medium |
status: | New → Triaged |
This is an issue with curtin not MAAS.