canonical / canonical/cloud-init

tests: ansible galaxy unable to install collections with Traceback

Open
#4,248 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
3.8k
Forks
1.1k
Avg merge
2d 23h
Merged PRs (30d)
18

Description

# Bug report
Surfaced by jenkins daily tests on lxd_vm

Incompatible dependencies are installed due to our integration test setup that break along the same lines as this upstream/fixed issue
https://github.com/ansible/ansible/issues/79697

Looking at the pip packages in the test environment we see resolvelib at 0.8.1 which is greater than 0.6.0 as mentioned in upstream bug
```
me@cloudinit-0713-171640hsn6admb:~# pip freeze | egrep 'ansi|reso'
ansible==5.5.0
ansible-core==2.12.4
resolvelib==0.8.1
```

## Steps to reproduce the problem

```
CLOUD_INIT_OS_IMAGE=kinetic CLOUD_INIT_PLATFORM=lxd_vm CLOUD_INIT_KEEP_INSTANCE=1 tox -e integration-tests tests/integration_tests/modules/test_ansible.py::test_ansible_pull_distro
```
## Environment details
- Cloud-init version: 23.1.2
- Operating System Distribution: Ubuntu Kinetic ++
- Cloud provider, platform or installer type: lxd_vm

## cloud-init logs

[cloud-init.log.txt](https://github.com/canonical/cloud-init/files/12042806/cloud-init.log.txt)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.