Support deploying OVN as container services
authorNuman Siddique <nusiddiq@redhat.com>
Thu, 13 Jul 2017 15:16:45 +0000 (20:46 +0530)
committerEmilien Macchi <emilien@redhat.com>
Mon, 28 Aug 2017 02:57:13 +0000 (02:57 +0000)
commitf923d8d90614091aa2f63ea233fbc8e3b33c2a83
tree5c79fe4fc147a956bf6f73a765508625c381f887
parent98f578b7789cb4edef1090574ab7ab854f886fed
Support deploying OVN as container services

This patch adds the support to containerize OVN services for the
base profile.

OVN db servers do not support active-active mode yet. It does support
master-slave mode supported through pacemaker, which will be supported
in a later patch.

Presently the tripleo container framework doesn't allow to start a
container in only controller 0 (or bootstrap node). OVN db servers and
ovn-northd are started on all the controllers, but only the OVN db
servers running in the boot strap controller are configured to listen
on the tcp ports 6641 and 6642. OVN neutron mechanism driver
and ovn-controller's use the ovn_dbs_vip to connect to the OVN db servers.
Haproxy configures all the controllers as back ends, but only OVN db
servers running on controller 0 respond since only they are configured
properly.

The OVN containers running on other controller nodes do not interact
any way, but are wasteful resources.

This patch also adds the scenario007-multinode-containers CI template.

Partial-bug: #1699085
Change-Id: I98b85191cc1fd8c2b166924044d704e79a4c4c8a
(cherry picked from commit e7cd03d2f0fcd8e3069246ced94f1a83869b8bea)
ci/environments/scenario007-multinode-containers.yaml [new file with mode: 0644]
docker/services/ovn-controller.yaml [new file with mode: 0644]
docker/services/ovn-dbs.yaml [new file with mode: 0644]
environments/services-docker/neutron-ovn.yaml [new file with mode: 0644]
releasenotes/notes/ovn-container-support-3ab333fff6e90dc4.yaml [new file with mode: 0644]