The error was: ImportError: No module named ipaddress #941
Comments
@james-knott which branch of openshift-ansible are you using? |
@james-knott try running the deploy-host with the provider of aws: ansible-playbook playbooks/deploy-host.yaml -e provider=aws This should properly prepare the required packages. |
@dav1x i believe the python-ipaddress needs patched into all providers as a prereq |
@dav1x Thanks for the help. I already added a role for epel, and pip to install the missing requirements. |
I think I hit this problem running the openshift-ansible installer from the release-3.9 branch. This issue is marked as closed, but its not clear how to fix the problem. |
@tdudgeon Are you still having an issue? |
@dav1x
Not sure whether the fact generation comes before this. If so then maybe its fixed. |
Hey @tdudgeon Try this combination:
The release and image version should be set via the release. |
also having an issue on OCP 3.7. [non-atomic-docker-storage-setup : Gather facts] ************************************************************************************************************************************************************************************* ===================================== Istack_name: openshift-infra |
@mikecali you will need to install python-ipaddress as one of the first steps in the deployment either in its own pre_task play or in cloud-init |
@cooktheryan, that fix the problem. Thanks!
|
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
@openshift-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Local Workstation RedHat 7.4
Ansible version 2.4
./ose-on-aws.py --keypair= --public-hosted-zone= --deployment-type=origin --ami=ami-6d1c2007 --github-client-secret= --github-organization= --github-client-id=
TASK [non-atomic-docker-storage-setup : Gather facts] ********************************************************************************************************************************************************************************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ImportError: No module named ipaddress
fatal: [ose-app-node02]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File "/tmp/ansible_tJ6HB4/ansible_module_openshift_facts.py", line 19, in \n import ipaddress\nImportError: No module named ipaddress\n", "modul
The text was updated successfully, but these errors were encountered: