Error connecting: load_config() got an unexpected keyword argument 'config_dict'

919 views
Skip to first unread message

Satyapal Singh

unread,
Mar 26, 2018, 10:58:42 AM3/26/18
to AWX Project
Hi,

I am trying to install AWX using local_docker and getting below exception :

fatal: [localhost]: FAILED! => {"changed": false, "msg": "Error connecting: load_config() got an unexpected keyword argument 'config_dict'"}

Below are version details:

python - 2.7.5
ansible - 2.4.2.0
pip - 9.0.3
docker-py - 1.10.6
pip docker - 3.1.4
Docker - 1.6.1

From couple of articles i came to know to downgrade pip docker - 3.1.4 to 3.0.0. tried that as well but same exception.

Kindly help me to get install AWX.
Thanks in advance.


Mrinal Pande

unread,
Mar 27, 2018, 4:51:43 AM3/27/18
to AWX Project
Hi,


I think it is because of the python interpreter.
Can you try running the playbook with the -e option?

ansible-playbook -e "ansible_python_interpreter=python" -i inventory install.yml

Satyapal Singh

unread,
Mar 29, 2018, 11:28:36 AM3/29/18
to AWX Project
Hi Mrinal,

Thanks for suggestion.
Tried but bad luck, same exception.

Matthew Jones

unread,
Mar 29, 2018, 3:04:51 PM3/29/18
to Satyapal Singh, AWX Project
I've been seeing this error more lately with extremely bleeding edge ansible versions.

--
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project+unsubscribe@googlegroups.com.
To post to this group, send email to awx-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/7351346d-9bca-45af-ac47-2368c4718789%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Matt Jones
Principal Software Engineer
Ansible Tower
Reply all
Reply to author
Forward
0 new messages