Bug 2083486

Summary: Special resources are missing the managementState field in OCP < 4.11
Product: OpenShift Container Platform Reporter: Udi Kalifon <ukalifon>
Component: Special Resource OperatorAssignee: Pablo Acevedo <pacevedo>
Status: CLOSED ERRATA QA Contact: Udi Kalifon <ukalifon>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.11CC: bthurber, cvultur, pacevedo
Target Milestone: ---   
Target Release: 4.10.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-07 11:39:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2089488    
Bug Blocks:    

Description Udi Kalifon 2022-05-10 08:34:44 UTC
Description of problem:
There is no way to change the managementState of a special resource to Unmanaged/Removed/Force. The relevant upstream and downstream PRs to enable this functionality are merged:
https://github.com/openshift-psap/special-resource-operator/pull/83
https://github.com/openshift/special-resource-operator/pull/120

However, I don't see a managementState in the SRs. The downstream PR is for OCP 4.11 and up...


Version-Release number of selected component (if applicable):
OCP 4.10


How reproducible:
100%


Steps to Reproduce:
1. Deploy a simple-kmod
2. Edit the CR to see if you can change the managementState


Actual results:
No managementState field


Expected results:
managementState should be supported

Comment 5 Udi Kalifon 2022-05-31 13:03:56 UTC
Checked in 4.10.16 and there is still no managementState field. Re-open.

Comment 6 Brett Thurber 2022-06-21 21:03:02 UTC
@pablo, any updates on this for 4.10?

Comment 7 Pablo Acevedo 2022-06-22 07:43:59 UTC
Need to update the bundle, will create a new PR.

Comment 10 Udi Kalifon 2022-06-24 10:06:08 UTC
Verified with a bundle build from branch release-4.10

Comment 13 errata-xmlrpc 2022-07-07 11:39:56 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.10.21 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-2022:5428