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
AtlasDatabaseUser - message - unable to list: test because of unknown namespace for the cache #1515
Comments
Thanks for reporting this issue @qtranton ! Could you give us a minimum YAML sample we could use to reproduce the issue? |
Sure, i have cleanup i guess my yaml here
|
cc @roothorp |
@qtranton can you check if you happen to have the |
i.e. it looks like the |
In helm i see this
So i have check pod and
|
In roles i also see some mention of this variable, but since it empty no additional roles was created
Plus it works on older version so older version could read secrets i guess |
Validate secrets as well
Get error like
Back labels in place get error
|
@josvazg @s-urbaniak hey have some time to debug issue, so on my local cluster for some reason on version 2.2.2 i do not see status.name parameters.
To
Here
|
Update: Recheck on v 1.7 and name in status appear |
Have a version of operator 1.7.1 and decide to upgrade to the latest in cluster.
Create local env
{"level":"INFO","time":"2024-04-16T12:12:14.543Z","msg":"Status update","atlasdatabaseuser":"test/operator-upgrade-test","lastCondition":{"type":"DatabaseUserReady","status":"False","lastTransitionTime":null,"reason":"DatabaseUserStaleConnectionSecrets","message":"unable to list: test because of unknown namespace for the cache"}}
What did you expect?
After all step operator just should work as expected
What happened instead?
AtlasDatabaseUser status always in False state
Operator Information
Kubernetes Cluster Information
Additional context
Try to figure out why AtlasDatabaseUser CRD failed.
It's created proper secrets and creates users in AtlasUI but CRD itself always in Ready - False state
status: conditions: - lastTransitionTime: "2024-04-16T12:03:17Z" status: "False" type: Ready - lastTransitionTime: "2024-04-16T11:44:08Z" status: "True" type: ResourceVersionIsValid - lastTransitionTime: "2024-04-16T11:44:08Z" status: "True" type: ValidationSucceeded - lastTransitionTime: "2024-04-16T12:03:18Z" message: 'unable to list: test because of unknown namespace for the cache' reason: DatabaseUserStaleConnectionSecrets status: "False" type: DatabaseUserReady
If possible, please include:
{"level":"DEBUG","time":"2024-04-16T12:17:12.709Z","msg":"Ensured connection Secret up-to-date","atlasdatabaseuser":"test/operator-upgrade-test","secretname":"HIDDEN"} {"level":"INFO","time":"2024-04-16T12:17:12.709Z","msg":"Status update","atlasdatabaseuser":"test/operator-upgrade-test-","lastCondition":{"type":"DatabaseUserReady","status":"False","lastTransitionTime":null,"reason":"DatabaseUserStaleConnectionSecrets","message":"unable to list: test because of unknown namespace for the cache"}}
The text was updated successfully, but these errors were encountered: