-
Bug
-
Resolution: Done-Errata
-
Major
-
None
-
4.15.0
-
None
-
Quality / Stability / Reliability
-
False
-
-
None
-
Important
-
No
-
None
-
None
-
Rejected
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
The catalog is created when the pollInterval is set like "2mm"/"22222222222m". Should check the pollInterval at first and reject the create work if the pollInterval is not supported.
Version-Release number of selected component (if applicable):
4.15.0-0.nightly-2023-12-19-033450
How reproducible:
always
Steps to Reproduce:
1.patch the olmv1
$oc patch featuregate cluster -p '{"spec": {"featureSet": "TechPreviewNoUpgrade"}}' --type=merge
2.create one catalog with the wrong pollInterval
3.
##############
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
Actual results:
1. the catalog is created at first,but it failed and the error log is shown in the catalog manager. $oc create -f poll-wrongtime-catalog-redhat.yaml catalog.catalogd.operatorframework.io/redhat-operators-kaka-wrongtime created
Expected results:
Should check the pollInterval at first and reject the create work if the pollInterval is not supported.
Additional info: