You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When attempting to install HMC on a provisioned cluster, the hmc-controller throws an error due to missing Sveltos CRDs and resources in the projectsveltos namespace. This occurs because the HMC event handler is started before the Management object is created and Sveltos is fully installed. The error message observed is:
2024-12-27T13:12:03Z ERROR controller-runtime.source.EventHandler if kind is a CRD, it should be installed before calling Start {"kind": "ClusterSummary.config.projectsveltos.io", "error": "no matches for kind \"ClusterSummary\" in version \"config.projectsveltos.io/v1beta1\""}
This behavior is expected given the current order of operations but leads to a conflict during installation.
To Reproduce
Steps to reproduce the behavior:
Create a Kind cluster.
Deploy HMC on the Kind cluster.
Deploy a ManagedCluster resource, which provisions a new cluster.
Attempt to deploy HMC on the provisioned cluster.
Expected behavior
HMC installation on the provisioned cluster should ensure that Sveltos CRDs and resources are installed before starting the event handler. The process should not result in a conflict or error, and the installation should proceed seamlessly.
Additional context
This issue was possibly introduced in PR #550
The text was updated successfully, but these errors were encountered:
Describe the bug
When attempting to install HMC on a provisioned cluster, the hmc-controller throws an error due to missing Sveltos CRDs and resources in the projectsveltos namespace. This occurs because the HMC event handler is started before the Management object is created and Sveltos is fully installed. The error message observed is:
This behavior is expected given the current order of operations but leads to a conflict during installation.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
HMC installation on the provisioned cluster should ensure that Sveltos CRDs and resources are installed before starting the event handler. The process should not result in a conflict or error, and the installation should proceed seamlessly.
Additional context
This issue was possibly introduced in PR #550
The text was updated successfully, but these errors were encountered: