Install from sdb fails if sda disk has a backup partition
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Mihnea Saracin |
Bug Description
Brief Description
-----------------
AIO-SX was installed on sda then reinstalled on sdb resulted on failure.
Problem is that when anaconda install finds a backup partition on any disk that’s parsed earlier than the rootfs it skips creation of GPT partition tables on rootfs.
E.g. in this case there is a partition on /dev/sda as the system was installed earlier on that disk. Then when /dev/sda is parsed before /dev/sdb we detect the Platform Backup partition. This results in us skipping GPT table creation. This may work correctly if the disks are already GPT (therefore a wipedisk may hide this).
Severity
--------
Minor: This is a cornercase and, although system is unusable, workaround is simple and fix is persistent.
Steps to Reproduce
------------------
1. Install on sda - no need to run playbook
2. Reinstall on sdb
Expected Behavior
------------------
Anaconda installer completes
Actual Behavior
----------------
Anaconda fails
Reproducibility
---------------
100%
System Configuration
-------
AIO-SX
Test Activity
-------------
Evaluation
Workaround
----------
Wipe sda before install or in the installer once it fails and retry the install.
Changed in starlingx: | |
assignee: | nobody → Mihnea Saracin (msaracin) |
tags: | added: stx.4.0 stx.storage |
Changed in starlingx: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Fix proposed to branch: master /review. opendev. org/736807
Review: https:/