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
Created attachment 1542126 [details] rhev 4.3
Hey Martin can you see if this is an issue with RHV refresh?
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.
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(-)
Verified in 5.11.0.5.20190521144849_d0a06e6 with RHV 4.3.3.5-0.1.el7. All IP addresses are shown in CFME.