Bug 1530739

Summary: An IPv6 address for a RHV VM's NIC is incorrectly stored as an ipaddress attribute rather than ipv6address attribute
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Alona Kaplan <alkaplan>
Status: CLOSED ERRATA QA Contact: Ilanit Stein <istein>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: alkaplan, bsorota, danken, gblomqui, jfrey, jhardy, masayag, obarenbo, pmcgowan, simaishi
Target Milestone: GA   
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.0.15 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1511580 Environment:
Last Closed: 2018-03-01 13:23:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: RHEVM Target Upstream Version:
Embargoed:
Bug Depends On: 1511580    
Bug Blocks:    
Attachments:
Description Flags
VM_details_page.png
none
VM_network_page.png none

Comment 2 CFME Bot 2018-01-03 17:34:25 UTC
New commit detected on ManageIQ/manageiq-providers-ovirt/gaprindashvili:
https://github.com/ManageIQ/manageiq-providers-ovirt/commit/2dbf4af1b8f5b1ed850435e82030a0e843bbd947

commit 2dbf4af1b8f5b1ed850435e82030a0e843bbd947
Author:     Moti Asayag <masayag>
AuthorDate: Wed Dec 13 11:41:52 2017 +0200
Commit:     Satoe Imaishi <simaishi>
CommitDate: Wed Jan 3 12:21:17 2018 -0500

    Merge pull request #170 from AlonaKaplan/ips
    
    Store ipv4/ipv6 of guest devices aligned to vmware implementaion
    (cherry picked from commit 278d355ab6bc76df1194fc734f174a21c37d53ac)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1530739

 .../refresh/parse/strategies/vm_inventory.rb       | 59 ++++++++++++++------
 .../redhat/inventory/parser/infra_manager.rb       | 62 +++++++++++++++-------
 .../inventory_collection_default/infra_manager.rb  |  1 +
 .../refresh/refresher_4_async_graph_spec.rb        | 18 ++++++-
 .../refresh/refresher_4_async_spec.rb              | 18 ++++++-
 5 files changed, 121 insertions(+), 37 deletions(-)

Comment 3 Ilanit Stein 2018-01-04 10:01:02 UTC
Alona,

How this bug can be verified please?

Thanks,
Ilanit.

Comment 4 Alona Kaplan 2018-01-04 11:09:27 UTC
(In reply to Ilanit Stein from comment #3)
> Alona,
> 
> How this bug can be verified please?
> 
> Thanks,
> Ilanit.

You have to go to a specific VM and the click on the IP Addresses.
Peter, how would you verify it?

Comment 5 Ilanit Stein 2018-01-04 13:10:45 UTC
On CFME-5.9.0.15/RHV-4.2,

Have a rhel-7.4 running VM with this network:

nic1
Network Name
ovirtmgmt
IPv4
10.35.128.56
IPv6
fe80::200:ff:fe00:52, 2001::6

Please see screenshot attachments:
"VM_details_page.png"
"VM_network_page.png"

Peter, 
Is this OK?
IS there anything further that needs to be checked (maybe under Automate)?

thanks.

Comment 6 Ilanit Stein 2018-01-04 13:11:22 UTC
Created attachment 1376915 [details]
VM_details_page.png

Comment 7 Ilanit Stein 2018-01-04 13:11:57 UTC
Created attachment 1376917 [details]
VM_network_page.png

Comment 8 Peter McGowan 2018-01-08 10:05:53 UTC
looks good

Comment 9 Ilanit Stein 2018-01-08 12:55:11 UTC
Moving to Verified, based on comments 5, 8.

Comment 12 errata-xmlrpc 2018-03-01 13:23:06 UTC
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-2018:0380