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

Redis StatefulSet and ConfigMap are not refreshed during upgrade (or if modified outside operator)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • 1.13.4, 1.14.3, 1.15.1
    • Operator
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      • Install Gitops 1.10.2
      • Upgrade to 1.10.6 or any later version (4.14.2 for instance)
      • Get yaml of the components
        • oc get statefulsets.apps openshift-gitops-redis-ha-server -o yaml > openshift-gitops-redis-ha-server.yaml
        • oc get cm argocd-redis-ha-configmap -o yaml > argocd-redis-ha-configmap.yaml
      • recreate the compoenents
        • oc delete statefulsets.apps openshift-gitops-redis-ha-server
        • oc delete cm argocd-redis-ha-configmap
      • Get yaml of the components
        • oc get statefulsets.apps openshift-gitops-redis-ha-server -o yaml > openshift-gitops-redis-ha-server_after_delete.yaml
        • oc get cm argocd-redis-ha-configmap -o yaml > argocd-redis-ha-configmap_after_delete.yaml
      Show
      Install Gitops 1.10.2 Upgrade to 1.10.6 or any later version (4.14.2 for instance) Get yaml of the components oc get statefulsets.apps openshift-gitops-redis-ha-server -o yaml > openshift-gitops-redis-ha-server.yaml oc get cm argocd-redis-ha-configmap -o yaml > argocd-redis-ha-configmap.yaml recreate the compoenents oc delete statefulsets.apps openshift-gitops-redis-ha-server oc delete cm argocd-redis-ha-configmap Get yaml of the components oc get statefulsets.apps openshift-gitops-redis-ha-server -o yaml > openshift-gitops-redis-ha-server_after_delete.yaml oc get cm argocd-redis-ha-configmap -o yaml > argocd-redis-ha-configmap_after_delete.yaml

      Description of Problem

      • Redis statefulSet and config map is not updated during upgrade.

      Additional Info

      • Teh following components are not upgraded:
        • statefulsets.apps/openshift-gitops-redis-ha-server
        • configmaps/argocd-redis-ha-configmap

      Problem Reproduction

      • Install Gitops 1.10.2
      • Upgrade to 1.10.6 or any later version (4.14.2 for instance)
      • Get yaml of the components
        • oc get statefulsets.apps openshift-gitops-redis-ha-server -o yaml > openshift-gitops-redis-ha-server.yaml
        • oc get cm argocd-redis-ha-configmap -o yaml > argocd-redis-ha-configmap.yaml
      • recreate the compoenents
        • oc delete statefulsets.apps openshift-gitops-redis-ha-server
        • oc delete cm argocd-redis-ha-configmap
      • Get yaml of the components
        • oc get statefulsets.apps openshift-gitops-redis-ha-server -o yaml > openshift-gitops-redis-ha-server_after_delete.yaml
        • oc get cm argocd-redis-ha-configmap -o yaml > argocd-redis-ha-configmap_after_delete.yaml

      Reproducibility

      • Always

      Prerequisites/Environment

      • Any GitOps deployment

      Expected Results

      • Cm and statefulSet is updated immediately when changes introduced to new version. It was 4.10.... in this case.

      Actual Results

      • Changes are not added to the resources

      Problem Analysis

      • Yaml files attached to the issue.

              Unassigned Unassigned
              rhn-support-rhodain1 Roman Hodain
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: