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

Search - auto - get managedcluster info failed in some env

XMLWordPrintable

    • False
    • None
    • False
    • Moderate
    • No

      only get cluster nameĀ 

      ```
      Using project "default".
      + python3 generate_managedclusters_data.py
      ++ jq '.managedClusters | length' managedClusters.json
      + [[ 1 > 0 ]]
      ++ cat managedClusters.json
      ++ jq -r '.managedClusters[0].name'
      + export CYPRESS_OPTIONS_MANAGED_CLUSTER_NAME=clc-auto-gcp1109
      + CYPRESS_OPTIONS_MANAGED_CLUSTER_NAME=clc-auto-gcp1109
      ++ cat managedClusters.json
      ++ jq -r '.managedClusters[0].username'
      + export CYPRESS_OPTIONS_MANAGED_USER=null
      + CYPRESS_OPTIONS_MANAGED_USER=null
      ++ cat managedClusters.json
      ++ jq -r '.managedClusters[0].password'
      + export CYPRESS_OPTIONS_MANAGED_PASSWORD=null
      + CYPRESS_OPTIONS_MANAGED_PASSWORD=null
      ++ cat managedClusters.json
      ++ jq -r '.managedClusters[0].base_domain'
      + export CYPRESS_OPTIONS_MANAGED_BASEDOMAIN=null
      + CYPRESS_OPTIONS_MANAGED_BASEDOMAIN=null
      ```

      successful example:

            cquredhat ChangLiang Qu
            cquredhat ChangLiang Qu
            ACM QE Team
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: