[heketi-devel] Token is expired error

Jose A. Rivera jarrpa at redhat.com
Tue Jun 6 21:24:58 UTC 2017


The time syncing was the issue. :) Thanks!

--Jose

On Mon, Jun 5, 2017 at 3:34 PM, Luis Pabon <lpabon at chrysalix.org> wrote:
> 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
>
>


More information about the heketi-devel mailing list