Open pombaer opened 1 year ago
By the way, i now tried awxkit version 21.13.0, this version works as expected, inventory is created, looks like an cli issue, not awx since i still use latest awx 22.2.0.
See #13967, should be fixed by #13977
The fixes mentioned above have been released today with AWX. Please try with the new version and let us know if its working now.
i'm getting this error on the inventory_sources endpoint. IDK if it matters, but i'm running this against a fresh stack, installed using the awx-operator, using the operator installed admin credentials. I have tried installing the version of awxkit @pombaer says they are using (21.13.0), the latest version of awxkit, and the latest version of awxkit with the diff from the mentioned PR applied. I get the same error with all of them.
Please confirm the following
security@ansible.com
instead.)Bug Summary
I have an inventory called "empty" without source, very basic, only "localhost" is defined:
Running following command does not raise an error but also does not import the inventory:
Same behavior with awx.awx.import:
This worked on a previous version, dont know which, but it was a recent version 21.x or so.
If i have a clean installation of AWX, only containing Organizations i have to create a dummy project and a dummy inventory before issuing the command, otherwise i get an error:
I think this is also an error but i can work around it, so i can live with it.
May the behavior is intended since newer versions of awx, but cannot imagine.
AWX version
22.2.0
Select the relevant components
Installation method
kubernetes
Modifications
no
Ansible version
No response
Operating system
Debian 11.4
Web browser
No response
Steps to reproduce
Run the commands above.
Expected results
Inventory should be created
Actual results
Inventoy is not created, no error occurs, in case of playbook "OK" is returned by the awx.awx.import task.
Additional information
awxkit: 22.2.0 awx.awx collection: 22.2.0