Bug 1511030
Summary: | Updates to RHEV Host Causes Duplicate Names in CloudForms | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | myoder |
Component: | Providers | Assignee: | Piotr Kliczewski <pkliczew> |
Status: | CLOSED ERRATA | QA Contact: | Ilanit Stein <istein> |
Severity: | low | Docs Contact: | |
Priority: | high | ||
Version: | 5.8.0 | CC: | agrare, gblomqui, istein, jfrey, jhardy, mgoldboi, mperina, myoder, obarenbo, pkliczew, rmanes, sbonazzo, simaishi |
Target Milestone: | GA | Keywords: | ZStream |
Target Release: | 5.8.4 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | rhev | ||
Fixed In Version: | 5.8.4.1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-06-25 14:17:08 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | Bug | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | RHEVM | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1551709 |
Comment 4
Piotr Kliczewski
2017-11-14 08:57:16 UTC
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. See https://ovirt.org/documentation/admin-guide/chap-Utilities/#the-ovirt-engine-rename-tool > IIUC, > The behavior on CFME-5.9.0.17 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. > Adam, > 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: https://github.com/ManageIQ/manageiq/commit/2e23e3092eea3280203a3219ce5dc525bde5dd2a commit 2e23e3092eea3280203a3219ce5dc525bde5dd2a Author: Jason Frey <fryguy9> AuthorDate: Mon Oct 9 16:34:22 2017 -0400 Commit: Satoe Imaishi <simaishi> 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) https://bugzilla.redhat.com/show_bug.cgi?id=1511030 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-5.8.4.2/RHV-4.2.2.5 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. https://access.redhat.com/errata/RHSA-2018:1972 |