Ask Your Question
1

liberty rdo with odl beryllium

asked 2016-03-09 06:58:28 -0500

mkt gravatar image

updated 2016-03-11 02:06:03 -0500

Hi all,

i have a problem with ODL integration with openstack. Main problem is that, i cannot create a vm instance in openstack after integration with ODL. On ODL i can see the network created in neutrn (example:

# curl -u admin:admin http://192.168.128.159:8080/controller/nb/v2/neutron/networks
{
   "networks" : [ {
      "id" : "51db8995-830a-4033-b1ad-32c58542db57",
      "tenant_id" : "6d56ef1007604941936ca0b8f964049a",
      "name" : "vx-net",
      "admin_state_up" : true,
      "shared" : false,
      "router:external" : false,
      "provider:network_type" : "vxlan",
      "provider:segmentation_id" : "1400",
      "status" : "ACTIVE",
      "segments" : [ ]
   } ]

i can create new newtork, subnets and routers in neutron, but if i try to create a new instance with network assigned i have an error:

[Error: No valid host was found. There are not enough hosts available.]

The environment is based on two computes, one networ node and one openstack controller, ODL is on separate VM. The same Openstack without ODL worsk well.

in neutron server.log i found the information:

2016-03-09 06:22:56.281 13496 ERROR neutron.plugins.ml2.managers [req-a52cf723-4a22-4af7-a135-f94aec50752a 4a58c40737944ec8b34e0a199aff5348 9b8e31aadf4e4ed2ad034971136258dc - - -] Mechanism driver opendaylight failed in bind_port
2016-03-09 06:22:56.281 13496 ERROR neutron.plugins.ml2.managers Traceback (most recent call last):
2016-03-09 06:22:56.281 13496 ERROR neutron.plugins.ml2.managers   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/managers.py", line 710, in _bind_port_level
2016-03-09 06:22:56.281 13496 ERROR neutron.plugins.ml2.managers     driver.obj.bind_port(context)
2016-03-09 06:22:56.281 13496 ERROR neutron.plugins.ml2.managers   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/opendaylight/driver.py", line 92, in bind_port
2016-03-09 06:22:56.281 13496 ERROR neutron.plugins.ml2.managers     self.odl_drv.bind_port(context)
2016-03-09 06:22:56.281 13496 ERROR neutron.plugins.ml2.managers AttributeError: 'OpenDaylightDriver' object has no attribute 'bind_port'
2016-03-09 06:22:56.281 13496 ERROR neutron.plugins.ml2.managers
2016-03-09 06:22:56.283 13496 ERROR neutron.plugins.ml2.managers [req-a52cf723-4a22-4af7-a135-f94aec50752a 4a58c40737944ec8b34e0a199aff5348 9b8e31aadf4e4ed2ad034971136258dc - - -] Failed to bind port 4ff6b72b-8645-4e60-9f24-1faaf7643fe1 on host compute.wro.lab
2016-03-09 06:22:56.284 13496 ERROR neutron.plugins.ml2.managers [req-a52cf723-4a22-4af7-a135-f94aec50752a 4a58c40737944ec8b34e0a199aff5348 9b8e31aadf4e4ed2ad034971136258dc - - -] Failed to bind port 4ff6b72b-8645-4e60-9f24-1faaf7643fe1 on host compute.wro.lab
2016-03-09 06:22:56.345 13496 ERROR neutron.plugins.ml2.managers [req-a52cf723-4a22-4af7-a135-f94aec50752a 4a58c40737944ec8b34e0a199aff5348 9b8e31aadf4e4ed2ad034971136258dc - - -] Mechanism driver 'opendaylight' failed in update_port_postcommit
2016-03-09 06:22:56.345 13496 ERROR neutron.plugins.ml2.managers Traceback (most recent call last):
2016-03-09 06:22:56.345 13496 ERROR neutron.plugins.ml2.managers   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/managers.py", line 394, in _call_on_drivers
2016-03-09 06:22:56.345 13496 ERROR neutron.plugins.ml2.managers     getattr(driver.obj, method_name)(context)
2016-03-09 06:22:56.345 13496 ERROR neutron.plugins.ml2.managers   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/opendaylight/driver.py", line 86, in update_port_postcommit
2016-03-09 06:22:56.345 13496 ERROR neutron.plugins.ml2.managers     self.odl_drv.synchronize('update', odl_const.ODL_PORTS, context)
2016-03-09 06:22:56.345 13496 ERROR neutron.plugins.ml2.managers   File "/usr/lib/python2.7/site-packages/networking_odl/ml2/mech_driver.py", line 58, in synchronize
2016-03-09 06:22:56.345 13496 ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-03-10 03:25:14 -0500

Vinoth gravatar image
edit flag offensive delete link more

Comments

I saw this article already and did all steps. The difference is that i used beryllium instead of Lithium-SR3, and RDO liberty instead of kilo on CentOS 7 instead ubuntu. Anyway, thx for answer.

mkt gravatar imagemkt ( 2016-03-10 08:19:23 -0500 )edit

@mkt What features did you install for ODL Beryllium. I am trying the same.

harshavardhan gravatar imageharshavardhan ( 2016-03-13 06:01:42 -0500 )edit

@harshavardhan I installed only odl-ovsdb-openstack, and after this for DLUX i installed: odl-dlux-all odl-l2switch-switch odl-groupbasedpolicy-neutronmapper In this order.

mkt gravatar imagemkt ( 2016-03-14 03:29:18 -0500 )edit

@mkt Thank you!

harshavardhan gravatar imageharshavardhan ( 2016-03-14 03:58:47 -0500 )edit

@mkt did you solve the issue? i am facing this problem exatcly AFAIK ODL is not creating a tap device on compute node. It is creating only on network node.

harshavardhan gravatar imageharshavardhan ( 2016-03-15 09:06:30 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-03-09 06:58:28 -0500

Seen: 400 times

Last updated: Mar 11 '16