We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Using the following command to init the hub cluster failed,
clusteradm init --bundle-version='latest' --output-join-command-file join.sh --wait ╰─# k get clustermanager cluster-manager -oyaml apiVersion: operator.open-cluster-management.io/v1 kind: ClusterManager metadata: annotations: kubectl.kubernetes.io/last-applied-configuration: "" creationTimestamp: "2025-01-08T08:45:34Z" finalizers: - operator.open-cluster-management.io/cluster-manager-cleanup generation: 1 name: cluster-manager resourceVersion: "656" uid: f749714c-c82d-4efb-8f3e-9ddc3c57a124 spec: addOnManagerConfiguration: featureGates: - feature: AddonManagement mode: Enable addOnManagerImagePullSpec: quay.io/open-cluster-management/addon-manager:latest deployOption: mode: Default placementImagePullSpec: quay.io/open-cluster-management/placement:latest registrationConfiguration: autoApproveUsers: - system:serviceaccount:open-cluster-management:cluster-bootstrap featureGates: - feature: DefaultClusterSet mode: Enable registrationImagePullSpec: quay.io/open-cluster-management/registration:latest resourceRequirement: type: Default workConfiguration: workDriver: kube workImagePullSpec: quay.io/open-cluster-management/work:latest status: conditions: - lastTransitionTime: "2025-01-08T08:45:53Z" message: |- Failed to apply hub resources: ["cluster-manager/hub/cluster-manager-registration-clusterrole.yaml" (string): clusterroles.rbac.authorization.k8s.io "open-cluster-management:cluster-manager-registration:controller" is forbidden: user "system:serviceaccount:open-cluster-management:cluster-manager" (groups=["system:serviceaccounts" "system:serviceaccounts:open-cluster-management" "system:authenticated"]) is attempting to grant RBAC permissions not currently held: {APIGroups:[""], Resources:["serviceaccounts/token"], ResourceNames:["cluster-bootstrap"], Verbs:["get" "create"]}, "cluster-manager/hub/cluster-manager-registration-clusterrolebinding.yaml" (string): clusterrolebindings.rbac.authorization.k8s.io "open-cluster-management:cluster-manager-registration:controller" not found] reason: HubResourceApplyFailed status: "False" type: Applied - lastTransitionTime: "2025-01-08T08:45:54Z" message: Feature gates are all valid reason: FeatureGatesAllValid status: "True" type: ValidFeatureGates - lastTransitionTime: "2025-01-08T08:45:54Z" message: 'Failed to get registration deployment "open-cluster-management-hub" "cluster-manager-registration-controller": deployment.apps "cluster-manager-registration-controller" not found' observedGeneration: 1 reason: GetRegistrationDeploymentFailed status: "True" type: HubRegistrationDegraded - lastTransitionTime: "2025-01-08T08:45:54Z" message: 'Failed to get placement deployment "open-cluster-management-hub" "cluster-manager-placement-controller": deployment.apps "cluster-manager-placement-controller" not found' observedGeneration: 1 reason: GetPlacementDeploymentFailed status: "True" type: HubPlacementDegraded observedGeneration: 1
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Environment ie: OCM version, clusteradm version, Kubernetes version and provider:
╰─# clusteradm version client version :v0.10.1-0-g18a991c server release version :v1.32.0 default bundle version :0.15.2
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
It seems to be caused by open-cluster-management-io/ocm#789
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Using the following command to init the hub cluster failed,
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Environment ie: OCM version, clusteradm version, Kubernetes version and provider:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: