Uploaded image for project: 'OpenShift GitOps'
  1. OpenShift GitOps
  2. GITOPS-1067

Controlled node reboot during OCP config sync

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Done
    • Icon: Major Major
    • 1.5.0
    • None
    • ArgoCD
    • Controlled node reboot during OCP config sync
    • False
    • False
    • Done
    • Undefined

      Goal

      As a cluster admin, I want Argo CD to automatically prevent node reboots when syncing OpenShift cluster configuration such as MachineConfigs so that I can use Argo CD for syncing OpenShift configurations without causing uncontrolled and multiple node reboots across the cluster during the sync.

      When changes are made to a machine configuration on OpenShift, the Machine Config Operator (MCO) automatically reboots all corresponding nodes in order for the changes to take effect:
      https://docs.openshift.com/container-platform/4.7/architecture/control-plane.html#understanding-machine-config-operator_control-plane

      The reboot during an Argo CD sync can lead to the Argo CD pod to get rescheduled in the middle of the sync and create undesirable outcomes. Furthermore, a sync can cause mulitple consequent reboots if multiple machine config changes are applied.

      As a workaround, customers currently have to manually disable node reboot on MachineConfigs via an oc patch, sync the configs with Argo CD, and reenable reboot to get the changes applied:

      Acceptance Criteria

      • Admin can use Argo CD Application for syncing OpenShift cluster configurations in a way that node reboots automatically occur only when sync is complete

              isequeir@redhat.com Ishita Sequeira
              rh-ee-ssadeghi Siamak Sadeghianfar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: