Bug 1443927

Summary: "Collect" button is absent on slave server log collection page
Product: Red Hat CloudForms Management Engine Reporter: Oleksii Tsuman <otsuman>
Component: UI - OPSAssignee: Dávid Halász <dhalasz>
Status: CLOSED CURRENTRELEASE QA Contact: Oleksii Tsuman <otsuman>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: dajohnso, hkataria, jhardy, mpovolny, obarenbo, otsuman, simaishi
Target Milestone: GAKeywords: Regression, TestOnly, ZStream
Target Release: 5.9.0Flags: otsuman: automate_bug+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:button, log_collect:distributed
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1444505 (view as bug list) Environment:
Last Closed: 2018-03-06 14:49:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1444505    
Attachments:
Description Flags
screenshot none

Description Oleksii Tsuman 2017-04-20 09:25:33 UTC
Created attachment 1272896 [details]
screenshot

Description of problem:
"Collect" button is absent when trying to collect logs from slave server when bots servers joined under one zone

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


How reproducible:


Steps to Reproduce:
1. Set two appliances into distributed mode (join region)
2. Login into master server 
3. Go to Configuration -> Diagnostics -> "Slave server"(e.g. EVM [2]) -> Collect Logs

Actual results:
"Collect" button is absent

Expected results:
"Collect" button is present and possible to collect logs 


Additional info:
present in 5.8.0.11-beta2.20170418170914_a53d2a7

Comment 4 Oleksii Tsuman 2017-04-21 08:38:54 UTC
I can reproduce it

We need 2 appliances - master (preconfigured) and slave (unconfigured)

1) login to slave shell and open appliance_console
2) select "Configure Database"
3) Fetch key from master
4) join region - set master creds
5) login to master shell and restart evm server
6) login to master web ui 
7)  Go to Configuration -> Diagnostics -> "Slave server"(e.g. EVM [2]) -> Collect Logs

"Collect" button will be absent - see screenshot 

In this case "collect" button present if you select EVM [1] (master) but absent if you select EVM [2] (slave) in accordion tree

Comment 7 CFME Bot 2017-04-21 12:03:56 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/cfc4931dfbba7f5136ce46c66f4f685ee1cdc2d3

commit cfc4931dfbba7f5136ce46c66f4f685ee1cdc2d3
Author:     Dávid Halász <dhalasz>
AuthorDate: Fri Apr 21 13:09:12 2017 +0200
Commit:     Dávid Halász <dhalasz>
CommitDate: Fri Apr 21 13:09:12 2017 +0200

    Explicitly set the @record in ops controller on diagnostics screens
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1443927
    https://bugzilla.redhat.com/show_bug.cgi?id=1444085

 app/controllers/ops_controller.rb             | 1 +
 app/controllers/ops_controller/diagnostics.rb | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

Comment 10 Oleksii Tsuman 2017-10-19 19:26:16 UTC
verified in 5.9.0.2.20171010190026_0413a06