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

Cannot add-topo due to request() got an unexpected keyword argument 'chunked' #8221

Open
Pterosaur opened this issue May 5, 2023 · 1 comment

Comments

@Pterosaur
Copy link
Contributor

Pterosaur commented May 5, 2023

An Ad-hoc solution could follow: ansible-collections/community.docker#611 to pin the packages version.
I add following codes at the end of file: ansible/roles/vm_set/tasks/docker.yml to solve this issue.

- name: Install python packages
  pip: name=requests version=2.28.1 state=forcereinstall executable={{ pip_executable }}
  become: yes
  environment: "{{ proxy_env | default({}) }}"

- name: Install python packages
  pip: name=urllib3 version=1.26.15 state=forcereinstall executable={{ pip_executable }}
  become: yes
  environment: "{{ proxy_env | default({}) }}"

@vperumal
Copy link
Contributor

vperumal commented May 7, 2023

Hi @Pterosaur, thanks for the clue, To add more to your suggestion - They have released a fix for docker/docker-py#3113 - https://github.com/docker/docker-py/releases/tag/6.1.0. So after installing docker 6.1.0 - you can replace the version with 6.1.0 as below and it works now.

  • name: Install python packages
    pip: name=docker version=6.1.0 state=forcereinstall executable={{ pip_executable }}
    become: yes
    environment: "{{ proxy_env | default({}) }}"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants