Bug 1686884 - [RHV 4.3] IP Address Not Always Being Displayed in CFME
Summary: [RHV 4.3] IP Address Not Always Being Displayed in CFME
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.10.1
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: GA
: 5.11.0
Assignee: Boriso
QA Contact: Angelina Vasileva
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks: 1661283 1711957
TreeView+ depends on / blocked
 
Reported: 2019-03-08 15:25 UTC by juwatts
Modified: 2019-12-13 14:57 UTC (History)
16 users (show)

Fixed In Version: 5.11.0.5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1711957 (view as bug list)
Environment:
Last Closed: 2019-12-13 14:57:32 UTC
Category: Bug
Cloudforms Team: RHEVM
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
cfme (48.67 KB, image/png)
2019-03-08 15:25 UTC, juwatts
no flags Details
rhev 4.3 (20.09 KB, image/png)
2019-03-08 15:25 UTC, juwatts
no flags Details

Description juwatts 2019-03-08 15:25:02 UTC
Created attachment 1542125 [details]
cfme

Description of problem:
When a VM is spun in up rhev 4.3 with external and internal IP addresses; CFME will sometimes display them all (MAC, internal, external), just one, or none of the information. 


Version-Release number of selected component (if applicable):
5.10.1.2.20190219165527_7a4a22b

How reproducible:
100%

Steps to Reproduce:
1. Add RHEV 4.3 as a infrastructure provider
2. Navigate to Infrastructure->Virtual Machines
3. Select a few virtual machines and look at the IP address in the properties table.

Actual results:
Some VMs are not displayed the IP address even though it is displayed in rhev

Expected results:
IP addresses are displayed

Additional info:

Attaching screen shots

Comment 2 juwatts 2019-03-08 15:25:26 UTC
Created attachment 1542126 [details]
rhev 4.3

Comment 6 Adam Grare 2019-03-15 14:02:46 UTC
Hey Martin can you see if this is an issue with RHV refresh?

Comment 8 Martin Perina 2019-03-15 14:27:27 UTC
AFAIK VM IP/hostname is fetched from VM only if guest-agent (ovirt-guest-agent in 4.2 and below, qemu-guest-agent in 4.3+) is installed within VM. So could you please check RHV Manager webadmin if IPs are displayed there? If not, then guest-agent is not installed within VM and it must be installed there manually.

Comment 14 CFME Bot 2019-05-20 12:47:09 UTC
New commit detected on ManageIQ/manageiq-providers-ovirt/master:

https://github.com/ManageIQ/manageiq-providers-ovirt/commit/2ae0116d07ce20d15e673547b22bdba88e6ca83d
commit 2ae0116d07ce20d15e673547b22bdba88e6ca83d
Author:     Boris Odnopozov <bodnopoz>
AuthorDate: Mon May 20 08:22:18 2019 -0400
Commit:     Boris Odnopozov <bodnopoz>
CommitDate: Mon May 20 08:22:18 2019 -0400

    Fix refreshing vm ips - multiple reported devices

    When a vm would have several network reported devices and one of them
    would not have an ipaddress we would not get the ips from all the
    devices that come after it.

    Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1686884

 app/models/manageiq/providers/redhat/inventory/parser/infra_manager.rb | 2 +-
 spec/models/manageiq/providers/redhat/infra_manager/refresh/refresher_4_async_graph_spec.rb | 6 +-
 spec/models/manageiq/providers/redhat/infra_manager/refresh/refresher_4_async_spec.rb | 4 +-
 spec/vcr_cassettes/manageiq/providers/redhat/infra_manager/refresh/ovirt_sdk_refresh_recording.yml | 64 +
 4 files changed, 71 insertions(+), 5 deletions(-)

Comment 16 Angelina Vasileva 2019-05-29 08:28:59 UTC
Verified in 5.11.0.5.20190521144849_d0a06e6 with RHV 4.3.3.5-0.1.el7.

All IP addresses are shown in CFME.


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