commit b6bdaf040f6cde7f069ea355b7b4b12aea60fbd7
Author: Julia Kreger <email address hidden>
Date: Thu Jan 21 11:26:44 2016 -0500
Provide fallback from ATA erase to shredding
Presently should the ATA erasure operation fails, IPA halts the
cleaning process and the node goes to CLEANFAIL state as a result.
This failure could be the result of a previous cleaning failure
that left drive security enabled, for which code has been added
in an attempt to address this case by attempting to unlock the
the drive.
In the event that an operator wishes to automatically fallback to
disk scrubbing operations, the capability has been added through
a driver_internal_info field "agent_continue_if_ata_erase_failed"
that can be set to True, however defaults to False keeping the
same behavior that IPA presently exhibits in the event of ATA
erase operations failing.
Partial-Bug: #1536695
Change-Id: I88edd9477f4f05aa55b2fe8efa4bbff1c5573bb1
(cherry picked from commit ed74a062c19a63a2c05a506c4ed8d3aa4ecfa09e)
Reviewed: https:/ /review. openstack. org/323723 /git.openstack. org/cgit/ openstack/ ironic- python- agent/commit/ ?id=b6bdaf040f6 cde7f069ea355b7 b4b12aea60fbd7
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit b6bdaf040f6cde7 f069ea355b7b4b1 2aea60fbd7
Author: Julia Kreger <email address hidden>
Date: Thu Jan 21 11:26:44 2016 -0500
Provide fallback from ATA erase to shredding
Presently should the ATA erasure operation fails, IPA halts the
cleaning process and the node goes to CLEANFAIL state as a result.
This failure could be the result of a previous cleaning failure
that left drive security enabled, for which code has been added
in an attempt to address this case by attempting to unlock the
the drive.
In the event that an operator wishes to automatically fallback to internal_ info field "agent_ continue_ if_ata_ erase_failed"
disk scrubbing operations, the capability has been added through
a driver_
that can be set to True, however defaults to False keeping the
same behavior that IPA presently exhibits in the event of ATA
erase operations failing.
Partial-Bug: #1536695 aa55b2fe8efa4bb ff1c5573bb1 2c05a506c4ed8d3 aa4ecfa09e)
Change-Id: I88edd9477f4f05
(cherry picked from commit ed74a062c19a63a