1a4bf23ce5
If the remote disk has already a partition table, it must be clean up before the disk is exposed through iscsi. Otherwise this disk partition can create a conflict during the grub installation. start_iscsi_target() has now a new paramter wipe_disk_metadata to request the agent to wipe the disk before exposing it. Now, disk without preserve_ephemeral are cleaned up before new deployment. References: - IPA: Ie68cb6296c782e904d40f6e9de0faa52ab2af2bf - ironic-lib: 042aa9ab5a27e251c8fb2f1855695cf5e791ecf5 - https://bugzilla.redhat.com/show_bug.cgi?id=1310883 Change-Id: I4f2f754ab0ff01046768e73fff789807d307b829 Closes-Bug: 1550604
10 lines
502 B
YAML
10 lines
502 B
YAML
---
|
|
fixes:
|
|
- Fixed a bug that was causing grub installation failure. If the disk
|
|
was already coming with a partition table, the conductor was not able
|
|
to wipe it properly and the new partition table would conflict with
|
|
the old one. The issue was only impacting new nodes and installations
|
|
with automated_clean disabled in the configuration.
|
|
A disk instance without preserve_ephemeral is now purged before new deployment.
|
|
See https://bugs.launchpad.net/ironic-lib/+bug/1550604
|