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

After Upgrade to OCP 4.16, ArgoCD fails to manage Persistent Volumes

XMLWordPrintable

    • 3
    • False
    • False
    • Hide
      Before this update, Argo CD was unable to sync Persistent Volume resources on OCP 4.16 due to the new `.status.lastPhaseTransitionTime` field introduced for Persistent Volume resources in Kubernetes 1.29. This update resolves the issue by updating the Kubernetes static scheme in Argo CD to incorporate the newly introduced field.
      Show
      Before this update, Argo CD was unable to sync Persistent Volume resources on OCP 4.16 due to the new `.status.lastPhaseTransitionTime` field introduced for Persistent Volume resources in Kubernetes 1.29. This update resolves the issue by updating the Kubernetes static scheme in Argo CD to incorporate the newly introduced field.
    • GitOps Crimson - Sprint 3261, GitOps Crimson - Sprint 3262

      Description of problem:

      OCP upgrade to v4.16 introduces a field `.status.lastphaseTransitionTime`, which is updated everytime the status for a PV changes, and ArgoCD fails to sync the PV resource with below error:

      Failed to compare desired state to live state: failed to perform pre-diff normalization: error building typed results: error creating typedLive: .status.lastPhaseTransitionTime: field not declared in schema 

       

       

      Workaround

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1.  Install GitOps (latest version) on OCP 4.16
      2. Create manifests for PV, PVC and Pod mounting the PVC.
      3. Create the ArgoCD Application for creating above resources with below syncOptions: 
        syncOptions:   
          - ServerSideApply=true

           

      Actual results:

      Syncing the ArgoCD application fails with below error:

      Failed to compare desired state to live state: failed to perform pre-diff normalization: error building typed results: error creating typedLive: .status.lastPhaseTransitionTime: field not declared in schema  

       

      Expected results:

      ArgoCD syncs the Application managing PVs

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

      Upstream issue: https://github.com/argoproj/argo-cd/issues/16640

            rh-ee-sghadi Siddhesh Ghadi
            rhn-support-jyarora Jyotsana Arora
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: