Add container support for OVN services

Bug #1699085 reported by Numan Siddique on 2017-06-20
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
High
Numan Siddique

Bug Description

OVN has services - OVN north db server, south db server, ovn-northd and ovn-controller which can be containerized.

Changed in tripleo:
assignee: nobody → Numan Siddique (numansiddique)
status: New → In Progress
Changed in tripleo:
assignee: Numan Siddique (numansiddique) → Emilien Macchi (emilienm)
Changed in tripleo:
assignee: Emilien Macchi (emilienm) → Numan Siddique (numansiddique)

Change abandoned by Numan Siddique (<email address hidden>) on branch: master
Review: https://review.openstack.org/484394
Reason: Abandoning this patch in favor of https://review.openstack.org/#/c/489875/

Changed in tripleo:
importance: Undecided → High
milestone: none → pike-rc1

Change abandoned by Alex Schultz (<email address hidden>) on branch: master
Review: https://review.openstack.org/489875
Reason: Need to clear out the queue as this is going to fail. Will restore momentarily

Reviewed: https://review.openstack.org/489875
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=cd1a4523edca9d06e849dfb95f7058d5177492ae
Submitter: Jenkins
Branch: master

commit cd1a4523edca9d06e849dfb95f7058d5177492ae
Author: Numan Siddique <email address hidden>
Date: Wed Aug 2 12:03:56 2017 +0530

    Add OVN images to the overcloud containers

    This patch
     - adds neutron-server-ovn image to the overcloud containers

     - adds pacemaker packages to ovn_northd image - In order to deploy
       OVN DB servers using pacemaker bundle we need the pacemaker packages

     - also renames the OVN related parameters in overcloud_containers.yaml.j2
       i.e s/OVN/Ovn. The reason for this is tools/validate_yaml.py is expecting
       DockerOvnControllerConfigImage instead of DockerOVNControllerConfigImage

    Partial-bug: #1699085
    Change-Id: Idb6edc42ac44c8cddd1f1eba6a93b078f755386b

Change abandoned by Numan Siddique (<email address hidden>) on branch: master
Review: https://review.openstack.org/495258

Reviewed: https://review.openstack.org/484373
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=a91f55479b4458a3f6256c0ffc376aa00b1e034b
Submitter: Jenkins
Branch: master

commit a91f55479b4458a3f6256c0ffc376aa00b1e034b
Author: Numan Siddique <email address hidden>
Date: Mon Jul 17 16:45:57 2017 +0530

    Add OVN DBs bundle support for pacemaker HA

    It uses the control-port 3125.

    Partial-bug: #1699085
    Change-Id: I4787321e10cc35beeb5ec3f585dafb2268ea4f21

Reviewed: https://review.openstack.org/490624
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart/commit/?id=56d64a2e5b25d9cd7e6c40a17b2c7832eafdff89
Submitter: Jenkins
Branch: master

commit 56d64a2e5b25d9cd7e6c40a17b2c7832eafdff89
Author: Numan Siddique <email address hidden>
Date: Mon Jul 24 10:12:56 2017 +0530

    Add fset030 for OVN with containerized oc

    featureset028 was added recently to have OVN baremetal services. This patch
    adds featureset030 for containerized OVN services.

    Partial-bug: #1699085
    Change-Id: Idc027e41d0e98eebe134be4c0909c4165eb8e83d

Changed in tripleo:
milestone: pike-rc1 → pike-rc2

Reviewed: https://review.openstack.org/468860
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=e7cd03d2f0fcd8e3069246ced94f1a83869b8bea
Submitter: Jenkins
Branch: master

commit e7cd03d2f0fcd8e3069246ced94f1a83869b8bea
Author: Numan Siddique <email address hidden>
Date: Thu Jul 13 20:46:45 2017 +0530

    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
    Depends-On: Idc027e41d0e98eebe134be4c0909c4165eb8e83d
    Depends-On: I341995fa21ce759104a0b3431f6d434f93a5fdcc
    Depends-On: Ia409617cab5a31f19875844c676dad87518977fc
    Change-Id: I98b85191cc1fd8c2b166924044d704e79a4c4c8a

Change abandoned by Emilien Macchi (<email address hidden>) on branch: master
Review: https://review.openstack.org/484376
Reason: I need to purge the gate because TripleO CI gate has critical issues right now, I'll make this patch goes to the gate.

Change abandoned by Emilien Macchi (<email address hidden>) on branch: stable/pike
Review: https://review.openstack.org/498297
Reason: I need to purge the gate because TripleO CI gate has critical issues right now, I'll make this patch goes to the gate.

Reviewed: https://review.openstack.org/484376
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=444a39f5983e71e3222b6b7f8f523fce60aeece7
Submitter: Jenkins
Branch: master

commit 444a39f5983e71e3222b6b7f8f523fce60aeece7
Author: Numan Siddique <email address hidden>
Date: Thu Jul 13 16:07:54 2017 +0530

    Support HA for OVN DBs containers using pacemaker bundle

    ovn-dbs pacemaker bundle resources are created for supporting
    Master/Slave HA. puppet-tripleo already supports creating
    ovn-dbs bundle resources. The heat template added in this patch
    makes use of this.

    Closes-bug: #1699085
    Change-Id: I23c2d312cfb144f9afc14f0982a92670dc29d74c

Changed in tripleo:
status: In Progress → Fix Released
tags: added: in-stable-pike

Reviewed: https://review.openstack.org/498297
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=f923d8d90614091aa2f63ea233fbc8e3b33c2a83
Submitter: Jenkins
Branch: stable/pike

commit f923d8d90614091aa2f63ea233fbc8e3b33c2a83
Author: Numan Siddique <email address hidden>
Date: Thu Jul 13 20:46:45 2017 +0530

    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)

Change abandoned by Numan Siddique (<email address hidden>) on branch: master
Review: https://review.openstack.org/499563
Reason: The patch - https://review.openstack.org/#/c/498743/ takes care of OVN as well.

Reviewed: https://review.openstack.org/499574
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=978e2eb1df85dd6c5c4feb08aebcd6c57d7d7bf0
Submitter: Jenkins
Branch: stable/pike

commit 978e2eb1df85dd6c5c4feb08aebcd6c57d7d7bf0
Author: Numan Siddique <email address hidden>
Date: Thu Jul 13 16:07:54 2017 +0530

    Support HA for OVN DBs containers using pacemaker bundle

    ovn-dbs pacemaker bundle resources are created for supporting
    Master/Slave HA. puppet-tripleo already supports creating
    ovn-dbs bundle resources. The heat template added in this patch
    makes use of this.

    Closes-bug: #1699085
    Change-Id: I23c2d312cfb144f9afc14f0982a92670dc29d74c
    (cherry picked from commit 444a39f5983e71e3222b6b7f8f523fce60aeece7)

Reviewed: https://review.openstack.org/498743
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=d66114a4405c0a319483bdee64bb9e3422ccfb77
Submitter: Jenkins
Branch: master

commit d66114a4405c0a319483bdee64bb9e3422ccfb77
Author: Janki Chhatbar <email address hidden>
Date: Tue Aug 29 15:49:28 2017 +0530

    Add neutron_driver value to prepare command

    OpenDaylight/OVN is not enabled by default in overcloud. A logic needs to be
    implemented to create ODL image reference when ODL needs to be deployed and
    the same for OVN. This patch adds neutron driver value set depending on the
    environment file specified to image prepare command.

    Co-Authored-By: Numan Siddique <email address hidden>
    Change-Id: I3e395986ad777b1d6b057bb33fac8d5ed2d3d26a
    Partial-Bug: #1713685
    Partial-bug: #1699085

This issue was fixed in the openstack/tripleo-heat-templates 7.0.0.0rc2 release candidate.

Reviewed: https://review.openstack.org/502430
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=150a5c6f50eb202b1b2392f0ee25bc7b93dec947
Submitter: Jenkins
Branch: stable/pike

commit 150a5c6f50eb202b1b2392f0ee25bc7b93dec947
Author: Janki Chhatbar <email address hidden>
Date: Tue Aug 29 15:49:28 2017 +0530

    Add neutron_driver value to prepare command

    OpenDaylight/OVN is not enabled by default in overcloud. A logic needs to be
    implemented to create ODL image reference when ODL needs to be deployed and
    the same for OVN. This patch adds neutron driver value set depending on the
    environment file specified to image prepare command.

    Co-Authored-By: Numan Siddique <email address hidden>
    Change-Id: I3e395986ad777b1d6b057bb33fac8d5ed2d3d26a
    Partial-Bug: #1713685
    Partial-bug: #1699085
    (cherry picked from commit d66114a4405c0a319483bdee64bb9e3422ccfb77)

Reviewed: https://review.openstack.org/506694
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=c4af83ed4fbbd77714eb01b45dfb779f94987bc5
Submitter: Jenkins
Branch: master

commit c4af83ed4fbbd77714eb01b45dfb779f94987bc5
Author: Numan Siddique <email address hidden>
Date: Fri Sep 22 21:17:35 2017 +0530

    Add OVN container images to TripleO-common

    Prior to this patch, OVN container images were present, but were included
    even if OVN services are not enabled. Now the OVN related images are
    added and the required parameters are set only if OVN services are enabled.

    Change-Id: I6bc03aa65c8401a9e76954c2638006bd28a70482
    Partial-bug: #1699085

This issue was fixed in the openstack/tripleo-heat-templates 8.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers