Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests/e2e: ansible/main.yml fails when using docker #206

Closed
stevenhorsman opened this issue May 4, 2023 · 0 comments · Fixed by #207 or #212
Closed

tests/e2e: ansible/main.yml fails when using docker #206

stevenhorsman opened this issue May 4, 2023 · 0 comments · Fixed by #207 or #212
Assignees

Comments

@stevenhorsman
Copy link
Member

Describe the bug
When running tests/e2e# ansible-playbook -i localhost, -c local --tags untagged ansible/main.yml
it fails

TASK [Start a docker registry] *****************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Error connecting: Error while fetching server API version: request() got an unexpected keyword argument 'chunked'"}

It looks like this is due to some incompatibility in requests 2.29.0 from docker/docker-py#3113

@stevenhorsman stevenhorsman self-assigned this May 4, 2023
stevenhorsman added a commit to stevenhorsman/cc-operator that referenced this issue May 4, 2023
- Due to a bug in requests 2.29.0 we need to force update it
to avoid the error:
`Error while fetching server API version: request() got an
unexpected keyword argument 'chunked'`
- See docker/docker-py#3113

Fixes: confidential-containers#206
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
stevenhorsman added a commit to stevenhorsman/cc-operator that referenced this issue May 4, 2023
- Due to a bug in requests 2.29.0 we need to downgrade it
to avoid the error:
`Error while fetching server API version: request() got an
unexpected keyword argument 'chunked'`
- See docker/docker-py#3113

Fixes: confidential-containers#206
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
fidencio pushed a commit that referenced this issue May 9, 2023
- Due to a bug in requests 2.29.0 we need to downgrade it
to avoid the error:
`Error while fetching server API version: request() got an
unexpected keyword argument 'chunked'`
- See docker/docker-py#3113

Fixes: #206
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
wainersm added a commit to wainersm/cc-operator that referenced this issue May 19, 2023
The distro might have requests < 2.29.0 already so that the package
doesn't need to be downgraded. Actually an attempt to downgrade it fail
the playbook.

Fixes confidential-containers#206
Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
wainersm added a commit to wainersm/cc-operator that referenced this issue May 22, 2023
The distro might have requests < 2.29.0 already so that the package
doesn't need to be downgraded. Actually an attempt to downgrade it fail
the playbook.

Fixes confidential-containers#206
Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant