ironic-python-agent/releasenotes/notes/partition_check_read_only_base_device-5bc15ac2f034aca9.yaml
Bob Fournier 4afe4f6069 Check the base device if the read-only file cannot be read
For some drives, the partition e.g. `/dev/sda1` will not have the
'ro' file which can result in a metadata erasure failure but the base
device (`/dev/sda`) will have this file.  Add an additional check
for the base device.

Change-Id: Ia01bdbf82cee6ce15fabdc42f9c23036df55b4c5
Story: 2008696
Task: 42004
2021-03-09 07:05:27 -05:00

8 lines
308 B
YAML

---
fixes:
- |
Fixes an issue where metadata erasure cleaning fails for partitions
because the read-only file isn't found, while it is available at the
base device. Adds a check for the base device file on failure. See
`story 2008696 <https://storyboard.openstack.org/#!/story/2008696>`_.