ironic-python-agent/releasenotes/notes/fix-iscsi-teardown-handling-0df2345318d3c843.yaml
Julia Kreger c5956bdada Suppress errors from iscsi session cleanup
In some cases, where the rts library is not installed, IPA
was recently changed to try and tear down the local side of
the iscsi connection by trying to tear down bond and target
being offered. The whole attempt with this is to ensure that
no disk locks are in place which can prevent partition table
updates.

Since we added this logic, in some cases these commands can
fail and cause the deployment process to fail when it would
have otherwise succeeded. As such, suppress the errors.

Change-Id: I0e04936ad337b394dd68e9b0396a9f1203218f9f
2019-11-01 06:57:58 -07:00

13 lines
536 B
YAML

---
fixes:
- |
Fixes an issue in fallback error handling where native iSCSI controls
are unavailable due to the composition of the IPA ramdisk and where direct
``tgtadm`` commands also fails.
Before fallback error handling was added, the teardown was skipped
completely in the event of the native iSCSI controls being unavailable.
The end user behavior is now as it was previously prior to the fallback
error handling being added, but IPA will still continue to attempt to
clean up the iSCSI session.