Description of the problem: - create a managedcluster cr for hypershift provisioning ``` oc apply -f - <<EOF apiVersion: cluster.open-cluster-management.io/v1 kind: ManagedCluster metadata: name: hypershift-cluster2 annotations: import.open-cluster-management.io/klusterlet-deploy-mode: Hosted import.open-cluster-management.io/hosting-cluster-name: hosting-cluster import.open-cluster-management.io/klusterlet-namespace: hypershift-cluster2-onsite addon.open-cluster-management.io/disable-automatic-installation: "true" spec: hubAcceptsClient: true EOF ``` - create HypershiftDeployment ``` oc apply -f - <<EOF apiVersion: cluster.open-cluster-management.io/v1alpha1 kind: HypershiftDeployment metadata: name: song-hypershift2 namespace: default spec: hostingCluster: hosting-cluster hostingNamespace: clusters infra-id: hypershift-cluster2 infrastructure: cloudProvider: name: song-aws-conn configure: True platform: aws: region: us-east-1 EOF ``` - result: ``` % oc get mcl NAME HUB ACCEPTED MANAGED CLUSTER URLS JOINED AVAILABLE AGE customer-cluster1 true https://api.slai-aws-spoke1.dev09.red-chesterfield.com:6443 True True 142m hosting-cluster true https://api.slai-aws-spoke2.dev09.red-chesterfield.com:6443 True True 149m hypershift-cluster1 true https://aab5777c8c1de4cd98a72a353c60657e-2a06a7ede3782f92.elb.us-east-1.amazonaws.com:6443 True True 138m hypershift-cluster2 true Unknown 8m8s local-cluster true https://api.slai-aws-hub2.dev09.red-chesterfield.com:6443 True True 5h8m song-hypershift true https://aab5777c8c1de4cd98a72a353c60657e-2a06a7ede3782f92.elb.us-east-1.amazonaws.com:6443 True True 137m song-hypershift2 true True True 7m40s ``` Release version: 2.6 Operator snapshot version: 2.0.1-DOWNANDBACK-2022-06-20-19-01-04 OCP version: 4.10.24 Browser Info: Firefox Steps to reproduce: 1. Actual results: Expected results: Additional info:
doc issue, downgrade the severity.
SD doc has been updated. Please verify.
G2Bsync 1211670959 comment elgnay Thu, 11 Aug 2022 08:04:02 UTC G2Bsync Some [changes](https://github.com/stolostron/hypershift-deployment-controller/pull/151) made on hypershift-deployment-controller repo recently to support `HypershiftDeployment` creates `ManagedCluster` with `HypershiftDeployment.Name`. `HypershiftDeployment.Spec.InfraID` no longer works. I have updated the [SD doc](https://docs.google.com/document/d/13NPcFrQAYe4ar9uC_a7hEQ4jVUS-q8HT2Q4t5lmXd0Q/edit?usp=sharing) to reflect this change. Please verify with the latest doc.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Red Hat Advanced Cluster Management 2.6.0 security updates and bug fixes), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:6370