Bug 1434435 - [RFE] support IPv6 for address type in subnets(el7.6 guest OSs)
Summary: [RFE] support IPv6 for address type in subnets(el7.6 guest OSs)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-provider-ovn
Classification: oVirt
Component: provider
Version: 1.2.7
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ovirt-4.3.1
: ---
Assignee: Miguel Duarte Barroso
QA Contact: Michael Burman
Rolfe Dlugy-Hegwer
URL:
Whiteboard:
Depends On:
Blocks: RHEV_IPv6
TreeView+ depends on / blocked
 
Reported: 2017-03-21 13:49 UTC by Mor
Modified: 2019-05-06 06:36 UTC (History)
10 users (show)

Fixed In Version: ovirt-provider-ovn-1.2.20
Doc Type: If docs needed, set a value
Doc Text:
This feature provides IPv6 address type support for OpenStack Networking API subnets. IPv6 support was implemented using OVN's native DHCPv6, and cannot be configured from router advertisements.
Clone Of:
Environment:
Last Closed: 2019-03-13 16:39:34 UTC
oVirt Team: Network
Embargoed:
rule-engine: ovirt-4.3+
mburman: testing_plan_complete+
ylavi: planning_ack+
danken: devel_ack+
mburman: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 95979 0 'None' 'MERGED' 'Add API support for ipv6 subnets' 2019-12-03 07:50:05 UTC
oVirt gerrit 96056 0 'None' 'MERGED' 'Configure ovn dhcp service for IPv6' 2019-12-03 07:50:05 UTC
oVirt gerrit 96623 0 'None' 'MERGED' 'Only support dhcpv6 stateful' 2019-12-03 07:50:05 UTC
oVirt gerrit 96711 0 'None' 'MERGED' 'unit test ipv6 support' 2019-12-03 07:50:05 UTC
oVirt gerrit 96712 0 'None' 'MERGED' 'test allowed address modes for ipv6' 2019-12-03 07:50:05 UTC

Description Mor 2017-03-21 13:49:55 UTC
Description of problem:
UI shouldn't allow IPv6 address type for OVN network since OVN provider does not support IPv6. This is relevant for both new external network window and subnet tab of existing OVN network.

Version-Release number of selected component (if applicable):
Red Hat Virtualization Manager Version: 4.1.1.5-0.1.el7

How reproducible:
100%

Steps to Reproduce:
1. Try to create a subnet for exiting network.
2. In the types there is option to choose IPv6.

Actual results:
100%

Expected results:
IPv6 should not be listed.

Additional info:

Comment 1 Yaniv Lavi 2017-06-11 15:42:43 UTC
I suggest to close, the engine should not care for subnets. 
The provider should support or not support it.

Comment 2 Dan Kenigsberg 2017-06-11 15:52:30 UTC
The RFE was - and still is - opened on ovirt-provider-ovn.

Comment 3 Yaniv Lavi 2017-06-11 16:04:41 UTC
(In reply to Dan Kenigsberg from comment #2)
> The RFE was - and still is - opened on ovirt-provider-ovn.

Does OVN not support IPv6 or is it the provider?

Comment 4 Dan Kenigsberg 2017-06-11 16:11:52 UTC
OVN supports it since 2.6. We have never tested this ourselves. This RFE is about consuming this OVN feature by ovirt.

Comment 5 Numan Siddique 2017-06-12 09:11:43 UTC
Please note there are certain important features like router advertisement (Ra) which are missing from OVN. I am working on supporting RA feature.

Comment 6 Dan Kenigsberg 2017-06-15 15:30:48 UTC
Main bit https://github.com/openvswitch/ovs/commit/7cc0741ea275977dddf0c80b57a1673d86908656 would be available only in ovs-2.8.

Comment 7 Michael Burman 2019-01-30 08:58:28 UTC
UI adjustment was requested in BZ 1670715

Comment 8 Sandro Bonazzola 2019-02-01 14:46:17 UTC
Not blocking ovirt-4.3.0 on this, moving to 4.3.1

Comment 11 Miguel Duarte Barroso 2019-03-06 12:53:55 UTC
As per the IPv6 unicast address RFC - [0] - "all subnets using Globally Unique Addresses and ULAs always have the same prefix length of 64 bits".

The above impacts the dhcpv6 design protocol in a way that the network prefixes are not sent in the dhcpv6 reply messages, only the IP address in that /64 network prefix.

In order to send network prefixes, IPv6 relies on Router Advertisements, which, the chosen solution - as per the feature page, [1] - does not implement.

This RFE is thus limited to work if the client's ip addresses belong to a /64 subnets.

Since on el8, the default is for dhclient to assign ipv6 host addresses (/128 subnets), this RFE is thus limited to el7 guest OSs.

A new RFE will be created to address network prefix configuration through router advertisements.

[0] - https://tools.ietf.org/html/rfc5375#section-3
[1] - https://ovirt.org/develop/release-management/features/network/ipv6_subnets.html#ipam-types

Comment 12 Michael Burman 2019-03-06 13:39:56 UTC
Verified on - ovirt-provider-ovn-1.2.20-1.el7ev.noarch with
rhvm-4.3.2-0.1.el7.noarch
vdsm-4.30.10-1.el7ev.x86_64

VMs/guests:
rhel7.6 server
kernel 3.10.0-957.el7.x86_64

Test flow:
1. Create network with IPv6 subnet via REST API - https://<ovn-provider-fqdn>:9696/v2.0/subnets/ - POST 
with "ip_version": 6, and ipv6 CIDR
2. Import the ovn network to RHV 4.3.1 - PASS
3. Create 2 VMs with rhel7.6 OS
4. Add vNIC with the ovn network profile to each VM
5. Start both VMs
6. run dhclient -6 <iface> on both VMs - PASS
7. Ping between VMs via the IPv6 subnet addresses - PASS

Note, that this RFE is limited to work if the client's ip addresses belong to a /64 subnets.  limited to el7 guest OSs.
New RFE was requested to address network prefix configuration through router advertisements for rhel8 guests, see BZ 1685983

Comment 13 Sandro Bonazzola 2019-03-13 16:39:34 UTC
This bugzilla is included in oVirt 4.3.1 release, published on February 28th 2019.

Since the problem described in this bug report should be
resolved in oVirt 4.3.1 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


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