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:
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
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