← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1885891] [NEW] DB exception when updating a "ml2_port_bindings" object

 

Public bug reported:

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

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1885891

Title:
  DB exception when updating a "ml2_port_bindings" object

Status in neutron:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1885891/+subscriptions


Follow ups