Failed to bind port for packstack instance!

asked 2017-04-10 05:35:12 -0500

Kiruthiga gravatar image

Hello All,

I have integrated my all-in-one packstack (liberty) with Opendaylight (Boron SR2).

After integration with ODL, when I spawn an instance it fails with error "No valid host found". When I checked the log files, I found that the port binding is failing for the instance while creation.

Error log for reference:

Apr 10 14:22:39 packstack neutron-server: 2017-04-10 14:22:39.522 10418 ERROR neutron.plugins.ml2.managers Traceback (most recent call last): Apr 10 14:22:39 packstack neutron-server: 2017-04-10 14:22:39.522 10418 ERROR neutron.plugins.ml2.managers File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/managers.py", line 720, in bindportlevel Apr 10 14:22:39 packstack neutron-server: 2017-04-10 14:22:39.522 10418 ERROR neutron.plugins.ml2.managers driver.obj.bindport(context) Apr 10 14:22:39 packstack neutron-server: 2017-04-10 14:22:39.522 10418 ERROR neutron.plugins.ml2.managers File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/opendaylight/driver.py", line 92, in bindport Apr 10 14:22:39 packstack neutron-server: 2017-04-10 14:22:39.522 10418 ERROR neutron.plugins.ml2.managers self.odldrv.bindport(context) Apr 10 14:22:39 packstack neutron-server: 2017-04-10 14:22:39.522 10418 ERROR neutron.plugins.ml2.managers AttributeError: 'OpenDaylightDriver' object has no attribute 'bindport' Apr 10 14:22:39 packstack neutron-server: 2017-04-10 14:22:39.522 10418 ERROR neutron.plugins.ml2.managers Apr 10 14:22:39 packstack neutron-server: 2017-04-10 14:22:39.522 10418 ERROR neutron.plugins.ml2.managers [req-26bdd1fb-5ab2-4c7c-8d0b-ca7dd6de9e09 4e6bda67dadd4eeca566be36a38ebbf4 73127b504d9543fdb6660480ab159aad - - -] Mechanism driver opendaylight failed in bindport Apr 10 14:22:39 packstack neutron-server: 2017-04-10 14:22:39.522 10418 ERROR neutron.plugins.ml2.managers Traceback (most recent call last): Apr 10 14:22:39 packstack neutron-server: 2017-04-10 14:22:39.522 10418 ERROR neutron.plugins.ml2.managers File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/managers.py", line 720, in _bindportlevel Apr 10 14:22:39 packstack neutron-server: 2017-04-10 14:22:39.522 10418 ERROR neutron.plugins.ml2.managers driver.obj.bindport(context) Apr 10 14:22:39 packstack neutron-server: 2017-04-10 14:22:39.522 10418 ERROR neutron.plugins.ml2.managers File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/opendaylight/driver.py", line 92, in bindport Apr 10 14:22:39 packstack neutron-server: 2017-04-10 14:22:39.522 10418 ERROR neutron.plugins.ml2.managers self.odldrv.bindport(context) Apr 10 14:22:39 packstack neutron-server:017-04-10 14:22:39.522 10418 ERROR neutron.plugins.ml2.managers AttributeError: 'OpenDaylightDriver' object has no attribute 'bindport'

Please help !!

Regards, Kiruthiga

edit retag flag offensive close merge delete

Comments

To me, this looks like a version mismatch. I.e., the ODL driver and ML2 versions are incompatible.

Same error, with solution, a year ago: https://lists.opendaylight.org/piperm....

Bernd Bausch gravatar imageBernd Bausch ( 2017-04-10 09:52:50 -0500 )edit