Bug 1328145
| Summary: | Provisioning failing in production due to ESX Hosts with Identical host names in the VMDB causing the DISPLAY name to dynamically increment over multiple refreshes | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Thomas Hennessy <thenness> |
| Component: | Providers | Assignee: | Adam Grare <agrare> |
| Status: | CLOSED ERRATA | QA Contact: | Alex Newman <anewman> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.5.0 | CC: | carnott, jdeubel, jfrey, jhardy, jocarter, mfeifer, obarenbo, simaishi, ssainkar |
| Target Milestone: | GA | ||
| Target Release: | 5.6.0 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 5.6.0.5 | Doc Type: | Bug Fix |
| Doc Text: |
In the previous version of CloudForms Management Engine, provisioning failed in production due to ESX hosts with identical host names in the VMDB causing the display name to dynamically increment over multiple refreshes.
This patch when saving a host now checks to see if the found.name is the current host name plus a duplicate host name suffix. This prevents the host name from being constantly incremented with every ems_refresh which has now resolved the issue.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-06-29 15:50:38 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Attachments: | |||
|
Description
Thomas Hennessy
2016-04-18 14:58:51 UTC
Created attachment 1148232 [details]
sample evm.log lines showing how the display name become altered for ip address 10.2.2230.15
Created attachment 1148233 [details]
sample evm.log lines showing how the display name become altered for ip address 10.2.230.16
Greg and Adam, I have confirmed with the customer who reported this issue that the hosts which are duplicated were significantly changed (new hardware and software) and reintroduced back into the CFME environment. What is troubling from a provisioning perspective is that the host name ( referred to be me as 'display name') seems to be changing each time an emsrefresh is executed making the name a moving target so that if provisioning were set up to provision to a fixed name, it would fail 9 times out of 10 because of the way the host display names are changing. Tom Hennessy New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/40961a3cc401325b458d458b749b7a8b553e5d32 commit 40961a3cc401325b458d458b749b7a8b553e5d32 Author: Adam Grare <agrare> AuthorDate: Mon Apr 25 12:23:49 2016 -0400 Commit: Adam Grare <agrare> CommitDate: Mon Apr 25 16:53:35 2016 -0400 Fix host name collision incrementing every refresh When saving a host, check to see if the found.name is the current host name plus a duplicate host name suffix. This prevents the host name from being constantly incremented every ems_refresh. https://bugzilla.redhat.com/show_bug.cgi?id=1328145 app/models/ems_refresh/save_inventory_infra.rb | 12 +++++++++--- spec/models/ems_refresh/save_inventory_infra_spec.rb | 11 +++++++++++ 2 files changed, 20 insertions(+), 3 deletions(-) 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/RHBA-2016:1348 |