Description of problem:
Modifying the packageserver's deployment spec always results in:
May 07 13:03:53.558 E clusteroperator/operator-lifecycle-manager-packageserver condition/Available status/False reason/ClusterServiceVersionNotSucceeded changed: ClusterServiceVersion openshift-operator-lifecycle-manager/packageserver is in phase InstallReady with reason: ComponentUnhealthy, message: installing: deployment changed old hash=797b6f8d96, new hash=55bf776f77
The value of the packageserver clusteroperator's Available condition is entirely based on the CSV's .status.phase, which can change due to actual unavailability but also changes during rollouts -- whether or not availability is impacted.
Version-Release number of selected component (if applicable): 4.8 (likely 4.6+)
How reproducible: Always.
Steps to Reproduce:
1. kubectl edit -n openshift-operator-lifecycle-manager csv packageserver # make a harmless change to the deployment spec such as adding an unused environment variable
The packageserver ClusterOperator's Available condition is temporarily set to False.
The Available condition is True.
*** Bug 1961005 has been marked as a duplicate of this bug. ***
OLM version: 0.17.0
git commit: 4a318fee164ff70efc2a28eccb5fe176c2f21c4d
Added an environment variable into packageserver csv, available value stayed with True status.
oc get clusteroperator operator-lifecycle-manager-packageserver -w
NAME VERSION AVAILABLE PROGRESSING DEGRADED SINCE
operator-lifecycle-manager-packageserver 4.8.0-0.nightly-2021-05-19-123944 True False False 131m
operator-lifecycle-manager-packageserver 4.8.0-0.nightly-2021-05-19-123944 True True False 134m
operator-lifecycle-manager-packageserver 4.8.0-0.nightly-2021-05-19-123944 True False False 135m
LGTM, marking as VERIFIED.
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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security 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.