Make use of the native OVN DHCPv4

Bug #1514488 reported by Numan Siddique
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
networking-ovn
Fix Released
High
Numan Siddique

Bug Description

Pass the dhcp options and extra dhcp options to the OVN in the Logical_Port.options field.
These values will be used by the ovn controller to support dhcp responder.

Changed in networking-ovn:
assignee: nobody → Numan Siddique (numansiddique)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-ovn (master)

Fix proposed to branch: master
Review: https://review.openstack.org/243174

Changed in networking-ovn:
status: New → In Progress
Changed in networking-ovn:
importance: Undecided → High
summary: - OVN: Pass the dhcp options and extra dhcp options to the OVN in the
- Logical_Port.options field
+ Make use of the native OVN DHCPv4
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-ovn (master)

Reviewed: https://review.openstack.org/243174
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=f4ab65d3848075abe692fb6126052bf5cbc8a586
Submitter: Jenkins
Branch: master

commit f4ab65d3848075abe692fb6126052bf5cbc8a586
Author: Numan Siddique <email address hidden>
Date: Wed Jun 29 08:56:54 2016 +0530

    Support native OVN DHCPv4

    OVN has added a new DHC_Options table in OVN NB DB to define
    DHCP options. Logical Switch ports refer to this table if
    DHCP is to be enabled.

    This patch creates rows for DHCP_Options for each of the
    subnets and adds the reference to the ports when created.

    If extra DHCP options are defined for a port, a new
    DHCP_Options row is created for the port.

    Change-Id: Ia3e229f86bf66f5b9b0d867ff41f56ed4be2e8f4
    Closes-bug: #1514488

Changed in networking-ovn:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to networking-ovn (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/350166

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Related fix proposed to branch: master
Review: https://review.openstack.org/350237

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

Reviewed: https://review.openstack.org/350166
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=199c2625f4985f24cbdf4027d2c614d2da4a3fe5
Submitter: Jenkins
Branch: master

commit 199c2625f4985f24cbdf4027d2c614d2da4a3fe5
Author: Richard Theis <email address hidden>
Date: Tue Aug 2 12:02:19 2016 -0500

    Use OVN native DHCP on kuryr gate job

    This patch set updates the kuryr gate job to use OVN native DHCP
    since it is using OVN native L3 already.

    Change-Id: I04c89e4385196156fa1636ddf72b7b23c9005662
    Related-Bug: #1514488

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to networking-ovn (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/351245

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

Reviewed: https://review.openstack.org/351245
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=cafe33e79d3c1afca2c0baa698afc5e1252e0cb7
Submitter: Jenkins
Branch: master

commit cafe33e79d3c1afca2c0baa698afc5e1252e0cb7
Author: Richard Theis <email address hidden>
Date: Wed Aug 3 15:02:48 2016 -0500

    Doc and release note updates for native DHCP

    This patch set provides documentation (feature, install and
    testing) updates along with release notes updates for the
    OVN native DHCP support.

    Change-Id: I05905568a28f577e479354019318bdd3740a9d38
    Related-Bug: #1514488

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to networking-ovn (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/359162

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

Reviewed: https://review.openstack.org/359162
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=7c52eaa400eb89ed05ece535ab468a2ef53ec9d2
Submitter: Jenkins
Branch: master

commit 7c52eaa400eb89ed05ece535ab468a2ef53ec9d2
Author: Richard Theis <email address hidden>
Date: Mon Aug 22 17:00:09 2016 -0500

    Fix delete subnet without DHCP enabled

    When using OVN native DHCP support, deleting a subnet without DHCP
    enabled will result in delete_subnet_postcommit failing. Since this
    failure is post commit to the neutron DB, the subnet is deleted from
    neutron. This patch set fixes delete_subnet_postcommit to handle
    subnets without DHCP options.

    Change-Id: Icd0fa3025cfa9dd10b6e96d9b485716eb2cf6124
    Related-Bug: #1514488

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to networking-ovn (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/361096

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/networking-ovn 1.0.0.0b3

This issue was fixed in the openstack/networking-ovn 1.0.0.0b3 development milestone.

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

Reviewed: https://review.openstack.org/350237
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=2ed6da5aa8963e1e8ad28a8b2f4cbcd5fccca238
Submitter: Jenkins
Branch: master

commit 2ed6da5aa8963e1e8ad28a8b2f4cbcd5fccca238
Author: Richard Theis <email address hidden>
Date: Tue Aug 2 12:44:53 2016 -0500

    Deployment fixes for DHCP and metadata support

    OVN native L3 and DHCP don't provide metadata support so config drive
    must be used when both are enabled. However, if the conventional DHCP
    agent is enabled it can be configured to provide metadata support.

    This patch set provides the necessary DevStack and Vagrant deployment
    fixes to properly configure DHCP and metadata support. In addition,
    documentation and release notes have been updated accordingly. And
    finally, the q-meta service was removed from devstackgatekuryrrc,
    since the gate job is setup for OVN native services.

    Co-Authored-By: Matt Kassawara <email address hidden>
    Change-Id: I9f6b23247df01c40c127b0e9daecd12f5721ff50
    Related-Bug: #1514488

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/361096
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=a950b3900b6e353d14fe28999f347f44d337c01b
Submitter: Jenkins
Branch: master

commit a950b3900b6e353d14fe28999f347f44d337c01b
Author: Richard Theis <email address hidden>
Date: Thu Aug 25 15:48:28 2016 -0500

    Fail deployment if q-dhcp and OVN_NATIVE_DHCP enabled

    Fail deployment if both q-dhcp and OVN_NATIVE_DHCP are enabled. Such
    deployments introduce unnecessary neutron DHCP provisioning blocks
    and still don't provide DHCP metadata proxy support.

    Depends-On: I9f6b23247df01c40c127b0e9daecd12f5721ff50
    Change-Id: I0f0241c68b9cf83d8c83a9c9695075ad71ce51ca
    Related-Bug: #1514488

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-ovn 1.0.0.0b3

This issue was fixed in the openstack/networking-ovn 1.0.0.0b3 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.