* rpc error: code = PermissionDenied desc = not authorized: cannot get machineconfig with admin user (omni endpoint) #2182
bashfulrobot
started this conversation in
General
Replies: 1 comment 3 replies
-
|
You did everything correctly from Talos point of view, but as Omni manages your machines, it won't let you access the machine configuration, as it will break the management part (you will see raw secrets). You can still see (redacted) machine config in Omni UI per node, or inspect config patches, etc. (You can also access redacted machine config as Omni resource). Also you can access Talos resources which don't contain secrets. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I have a bare bones Omni account, where I built a new cluster.
omnictlseems to work fine,kubectlseems to work fine, buttalosctlkeeps giving me the following error when I try to get certain things like a machineconfig:I searched the Slack channel and GitHub issues, but the only instance I found mentioned that the user was using a worker node as the endpoint. That is definitely not the issue here.
I have also tried re-authenticating, re-downloading my config files, and using different CP nodes as the endpoint, etc. All still produce the same behaviour.
Cluster Status
❯ talosctl -n 172.31.255.144 get machineconfig
NODE NAMESPACE TYPE ID VERSION
1 error occurred:
* rpc error: code = PermissionDenied desc = not authorized
❯ talosctl -n 172.31.255.144 get mc -o yaml
1 error occurred:
* rpc error: code = PermissionDenied desc = not authorized
❯ talosctl time -n 172.31.255.144
NODE NTP-SERVER NODE-TIME NTP-SERVER-TIME
172.31.255.144 time.cloudflare.com 2026-01-22 17:00:02.747823001 +0000 UTC 2026-01-22 17:00:02.743525569 +0000 UTC
Beta Was this translation helpful? Give feedback.
All reactions