Install fails on ppc64el (unrecognized partition table: 'mac')

Bug #1845611 reported by Paride Legovini
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subiquity
Invalid
Undecided
Unassigned
curtin (Ubuntu)
Fix Released
Critical
Unassigned

Bug Description

Eoan live-server is currently failing to install on ppc64el. This seems to be because the partition table type of the installer ISO is detected as 'mac', which is unknown to curtin, and the validation fails:

curtin:1157 Validation error: 'mac' is not one of ['dos', 'gpt', 'msdos'] in
{
 "id": "disk-vdc",
 "path": "/dev/vdc",
 "ptable": "mac",
 "type": "disk"
}

The ppc64el Eoan installer worked up to the daily ISO with serial 20190702 (inclusive).

I'm not sure this is actually a problem in subiquity: the actual part to fix could be very well curtin or probert, but I'm filing this here for the moment. Will attach the relevant log files in the next comment.

Related branches

Revision history for this message
Paride Legovini (paride) wrote : Re: [Bug 1845611] [NEW] Install fails on ppc64el (unrecognized partition table: 'mac')

Installer logs.

Revision history for this message
Ryan Harper (raharper) wrote :

This needs fixing in curtin.

Changed in curtin (Ubuntu):
status: New → In Progress
Revision history for this message
Paride Legovini (paride) wrote :

The reason for which I was uncertain about curtin is that sfdisk (the tool called by probert) says that the ISO has a 'dos' partition table:

http://paste.ubuntu.com/p/qm6d2k6xk5/

But the fix seems totally fine.

Revision history for this message
Server Team CI bot (server-team-bot) wrote :

This bug is fixed with commit 86ede8a3 to curtin on branch master.
To view that commit see the following URL:
https://git.launchpad.net/curtin/commit/?id=86ede8a3

Paride Legovini (paride)
tags: added: rls-ee-incoming
Changed in curtin (Ubuntu):
importance: Undecided → Critical
Paride Legovini (paride)
Changed in subiquity:
status: New → Invalid
Revision history for this message
Paride Legovini (paride) wrote :

I repacked the ISO with an experimental subiquity which includes curtin from master and I can confirm the fix works.

Thanks xnox for providing the experimental subiquity snap.

Paride Legovini (paride)
Changed in curtin (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package curtin - 19.2-44-g8e618b34-0ubuntu1

---------------
curtin (19.2-44-g8e618b34-0ubuntu1) focal; urgency=medium

  * New upstream snapshot.
    - t/jenkins-runner: replace $EPOCHSECONDS with 'date +%s' [Paride Legovini]
    - curthooks: skip setup_kernel_img_conf on eoan and newer (LP: #1847257)
    - block_meta: use lookup for wwn, fix fallback from wwn, serial, path
      (LP: #1849322)
    - vmtest: Adjust TestScsiBasic to use dnames to find correct disk
    - schema: Add ptable value 'unsupported' (LP: #1848535)
    - tools/xkvm: add -nographic to speed up devopt query
    - test_block_dasd: fix random_device_id to only generate valid IDs
      (LP: #1849549)
    - vmtest: update skip_if_arch message
    - Add skip_by_date to eoan ipv6 vlan test
    - storage_config: interpret value, not presence, of
      DM_MULTIPATH_DEVICE_PATH [Michael Hudson-Doyle]
    - vmtest: Add skip_by_date for test_ip_output on eoan + vlans
    - block-schema: update raid schema for preserve and metadata
    - dasd: update partition table value to 'vtoc' (LP: #1847073)
    - clear-holders: increase the level for devices with holders by one
      (LP: #1844543)
    - tests: mock timestamp used in collect-log file creation (LP: #1847138)
    - ChrootableTarget: mount /run to resolve lvm/mdadm issues which
      require it.
    - block-discover: handle multipath disks (LP: #1839915)
    - Handle partial raid on partitions (LP: #1835091)
    - install: export zpools if present in the storage-config (LP: #1838278)
    - block-schema: allow 'mac' as partition table type (LP: #1845611)
    - jenkins-runner: disable the lockfile timeout by default [Paride Legovini]
    - curthooks: use correct grub-efi package name on i386 (LP: #1845914)
    - vmtest-sync-images: remove unused imports [Paride Legovini]
    - vmtests: use file locking on the images [Paride Legovini]
    - vmtest: enable arm64 [Paride Legovini]
    - Make the vmtests/test_basic test suite run on ppc64el [Paride Legovini]
    - vmtests: separate arch and target_arch in tests [Paride Legovini]
    - vmtests: new decorator: skip_if_arch [Paride Legovini]
    - vmtests: increase the VM memory for Bionic
    - vmtests: Skip Eoan ZFS Root tests until bug fix is complete
    - Merge branch 'fix_merge_conflicts'
    - util: add support for 'tbz', 'txz' tar format types to sanitize_source
      (LP: #1843266)
    - net: ensure eni helper tools install if given netplan config
      (LP: #1834751)
    - d/control: update Depends for new probert package names
      [Dimitri John Ledkov]

 -- Ryan Harper <email address hidden> Fri, 01 Nov 2019 14:06:13 -0500

Changed in curtin (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.