Hello Gents,

I'm trying to setup n inventory using a RH Satellite 6 source.

Added the credentials and the inventory source, however once I try to sync 
it it fails with this output: 

2.579 INFO Updating inventory 2: NONP Foreman Hosts 2.616 DEBUG Using 
system install of ansible-inventory CLI: /usr/local/bin/ansible-inventory 
2.616 INFO Reading Ansible inventory source: 
/var/lib/awx/venv/awx/lib/python2.7/site-packages/awx/plugins/inventory/foreman.py
 
2.642 DEBUG Using private credential data in '/tmp/awx_4771_YQMgBV'. 2.647 
DEBUG Using fresh temporary directory '/tmp/awx_proot_Mxn5Ja' for 
isolation. 2.647 DEBUG Running from 
`/var/lib/awx/venv/awx/lib/python2.7/site-packages/awx/plugins/inventory` 
working directory. Traceback (most recent call last): File 
"/usr/bin/awx-manage", line 9, in <module> load_entry_point('awx==3.2.1', 
'console_scripts', 'awx-manage')() File 
"/lib/python2.7/site-packages/awx/__init__.py", line 107, in manage File 
"/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/core/management/__init__.py",
 
line 354, in execute_from_command_line utility.execute() File 
"/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/core/management/__init__.py",
 
line 346, in execute 
self.fetch_command(subcommand).run_from_argv(self.argv) File 
"/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/core/management/base.py",
 
line 394, in run_from_argv self.execute(*args, **cmd_options) File 
"/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/core/management/base.py",
 
line 445, in execute output = self.handle(*args, **options) File 
"/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/core/management/base.py",
 
line 661, in handle return self.handle_noargs(**options) File 
"/lib/python2.7/site-packages/awx/main/management/commands/inventory_import.py",
 
line 1000, in handle_noargs File 
"/lib/python2.7/site-packages/awx/main/management/commands/inventory_import.py",
 
line 243, in load_inventory_source File 
"/lib/python2.7/site-packages/awx/main/management/commands/inventory_import.py",
 
line 179, in load File 
"/lib/python2.7/site-packages/awx/main/management/commands/inventory_import.py",
 
line 163, in command_to_json RuntimeError: ansible-inventory failed (rc=1) 
with stdout: Invalid arguments. stderr: 
The weird part is that that it's working fine on a community AWX 
installation, but it's not working with this Tower installation I have.

Anyone experienced this before?

All field are correctly filled in so I have no idea what arguments are 
missing...

Any help would be appreciated.

Cheers,
Jason

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/89b80812-a9b9-442b-85d1-7c4e2a8a2b28%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to