summaryrefslogtreecommitdiff
path: root/ironic_python_agent/extensions/image.py
diff options
context:
space:
mode:
authorJulia Kreger <juliaashleykreger@gmail.com>2020-01-28 22:41:47 -0600
committerDmitry Tantsur <dtantsur@protonmail.com>2020-02-05 11:22:50 +0100
commitcd839b008f85d23dd784e4392ecee9653095da6c (patch)
treed3bf9f938056159578249a1ce166e8d620bb843d /ironic_python_agent/extensions/image.py
parent2de0143c0377c5b5dc6f5a8189b53da26159a94b (diff)
downloadironic-python-agent-cd839b008f85d23dd784e4392ecee9653095da6c.tar.gz
Skip read-only devices with metadata erase3.6.3
HPE "Virtual Install Devices" appear as read-only block devices, and may... or may not be visible depending on the bios configuration state. These devices can no longer be disabled from the bios settings so the simplest course of action seems to be that we should handle the existence of a read-only device. In the event of secure erase, this is treated as a hard failure case and a driver_internal_info flag has been added to enable a future bypass method for knowledgable operators. Backport note: the unit tests have been modified to account for Python 2 Conflicts: ironic_python_agent/hardware.py ironic_python_agent/tests/unit/test_hardware.py Change-Id: Ief8b360d11e654d8fae3a04a2a9f8d474a06e167 Story: 2007229 Task: 38502 (cherry picked from commit cd7b2693f873bde72706f8b6ab8c1f21e68f0fd1)
Diffstat (limited to 'ironic_python_agent/extensions/image.py')
0 files changed, 0 insertions, 0 deletions