Heketi JWT token expired error

Heketi JWT token expired error

July 16, 2019

Note: This post is archived. Heketi and GlusterFS have been deprecated in favor of modern storage solutions like Rook-Ceph, OpenEBS, or cloud-native storage providers.

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
Last updated on