Creation of configdrive partition fails if MBR & disk>2TB

Bug #1431527 reported by Jon Grimm
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ironic-python-agent
Fix Released
High
Unassigned

Bug Description

The code in copy_configdrive_to_disk.sh attempts to create a partition for the config drive in the last 64MiB of the disk.

However, if the disk is >2TB and the image is set to MBR.. MBR can't handle >2TB and the deploy will fail due to the failure to create configdrive.

Also note, this piece of code blindly assumes that there is actually room for this 64MB at the end of the disk, should probably verify that to be true as well just to be a bit more safe, though this is different bug.

Dmitry Tantsur (divius)
tags: added: agent
Changed in ironic:
milestone: none → liberty-1
importance: Undecided → High
status: New → Triaged
Revision history for this message
Michael Davies (mrda) wrote :
Dmitry Tantsur (divius)
Changed in ironic-python-agent:
status: New → Triaged
importance: Undecided → High
no longer affects: ironic
summary: - IPA: creation of configdrive partition fails if MBR & disk>2TB
+ Creation of configdrive partition fails if MBR & disk>2TB
tags: removed: agent
Revision history for this message
Lucas Alvares Gomes (lucasagomes) wrote :
Revision history for this message
Jay Faulkner (jason-oldos) wrote :

Configdrive writing is handled in ironic-lib now, this bug is resolved.

Changed in ironic-python-agent:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers