Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1449682 - [RFE] Embedded Ansible role cannot be enabled in podified environment
[RFE] Embedded Ansible role cannot be enabled in podified environment
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: cfme-openshift-app (Show other bugs)
5.8.0
All All
high Severity high
: GA
: 5.9.0
Assigned To: Satoe Imaishi
Ievgen Zapolskyi
Red Hat CloudForms Documentation
container:pod:ansible
: FutureFeature, RFE
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-05-10 08:46 EDT by Dmitry Misharov
Modified: 2018-03-01 08:33 EST (History)
8 users (show)

See Also:
Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-03-01 08:33:16 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0382 normal SHIPPED_LIVE CloudForms 4.6 images for OpenShift 2018-03-01 13:33:03 EST

  None (edit)
Description Dmitry Misharov 2017-05-10 08:46:18 EDT
Version-Release number of selected component (if applicable):
5.8.0.14-rc3.20170509175238_5dbf87a

How reproducible:
Always

Steps to Reproduce:
1. Use podified CFME.
2. Enable Embedded Ansible role.


Actual results:
Embedded Ansible role is not enabled.

Expected results:
Embedded Ansible role should be enabled.

Additional info:
[----] E, [2017-05-10T12:37:02.933423 #356:b05ce80] ERROR -- : AwesomeSpawn: ansible-tower-setup exit code: 2
[----] E, [2017-05-10T12:37:02.933510 #356:b05ce80] ERROR -- : AwesomeSpawn: /var/lib/awx/setup/setup.sh: line 333: sudo: command not found
[----] E, [2017-05-10T12:37:02.933741 #356:b05ce80] ERROR -- : [AwesomeSpawn::CommandResultError]: ansible-tower-setup exit code: 2  Method:[rescue in do_before_work_loop]
[----] E, [2017-05-10T12:42:42.313053 #356:f3f3cc] ERROR -- : /opt/rh/cfme-gemset/gems/awesome_spawn-1.4.1/lib/awesome_spawn.rb:105:in `run!'
/var/www/miq/vmdb/lib/embedded_ansible.rb:102:in `block in run_setup_script'
/var/www/miq/vmdb/lib/embedded_ansible.rb:112:in `with_inventory_file'
/var/www/miq/vmdb/lib/embedded_ansible.rb:95:in `run_setup_script'
/var/www/miq/vmdb/lib/embedded_ansible.rb:54:in `start'
/var/www/miq/vmdb/app/models/embedded_ansible_worker/runner.rb:37:in `setup_ansible'
/var/www/miq/vmdb/app/models/embedded_ansible_worker/runner.rb:13:in `do_before_work_loop'
/var/www/miq/vmdb/app/models/embedded_ansible_worker/runner.rb:7:in `prepare'
/var/www/miq/vmdb/app/models/miq_worker/runner.rb:129:in `start'
/var/www/miq/vmdb/app/models/miq_worker/runner.rb:21:in `start_worker'
/var/www/miq/vmdb/app/models/embedded_ansible_worker.rb:10:in `block in start_runner'
Comment 4 Nick Carboni 2017-06-30 10:22:45 EDT
This is resolved as of https://github.com/ManageIQ/manageiq-pods/pull/163
Comment 5 Satoe Imaishi 2017-06-30 10:42:46 EDT
Putting back to ON_DEV as separate change is needed for downstream.
Comment 7 Ievgen Zapolskyi 2017-10-31 12:09:02 EDT
Verified in 5.9.0.4.20171024163837_ef71ea6
I see some messages the following 
[----] I, [2017-10-31T16:06:14.505887 #7:88e0ec4]  INFO -- : MIQ(EmbeddedAnsible.container_start) Waiting for Ansible co
ntainer to respond
However, Embedded Ansible role is enabled in UI w/o issues.
Comment 10 errata-xmlrpc 2018-03-01 08:33:16 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0382

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