Closed zenntrix closed 4 years ago
The deployment roles are installing the needed IPA packages on the machine as one of the first steps. There seems to be a dependency issue in one of the packages that will be installed or updated.
Please open a bug for Ubuntu about this.
Apologies i am not sure i follow, the packages have been installed, it is now trying to run IPA client test when it fails, i am not sure why this is a bug on Ubuntu but maybe you could clarify for me :). I have checked and cffi is installed on the system, version 1.11.5-1
which seems to meet the criteria >=1.8,!=1.11.3
O.k. this is not the installation step. The requirement cffi>=1.8,!=1.11.3
is not part of FreeIPA or ansible-freeipa. I really do not know where it is from.
The requirement is coming from cryptography package, https://github.com/pyca/cryptography/blob/master/setup.py#L43
setup_requirements = ["cffi>=1.8,!=1.11.3"]
pkg_resources parses and process all dist-info and egg-info directories in all site-packages on import.
So i have been trying a few other things and if i use the same ansible scripts against the same remote machine (Ubuntu 18.04) but using a different ansible host to run the playbook from, it works. Does that help shed any light?
Ok, seemed to have fixed this! On the ansible host i uninstalled and re-installed 'cryptography' using pip and that seemed to have solved the problem.
My ansible host is running Centos 7 so this is unrelated to Ubuntu
Version: 0.1.8-1
When I run the playbook against a Ubuntu 18.04.4 host I recieve an error saying
The error was: DistributionNotFound: cffi>=1.8,!=1.11.3
.It fails on section [ipaclient : Install - IPA client test]
Full -vvv