summaryrefslogtreecommitdiff
path: root/docker/ovn
AgeCommit message (Collapse)AuthorFilesLines
2022-04-11Adjust permissions on _extend_start files.Tim Shearer1-1/+1
Explicitly set the permissions on the kolla-toolbox kolla_extend_start file. Also, since all extend_start files are sourced rather than executed, the executable bits are now cleared throughout the project. Change-Id: I5c2deb4a2e33575d57c852089f856a9acc6818d0
2022-04-11drop infra_image_prefixMarcin Juszkiewicz5-5/+5
We have one install_type only now so that infra stuff is not needed anymore. Change-Id: I60d50ba7699d46d001eaef365fb84b0ce8e9b262
2021-10-22ovn: Add Debian x86 imagesMichal Nasiadka1-7/+1
aarch64 still has no installation candidate Change-Id: I645f5d04ff2be3a5857765e901eccfe0b56ff199
2020-07-09introduce 'infra_image_prefix' for infra imagesMarcin Juszkiewicz5-5/+5
Defaults to 'image_prefix' for now but shows which images gets their names changed soon. Change-Id: I0608e8f62f28d6667b4c8753c47553e4cbf75503
2020-03-01Add block labels to all DockerfilesChristian Berendt5-0/+10
Change-Id: I9692dda817ef134d647247431565e1b58cf9da41
2019-12-06ovn-base: Create /run/ovn in extend_start.shMichal Nasiadka1-0/+3
OVN 2.12 packages are not creating /run/ovn directory, which is the default socket/pidfile path for ovn services. Change-Id: I9cf8c9a4fafeab00f76ee70a123b9a841aa77512
2019-11-14Use ovn-ctl script to start OVN ovsdb-serversNuman Siddique8-62/+52
Using the ovn-ctl script to start the OVN ovsdb-server is the better way. This script is used to start and stop all OVN systemd services. This script takes care of creating the database from the schema, updating the database from the schema when the schema version gets updated. The present scripts - start_nb_db_server.sh and start_sb_db_server.sh doesn't take care of schema updates. With this, we don't need extend_start.sh in ovn-nb-db-server/ovn-sb-db-server to create the database from the schema. This patch also deletes kolla_ovn_extend_start from the ovn-base image as it is not required. Closes-bug: 1850025 Change-Id: I31a372d801dace92950cd85b29b308431f78bbdb
2019-10-24ovn: Create the ovn dbs only if the schema file existsNuman Siddique2-4/+30
OVN has been split out from openvswitch and it's code is here [1]. With the split we have changed the ovn runtime/data dirs to /etc/ovn and /usr/share/ovn respectively. If a user uses latest OVN (when used after the split from openvswitch), then the extend_start.sh of ovn-nb-db-server and ovn-sb-db-server will fail because the OVN schema files will be in different location (new location is /usr/share/ovn/ovn-nb.ovschema and /usr/share/ovn/ovn-sb.ovschema) The old location is - /usr/share/openvswitch/ovn-nb.ovschema and /usr/share/openvswitch/ovn-sb.ovschema This patch checks for the presence of the schema files in the old location before accessing them. For latest OVN, it is advisable to use the "ovn-ctl" script to start and stop OVN ovsdb-servers. ovn-citl script takes care of creating the dbs and updating the dbs if the schema is updated. [1] - https://github.com/ovn-org/ovn https://github.com/openvswitch/ovs/commit/f3e24610ea18eb873dc860f1710432e9aacd27fd Change-Id: If2bab2fac5be28ae7e1cd02de13a2de94fe17bac Closes-bug: 1849633 Signed-off-by: Numan Siddique <nusiddiq@redhat.com>
2019-02-28debian/ubuntu: make use of Python3 based packagesMarcin Juszkiewicz1-1/+7
Both Ubuntu Stein UCA and Debian 'buster' migrated their OpenStack packages to Python 3. Note that Debian 'buster' is not released yet and contains Rocky packages. Stein ones will be available later. Co-Authored-By: Lee Yarwood <lyarwood@redhat.com> Co-Authored-By: Eduardo Gonzalez <dabarren@gmail.com> Change-Id: I160f79cc57f54ec3eac857c5babd1a6e2656d228
2019-01-17Use base_package_typeAlex Schultz5-10/+10
This change updates the docker files to use base_package_type instead of doing specific distro checks for the rhel/deb generic cases. The base_distro is still available and is used when a specific distro needs a customization but if the differences are purely rpm vs deb, then the base_package_type can be used. Change-Id: I8d720bb185df65a0178061ccf20b1ab2265da2c5
2017-06-02Support OVN docker imagesNuman Siddique10-0/+168
This patch adds kolla images for - ovn-northd - ovn-controller - ovsdb-server for Northbound DB - ovsdb-server for Southbound DB Change-Id: I97f82395cb14108bdff57543e4847a5ece17fe69 Implements: blueprint ovn-controller-neutron Signed-off-by: Numan Siddique <nusiddiq@redhat.com>