Bug 1633732 - Power operations available for archived VM's quadicon
Summary: Power operations available for archived VM's quadicon
Keywords:
Status: CLOSED DUPLICATE of bug 1655477
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.10.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: GA
: 5.10.2
Assignee: Hilda Stastna
QA Contact: Jad Haj Yahya
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-27 15:25 UTC by Jan Zmeskal
Modified: 2019-02-22 15:01 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-22 08:37:39 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Power dropdown enabled (55.32 KB, image/png)
2018-09-27 15:25 UTC, Jan Zmeskal
no flags Details

Description Jan Zmeskal 2018-09-27 15:25:12 UTC
Created attachment 1487819 [details]
Power dropdown enabled

Description of problem:
Power dropdown (and all its operations!) is available for an archived VM if you access it from quadicon.

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

How reproducible:
100 %

Steps to Reproduce:
1. Have a CFME appliance with infra provider (tested with RHV 4.2.7) that has at least one archived VM.
2. Go to Compute -> Infrastructure -> Virtual Machines.
3. Get to the "Archived" section under All VMs & Templates in the left-side panel.
4. Select one of the archived VMs by using checkbox next to its quadicon.
5. Click Power dropdown from the toolbar in the upper section of the page.

Actual results:
Power dropdown is clickable and all the power operations are available and clickable as well. This does not make sense for archived VM. If you click "Power On", this gets printed into evm.log:
[----] E, [2018-09-27T11:07:41.746585 #13621:8ecf74] ERROR -- : MIQ(MiqQueue#deliver) Message id: [804], Error: [vm does not belong to any host]
[----] E, [2018-09-27T11:07:41.747054 #13621:8ecf74] ERROR -- : [RuntimeError]: vm does not belong to any host  Method:[block (2 levels) in <class:LogProxy>]

Expected results:
Power dropdown should not be active at all since power operations do not make sense for an archived VM.

Additional info:
- The same is true when using List View instead of Grid View.

Comment 5 Hilda Stastna 2019-02-22 08:37:39 UTC

*** This bug has been marked as a duplicate of bug 1655477 ***


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