curtin-dev team mailing list archive
-
curtin-dev team
-
Mailing list archive
-
Message #00270
[Bug 1848535] Re: 'PMBR' is not one of ['dos', 'gpt', 'mac', 'msdos', 'vtoc']
** Changed in: subiquity
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of curtin
developers, which is subscribed to curtin.
https://bugs.launchpad.net/bugs/1848535
Title:
'PMBR' is not one of ['dos', 'gpt', 'mac', 'msdos', 'vtoc']
Status in curtin:
Fix Released
Status in subiquity:
Fix Released
Bug description:
I had a successful installation with subiquity on a T420 with two
disks. I then zapped both disks (sgdisk -Z /dev/sda and /dev/sdb) and
rebooted into the installer to try another installation.
This time, however, it failed at "Probing for devices to isntall to failed". Logs show this traceback:
2019-10-17 15:33:34,481 ERROR curtin:1230 Validation error: 'PMBR' is not one of ['dos', 'gpt', 'mac', 'msdos', 'vtoc'] in
{
"id": "disk-sdb",
"path": "/dev/sdb",
"ptable": "PMBR",
"serial": "ST9500420AS_5VJEJ147",
"type": "disk",
"wwn": "0x5000c50044423236"
}
NoneType: None
2019-10-17 15:33:34,481 ERROR block-discover:161 load_probe_data failed restricted=False
Traceback (most recent call last):
File "/snap/subiquity/1284/lib/python3.6/site-packages/subiquity/controllers/filesystem.py", line 158, in _probe_done
self.model.load_probe_data(probe.result)
File "/snap/subiquity/1284/lib/python3.6/site-packages/subiquity/models/filesystem.py", line 1310, in load_probe_data
self.reset()
File "/snap/subiquity/1284/lib/python3.6/site-packages/subiquity/models/filesystem.py", line 1138, in reset
config = storage_config.extract_storage_config(self._probe_data)
File "/snap/subiquity/1284/lib/python3.6/site-packages/curtin/storage_config.py", line 1232, in extract_storage_config
raise RuntimeError("Extract storage config does not validate.")
RuntimeError: Extract storage config does not validate.
/dev/sda:
isk /dev/sda: 447.13 GiB, 480103981056 bytes, 937703088 sectors
Disk model: INTEL SSDSC2BP48
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
/dev/sdb:
Disk /dev/sdb: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk model: ST9500420AS
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000
Device Boot Start End Sectors Size Id Type
/dev/sdb1 1 976773167 976773167 465.8G ee GPT
To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/1848535/+subscriptions