Heketi JWT token expired error

Recently I encountered an JWT token expired error on heketi pod in 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 search, I synchronized clocks across the pod running heketi and the masters, which solved the issue

ntpdate -q 0.rhel.pool.ntp.org; systemctl restart ntpd
Built with Hugo
Theme Stack designed by Jimmy