Based on information provided in comment #1 I see that each host is different in RHV. uid_ems is unique and I see that there were 3 hosts where 2 of them used the same guid (possibly host reuse). I am not able to access customer case due to timeout. Please provide more information about the issue and the steps to reproduce.
As I mentioned in comment #4 based on provided information it looks like not a bug. Please provide the evm and rhevm logs.
Sandro, Is it possible that a host name is changed during engine upgrade?
Adding back needinfo
(In reply to Piotr Kliczewski from comment #9)
> Sandro, Is it possible that a host name is changed during engine upgrade?
No. For renaming the engine host there's a separate tool which doesn't perform upgrades. If you want to change name and upgrade, you need to do it in 2 steps.
> The behavior on CFME-220.127.116.11 in CFME has changed, and for RHV provider,
> the host name number suffix is no longer added. I guess that would be true for > any flow.
> Can you please confirm/correct?
That's correct in 5.9 we removed the unique hostname requirement for all providers.
> Adam, hoe risky is the backport of your patch which removes host name suffixes > to 5.8.z?
It isn't risky and it should cherry-pick cleanly, https://github.com/ManageIQ/manageiq/pull/15795 for reference
New commit detected on ManageIQ/manageiq/fine:
Author: Jason Frey <email@example.com>
AuthorDate: Mon Oct 9 16:34:22 2017 -0400
Commit: Satoe Imaishi <firstname.lastname@example.org>
CommitDate: Wed Feb 28 17:35:04 2018 -0500
Merge pull request #15795 from agrare/do_we_need_host_names_to_be_unique
Remove Host name uniqueness check and retry-loop
(cherry picked from commit 565d7178e3daff9aa7b7e36c226dde238b98e7fe)
app/models/ems_refresh/save_inventory_infra.rb | 10 +---------
app/models/host.rb | 1 -
spec/models/ems_refresh/save_inventory_infra_spec.rb | 11 -----------
3 files changed, 1 insertion(+), 21 deletions(-)
Verified on CFME-18.104.22.168/RHV-22.214.171.124
Added 2 RHV providers with hosts, that have same names.
The hosts were added with the same name.
There was no use in any suffix number, as was before, on CFME-5.8.3.
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.