When out-of-band cleaning is initiated, the node is PXE booted and the
ramdisk is loaded. After in-band cleaning completes, the node is
rebooted. At that point, the iDRAC automatically creates and runs an
"Export Configuration" job. Out-of-band cleaning then starts: either
RAID configuration creation or deletion. If the export job has not
finished by the time the RAID deletion or creation job is attempted to
be created, then the RAID job creation fails.
This patch causes RAID configuration creation and deletion to wait
until the iDRAC declares itself to be ready before proceeding with
out-of-band cleaning. This ensures that the export job has completed
before creating another job.
Change-Id: I79faba2206b86288ae636c46468a8b2dc321f979
Closes-Bug: 1691808
Depends-On: I929deada3dda7b09a6f29033fff89d9b0382aef8