Bug 1994591 - [OSP16.1][OVN] dhcp options are not updated if the dhcp ip address has been changed
Summary: [OSP16.1][OVN] dhcp options are not updated if the dhcp ip address has been c...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-networking-ovn
Version: 16.1 (Train)
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: z8
: 16.1 (Train on RHEL 8.2)
Assignee: Rodolfo Alonso
QA Contact: Eduardo Olivares
URL:
Whiteboard:
Depends On:
Blocks: 2015619
TreeView+ depends on / blocked
 
Reported: 2021-08-17 13:30 UTC by Nicolas Bourgeois
Modified: 2022-03-24 11:01 UTC (History)
9 users (show)

Fixed In Version: python-networking-ovn-7.3.1-1.20211021113440.4e24f4c.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2015619 (view as bug list)
Environment:
Last Closed: 2022-03-24 11:01:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1942794 0 None None None 2021-09-06 16:31:30 UTC
OpenStack gerrit 807692 0 None None None 2021-09-07 09:16:15 UTC
Red Hat Issue Tracker OSP-7140 0 None None None 2021-11-15 12:57:03 UTC
Red Hat Product Errata RHBA-2022:0986 0 None None None 2022-03-24 11:01:31 UTC

Description Nicolas Bourgeois 2021-08-17 13:30:40 UTC
Description of problem:
- When the port of a ovn dhcp service has been updated to change its IP address, the dhcp options are not updated

Version-Release number of selected component (if applicable):
- RHOSP 16.1.6

How reproducible:
- Every time

Steps to Reproduce:
- Create a network
- Create a subnet with DHCP enabled
- Change the DCHP port's IP address:
   # openstack port set --fixed-ip subnet=<net-id>,ip-address=<newDHCPaddress> <portID>
   # openstack port unset --fixed-ip subnet=<net-id>,ip-address=<oldDHCPaddress> <portID>
- Create an instance in this network, cloud-init will fail because the route to 169.254.169.254/32 still points to the old dhcp server's IP address

Actual results:
- the DHCP options are not updated. The instances have a wrong route to 169.254.169.254/32

Expected results:
- The route to 169.254.169.254/32 should have been updated 

Additional info:
- When a subnet parameter like its netmask, or a new static route is created, the whole DHCP options are recomputed and the route to 169.254.169.254/32 is correctly updated with new dhcp ip as gateway

Comment 14 errata-xmlrpc 2022-03-24 11:01:10 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 (Red Hat OpenStack Platform 16.1.8 bug fix and enhancement 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-2022:0986


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