-
Bug
-
Resolution: Unresolved
-
Major
-
Global Hub 1.4.0
-
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:
- ...