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