-
Bug
-
Resolution: Done-Errata
-
Undefined
-
None
-
4.15
-
No
-
CNF RAN Sprint 250
-
1
-
False
-
I'm able to set a negative value for autoRollbackOnFailure.initMonitorTimeoutSeconds
oc patch imagebasedupgrades.lca.openshift.io upgrade -p='{"spec": {"autoRollbackOnFailure": {"disabledForPostRebootConfig": true, "disabledInitMonitor": true, "disabledForUpgradeCompletion": true, "initMonitorTimeoutSeconds": -3}}}' --type=merge -n openshift-lifecycle-agent imagebasedupgrade.lca.openshift.io/upgrade patched oc get ibu upgrade -o yaml apiVersion: lca.openshift.io/v1alpha1 kind: ImageBasedUpgrade metadata: annotations: kubectl.kubernetes.io/last-applied-configuration: | {"apiVersion":"lca.openshift.io/v1alpha1","kind":"ImageBasedUpgrade","metadata":{"annotations":{},"name":"upgrade"},"spec":{"extraManifests":[{"name":"extra-manifests-cm0","namespace":"openshift-lifecycle-agent"},{"name":"extra-manifests-cm1","namespace":"openshift-lifecycle-agent"}],"oadpContent":[{"name":"oadp-cm-backup","namespace":"openshift-adp"}],"seedImageRef":{"image":"quay.io/achuzhoy/ibu-seedimage-sno0:4.15.0-rc.5-oadp","version":"4.15.0-rc.5"},"stage":"Idle"}} creationTimestamp: "2024-02-14T19:28:44Z" generation: 18 name: upgrade resourceVersion: "43263" uid: e80cd38a-285d-45fe-a03b-5ed4f808c215 spec: additionalImages: name: "" namespace: "" autoRollbackOnFailure: disabledForPostRebootConfig: true disabledForUpgradeCompletion: true disabledInitMonitor: true initMonitorTimeoutSeconds: -3 extraManifests: - name: extra-manifests-cm0 namespace: openshift-lifecycle-agent - name: extra-manifests-cm1 namespace: openshift-lifecycle-agent oadpContent: - name: oadp-cm-backup namespace: openshift-adp seedImageRef: image: quay.io/achuzhoy/ibu-seedimage-sno0:4.15.0-rc.5-oadp version: 4.15.0-rc.5 stage: Idle status: conditions: - lastTransitionTime: "2024-02-14T19:57:06Z" message: Idle observedGeneration: 18 reason: Idle status: "True" type: Idle observedGeneration: 18
- links to
-
RHEA-2024:0041 OpenShift Container Platform 4.16.z bug fix update