Comment 58 for bug 1939733

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron (master)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/824641
Committed: https://opendev.org/openstack/neutron/commit/ef97019c92e96d0bb17785daaf570b04c68be500
Submitter: "Zuul (22348)"
Branch: master

commit ef97019c92e96d0bb17785daaf570b04c68be500
Author: Slawek Kaplonski <email address hidden>
Date: Thu Jan 13 20:35:53 2022 +0100

    Add upgrade check for extra DHCP options

    Some time ago with patches [1] and [2] we trimmed extra_dhcp_opt name
    and value to first newline character before using them in the dnsmasq
    and later added API validator to not allow such names and/or values with
    newline character in it at all.
    This patch adds upgrade check to warn users if they have old entries
    with newline characters in the database already.

    Related-Bug: #1939733

    [1] https://review.opendev.org/c/openstack/neutron/+/806746
    [2] https://review.opendev.org/c/openstack/neutron-lib/+/811708

    Change-Id: I9a45d918b5a90f8fc50a9ec43b2a67cf582eb369