linode-cli icon indicating copy to clipboard operation
linode-cli copied to clipboard

Error: SignatureDoesNotMatch when running obj commands from docker Container

Open jimdevops19 opened this issue 5 years ago • 0 comments

I have a Dockerfile with the following instructions wherein the requirements.txt I got linode-cli as a package to install:

FROM python:3
ENV PYTHONUNBUFFERED 1
RUN mkdir /code
WORKDIR /code
COPY requirements.txt /code/
RUN pip install -r requirements.txt
COPY . /code/
ENTRYPOINT ["python", "run.py"]

The script run.py has some behind the scenes actions in while loop, with a obj put command. So when the container starts, for sure it tries to understand from where it needs to load the config for linode-cli. So by the time that the container executes, I configure the linode-cli manually with docker exec Once everything is set up, I hit this error:

|----------------------------------------------------------------------------------------------------| 0.0%
|####################################################################################################| 100.0%
Error: SignatureDoesNotMatch

FYI: I tried to use multiple PAT's to really test deeper this scenario

jimdevops19 avatar Jan 14 '21 17:01 jimdevops19