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
I followed your doc in Ubuntu. But I failed to imported the managed cluster to hub.
I left out the steps of configuring the api server for mac.
When I configured the boot strap secret in cluster, I did not get the csr as expected.
But the registration pods are up and work-agent failed with `Crashbackoff"
I inspected the secret hub-kubeconfig-secret, and its data is empty. And you can see its timestamps is the same as other secret and older than bootstrap. So I guess it is created when to create klusterlet and not updated later?
Failed to create &SelfSubjectAccessReview{ObjectMeta:{ 0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[] [] [] []},Spec:SelfSubjectAccessReviewSpec{ResourceAttributes:&ResourceAttributes{Namespace:,Verb:create,Group:cluster.open-cluster-management.io,Version:,Resource:managedclusters,Subresource:,Name:,},NonResourceAttributes:nil,},Status:SubjectAccessReviewStatus{Allowed:false,Reason:,EvaluationError:,Denied:false,},} with bootstrap secret "open-cluster-management-agent" "bootstrap-hub-kubeconfig": Post "https://127.0.0.1:35545/apis/authorization.k8s.io/v1/selfsubjectaccessreviews": dial tcp 127.0.0.1:35545: connect: connection refused
Failed to get kubeconfig from `kubectl get secret -n "open-cluster-management-agent" "hub-kubeconfig-secret" -ojsonpath='{.data.kubeconfig}'`. This is set by the klusterlet registration deployment, but the CSR must be approved by the cluster-admin on the hub.
I think this should be the same cause.
Did I miss anything? Or it is a bug for regsitration?
The text was updated successfully, but these errors were encountered:
Hi Michael,
I followed your doc in Ubuntu. But I failed to imported the managed cluster to hub.
I left out the steps of configuring the api server for mac.
When I configured the boot strap secret in cluster, I did not get the csr as expected.
But the registration pods are up and work-agent failed with `Crashbackoff"
The log from one of the pods:
And the readiness probe failed again and again.
I found the secrets
I inspected the secret
hub-kubeconfig-secret
, and its data is empty. And you can see its timestamps is the same as other secret and older than bootstrap. So I guess it is created when to create klusterlet and not updated later?At last I found the error in Klusterlet status:
I think this should be the same cause.
Did I miss anything? Or it is a bug for regsitration?
The text was updated successfully, but these errors were encountered: