Bug 1504006 - Orphaned and Archived VMs displayed in running vms filter
Summary: Orphaned and Archived VMs displayed in running vms filter
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Reporting
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: GA
: 5.10.0
Assignee: Yuri Rudman
QA Contact: Angelina Vasileva
URL:
Whiteboard: ui:filter:vm
Depends On:
Blocks: 1569099 1569100
TreeView+ depends on / blocked
 
Reported: 2017-10-19 09:37 UTC by Matouš Mojžíš
Modified: 2019-06-06 13:07 UTC (History)
7 users (show)

Fixed In Version: 5.10.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1569099 1569100 (view as bug list)
Environment:
Last Closed: 2019-02-11 13:53:32 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Orphaned & Archived VMs displayed (117.46 KB, image/png)
2017-10-19 09:37 UTC, Matouš Mojžíš
no flags Details

Description Matouš Mojžíš 2017-10-19 09:37:40 UTC
Created attachment 1340651 [details]
Orphaned & Archived VMs displayed

Description of problem:


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

How reproducible:
Always

Steps to Reproduce:
1. Have some orphaned and/or archived VMs
2. Go to Compute -> Infrastructure -> VMs
3. Select Status / Running filter

Actual results:
Orphaned and archived VMs are also displayed in running vms filter.

Expected results:
Only really running VMs that are active should be displayed.

Additional info:

Comment 2 Yuri Rudman 2017-11-02 13:18:58 UTC
Can not duplicate it. Works as expected on upstream master and on fine branches (using 5_8_dc_MBU_demo_07152017.backup database). Having db dump with reported issue would help to investigate.

Comment 3 Matouš Mojžíš 2017-11-06 14:17:16 UTC
I investigated this issue and found out that the problem is somewhere else.
When I delete provider with running Instances then running instances are archived, but still act like they are running and are displayed in running filter.

Comment 4 Matouš Mojžíš 2017-11-06 14:17:49 UTC
Also I got database dump from appliance having this issue.

Comment 9 CFME Bot 2018-04-10 14:42:23 UTC
New commit detected on ManageIQ/manageiq/master:

https://github.com/ManageIQ/manageiq/commit/74bb8182b4ad38f82cc881be838a09df0f6682dc
commit 74bb8182b4ad38f82cc881be838a09df0f6682dc
Author:     Yuri Rudman <yrudman>
AuthorDate: Tue Mar 20 18:14:17 2018 -0400
Commit:     Yuri Rudman <yrudman>
CommitDate: Tue Mar 20 18:14:17 2018 -0400

    filter out archived and orphaned VMs in 'Running VMs' filter
    https://bugzilla.redhat.com/show_bug.cgi?id=1504006

 db/fixtures/miq_searches.yml | 30 +-
 1 file changed, 21 insertions(+), 9 deletions(-)

Comment 12 Matouš Mojžíš 2018-08-06 16:40:59 UTC
Verified in 5.10.0.8. Orphaned/archived VMs are not displayed when using Running filter.


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