You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the daemon has been running for ~5 minutes, it starts to spam:
E0131 21:27:01.343248 29281 token_source.go:132] 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
repeatedly in the daemon logs. It does not seem to otherwise affect daemon behaviour.
If that's the case I'm surprised we haven't seen this earlier, unless token rotation is relatively new?
I can check whether this happens with a fresh cluster from master of the installer to make sure whether changing image and rebooting does something wonky.
i hit this on a cluster < 1hr. i discovered it when i appeared to have a master show "degraded" state while trying to apply a new update payload, and not sure what to do to debug further. fwiw, i see the token is in pod.
Activity
yuqi-zhang commentedon Jan 31, 2019
I suspect it might have occurred due to the vendor bump? 43c0b09
ashcrow commentedon Jan 31, 2019
/cc @abhinavdahiya
ashcrow commentedon Jan 31, 2019
/kind bug
abhinavdahiya commentedon Jan 31, 2019
Is this happening only for daemon? And all other pods, operator, controller, server are working?
yuqi-zhang commentedon Jan 31, 2019
Operater/controller/server seem to be fine. Although I specifically rebuilt the daemon from the
masterbranch myself.abhinavdahiya commentedon Jan 31, 2019
It might have to do with chroot after client has been created here
abhinavdahiya commentedon Jan 31, 2019
daemon needs to be able to rotate its credentials.
yuqi-zhang commentedon Jan 31, 2019
If that's the case I'm surprised we haven't seen this earlier, unless token rotation is relatively new?
I can check whether this happens with a fresh cluster from
masterof the installer to make sure whether changing image and rebooting does something wonky.ashcrow commentedon Jan 31, 2019
Agreed. No, it's not new. However, most people are running clusters for testing and e2e and may not be long lived enough to rotate. Not sure.
kikisdeliveryservice commentedon Feb 1, 2019
@ashcrow how long lived would we be looking for?
ashcrow commentedon Feb 1, 2019
I don't know how often the rotation occurs by default unfortunately.
cgwalters commentedon Feb 1, 2019
Yeah we should probably back off the chroot into the host rootfs...though that is going to require some nontrivial reworking in the code.
kikisdeliveryservice commentedon Feb 1, 2019
Someone else also saw this in a new cluster from today (logs are in the link above).
derekwaynecarr commentedon Feb 2, 2019
i hit this on a cluster < 1hr. i discovered it when i appeared to have a master show "degraded" state while trying to apply a new update payload, and not sure what to do to debug further. fwiw, i see the token is in pod.
daemon: Bind /run/secrets/ in so we can see SA tokens