DB exception when updating a "ml2_port_bindings" object

Bug #1885891 reported by Rodolfo Alonso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Invalid
Medium
Unassigned

Bug Description

When a port is updated, the port bindings are updated too. This is done calling the mech driver method "update_port_precommit".

Currently, the port binding information in the port context is handled using the native SQLA object [1]. OVO PortBinding is currently implemented and used; this code section should migrate to use OVO and that will fix this problem: http://paste.openstack.org/show/795423/

[1]https://github.com/openstack/neutron/blob/efcc60ddec5737ac2dd1b504990ce89245248614/neutron/plugins/ml2/driver_context.py#L132-L134

Tags: db
Hongbin Lu (hongbin.lu)
Changed in neutron:
importance: Undecided → Medium
status: New → Confirmed
tags: added: db
Changed in neutron:
status: Confirmed → Invalid
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.