Created attachment 1070282 [details] VMware hostname in IP address field Description of problem: Inventory refresh fails to find and IP address for VMware hosts, this leads to the hostname showing up in the database and on the UI where the IP address should be. During refresh the following is observed in the logs: IP lookup for host in VIM inventory data...Failed. Falling back to reverse lookup. IP lookup by hostname [per410b-t4.manageiq.com]...Failed with the following error: getaddrinfo: Name or service not known Version-Release number of selected component (if applicable): Observed on 5.3 and upstream manageiq How reproducible: 100% Steps to Reproduce: 1. Deploy CFME or ManageIQ appliance and add a vCenter 2. Wait for inventory refresh to complete 3. Go to hosts tab for that provider and observe the IP address field Actual results: Hostname is in the IP address field Expected results: IP address is in the IP address field Additional info:
Pull Request: https://github.com/ManageIQ/manageiq/pull/4238
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/b0cb3a76e0ac553186395d4412aabd0c13d1069d commit b0cb3a76e0ac553186395d4412aabd0c13d1069d Author: Adam Grare <agrare> AuthorDate: Mon Sep 7 12:43:05 2015 -0400 Commit: Adam Grare <agrare> CommitDate: Thu Sep 10 13:18:29 2015 -0400 Fix IP address lookup on VMware hosts Fix for missing ip address on vmware hosts due to ||= returning an empty array. https://bugzilla.redhat.com/show_bug.cgi?id=1260139 .../manageiq/providers/vmware/infra_manager/refresh_parser.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
New commit detected on cfme/5.4.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=af1c19daff168f63ff526313e5b987d0c4e9cdff commit af1c19daff168f63ff526313e5b987d0c4e9cdff Author: Adam Grare <agrare> AuthorDate: Mon Sep 7 12:43:05 2015 -0400 Commit: Adam Grare <adam> CommitDate: Fri Sep 11 09:02:07 2015 -0400 Fix IP address lookup on VMware hosts Fix for missing ip address on vmware hosts due to ||= returning an empty array. https://bugzilla.redhat.com/show_bug.cgi?id=1260139 vmdb/app/models/ems_refresh/parsers/vc.rb | 7 ++++--- 1 file changed, 4 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/RHSA-2015:2551
https://github.com/ManageIQ/manageiq/pull/6577
Detected commit referencing this ticket while ticket status is CLOSED.