-
Bug
-
Resolution: Done-Errata
-
Major
-
4.18
-
Quality / Stability / Reliability
-
False
-
-
None
-
Moderate
-
None
-
None
-
Rejected
-
None
-
In Progress
-
Release Note Not Required
-
N/A
-
None
-
None
-
None
-
None
Description of problem:
The message of the co olm conditions of Upgradeable is not correct if one ClusterExtension(without olm.maxOpenShiftVersion) is installed.
Version-Release number of selected component (if applicable):
4.18.0-0.nightly-2024-10-06-223232
How reproducible:
always
Steps to Reproduce:
1.create ClusterCatalog
apiVersion: olm.operatorframework.io/v1alpha1
kind: ClusterCatalog
metadata:
name: catalog-1
labels:
example.com/support: "true"
provider: olm-1
spec:
priority: 1000
source:
type: image
image:
ref: quay.io/openshifttest/nginxolm-operator-index:nginxolm74108 2. create ns and sa
3. create ClusterExtension
apiVersion: olm.operatorframework.io/v1alpha1
kind: ClusterExtension
metadata:
name: test-74108
spec:
source:
sourceType: Catalog
catalog:
packageName: nginx74108
channels:
- candidate-v1.1
install:
serviceAccount:
name: sa-74108
namespace: test-74108
4. check co olm status
status:
conditions:
- lastTransitionTime: "2024-10-08T11:51:01Z"
message: 'OLMIncompatibleOperatorControllerDegraded: error with cluster extension
test-74108: error in bundle nginx74108.v1.1.0: could not convert olm.properties:
failed to unmarshal properties annotation: unexpected end of JSON input'
reason: OLMIncompatibleOperatorController_SyncError
status: "True"
type: Degraded
- lastTransitionTime: "2024-10-08T02:16:36Z"
message: All is well
reason: AsExpected
status: "False"
type: Progressing
- lastTransitionTime: "2024-10-08T02:16:36Z"
message: All is well
reason: AsExpected
status: "True"
type: Available
- lastTransitionTime: "2024-10-08T11:48:26Z"
message: 'InstalledOLMOperatorsUpgradeable: error with cluster extension test-74108:
error in bundle nginx74108.v1.1.0: could not convert olm.properties: failed
to unmarshal properties annotation: unexpected end of JSON input'
reason: InstalledOLMOperators_FailureGettingExtensionMetadata
status: "False"
type: Upgradeable
- lastTransitionTime: "2024-10-08T02:09:59Z"
reason: NoData
status: Unknown
type: EvaluationConditionsDetected
Actual results:
co olm is Degraded
Expected results:
co olm is OK
Additional info:
Bellow annotation of CSV is not configured
olm.properties: '[{"type": "olm.maxOpenShiftVersion", "value": "4.8"}]'
- links to
-
RHEA-2024:6122
OpenShift Container Platform 4.18.z bug fix update