Bug 1578925 - Embedded ansible fails to finish activating on fresh appliance
Summary: Embedded ansible fails to finish activating on fresh appliance
Keywords:
Status: CLOSED DUPLICATE of bug 1579274
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: GA
: 5.8.4
Assignee: Gregg Tanzillo
QA Contact: luke couzens
URL:
Whiteboard: ansible_embed
: 1578991 (view as bug list)
Depends On:
Blocks: 1565162
TreeView+ depends on / blocked
 
Reported: 2018-05-16 15:46 UTC by luke couzens
Modified: 2018-05-17 13:40 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-17 13:40:55 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description luke couzens 2018-05-16 15:46:11 UTC
Description of problem:Embedded ansible fails to finish activating on fresh appliance


Version-Release number of selected component (if applicable):5.8.4.3


How reproducible:100%


Steps to Reproduce:
1.Provision appliance
2.enable embedded ansible

Actual results:
Notifications filled with 'The role Embedded Ansible has started activation on server EVM'

Expected results:
Embedded ansible role started and activated correctly

Additional info:
evm.log
--
:guid: 72f4fd56-5910-11e8-9e83-001a4a420791
[----] I, [2018-05-16T11:40:16.858034 #2455:90b104]  INFO -- : MIQ(MiqEventHandler::Runner#message_sync_config) MIQ(MiqEventHandler::Runner) Synchronizing configuration complete...
[----] E, [2018-05-16T11:40:20.135399 #2029:56353f8] ERROR -- : AwesomeSpawn: ansible-tower-setup exit code: 2
[----] E, [2018-05-16T11:40:20.135501 #2029:56353f8] ERROR -- : AwesomeSpawn: 
[----] E, [2018-05-16T11:40:20.135779 #2029:56353f8] ERROR -- : MIQ(EmbeddedAnsible.run_setup_script) EmbeddedAnsible setup script failed with: ansible-tower-setup exit code: 2
[----] I, [2018-05-16T11:40:20.144732 #2029:56353f8]  INFO -- : MIQ(AuthToken#after_authentication_changed) [MiqDatabase] [1], previously valid on: []
[----] I, [2018-05-16T11:40:20.151483 #2029:56353f8]  INFO -- : MIQ(MiqQueue.put) Message id: [1251],  id: [], Zone: [default], Role: [], Server: [], Ident: [generic], Target id: [], Instance id: [1], Task id: [], Command: [MiqDatabase.authentication_check_types], Timeout: [600], Priority: [100], State: [ready], Deliver On: [], Data: [], Args: [[:ansible_secret_key], {}]
[----] E, [2018-05-16T11:40:20.153778 #2029:56353f8] ERROR -- : [AwesomeSpawn::CommandResultError]: ansible-tower-setup exit code: 2  Method:[rescue in do_before_work_loop]
[----] E, [2018-05-16T11:40:20.153889 #2029:56353f8] 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:111:in `block in run_setup_script'
/var/www/miq/vmdb/lib/embedded_ansible.rb:127:in `with_inventory_file'
/var/www/miq/vmdb/lib/embedded_ansible.rb:104:in `run_setup_script'
/var/www/miq/vmdb/lib/embedded_ansible.rb:61:in `start'
/var/www/miq/vmdb/app/models/embedded_ansible_worker/runner.rb:36: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:133: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:20:in `block in start_monitor_thread'

/var/log/tower/setup
http://pastebin.test.redhat.com/592101

Comment 2 Kedar Kulkarni 2018-05-16 18:45:00 UTC
*** Bug 1578991 has been marked as a duplicate of this bug. ***

Comment 3 Chris Pelland 2018-05-17 13:40:55 UTC

*** This bug has been marked as a duplicate of bug 1579274 ***


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