Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1260139 - IP Address of VMware host not found [NEEDINFO]
IP Address of VMware host not found
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers (Show other bugs)
5.4.0
Unspecified Unspecified
medium Severity low
: GA
: 5.5.0
Assigned To: Adam Grare
Kyrylo Zvyagintsev
: ZStream
Depends On:
Blocks: 1262024
  Show dependency treegraph
 
Reported: 2015-09-04 10:04 EDT by Adam Grare
Modified: 2016-02-09 12:43 EST (History)
8 users (show)

See Also:
Fixed In Version: 5.5.0.1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1262024 (view as bug list)
Environment:
Last Closed: 2015-12-08 08:29:23 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
cfme-bot: needinfo?


Attachments (Terms of Use)
VMware hostname in IP address field (22.26 KB, image/png)
2015-09-04 10:04 EDT, Adam Grare
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2551 normal SHIPPED_LIVE Moderate: CFME 5.5.0 bug fixes and enhancement update 2015-12-08 12:58:09 EST

  None (edit)
Description Adam Grare 2015-09-04 10:04:39 EDT
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:
Comment 2 Oleg Barenboim 2015-09-07 13:11:49 EDT
Pull Request: https://github.com/ManageIQ/manageiq/pull/4238
Comment 3 CFME Bot 2015-09-10 18:24:44 EDT
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/b0cb3a76e0ac553186395d4412aabd0c13d1069d

commit b0cb3a76e0ac553186395d4412aabd0c13d1069d
Author:     Adam Grare <agrare@redhat.com>
AuthorDate: Mon Sep 7 12:43:05 2015 -0400
Commit:     Adam Grare <agrare@redhat.com>
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(-)
Comment 4 CFME Bot 2015-09-28 08:18:11 EDT
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@redhat.com>
AuthorDate: Mon Sep 7 12:43:05 2015 -0400
Commit:     Adam Grare <adam@grare.com>
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(-)
Comment 7 errata-xmlrpc 2015-12-08 08:29:23 EST
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
Comment 9 CFME Bot 2016-02-09 12:43:17 EST
Detected commit referencing this ticket while ticket status is CLOSED.

Note You need to log in before you can comment on or make changes to this bug.