Open nicolas-g opened 4 years ago
Did you install using the AWX operator?
no, I installed running the install.yml
Ansible playbook.
You don't have an AWS credential attached. Try creating one with your AWS credentials. (Inventory updates without credentials only work if you have assigned specific IAM roles to the instance.)
@wenottingham as described in the issue summary
Using AWS secrets or IAM Roles
I can confirm this is still an issue either using AWS secrets or IAM Roles. It works fine in 14.1.0 but it is broken in 15.0.1 .
@ikhan2010 this looks like an issue with the AWS collection plugin. Can someone on your team chase this down?
I'm not able to reproduce this on a freshly deployed 15.0.1 (using docker-compose locally) and AWS secrets, my inventory is successfully populated. @nicolas-g would it be possible for you to share the job output (on debug please) from one of your tests using secrets or an IAM profile?
@jillr, can you please provide me the setup details for IAM role, please
ISSUE TYPE
SUMMARY
Using AWS secrets or IAM Roles in AWS and AWX version 14.1.0 (Ansible 2.9.11) we are able to start the sync process and use dynamic inventories.
It seems the exact same setup with AWX version 15.0.1, the dynamic source inventory is broken. The job sync fails and the UI has changed (see the screenshots).
ENVIRONMENT
STEPS TO REPRODUCE
Under Inventories -> Click on an existnig inventory -> Click on Sources tab -> Create a new source -> Choose Source
Amazon EC2
-> SaveEXPECTED RESULTS
When you start a Sync Process job you should see hosts to be populated in your dynamic inventory.
ACTUAL RESULTS
Sync Process job fails
ADDITIONAL INFORMATION
INSTANCE FILTERS has been renamed to HOST FILTER
14.1.0
15.0.1 REGIONS has been completely removed ENABLE VARIABLE and ENABLE VALUE has been added.