[ovn] neutron-ovn-db-sync-util fails with PortContext has no session

Bug #1879502 reported by Terry Wilson
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Terry Wilson
neutron (Ubuntu)
Fix Released
High
Unassigned
Focal
Fix Released
High
Unassigned

Bug Description

Two places needed to pass the _plugin_context like the mech driver already does since PortContext has no session. There was also a place where a port object was passed instead of a port id.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/729264

Changed in neutron:
assignee: nobody → Terry Wilson (otherwiseguy)
status: New → In Progress
Changed in neutron:
importance: Undecided → Medium
summary: - neutron-ovn-db-sync-util fails with PortContext has no session
+ [ovn] neutron-ovn-db-sync-util fails with PortContext has no session
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.opendev.org/729264
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=21405378f03d570834adf395c751f69075f128b2
Submitter: Zuul
Branch: master

commit 21405378f03d570834adf395c751f69075f128b2
Author: Terry Wilson <email address hidden>
Date: Tue May 19 13:45:37 2020 +0000

    Fix neutron-ovn-db-sync-util issues

    Two places needed to pass the _plugin_context like the mech driver
    already does since PortContext has no session. There was also a
    place where a port object was passed instead of a port id.

    Closes-Bug: #1879502
    Change-Id: I19ee7b0cf4f8ab187e0a9025eece1ad3525e58e4

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/ussuri)

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/730413

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/ussuri)

Reviewed: https://review.opendev.org/730413
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=47f28d5a5f9e55f3b37a76e154b670d2e28bbcc1
Submitter: Zuul
Branch: stable/ussuri

commit 47f28d5a5f9e55f3b37a76e154b670d2e28bbcc1
Author: Terry Wilson <email address hidden>
Date: Tue May 19 13:45:37 2020 +0000

    Fix neutron-ovn-db-sync-util issues

    Two places needed to pass the _plugin_context like the mech driver
    already does since PortContext has no session. There was also a
    place where a port object was passed instead of a port id.

    Closes-Bug: #1879502
    Change-Id: I19ee7b0cf4f8ab187e0a9025eece1ad3525e58e4
    (cherry picked from commit 21405378f03d570834adf395c751f69075f128b2)

tags: added: in-stable-ussuri
Frode Nordahl (fnordahl)
Changed in neutron (Ubuntu):
status: New → Triaged
importance: Undecided → High
Changed in neutron (Ubuntu Focal):
importance: Undecided → High
status: New → Triaged
Revision history for this message
Mathew Hodson (mhodson) wrote :

Fixed in neutron 17.0.0 and later.

Changed in neutron (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Mathew Hodson (mhodson) wrote :

Fixed in Ubuntu Focal.
---

neutron (2:16.1.0-0ubuntu1) focal; urgency=medium

  * New stable point release for OpenStack Ussuri (LP: #1892139).
  * d/control: Align (Build-)Depends with upstream.

 -- Chris MacNaughton <email address hidden> Thu, 27 Aug 2020 05:31:05 +0000

Changed in neutron (Ubuntu Focal):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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