Description of problem: Order Amazon Ansible Service is failing with Boto3 module error. Version-Release number of selected component (if applicable):5.11.0.15.20190718144823_3d0108f How reproducible:100% Steps to Reproduce: 1. Enable Ansible server role. 2. Add Repository 3. Add Embedded Ansible Credentials. 4. Create service catalog and order it. Actual results: Playbook execution failing with "boto3 required for this module" Expected results: There should not be any error. Additional info:
Satyajit, can you link the exact playbook you were running?
https://github.com/ManageIQ/manageiq-appliance-build/pull/340 and https://github.com/ManageIQ/manageiq/pull/19118 should solve this for the upstream appliance, but I think Satoe will need to do some additional work to get access to the rpm for the downstream appliance. After those PRs are merged I'll pass this bug to her.
https://github.com/ManageIQ/manageiq-appliance-build/pull/341
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/50829f025a25e87b9ac649fce3218b469a3e54a8 commit 50829f025a25e87b9ac649fce3218b469a3e54a8 Author: Nick Carboni <ncarboni> AuthorDate: Wed Aug 7 13:55:39 2019 -0400 Commit: Nick Carboni <ncarboni> CommitDate: Wed Aug 7 13:55:39 2019 -0400 Run ansible-runner with PYTHONPATH set to access additional modules On the appliance we will install all the modules that were previously used by awx to utilize the cloud credential roles out of the box. In addition to this fix, we will need to install the modules on the appliance at build time. https://bugzilla.redhat.com/show_bug.cgi?id=1734129 lib/ansible/runner.rb | 15 +- spec/lib/ansible/runner_spec.rb | 32 + 2 files changed, 46 insertions(+), 1 deletion(-)
New commit detected on ManageIQ/manageiq-appliance-build/master: https://github.com/ManageIQ/manageiq-appliance-build/commit/23df7d944548a99283245f0a2a3f61469a74782e commit 23df7d944548a99283245f0a2a3f61469a74782e Author: Nick Carboni <ncarboni> AuthorDate: Thu Aug 8 12:02:05 2019 -0400 Commit: Nick Carboni <ncarboni> CommitDate: Thu Aug 8 12:02:05 2019 -0400 Add python-devel This is needed for building python modules as we install via pip https://bugzilla.redhat.com/show_bug.cgi?id=1734129 kickstarts/partials/packages/includes.ks.erb | 1 + 1 file changed, 1 insertion(+)
New commit detected on ManageIQ/manageiq/ivanchuk: https://github.com/ManageIQ/manageiq/commit/a640dbe53e41f24b2865bfdf156e47ed68cc12c8 commit a640dbe53e41f24b2865bfdf156e47ed68cc12c8 Author: Jason Frey <jfrey> AuthorDate: Fri Aug 9 10:41:06 2019 -0400 Commit: Jason Frey <jfrey> CommitDate: Fri Aug 9 10:41:06 2019 -0400 Merge pull request #19118 from carbonin/make_cred_modules_accessible Run ansible-runner with PYTHONPATH set to access additional modules (cherry picked from commit 3bedecb4b50bb7e884ea1df5babbf3a2bde73e76) https://bugzilla.redhat.com/show_bug.cgi?id=1734129 lib/ansible/runner.rb | 15 +- spec/lib/ansible/runner_spec.rb | 32 + 2 files changed, 46 insertions(+), 1 deletion(-)
New commit detected on ManageIQ/manageiq-appliance-build/ivanchuk: https://github.com/ManageIQ/manageiq-appliance-build/commit/df94d2e90f0942d9458a831ecd3f4199ca121603 commit df94d2e90f0942d9458a831ecd3f4199ca121603 Author: Jason Frey <jfrey> AuthorDate: Fri Aug 9 14:49:45 2019 -0400 Commit: Jason Frey <jfrey> CommitDate: Fri Aug 9 14:49:45 2019 -0400 Merge pull request #341 from carbonin/install_python_modules Install python modules required for embedded ansible credentials (cherry picked from commit 441d102a558b8a29df35532cf5ecec21f77083f6) https://bugzilla.redhat.com/show_bug.cgi?id=1734129 kickstarts/partials/packages/includes.ks.erb | 1 + kickstarts/partials/post/python_modules.ks.erb | 127 + 2 files changed, 128 insertions(+)
Clearing needinfo as per comment 21. Verified Version: 5.11.0.22.20190827200559_e618ece