AWX install, stuck

Discussion in 'Installation/Configuration' started by jv9999, Jan 4, 2019.

  1. jv9999

    jv9999 New Member

    I followed the process in the github install guide (for a docker install).
    On a CentOS 7 system with docker and Postgres already installed. I created the PG database and user as in the inventory file. I also added the pg_hostname=localhost. This is my inventory file:
    localhost ansible_connection=local ansible_python_interpreter="/usr/bin/env python"
    [all:vars]
    dockerhub_base=ansible
    awx_alternate_dns_servers="4.2.2.1,4.2.2.2"
    project_data_dir=/var/lib/awx/project
    awx_task_hostname=awx
    awx_web_hostname=awxweb
    postgres_data_dir=/tmp/pgdocker
    host_port=82
    docker_compose_dir=/var/lib/awx
    pg_hostname=localhost
    pg_username=awx
    pg_password=awxpass
    pg_database=awx
    pg_port=5432
    # RabbitMQ Configuration
    rabbitmq_password=awxpass
    rabbitmq_erlang_cookie=cookiemonster
    admin_user=admin
    admin_password=password
    create_preload_data=True
    secret_key=awxsecret
    When running "ansible-playbook -i inventory install.yml -vv" I get this error:

    TASK [local_docker : Activate rabbitmq container] *********************************************************
    task path: /root/awx/installer/roles/local_docker/tasks/standalone.yml:18
    An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: __call__() takes exactly 2 arguments (1 given)
    fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/root/.ansible/tmp/ansible-tmp-1546638058.6535804-21952376254011/AnsiballZ_docker_container.py\", line 113, in <module>\n _ansiballz_main()\n File \"/root/.ansible/tmp/ansible-tmp-1546638058.6535804-21952376254011/AnsiballZ_docker_container.py\", line 105, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/root/.ansible/tmp/ansible-tmp-1546638058.6535804-21952376254011/AnsiballZ_docker_container.py\", line 48, in invoke_module\n imp.load_module('__main__', mod, module, MOD_DESC)\n File \"/tmp/ansible_docker_container_payload_aZF9a8/__main__.py\", line 642, in <module>\n File \"/tmp/ansible_docker_container_payload_aZF9a8/ansible_docker_container_payload.zip/ansible/module_utils/docker_common.py\", line 36, in <module>\n File \"/usr/lib/python2.7/site-packages/requests/__init__.py\", line 53, in <module>\n from .packages.urllib3.contrib import pyopenssl\n File \"/usr/lib/python2.7/site-packages/requests/packages/__init__.py\", line 75, in load_module\n __import__(name)\n File \"/usr/lib/python2.7/site-packages/requests/packages/urllib3/contrib/pyopenssl.py\", line 47, in <module>\n from cryptography import x509\n File \"/usr/lib64/python2.7/site-packages/cryptography/x509/__init__.py\", line 7, in <module>\n from cryptography.x509.base import (\n File \"/usr/lib64/python2.7/site-packages/cryptography/x509/base.py\", line 15, in <module>\n from cryptography.hazmat.primitives.asymmetric import dsa, ec, rsa\n File \"/usr/lib64/python2.7/site-packages/cryptography/hazmat/primitives/asymmetric/rsa.py\", line 14, in <module>\n from cryptography.hazmat.backends.interfaces import RSABackend\n File \"/usr/lib64/python2.7/site-packages/cryptography/hazmat/backends/__init__.py\", line 7, in <module>\n import pkg_resources\n File \"/usr/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 72, in <module>\n import packaging.requirements\n File \"/usr/lib/python2.7/site-packages/packaging/requirements.py\", line 59, in <module>\n MARKER_EXPR = originalTextFor(MARKER_EXPR())(\"marker\")\nTypeError: __call__() takes exactly 2 arguments (1 given)\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}​

    Not sure where to go from here. Any guidance appreciated!






     

Share This Page