The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.
Bug 1827526 - /64 Prefix is not allowed when ipv6_prefix is configured on a logical switch's other_config
Summary: /64 Prefix is not allowed when ipv6_prefix is configured on a logical switch...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: ovn2.11
Version: FDP 20.D
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Numan Siddique
QA Contact: Fei Liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-24 05:48 UTC by ying xu
Modified: 2020-07-15 13:01 UTC (History)
2 users (show)

Fixed In Version: ovn2.11-2.11.1-45
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-15 13:01:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:2942 0 None None None 2020-07-15 13:01:31 UTC

Description ying xu 2020-04-24 05:48:12 UTC
This bug was initially created as a copy of Bug #1806316

I am copying this bug because: 
it also appeared on ovn2.11
https://beaker.engineering.redhat.com/recipes/8167453/tasks/109344697/logs/taskout.log


Description of problem:

When the IPv6 prefix is configured in logical_switch:other_config, /64 prefix is not allowed.

It should be allowed
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. ovn-nbctl ls-add sw0
    ovn-nbctl set logical_switch sw0:other_config:ipv6_prefix="aef0::/64"
    ovn-nbctl lsp-add sw0 sw0-p1 -- lsp-set-addresses "00:00:00:00:20:01 dynamic"
2.
3.

Actual results:

Address assignment to sw0-p1 fails.


Expected results:
Address assignment to sw0-p1 should be successful.


Additional info:

Comment 5 Jianlin Shi 2020-06-16 01:25:52 UTC
Verified on ovn2.11.1-47.el7:

[root@dell-per740-42 ~]# rpm -qa | grep ovn                                                           
ovn2.11-central-2.11.1-47.el7fdp.x86_64
ovn2.11-host-2.11.1-47.el7fdp.x86_64
ovn2.11-2.11.1-47.el7fdp.x86_64

[root@dell-per740-42 ~]# ovn-nbctl ls-add sw0
[root@dell-per740-42 ~]# ovn-nbctl set logical_switch sw0 other_config:ipv6_prefix="aef0::/64"
[root@dell-per740-42 ~]# ovn-nbctl lsp-add sw0 sw0-p1 -- lsp-set-addresses sw0-p1 "00:00:00:00:20:01 dynamic"
[root@dell-per740-42 ~]# ovn-nbctl list logical_switch_port sw0-p1
_uuid               : 6374dcf8-62da-40e1-bc0e-f12f81f8f5cf                                            
addresses           : ["00:00:00:00:20:01 dynamic"]
dhcpv4_options      : []
dhcpv6_options      : []
dynamic_addresses   : "00:00:00:00:20:01 aef0::200:ff:fe00:2001"        

<=== ipv6 is generated
                              
enabled             : []
external_ids        : {}
ha_chassis_group    : []
name                : "sw0-p1"
options             : {}
parent_name         : []                                                                              
port_security       : []                                                                              
tag                 : []                                                                              
tag_request         : []                                                                              
type                : ""                                                                              
up                  : false

Comment 7 errata-xmlrpc 2020-07-15 13:01:17 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/RHBA-2020:2942


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