Bug 1439735 - SmartProxy and SmartState Analysis roles required in the zone logged into to be able to perform Smart State Anaylsis
Summary: SmartProxy and SmartState Analysis roles required in the zone logged into to ...
Keywords:
Status: CLOSED DUPLICATE of bug 1513053
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: SmartState Analysis
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: cfme-future
Assignee: Mo Morsi
QA Contact: Satyajit Bulage
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-06 12:41 UTC by Ian Tewksbury
Modified: 2017-12-05 15:55 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-14 22:32:12 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
UI appliance roles in UI zone (386.30 KB, image/png)
2017-04-06 12:47 UTC, Ian Tewksbury
no flags Details
provider appliance in provider zone roles (393.36 KB, image/png)
2017-04-06 12:47 UTC, Ian Tewksbury
no flags Details
provider configuration (175.97 KB, image/png)
2017-04-06 12:48 UTC, Ian Tewksbury
no flags Details
error (533.15 KB, image/png)
2017-04-06 12:49 UTC, Ian Tewksbury
no flags Details

Description Ian Tewksbury 2017-04-06 12:41:04 UTC
Description of problem:
The "Perform SmartState Analysis" option for a VM on a RHV provider connected to a zone with the SmartProxy and SmartState Analysis roles enabled is disabled if the SmartProxy and SmartState Analysis roles are disabled in the zone in which the user is logged into.


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

How reproducible:
Can reproduce in lab reliably.


Steps to Reproduce:
1. Configure a "Core" zone with a UI appliance with the following roles:
* Automation Engine
* Provider Operations
* User Interface
* Web Services
* Websocket

2. Configure a RHV provider zone with a provider appliance with the following roles:
* Automation Engine 
* Capacity & Utilization Coordinator
* Capacity & Utilization Data Collector
* Capacity & Utilization Data Processor
* Event Monitor
* Provider Inventory
* Provider Operations
* Reporting
* SmartProxy
* SmartState Analysis
* User Interface
* Web Services

3. do all the steps to setup SSA for RHV
4. Log into the UI appliance in the "core" zone
5. Attempt to do the "Perform SmartState Analysis" action on a VM

Actual results:
The action to "Perform SmartState Analysis" is greyed out.


Expected results:
The action to "Perform SmartState Analysis" should be enabled.


Additional info:
If you log into an appliance in any zone with SmartProxy and SmartStat Analysis roles enabled then the action to "Perform SmartState Analysis" ie enabled. Whether or not that zone is the zone with the provider that the user wishes to perform SmartState Analysis on.


Found during 5.8 test-a-thon

Comment 2 Ian Tewksbury 2017-04-06 12:42:28 UTC
Confirmed this works as expected in 5.7.1.3.20170221135006_818f133

Comment 3 Ian Tewksbury 2017-04-06 12:47:24 UTC
Created attachment 1269381 [details]
UI appliance roles in UI zone

Comment 4 Ian Tewksbury 2017-04-06 12:47:48 UTC
Created attachment 1269383 [details]
provider appliance in provider zone roles

Comment 5 Ian Tewksbury 2017-04-06 12:48:28 UTC
Created attachment 1269384 [details]
provider configuration

Comment 6 Ian Tewksbury 2017-04-06 12:49:00 UTC
Created attachment 1269385 [details]
error

Comment 7 Jeff Warnica 2017-08-23 20:01:02 UTC
+1

And would rephrase: tl;dr: Smart State analysis is greyed out based on UI's zone, not VM's zone


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