AttributeError: 'Port' object has no attribute 'port_binding'

Bug #1825421 reported by Stephen Ma
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-vsphere
Fix Released
Undecided
Unassigned

Bug Description

Found this error in the neutron-server log:

19-04-16 03:59:42.714 32778 ERROR oslo_messaging.rpc.server File "/opt/stack/venv/neutron-20190412T101655Z/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 163, in _process_incoming
2019-04-16 03:59:42.714 32778 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)
2019-04-16 03:59:42.714 32778 ERROR oslo_messaging.rpc.server File "/opt/stack/venv/neutron-20190412T101655Z/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 265, in dispatch
2019-04-16 03:59:42.714 32778 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)
2019-04-16 03:59:42.714 32778 ERROR oslo_messaging.rpc.server File "/opt/stack/venv/neutron-20190412T101655Z/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 194, in _do_dispatch
2019-04-16 03:59:42.714 32778 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args)
2019-04-16 03:59:42.714 32778 ERROR oslo_messaging.rpc.server File "/opt/stack/venv/neutron-20190412T101655Z/lib/python2.7/site-packages/networking_vsphere/ml2/ovsvapp_rpc.py", line 393, in get_ports_details_list
2019-04-16 03:59:42.714 32778 ERROR oslo_messaging.rpc.server port_db.port_binding.host)
2019-04-16 03:59:42.714 32778 ERROR oslo_messaging.rpc.server AttributeError: 'Port' object has no attribute 'port_binding'
2019-04-16 03:59:42.714 32778 ERROR oslo_messaging.rpc.server

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-vsphere (master)

Reviewed: https://review.opendev.org/653826
Committed: https://git.openstack.org/cgit/x/networking-vsphere/commit/?id=82ae4151c61c87df6cba35bb3f64381967a2cb17
Submitter: Zuul
Branch: master

commit 82ae4151c61c87df6cba35bb3f64381967a2cb17
Author: Stephen Ma <email address hidden>
Date: Thu Apr 18 11:33:16 2019 -0700

    OVSvApp Security Group Changes

    1. OVSvApp Security Group Agent no longer override the
       security_group_*_updated methods from neutron's
       SecurityGroupAgentRpc.

    2. Neutron DB may report ports having more than one port
       bindings. So ovsvapp routines that process port info needs
       accomodate the new structure.

    Closes-bug: #1825421
    Change-Id: I4a09731751d31f469b16477b3481aa6c001a6a5b

Changed in networking-vsphere:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-vsphere (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.opendev.org/657830

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-vsphere (stable/rocky)

Reviewed: https://review.opendev.org/657830
Committed: https://git.openstack.org/cgit/x/networking-vsphere/commit/?id=61103c3c89dc9a52b1152a094e033952fa00b6a4
Submitter: Zuul
Branch: stable/rocky

commit 61103c3c89dc9a52b1152a094e033952fa00b6a4
Author: Stephen Ma <email address hidden>
Date: Thu Apr 18 11:33:16 2019 -0700

    OVSvApp Security Group Changes

    1. OVSvApp Security Group Agent no longer override the
       security_group_*_updated methods from neutron's
       SecurityGroupAgentRpc.

    2. Neutron DB may report ports having more than one port
       bindings. So ovsvapp routines that process port info needs
       accomodate the new structure.

    Closes-bug: #1825421
    Change-Id: I4a09731751d31f469b16477b3481aa6c001a6a5b
    (cherry picked from commit 82ae4151c61c87df6cba35bb3f64381967a2cb17)

tags: added: in-stable-rocky
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.