8.777 INFO Updating inventory 4: production
9.056 INFO Reading Ansible inventory source: /etc/ansible/inventory/production/hosts
Traceback (most recent call last):
File "/opt/awx/bin/awx-manage", line 11, in <module>
sys.exit(manage())
...
File "/opt/awx/embedded/lib/python2.7/site-packages/awx/main/management/commands/inventory_import.py", line 245, in load_inventory_source
is_custom=is_custom).load()
File "/opt/awx/embedded/lib/python2.7/site-packages/awx/main/management/commands/inventory_import.py", line 180, in load
data = self.command_to_json(base_args + ['--list'])
File "/opt/awx/embedded/lib/python2.7/site-packages/awx/main/management/commands/inventory_import.py", line 163, in command_to_json
self.method, proc.returncode, stdout, stderr))
RuntimeError: ansible-inventory failed (rc=1) with stdout:
Traceback (most recent call last):
File "/bin/ansible-inventory", line 32, in <module>
from ansible import context
ImportError: cannot import name context