Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1801271

Summary: [RFE][OVN] Implement the extra_dhcp_opts extension in networking-ovn
Product: Red Hat OpenStack Reporter: Daniel Alvarez Sanchez <dalvarez>
Component: python-networking-ovnAssignee: Lucas Alvares Gomes <lmartins>
Status: CLOSED CURRENTRELEASE QA Contact: Eduardo Olivares <eolivare>
Severity: high Docs Contact:
Priority: high    
Version: 16.2 (Train)CC: apevec, astupnik, atragler, dalvarez, ekuris, jschluet, lhh, lmartins, majopela, mmethot, moddi, scohen
Target Milestone: z1Keywords: FutureFeature, TestOnly
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-networking-ovn-7.2.1-0.20200626164637.4492ff3.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-14 15:55:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1988436, 1988438, 1997654, 2005991, 2008170, 2008171, 2184310, 2184311    
Bug Blocks:    

Description Daniel Alvarez Sanchez 2020-02-10 14:32:47 UTC
Right now, any operation on the extra_dhcp_options [0] of a Neutron ports seem successful from an API standpoint but it takes no effect in the OVN backend:

(overcloud) [stack@undercloud-0 ~]$ neutron port-update --extra-dhcp-opt opt_name='interface-mtu',opt_value='1200' test_port
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
Updated port: test_port
(overcloud) [stack@undercloud-0 ~]$ openstack port show test_port | grep -i dhcp
| extra_dhcp_opts         | ip_version='4', opt_name='interface-mtu', opt_value='1200'


()[root@controller-2 /]# ovn-nbctl list dhcp_options a825bbdb-3de2-4cd2-aa75-11951894c087
_uuid               : a825bbdb-3de2-4cd2-aa75-11951894c087
cidr                : "192.168.30.0/24"
external_ids        : {"neutron:revision_number"="0", subnet_id="c35226d1-0984-4887-ad38-750c04fba350"}
options             : {classless_static_route="{169.254.169.254/32,192.168.30.2, 0.0.0.0/0,192.168.30.1}", dns_server="{172.16.0.1, 10.0.0.1}", lease_time="43200", mtu="1442", router="192.168.30.1", server_id="192.168.30.1", server_mac="fa:16:3e:95:ec:6f"}

As OVN supports DHCP options per port, this RFE seems to be scoped just to networking-ovn.

[0] https://specs.openstack.org/openstack/neutron-specs/specs/api/extra_dhcp_options__extra-dhcp-opt_.html

Comment 2 Jakub Libosvar 2020-02-11 14:04:33 UTC
*** Bug 1801266 has been marked as a duplicate of this bug. ***

Comment 16 Thierry Vignaud 2021-10-14 15:55:37 UTC
According to our records, this should be resolved by python-networking-ovn-7.4.2-2.20210601204825.el8ost.11.  This build is available now.

Comment 17 Red Hat Bugzilla 2023-09-18 00:20:15 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days