Bug 1389055

Summary: Unable to trigger a smartstate scan from the clouds Instances view unlike infra vm view
Product: Red Hat CloudForms Management Engine Reporter: Josh Carter <jocarter>
Component: UI - OPSAssignee: Jozef Zigmund <jzigmund>
Status: CLOSED CURRENTRELEASE QA Contact: Satyajit Bulage <sbulage>
Severity: medium Docs Contact:
Priority: high    
Version: 5.7.0CC: cpelland, hkataria, jhardy, mpovolny, obarenbo
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.8.0   
Hardware: All   
OS: All   
Whiteboard: cloud:smartstate
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1404825 (view as bug list) Environment:
Last Closed: 2017-06-12 16:49:39 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:
Bug Depends On:    
Bug Blocks: 1404825    

Description Josh Carter 2016-10-26 18:07:29 UTC
Description of problem:

We should have the same behavior to trigger a smart state scan. Users can trigger a scan from both the virtual machines view and virtual machine details view. Users can only trigger smart state scans view instance details view. 

Version-Release number of selected component (if applicable):
 Version 5.7.0.7-beta1.20161025153249_9376fbd 

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Harpreet Kataria 2016-10-26 20:24:10 UTC
Jozef,

Can you look into this, Smartstate Analysis Profile button should be available on list of Instances and should work the same way as it does on list of VMs view, if a selected Instance type from the list view does not support smartstate analysis, it should show a flash message similar to the way it does on Infrastructure side.
looks like https://github.com/ManageIQ/manageiq/blob/master/app/helpers/application_helper/button/vm_instance_template_scan.rb is making Smartstate Analysis button not visible on list of Instances screen. Let me know if we need to discuss.

Thanks,
~Harpreet

Comment 4 CFME Bot 2016-12-06 17:14:53 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/3ff61f3d6340dfb0f668a1689a572496d2700e14

commit 3ff61f3d6340dfb0f668a1689a572496d2700e14
Author:     Jozef Zigmund <jzigmund>
AuthorDate: Thu Nov 10 17:32:50 2016 +0100
Commit:     Jozef Zigmund <jzigmund>
CommitDate: Thu Nov 10 17:36:39 2016 +0100

    Change class for instance_scan button
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1389055

 app/helpers/application_helper/toolbar/vm_clouds_center.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comment 7 Satyajit Bulage 2017-03-08 15:07:44 UTC
Able to trigger a smartstate scan from the clouds Instances view, unlike infra VM view.

Verified Version: 5.8.0.4.20170307183144_745a3d9