Bug 2009850 - Power off fails for drivers that don't support Soft power off
Summary: Power off fails for drivers that don't support Soft power off
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Bare Metal Hardware Provisioning
Version: 4.9
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.9.z
Assignee: Zane Bitter
QA Contact: Amit Ugol
URL:
Whiteboard:
Depends On: 2006101
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-01 19:03 UTC by Zane Bitter
Modified: 2021-11-10 21:02 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2006101
Environment:
Last Closed: 2021-11-10 21:02:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift baremetal-operator pull 184 0 None open [release-4.9] Bug 2009850: Fix fallback for ironic drivers that don't support soft power off 2021-10-15 19:14:05 UTC
Red Hat Product Errata RHBA-2021:4119 0 None None None 2021-11-10 21:02:32 UTC

Description Zane Bitter 2021-10-01 19:03:34 UTC
+++ This bug was initially created as a clone of Bug #2006101 +++

When an ironic driver doesn't support soft power off, we are supposed to fall back to doing a hard power off. This was inadvertently broken in OpenShift 4.9. Now when the driver doesn't support soft power off we end up returning a 'transient' error and retrying in an infinite loop.

The Fujitsu driver is known to not support soft power off when its agent is not available on the host.

Comment 2 Dmitry Tantsur 2021-10-15 10:02:00 UTC
The actual PR is https://github.com/openshift/baremetal-operator/pull/184

Comment 7 Fujitsu container team 2021-11-05 07:32:55 UTC
Hi Zane,

Fujitsu verified that soft shutdown feature worked correctly with OCP4.9.6 which includes PR184.

Best Regards,
Yasuhiro Futakawa

Comment 8 Amit Ugol 2021-11-05 15:27:05 UTC
Many thanks for that.
Based on Fujitsu's success to validate the fix, I am closing it as OtherQA.

Comment 10 errata-xmlrpc 2021-11-10 21:02:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (OpenShift Container Platform 4.9.6 bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:4119


Note You need to log in before you can comment on or make changes to this bug.