Skip to content

Commit

Permalink
avoid RELEASE_VERSION ovveride during ovn patching
Browse files Browse the repository at this point in the history
network operator is stuck in CrashLoppBackOff state when we are
overriding RELEASE_VERSION during ovn patching. The purpose of
this ansible task is to only override OVN_MAGE, we will avoid
changing RELEASE_VERSION in this task

Fixes cloud-bulldozer#218
  • Loading branch information
venkataanil committed Oct 17, 2023
1 parent 39f3f63 commit fa43497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OCP-4.X/roles/post-install/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
- name: Patch new OVNKubernetes Image
block:
- name: Patch new OVNKubernetes Image
command: oc -n openshift-network-operator set env deployment.apps/network-operator OVN_IMAGE={{openshift_ovn_image}} RELEASE_VERSION="5.0.0"
command: oc -n openshift-network-operator set env deployment.apps/network-operator OVN_IMAGE={{openshift_ovn_image}}

- name: Get ovnkube-node pod
shell: oc get pods -n {{ ovn_namespace }} | tail -n1 | awk '{print $1}'
Expand Down

0 comments on commit fa43497

Please sign in to comment.