Bug 1273404 - Optimize Planning does not show duplicate VMs
Summary: Optimize Planning does not show duplicate VMs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: GA
: 5.6.1
Assignee: lgalis
QA Contact: Nandini Chandra
URL:
Whiteboard: optimize
Depends On:
Blocks: 1291758 1356662
TreeView+ depends on / blocked
 
Reported: 2015-10-20 11:45 UTC by Christian Jung
Modified: 2022-07-09 07:43 UTC (History)
5 users (show)

Fixed In Version: 5.6.1.2
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1291758 1356662 (view as bug list)
Environment:
Last Closed: 2016-08-18 17:44:29 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
two VMs with the same name in different providers (7.20 KB, image/png)
2015-10-20 11:48 UTC, Christian Jung
no flags Details
Optimize, Planning only shows one VM (31.00 KB, image/png)
2015-10-20 11:49 UTC, Christian Jung
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:1634 0 normal SHIPPED_LIVE Important: CFME 5.6.1 security, bug fix, and enhancement update 2016-08-18 21:43:52 UTC

Description Christian Jung 2015-10-20 11:45:07 UTC
Description of problem:
Sometimes VMs with the same name can exist in multiple providers. E.g. "test1" exists in VMWare and RHEV.

In such a scenario the Optimize, Planning feature of CF only shows one of the two VMs.

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

How reproducible:
always

Steps to Reproduce:
1. create two providers e.g. RHEV and VMware
2. create a VM called "test1" in both providers
3. navigate to "Optimize, Planning"
4. select "All VMs"
5. the drop down list only shows "test1" once and does not indicate to which provider the VM belongs

Actual results:
"test1" is shown only once and there is no way to tell to which provider it belongs

Expected results:
there should be two VMs showing up and ideally they should indicate to which provider they belong (maybe something like "<vm name> on <provider>"

Comment 2 Christian Jung 2015-10-20 11:48:42 UTC
Created attachment 1084697 [details]
two VMs with the same name in different providers

Comment 3 Christian Jung 2015-10-20 11:49:32 UTC
Created attachment 1084698 [details]
Optimize, Planning only shows one VM

you can also see there is no way to tell on which provider this VM runs

Comment 6 CFME Bot 2016-06-27 20:01:00 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/4aad6822a43576d57c9f60adb614476d86f14109

commit 4aad6822a43576d57c9f60adb614476d86f14109
Author:     Laura Galis <lgalis>
AuthorDate: Wed Jun 22 11:56:24 2016 -0400
Commit:     Laura Galis <lgalis>
CommitDate: Mon Jun 27 13:35:27 2016 -0400

    VM with duplicate names are not listed in the Optimize->Planning VM list
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1273404

 app/controllers/miq_capacity_controller.rb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Comment 10 Nandini Chandra 2016-08-05 16:15:37 UTC
Verified in  5.6.1

Comment 12 errata-xmlrpc 2016-08-18 17:44:29 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://rhn.redhat.com/errata/RHSA-2016-1634.html


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