-
Notifications
You must be signed in to change notification settings - Fork 33
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
Deployment fails from ubuntu 20.04 control node for missing cryptography library #690
Comments
Hello, which is the host OS? Are you sure that while installing the pipenv environment, command completed successfully? Try running The only guess I have for now is that if cryptography has not been installed correctly it's because you are missing some system package required for installing it e.g. |
I'm running Ubuntu 20.04 LTS. I think you're right re missing deps. I installed build-essential, libssl-dev & libffi-dev as suggested. Note that I'm running Python 3.9.18. Python 2.x is not installed.
The Python crypto stuff appears to be present:
I then retried deployment with the following command but get the same crypto error:
|
I've burned too much time looking at this. I ended up standing up an Ubuntu 22.04 VM instead & was able to deploy to it OK (after remembering to populate known_urls in group_vars/repository.yml). |
Please next time provide the full task, not just the error message. Reproduced at:
reproduction steps:
|
Internally tracked as OPSEXP-2351 |
Hello, only install ansible-core, solve the error ubuntu. |
Bug description
Deployment to Ubuntu 22.04 LTS is failing at the 'Create private key with password protection' task. The command that I'm running is:
Target OS
Ubuntu 22.04 LTS
Ansible error
Cannot detect the required Python library cryptography (>= 1.2.3)
Ansible context
Paste the output of the following commands:
ansible --version
ansible-config dump --only-changed
pipenv run ansible-config dump --only-changed ANSIBLE_PIPELINING(/home/markdav/alfresco-ansible/alfresco-ansible-deployment/ansible.cfg) = True CONFIG_FILE() = /home/markdav/alfresco-ansible/alfresco-ansible-deployment/ansible.cfg
ansible-inventory -i your_inventory_file --graph
The text was updated successfully, but these errors were encountered: