Bug 1254636

Summary: OpenStack: Archived instances are not shown in the "archive" tree
Product: Red Hat CloudForms Management Engine Reporter: Christian Jung <cbolz>
Component: UI - OPSAssignee: Roman Blanco <rblanco>
Status: CLOSED ERRATA QA Contact: Niyaz Akhtar Ansari <nansari>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.4.0CC: hkataria, jhardy, jprause, mpovolny, nachandr, obarenbo
Target Milestone: GA   
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: openstack:vm
Fixed In Version: 5.6.0.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-29 14:59:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christian Jung 2015-08-18 14:31:02 UTC
Description of problem:
OpenStack Instances which just recently have been retired, still show up next to regular instances and not in the "Archived" section.

Please check attached screenshot which should illustrate the issue.


Version-Release number of selected component (if applicable):
cfme-5.4.1.0-1.el6cf.x86_64

How reproducible:
always

Steps to Reproduce:
1. retire some OpenStack instances
2. Navigate to "Cloud, Instances"
3. Notice the instances show up under nova and _also_ under "archived"

Actual results:
VMs should only show up under archived after they have been retired (this is the behaviour with RHEV and VMware)

Expected results:


Additional info:

Comment 7 CFME Bot 2016-03-21 19:25:51 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/c7e254027e1abc6e67d69e8e35e90959b326a6c0

commit c7e254027e1abc6e67d69e8e35e90959b326a6c0
Author:     Roman Blanco <rblanco>
AuthorDate: Wed Oct 14 15:30:37 2015 +0200
Commit:     Roman Blanco <rblanco>
CommitDate: Mon Mar 7 13:18:42 2016 +0100

    Archived Openstack instances only in "Archived" tree
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1254636

 app/controllers/application_controller.rb | 2 +-
 app/models/miq_report/search.rb           | 2 ++
 app/presenters/tree_builder.rb            | 4 ----
 app/presenters/tree_builder_instances.rb  | 1 +
 app/views/layouts/_x_gtl.html.haml        | 2 +-
 spec/models/miq_report_spec.rb            | 2 ++
 6 files changed, 7 insertions(+), 6 deletions(-)

Comment 9 Niyaz Akhtar Ansari 2016-04-19 13:33:35 UTC
Instances are shown only in the "archived" tree after retired instances

Verified in 5.6.0.1-beta2.20160413141124_e25ac0e

Comment 11 errata-xmlrpc 2016-06-29 14:59:12 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1348