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

Cannot post the cluster data in the inventory-api

XMLWordPrintable

    • 1
    • False
    • None
    • False
    • GH Train-21 2
    • Important
    • None

      Description of problem:

      Cannot review the cluster data in the inventory-api due to no ClusterID in managedclusterinfo CR for IKS cluster. Here is the error:

      2024-11-20T09:12:47.277Z    ERROR    Reconciler error    {"controller": "inventory-managedclusterinfo-controller", "controllerGroup": "internal.open-cluster-management.io", "controllerKind": "ManagedClusterInfo", "ManagedClusterInfo": {"name":"clc-iks-744-crj3p-iks","namespace":"clc-iks-744-crj3p-iks"}, "namespace": "clc-iks-744-crj3p-iks", "name": "clc-iks-744-crj3p-iks", "reconcileID": "52a613c2-34bb-4878-8d29-b43d4a4ca3e4", "error": "failed to create k8sCluster <nil>: error: code = 400 reason = VALIDATOR message = validation error:\n - k8s_cluster.resource_data.external_cluster_id: value length must be at least 1 characters [string.min_len]\n - k8s_cluster.resource_data.vendor_version: value length must be at least 1 characters [string.min_len] metadata = map[] cause = <nil>"} 

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

      How reproducible:

      Steps to Reproduce:

      1.  
      2.  
      3. ...

      Actual results:

      Expected results:

      Additional info:

              clyang82 Chunlin Yang
              clyang82 Chunlin Yang
              Hui Chen Hui Chen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: