Skip to content

Cluster deployed with already expired token #299

@mtangaro

Description

@mtangaro

Dear experts,
on deploying an elastic cluster (SLURM is used as resource manager and Galaxy as workflow manager), it happens that CLUES can't contact the orchestrator for nodes deployment, because the token (injected by the orchestrator) is already expired.

Indeed, from the information in the token you can see:

"iss": "https://iam.recas.ba.infn.it/",
"exp": 1541413974,
"iat": 1541410374,

corresponding to:

iat: Monday 5 November 2018 10:32:54
exp: Monday 5 November 2018 11:32:54

The CLUES log:
[PLUGIN-INDIGO-ORCHESTRATOR];ERROR;2018-11-05 11:40:23,067;ERROR getting deployment info: {"code":401,"title":"Unauthorized","message":"Invalid token: ***TOKEN***"} [PLUGIN-INDIGO-ORCHESTRATOR];WARNING;2018-11-05 11:40:23,067;No resources obtained from orchestrator. [PLUGIN-INDIGO-ORCHESTRATOR];DEBUG;2018-11-05 11:40:30,674;The access token is valid for -4056 seconds. [PLUGIN-INDIGO-ORCHESTRATOR];ERROR;2018-11-05 11:40:30,674;Error refreshing access token: No client info provided.

This is not rare and non-INDIGO-experts can't recover the cluster.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions