Bug 1734129 - [Embedded Ansible] AWS playbooks failed after order.
Summary: [Embedded Ansible] AWS playbooks failed after order.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Embedded Ansible
Version: 5.11.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.11.0
Assignee: Nick LaMuro
QA Contact: Satyajit Bulage
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks: 1677548
TreeView+ depends on / blocked
 
Reported: 2019-07-29 17:01 UTC by Satyajit Bulage
Modified: 2019-12-13 14:57 UTC (History)
6 users (show)

Fixed In Version: 5.11.0.19
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-13 14:57:05 UTC
Category: Bug
Cloudforms Team: Ansible
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Satyajit Bulage 2019-07-29 17:01:23 UTC
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:

Comment 2 Nick Carboni 2019-07-29 20:16:50 UTC
Satyajit, can you link the exact playbook you were running?

Comment 4 Nick Carboni 2019-08-07 18:42:53 UTC
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.

Comment 7 CFME Bot 2019-08-09 14:45:50 UTC
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(-)

Comment 9 CFME Bot 2019-08-09 18:51:00 UTC
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(+)

Comment 10 CFME Bot 2019-08-09 21:20:44 UTC
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(-)

Comment 11 CFME Bot 2019-08-09 21:21:13 UTC
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(+)

Comment 24 Satyajit Bulage 2019-09-03 13:52:57 UTC
Clearing needinfo as per comment 21.

Verified Version: 5.11.0.22.20190827200559_e618ece


Note You need to log in before you can comment on or make changes to this bug.