Bug 1439362

Summary: UI log collection does not collect ansible logs
Product: Red Hat CloudForms Management Engine Reporter: Josh Carter <jocarter>
Component: ApplianceAssignee: Gregg Tanzillo <gtanzill>
Status: CLOSED CURRENTRELEASE QA Contact: Oleksii Tsuman <otsuman>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: abellott, jhardy, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly
Target Release: 5.9.0   
Hardware: All   
OS: All   
Whiteboard: ansible:appliance
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1442888 (view as bug list) Environment:
Last Closed: 2018-03-06 14:54:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1442888    

Description Josh Carter 2017-04-05 19:42:08 UTC
Description of problem:

UI log collection does not collect the ansible logs from /var/log/tower/*

Current log files collected:

Archive:  10241024-Current_region_21_default_21000000000001_EVM_21000000000001_20170405_142130_20170405_150133.zip
  inflating: log/evm.log
  inflating: log/top_output.log
  inflating: log/vmstat_output.log
  inflating: log/appliance_console.log
  inflating: log/production.log
  inflating: log/audit.log
  inflating: log/fog.log
  inflating: log/policy.log
  inflating: log/vim.log
  inflating: log/rhevm.log
  inflating: log/aws.log
  inflating: log/lenovo.log
  inflating: log/kubernetes.log
  inflating: log/middleware.log
  inflating: log/datawarehouse.log
  inflating: log/scvmm.log
  inflating: log/azure.log
  inflating: log/api.log
  inflating: log/websocket.log
  inflating: log/automation.log
  inflating: log/apache/miq_apache.log
  inflating: log/apache/ssl_error.log
  inflating: log/apache/ssl_access.log
  inflating: log/apache/ssl_request.log
  inflating: log/last_settings.txt
  inflating: log/last_startup.txt
  inflating: log/gem_list.txt
  inflating: log/package_list_rpm.txt
  inflating: config/api.yml
  inflating: config/application.rb
  inflating: config/boot.rb
  inflating: config/brakeman.ignore
  inflating: config/brakeman.yml
  inflating: config/cable.yml.sample
  inflating: config/database.pg.yml
  inflating: config/default_replication_exclude_tables.yml
  inflating: config/dictionary_strings.rb
  inflating: config/environment.rb
   creating: config/environments/
  inflating: config/ha_admin.yml
  inflating: config/human_locale_names.yaml
   creating: config/initializers/
  inflating: config/model_attributes.rb
  inflating: config/permissions.tmpl.yml
  inflating: config/permissions.yml
  inflating: config/preinitializer.rb
  inflating: config/puma.rb
  inflating: config/routes.rb
  inflating: config/secrets.yml.sample
   creating: config/settings/
  inflating: config/settings.yml
  inflating: config/supported_locales.yml
  inflating: config/yaml_strings.rb
  inflating: config/cable.yml
  inflating: config/database.yml
  inflating: ROOT/var/log/messages
  inflating: ROOT/var/log/cron
  inflating: BUILD
  inflating: GUID
  inflating: VERSION
  inflating: ROOT/var/opt/rh/rh-postgresql95/lib/pgsql/data/postgresql.conf
  inflating: ROOT/var/opt/rh/rh-postgresql95/lib/pgsql/data/postgresql.auto.conf
  inflating: ROOT/var/opt/rh/rh-postgresql95/lib/pgsql/data/pg_hba.conf
  inflating: ROOT/var/opt/rh/rh-postgresql95/lib/pgsql/data/pg_ident.conf
  inflating: ROOT/var/opt/rh/rh-postgresql95/lib/pgsql/data/pg_log/postgresql.log

Version-Release number of selected component (if applicable):5.8.0.9-alpha2.20170404195944_1d7ece4 


How reproducible: very


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:
These log files should be collect since this is now a CloudForms role and not a provider

Additional info:

Comment 2 Gregg Tanzillo 2017-04-13 22:08:33 UTC
PR - https://github.com/ManageIQ/manageiq/pull/14770

Comment 3 CFME Bot 2017-04-17 13:16:31 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/6f567744507899579e77ac0998ace5ccbd0f7fd4

commit 6f567744507899579e77ac0998ace5ccbd0f7fd4
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Thu Apr 13 18:06:27 2017 -0400
Commit:     Gregg Tanzillo <gtanzill>
CommitDate: Thu Apr 13 18:06:27 2017 -0400

    Include embedded ansible logs in log collection
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1439362

 config/settings.yml | 1 +
 1 file changed, 1 insertion(+)

Comment 5 Oleksii Tsuman 2017-11-16 07:25:59 UTC
verified in 5.9.0.8.20171109215303_ed87902