[heketi-devel] Token is expired error

Luis Pabon lpabon at chrysalix.org
Mon Jun 5 20:34:20 UTC 2017


Hi Joseph,
  This interesting because the client provides a token with 5 minutes of
exp [1]. Couple of things we can try. Make sure that all the systems have
the same time set through something like an NTP. If that is ok, then check
that the request didn't take more than 5 minutes. In the end, you could try
increasing the exp value so something like 24h later, and see if that works.

- Luis

[1]
https://github.com/heketi/heketi/blob/master/client/api/go-client/client.go#L160
.

On Thu, Jun 1, 2017 at 10:12 AM, Jose A. Rivera <jarrpa at redhat.com> wrote:

> Hey folks,
>
> I have an error I'm not sure how to resolve.
>
> I'm trying to use a key with heketi admin user (just running cluster
> list) but I get the following error:
>
> Error: Token is expired
>
> heketi is currently up and running as a pod in OpenShift. I configured
> it with a template that sets HEKETI_ADMIN_KEY to the key I'm trying to
> use. Am I missing some further configuration?
>
> Thanks,
> --Jose
> _______________________________________________
> heketi-devel mailing list
> heketi-devel at gluster.org
> http://lists.gluster.org/mailman/listinfo/heketi-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/heketi-devel/attachments/20170605/b4a02708/attachment.html>


More information about the heketi-devel mailing list