Ask Your Question
0

enable opendaylight in kolla-ansible newton deployment

asked 2017-07-03 03:51:13 -0500

akarki gravatar image

updated 2017-07-04 03:23:39 -0500

Hi we are trying to enable opendaylight in kolla-ansible deployment of newton branch. However we are unable to find anything substantial. Please help

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-07-04 03:39:11 -0500

updated 2017-07-04 03:40:35 -0500

Hi Akarki, In newton opendaylight was not implemented, is being worked now and maybe implemented into pike release (not sure if will be merged).

To use kolla with Opendaylight in Newton have two methods:

1- OpenStack and Opendaylight deployed with kolla

For this method you will need to write your own implementation of opendaylight in your own kolla fork from scratch.

2- Opendaylight already deployed and only integration with Openstack deployed by kolla. You will need to do only neutron+ovs integration with Opendaylight. This requires many steps prior deployment.

  1. Install Opendaylight dependencies into neutron containers, this can be done this plugin funtionallity during image building steps: https://github.com/openstack/kolla/blob/master/doc/image-building.rst#package-customisation
  2. Configure openvswtich to be managed by Opendaylight.
  3. Configure neutron services to apply Opendaylight related configuration, in example adding a file in /etc/kolla/config/ml2_conf.ini with custom config.

Code example:

[ml2_odl]
url = <URL>
username = admin
password = PASSWORD

Related currently under review opendaylight ansible implementation in kolla: https://review.openstack.org/#/c/416367/

Regards.

edit flag offensive delete link more

Comments

hi ,thanks for the reply. we have successfully created opendaylight image,split the openvswitch roles and add opendaylight role .however deployement shows the status of opendaylight container as restarting.. the neutron logs shows: http 503 service unavialbleor url: http://172.16.109.205:8087

akarki gravatar imageakarki ( 2017-07-04 08:48:15 -0500 )edit

complete logs: 2017-07-04 09:47:39.910 6 ERROR networking_odl.journal.maintenance [-] Failed during maintenance operation full_sync 2017-07-04 09:47:39.910 6 ERROR networking_odl.journal.maintenance HTTPError: 503 Server Error: Service Unavailable for url: http://172.16.109.205:8087/controller/nb/v2 (http://172.16.109.205:8087/controller...)

akarki gravatar imageakarki ( 2017-07-04 08:49:10 -0500 )edit

ps: right now though ovs role has been split up ..yet there is no ovs container in docker ps -a command

akarki gravatar imageakarki ( 2017-07-04 09:13:28 -0500 )edit

should be ovs containers, need to enable_openvswitch: yes

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2017-07-04 09:47:25 -0500 )edit

hi eduardo ..enable openvswitch however opendaylight container still restarting ...and shows exact same error as above ...i changed the port in ml2_conf.ini..now it shows connection refused with opendaylight container still restarting

akarki gravatar imageakarki ( 2017-07-04 23:53:41 -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: 2017-07-03 03:51:13 -0500

Seen: 201 times

Last updated: Jul 04 '17