Bug 1496383 - Template quad icon choice allow power control operations
Summary: Template quad icon choice allow power control operations
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: GA
: cfme-future
Assignee: Harpreet Kataria
QA Contact: Dave Johnson
URL:
Whiteboard: core
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-27 08:55 UTC by Ilanit Stein
Modified: 2019-08-06 20:05 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-12-11 16:53:57 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Power options fro template screenshot (88.40 KB, image/png)
2017-09-27 08:57 UTC, Ilanit Stein
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1507993 0 high CLOSED Templates are not displayed 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1634713 0 medium CLOSED Power dropdown enabled for a template 2021-02-22 00:41:40 UTC

Internal Links: 1507993 1634713 1686012

Description Ilanit Stein 2017-09-27 08:55:45 UTC
Description of problem:
When choosing All VMs and Templates, under a RHV provider,
choosing template quad icon, show the Power menu as active,
and allow to run power operations on a template.

For example, it is possible to run "power on", when a specific Template quad icon is chosen,
and in response, this message will appear in UI:

"Start initiated for 1 VM and Instance from the CFME Database"

Version-Release number of selected component (if applicable):
CFME-5.8.2/RHV-4.1.6

How reproducible:
100%

Actual results:
"Power" options are open for Templates.

Expected results:
"Power" options should not be open for Templates.

Additional info:
This problem is seen for RHV provider, but probably related to other provider as well.

Comment 2 Ilanit Stein 2017-09-27 08:57:22 UTC
Created attachment 1331348 [details]
Power options fro template screenshot

Comment 3 Piotr Kliczewski 2017-10-30 13:31:35 UTC
This issue seems to be fixed on master by presenting only vms in that view. Will check which PR fixed it.

Comment 4 Piotr Kliczewski 2017-10-31 12:57:59 UTC
This bug seems to be generic bug. In master in this view there are no templates so the problem is not there.

Ilanit can we check whether there is not RHV specific BZ for this issue?

Comment 5 Ilanit Stein 2017-11-01 07:39:56 UTC
Found these 2 old related bugs: bug 938936, bug 945634, 
which are NOT provider specific, however both of them were not fixed.

As for not having the templates on CFME-5.9.0.4 (and on master) -
Filed Bug 1507993 - "Templates are not displayed" (
Once this bug is fixed, 
I'll be able to check if the problem,
of having power option available for Templates,
on CFME-5.9 is generic or RHV specific.

Comment 6 Oved Ourfali 2017-11-08 06:43:03 UTC
Ilanit, can you re-test?

Comment 7 Ilanit Stein 2017-11-15 13:35:37 UTC
Tested on CFME-5.9.0.8/VMWare.
 
It seems the same problem also exist for VMWare templates.
For VMWare templates, power operations, in VMs & Templates details page,
are possible to run, and they end up even successfully, as can be seen in the configuration->tasks page. 

Thus moving bug from RHV to CFME Core team.

Please noticed CFME related existing closed bugs, mentioned in comment 5

Comment 8 Ilanit Stein 2017-11-15 14:26:59 UTC
Bronagh,

Can you please explain why this bug was moved back to "RHEVM"?
As mentioned in comment 7, this bug seem to be NOT RHV specific,
but rather a general CFME bug.

Thanks.

Comment 9 Adam Grare 2018-01-29 16:24:02 UTC
I think the issue here is that the validations which are used to grey out the menu buttons only work when you have clicked on a specific instance, they aren't used on the list views.  For example if you are on the "All VMs & Templates" view and you multi-select 10 VMs from 3 different providers the reconfigure button is available even if one of those VMs says it doesn't support reconfigure.

I suppose it is possible to invoke the validations on every item that is checked but that sounds like a lot of processing everytime someone checks a box.  DanC I'm going to assign to you since this validation is all done at the UI level but I believe this is always the way it has been.


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