Bug 1511580
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: | Peter McGowan <pmcgowan> | |
Component: | Providers | Assignee: | Alona Kaplan <alkaplan> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Angelina Vasileva <anikifor> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 5.8.0 | CC: | alkaplan, bsorota, danken, gblomqui, jfrey, jhardy, obarenbo, pmcgowan, simaishi | |
Target Milestone: | GA | Keywords: | TestOnly | |
Target Release: | 5.10.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | 5.10.0.0 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1530739 (view as bug list) | Environment: | ||
Last Closed: | 2018-06-21 21:10:28 UTC | Type: | Bug | |
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: | ||||
Bug Blocks: | 1530739 |
Description
Peter McGowan
2017-11-09 15:36:55 UTC
Hi Peter, I changed the rhev implementation to be consistent with the vmware one. Please notice the same nic can have multiple ipv4/6 addresses. The new representation will be the following (the order is determined by alphabetic sort)- $evm.root['vm'].hardware.ipaddresses = ["10.19.137.131", "fe80::bcef:feff:feed:1cc", "2620:52:0:1388:bcef:feff:feed:1cc"] $evm.root['vm'].hardware.network[0].ipaddress = 10.19.137.131 $evm.root['vm'].hardware.network[0].ipv6address = 2620:52:0:1388:bcef:feff:feed:1cc $evm.root['vm'].hardware.network[1].ipaddress = nil $evm.root['vm'].hardware.network[1].ipv6address = fe80::bcef:feff:feed:1cc Please notice that the guest device can have only one network. So it will link only to the first network. The second network won't have guest device. $evm.root['vm'].hardware.guest_devices[?].network = $evm.root['vm'].hardware.network[0] looks good Peter, one more question. It was fixed for regular refresh v4 and graph refresh. Should regular refresh v3 be fixed as well? Hi Ideally yes, it should be fixed for v3 as well. Thanks The fix was merged without v3. Fixing v3 has lower priority, if you think it worth it, please open a separate bug. |