Red Hat Bugzilla – Bug 1273404
Optimize Planning does not show duplicate VMs
Last modified: 2016-08-19 15:28:29 EDT
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):
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
"test1" is shown only once and there is no way to tell to which provider it belongs
there should be two VMs showing up and ideally they should indicate to which provider they belong (maybe something like "<vm name> on <provider>"
Created attachment 1084697 [details]
two VMs with the same name in different providers
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
New commit detected on ManageIQ/manageiq/master:
Author: Laura Galis <email@example.com>
AuthorDate: Wed Jun 22 11:56:24 2016 -0400
Commit: Laura Galis <firstname.lastname@example.org>
CommitDate: Mon Jun 27 13:35:27 2016 -0400
VM with duplicate names are not listed in the Optimize->Planning VM list
app/controllers/miq_capacity_controller.rb | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Verified in 5.6.1
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.