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

config-daemon Unable to rotate token: failed to read token file #723

Open
zeeke opened this issue Jun 25, 2024 · 0 comments
Open

config-daemon Unable to rotate token: failed to read token file #723

zeeke opened this issue Jun 25, 2024 · 0 comments

Comments

@zeeke
Copy link
Member

zeeke commented Jun 25, 2024

During CI end-to-end lanes, it happens a node stuck with an InProgress SriovNetworkNodeState and its logs contain a list of

E0625 14:40:06.172663    5508 token_source.go:185] Unable to rotate token: failed to read token file "/var/run/secrets/kubernetes.io/serviceaccount/token": open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
E0625 14:40:11.177478    5508 token_source.go:185] Unable to rotate token: failed to read token file "/var/run/secrets/kubernetes.io/serviceaccount/token": open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
E0625 14:40:16.179337    5508 token_source.go:185] Unable to rotate token: failed to read token file "/var/run/secrets/kubernetes.io/serviceaccount/token": open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
E0625 14:40:21.183166    5508 token_source.go:185] Unable to rotate token: failed to read token file "/var/run/secrets/kubernetes.io/serviceaccount/token": open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory

The cause might be the config-daemon uses chroot and never goes back to the regular filesystem root, making the Token rotator fail to work.

Attaching a report archive
ocp-artifacts (15).zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant