Skip to content
This repository was archived by the owner on Apr 15, 2024. It is now read-only.
This repository was archived by the owner on Apr 15, 2024. It is now read-only.

Token parameter is not passed in Session API Calls #282

@pi19404

Description

@pi19404

in base/consul.py functions
sesson create
session renew
session destroy
session list
session node

token is not passed in the http requets and it gives ACL permission denied error when using with consul server with ACL enabled .

adding the code
token = self.agent.token
if token:
params.append(('token', token))

in the function resolves the issues and passes the ACL token in the http requests calls .
without these ACL error is observed in these function calls .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions