Skip to content
New issue

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

[BUG] Creating MemberCluster successfully, Deleting the membercluster, then recreating it causes no access to resource error #242

Open
aagusuab opened this issue Aug 23, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@aagusuab
Copy link
Member

Describe the bug

Successfully created a Member Cluster CR, and the Member Cluster is joined successfully.
MemberCluster CR was deleted, and recreated with the same value. (Same principal id, client id, etc)
This will cause an error in the reconciliation.

Environment

Please provide the following:

  • Hub cluster details
  • Member cluster details

To Reproduce

Steps to reproduce the behavior:

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

leaderelection/leaderelection.go:330] error retrieving resource lock fleet-member-membercluster1/136224848560.hub.fleet.azure.com: leases.coordination.k8s.io "136224848560.hub.fleet.azure.com" is forbidden: User "f6409f7d-60d2-41df-b070-03c5786432f3" cannot get resource "leases" in API group "coordination.k8s.io" in the namespace "fleet-member-membercluster1": User does not have access to the resource in Azure. Update role assignment to allow access.

Additional context

Add any other context about the problem here.

@aagusuab aagusuab added the bug Something isn't working label Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants