-
Bug
-
Resolution: Done
-
Major
-
1.13.1
-
3
-
False
-
False
-
-
-
-
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
- Install GitOps (latest version) on OCP 4.16
- Create manifests for PV, PVC and Pod mounting the PVC.
- 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
- links to
-
RHEA-2024:137049 Errata Advisory for OpenShift GitOps v1.14.0