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

[BUG]: ansible run in CI is broken #328

Closed
kitsudaiki opened this issue May 21, 2024 · 2 comments
Closed

[BUG]: ansible run in CI is broken #328

kitsudaiki opened this issue May 21, 2024 · 2 comments
Assignees
Labels
Bug Bug-reports Deploy-Process in case the deploy-process has to be updated L: ★☆☆ Expect low difficulty
Milestone

Comments

@kitsudaiki
Copy link
Owner

Bug Report

At the moment the ansible-setup test in the ci-pipeline failes for an unknown reason. The ansible scripts were not modified. Also a new execution of the pipeline hours later doesn't fixed the problem. Maybe a problem with a pip-package, because maybe they are not pinned.
Error-Message: Error connecting: Error while fetching server API version: Not supported URL scheme http+docker

Maybe branch v0.4.x is also affected.

Current Behavior:

  • pipeline failes

Expected Behavior:

  • pipeline success

Steps To Reproduce:

  • run ci-pipeline on develop-branch

Environment:

  • current develop-branch in ci-pipeline

Anything else:

@kitsudaiki kitsudaiki added Bug Bug-reports Deploy-Process in case the deploy-process has to be updated L: ★★☆ Expect mid difficulty labels May 21, 2024
@kitsudaiki kitsudaiki added this to the 0.5.0 milestone May 21, 2024
@kitsudaiki kitsudaiki changed the title [BUG]: [BUG]: ansible run in CI is broken May 21, 2024
@kitsudaiki
Copy link
Owner Author

kitsudaiki commented May 26, 2024

see issue: docker/docker-py#3256

It is a problem in the python dependencies. Many projects seems to be affected by this. Possible Hotfix: pin requests pip-package to version 2.31.0.

kitsudaiki added a commit that referenced this issue May 26, 2024
The CI was broken in the test for deploying
Hanami with Ansible. The source of the problem
was a conflict in 2 python-dependencies. It was
fixed by pinning the requests-package to version
2.31.0
@kitsudaiki kitsudaiki added L: ★☆☆ Expect low difficulty and removed L: ★★☆ Expect mid difficulty labels May 26, 2024
@kitsudaiki kitsudaiki self-assigned this May 26, 2024
kitsudaiki added a commit that referenced this issue May 26, 2024
@kitsudaiki
Copy link
Owner Author

Fixed problem by pinning the requests package to version 2.31.0. This is only a workaround and has to be removed again in the future. To keep track of this a new issue was created: #330

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug-reports Deploy-Process in case the deploy-process has to be updated L: ★☆☆ Expect low difficulty
Projects
Status: Done
Development

No branches or pull requests

1 participant