-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
4.15.0
-
Moderate
-
No
-
Rejected
-
False
-
Description of problem:
The catalog's "PHASE" is empty if some unexpected error occurs.
Version-Release number of selected component (if applicable):
4.15.0-0.nightly-2023-12-19-033450
How reproducible:
always
Steps to Reproduce:
1.Enable TP. $ oc patch featuregate cluster -p '{"spec": {"featureSet": "TechPreviewNoUpgrade"}}' --type=merge 2. create one catalog with wrong parameter ############## apiVersion: catalogd.operatorframework.io/v1alpha1 kind: Catalog metadata: name: redhat-operators-kaka-wrongtime spec: source: image: pollInterval: 2mm ref: quay.io/olmqe/olmtest-operator-index:nginxolm69758v1 type: image ####### $oc create -f poll-wrongtime-catalog-redhat.yaml catalog.catalogd.operatorframework.io/redhat-operators-kaka-wrongtime created 3. get the catalog status $oc get catalog NAME PHASE AGE redhat-operators-kaka-wrongtime 26m
Actual results:
1. the catalog PHASE is empty since the catalog created failed $oc get catalog NAME PHASE AGE redhat-operators-kaka-wrongtime 26m
Expected results:
2.should set the catalog to be "failing/failed" status if the creating work "time-out"/"unexpected error" to remind the customer there is something wrong with the catalog. $oc get catalog NAME PHASE AGE redhat-operators-kaka-wrongtime failing 26m
Additional info: