Support OVN 2.12

Bug #1853272 reported by Numan Siddique
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Undecided
Numan Siddique

Bug Description

OVN 2.12 has different runtime directors than OVN 2.11.
This needs to be handled properly in T-H-T.

Changed in tripleo:
assignee: nobody → Numan Siddique (numansiddique)
Changed in tripleo:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.opendev.org/690105
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=fa349ee4f4a6dfe8eca2076722bf04fecaeea638
Submitter: Zuul
Branch: master

commit fa349ee4f4a6dfe8eca2076722bf04fecaeea638
Author: Numan Siddique <email address hidden>
Date: Tue Oct 22 19:25:35 2019 +0530

    ovn standalone: Start OVN ovsdb-servers using the kolla startup script

    Prior to this patch, ovsdb-servers are started directly. This doesn't
    take care of any ovsdb schema updates. Instead, if we use the
    start-nb/sb-db-server.sh (generated by kolla OVN images [1])
    it takes care of creating the db file from the schema file if the db
    file doesn't exist. It also takes care of updating the db file if schema was updated.
    The start-nb/sb-db-server.sh used ovn-ctl script internally.

    This patch also prepares the ground for using the latest OVN.
    OVN is split from openvswitch and it has its own code repo. After
    the split, OVN has its own run dir (/var/run/ovn), db dir (/etc/ovn/),
    log dir (/var/logs/ovn) and datadir - /usr/share/ovn/scripts.

    With this patch, it supports running older version (2.11) or new
    version (2.12) without any issues. It mounts the host directories accordingly
    so that there is no impact when OVN is updated and it is transparent.

    Closes-bug: #1853272
    Change-Id: I1fbfaf43af17b558497fd2b46fc4278b4703ec74
    Signed-off-by: Numan Siddique <email address hidden>

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 12.0.0

This issue was fixed in the openstack/tripleo-heat-templates 12.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/697237

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/train)

Reviewed: https://review.opendev.org/697237
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=9c20085144ff02b3c07b6d25b057cafc7dfe3f54
Submitter: Zuul
Branch: stable/train

commit 9c20085144ff02b3c07b6d25b057cafc7dfe3f54
Author: Numan Siddique <email address hidden>
Date: Tue Oct 22 19:25:35 2019 +0530

    ovn standalone: Start OVN ovsdb-servers using the kolla startup script

    Prior to this patch, ovsdb-servers are started directly. This doesn't
    take care of any ovsdb schema updates. Instead, if we use the
    start-nb/sb-db-server.sh (generated by kolla OVN images [1])
    it takes care of creating the db file from the schema file if the db
    file doesn't exist. It also takes care of updating the db file if schema was updated.
    The start-nb/sb-db-server.sh used ovn-ctl script internally.

    This patch also prepares the ground for using the latest OVN.
    OVN is split from openvswitch and it has its own code repo. After
    the split, OVN has its own run dir (/var/run/ovn), db dir (/etc/ovn/),
    log dir (/var/logs/ovn) and datadir - /usr/share/ovn/scripts.

    With this patch, it supports running older version (2.11) or new
    version (2.12) without any issues. It mounts the host directories accordingly
    so that there is no impact when OVN is updated and it is transparent.

    (cherry-picked from master commit - fa349ee4f4a6dfe8eca2076722bf04fecaeea638)
    Conflicts:
            deployment/ovn/ovn-controller-container-puppet.yaml

    Closes-bug: #1853272
    Change-Id: I1fbfaf43af17b558497fd2b46fc4278b4703ec74
    Signed-off-by: Numan Siddique <email address hidden>

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 11.4.0

This issue was fixed in the openstack/tripleo-heat-templates 11.4.0 release.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.