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>"
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
https://github.com/ManageIQ/manageiq/pull/9360
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(-)
https://github.com/ManageIQ/manageiq/pull/9370
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. https://rhn.redhat.com/errata/RHSA-2016-1634.html