Closed pabloromeo closed 1 year ago
I appear to have to the same problem:
Also have the same log lines in my operator
{"level":"INFO","time":"2023-01-06T11:07:13.311Z","msg":"-> Starting AtlasTeam reconciliation","atlasteam":"***","spec":{"name":"***","usernames":[***]}}
{"level":"WARN","time":"2023-01-06T11:07:13.711Z","msg":"failed to retrieve users to add to the team ***","atlasteam":"***"}
I'm running on AKS and using the latest operator (1.5.1).
@pabloromeo thank you for raising the issue. We were able to reproduce the problem and a fix will come in the next release. For now, you can use the workaround mentioned by @sunib, which is to recreate the Team containing the new users. Just for clarification: The user must be part of the organization already
Awesome, thanks for the workaroud and the clarification about the users being in the org.
What did you do to encounter the bug? Create an AtlasTeam:
The team is created. However, if you add another user to the team:
Then reconciling fails. Describing
AtlasTeam
you get the following status:And in the operator logs you see the following:
What did you expect? The team should have a new member.
What happened instead? The team in Atlas wasn't modified.
Screenshots If applicable, add screenshots to help explain your problem.
Operator Information
Kubernetes Cluster Information
Additional context I initially tried with user
three@example.com
not being part of the users in the organization, to see if it would invite them as well. It didn't work. I tried again manually adding the user as an Organization Member, waiting for email to be verified, and then adding them to the team through the operator. Failed as well.If possible, please include:
kubectl describe
output