Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-25601

Labeling command in progressive sync is wrong

XMLWordPrintable

    • Quality / Stability / Reliability
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • None

      Description of problem:

       

      https://docs.redhat.com/en/documentation/red_hat_advanced_cluster_management_for_kubernetes/2.14/html/gitops/gitops-overview#understanding-applicationset

      this command is wrong as it does not look for ArgoCD applications

       oc -n openshift-gitops label applications/cluster1-guestbook-app envLabel=env-dev

      Error from server (NotFound): applications.app.k8s.io "cluster1-guestbook-app" not found

      replace applications with  applications.argoproj.io

      oc -n openshift-gitops get applications.argoproj.io
      NAME                                             SYNC STATUS   HEALTH STATUS
      app-demo-aks-central                             Synced        Healthy
      app-demo-eks-east                                Synced        Healthy
      appset-ansible-demo-local-cluster                Synced        Healthy
      guestbook-allclusters-app-set-progressivetest1   OutOfSync     Missing
      guestbook-allclusters-app-set-progressivetest2   OutOfSync     Missing
      patient-portal-aro-central                       Synced        Healthy
      patient-portal-local-cluster                     Synced        Healthy
      patient-portal-roks-eu                           Synced        Healthy
      pull-model-xks-testing-app-aks-central           Synced        Progressing
      pull-model-xks-testing-app-eks-east              Synced        Healthy
      pull-model-xks-testing-app-gke-west              Synced        Healthy
      rollout-canary-app                               Synced        Progressing
      vm-gitops-aro-central                            Synced        Healthy
      vm-gitops-local-cluster                          Synced        Healthy

       oc -n openshift-gitops label applications.argoproj.io/guestbook-allclusters-app-set-progressivetest1 envLabel=env-dev
      application.argoproj.io/guestbook-allclusters-app-set-progressivetest1 labeled
       oc -n openshift-gitops label applications.argoproj.io/guestbook-allclusters-app-set-progressivetest2 envLabel=env-dev
      application.argoproj.io/guestbook-allclusters-app-set-progressivetest2 labeled

       

      Version-Release number of selected component (if applicable):

      starts with ACM 2.14 TP

      it needs to be replaced three times:

      Expected results:

      Additional info:

      1. - [ ] Mandatory: Add the required version to the Fix version/s field.

      2.14 ff

      2. - [ ] Mandatory: Choose the type of documentation change or review.

      • [ X] We need to update to an existing topic
      •  

      3. - [ ] Mandatory: Find the link to where the documentation update

      link added it is just a one line update

      4. - [ ] Mandatory for GA content:

      • [ ] Add steps, the diff, known issue, and/or other important
        conceptual information in the following space:
      • [ ] *Add Required access level *(example, *Cluster
        Administrator*) for the user to complete the task:
      • [ ] Add verification at the end of the task, how does the user
        verify success (a command to run or a result to see?)
      • [ ] Add link to dev story here:

      5. - [ ] Mandatory for bugs: What is the diff? Clearly define what the
      problem is, what the change is, and link to the current documentation. Only
      use this for a documentation bug.

              jberger@redhat.com Jacob Berger
              rhn-support-cstark Christian Stark
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: