Skip to main content

Heketi JWT token expired error

·1 min

Recently I encountered a JWT token expired error on the heketi pod in the OpenShift cluster.

[jwt] ERROR 2019/07/16 19:17:14 heketi/middleware/jwt.go:66:middleware.(*HeketiJwtClaims).Valid: exp validation failed: Token is expired by 1h48m59s

After a lot of google searches, I synchronized clocks across the pod running heketi and the master nodes, which solved the issue

ntpdate -q 0.rhel.pool.ntp.org; systemctl restart ntpd