aboutsummaryrefslogtreecommitdiff
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
2019-11-14Merge "Revert "Move to RDO Train packages""Zuul2-3/+1
2019-11-14Merge "Use ovn-ctl script to start OVN ovsdb-servers"Zuul8-62/+52
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-11-13Merge "Remove deprecated images"Zuul22-490/+0
2019-11-13Revert "Move to RDO Train packages"Radosław Piliszek2-3/+1
This reverts commit c78c82c9630b334cbaef040d68bce7e5ae8cc118. Change-Id: I61c68bf738673a96dd5ba256e40e8532364ff281
2019-11-13Remove deprecated imagesRadosław Piliszek22-490/+0
Change-Id: I2fe57f7cd79724fa8a36bd702d75b013a68ecd1b
2019-11-12Disable Searchlight for CentOS 7/sourceMarcin Juszkiewicz1-0/+4
Searchlight is Python 3 while CentOS 7/source images are Python 2 Change-Id: I9d2e4f3630efad91b5cc94085ad1dd1f6680e017
2019-11-08[manila] Fixes manila-share on debian/ubuntuDincer Celik1-0/+2
manila-share cannot start on debian/ubuntu because python3-cephfs is missing. Change-Id: Ia592dda4ee20979c701efe6007f236dba9848997 Closes-Bug: #1851692
2019-11-07Merge "swift-rsyncd: don't recursively chown /srv/node at startup"Zuul2-3/+3
2019-11-05swift-rsyncd: don't recursively chown /srv/node at startupMartin Chlumsky2-3/+3
Instead of doing a recursive chown on /srv/node, chown only /srv/node and any immediate subdirectory under /srv/node. Change-Id: I8fd93fa77ba9fc63910360300b8783a34bd4e6d5 Closes-Bug: #1851169
2019-11-05Limit centos repo disable to centos hosts onlySagi Shnaidman1-0/+2
Run dnf or yum to disable centos repos only if used on centos machine. Closes-Bug: #1851135 Change-Id: If6f05237c2512c643857765eecf452f5416b3d60
2019-11-04Fix centos qdrouterd for centos > 7Sagi Shnaidman1-1/+1
Yum doesn't present in centos/rhel version 8, we'll need to use dnf in that case. Change-Id: I2ccbfe4ae55c6a3653d8c03a12e6bca64e58d396 Closes-Bug: #1851135
2019-10-31Merge "Add xfsprogs to nova-compute"Zuul1-4/+8
2019-10-30Merge "Change ODL repo to nexus.opendaylight.org"Zuul1-3/+2
2019-10-30Add xfsprogs to nova-computeMartin Schuppert1-4/+8
xfsprogs is required for formatting XFS ephemeral disk partitions when format=xfs is specified as instance create failes with 'mkfs.xfs: No such file or directory' due to missing xfsprogs package in the nova-compute container. Closes-Bug: #1850610 Change-Id: Iaf3414464f3dd747427247339c6b201b352063cb
2019-10-29Merge "base: use en_US.UTF-8 locale on all distros"Zuul1-1/+1
2019-10-29Merge "Remove /var/yum/cache from CentOS base image"Zuul1-5/+2
2019-10-29base: use en_US.UTF-8 locale on all distrosMarcin Juszkiewicz1-1/+1
C.UTF-8 is not supported in RHEL 7: https://bugzilla.redhat.com/show_bug.cgi?id=1361965 Closes-bug: #1850035 Change-Id: I20dcb86e7e119b9f5ca44cd066fcb9cb84af1ce4
2019-10-28Change ODL repo to nexus.opendaylight.orgMichal Nasiadka1-3/+2
Change-Id: I242945edba84b891ccbf82d5fcce8ef5fe37ad3d
2019-10-28Remove /var/yum/cache from CentOS base imageMark Goddard1-5/+2
Since https://review.opendev.org/#/c/682600/, the following lines result in /var/yum/cache being present in one of the layers of the base image: RUN {{ macros.install_packages(base_centos_yum_repo_packages | customizable("centos_yum_repo_packages"), chain=True, clean=False) }} \ {% for repo in base_centos_yum_repos_to_disable | customizable('centos_yum_repos_to_disable') -%} && yum-config-manager --disable {{ repo }} \ {% endfor -%} {% for key in base_centos_yum_repo_keys | customizable('centos_yum_repo_keys') -%} && rpm --import {{ key }} \ {% endfor -%} && /bin/true {% block base_centos_repo_overrides_post_yum %}{% endblock %} RUN {{ macros.rpm_security_update(clean_package_cache) }} This is because it is not cleaned in the first RUN statement. This adds 76MB to the image. Also, using two separate RUNs which results in an extra 23MB due to updates to /var/lib/rpm/Packages. Found via https://github.com/wagoodman/dive. Change-Id: I0302ee1dfc10a2b7df127ac6a7764a84b1d74a33 Closes-Bug: #1850036
2019-10-28Fix centos qdrouterd - use RDO qpid packages onlyRadosław Piliszek1-0/+3
Disables other sources with qpid packages. Change-Id: I508b8258e0d0aacfa0e4ff56706b5f273d2fbf0a Closes-bug: #1850044
2019-10-26Merge "Move to RDO Train packages"Zuul2-1/+3
2019-10-25Set pipefail in kolla_mariadb_backup.shMark Goddard1-0/+1
Without this, a failure in mariabackup would be ignored due to the pipe to gzip. Change-Id: I84536b302991e8fb04d5fa67ea266bc428437ce1 Related-Bug: #1843043
2019-10-24Merge "get 'apt_*' options of kolla-build.conf working again"Zuul3-0/+4
2019-10-24Merge "ovn: Create the ovn dbs only if the schema file exists"Zuul2-4/+30
2019-10-24Merge "Fix mariabackup arguments"Zuul1-11/+10
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-10-23Fix mariabackup argumentsMark Goddard1-11/+10
After switching from innobackupex to mariabackup [1] for database backups, the kolla_mariadb_backup.sh script was not modified to account for the difference in arguments between innobackupex and mariabackup. There is a compatibility mode, the documentation [2] for which covers some of the differences. The following have been changed: - Add explicit --backup argument, now required - Remove './' positional argument - not required with --stream - Remove --no-timestamp argument - only supported in innobackupex compatibility mode - Remove --incremental argument - implied by --incremental-history-name - Remove deprecated --compress argument, which requires qpress to be installed (it is not). The stream is now passed through gzip instead [3] [1] https://mariadb.com/kb/en/library/mariabackup-overview/ [2] https://mariadb.com/kb/en/library/mariabackup-options/#-innobackupex [3] https://mariadb.com/kb/en/library/using-encryption-and-compression-tools-with-mariabackup/ Change-Id: I67cff47cbf56570b8eaeb66092dd87c2769fc8a6 Closes-Bug: #1843043
2019-10-23base: drop not used apt preferences for UbuntuMarcin Juszkiewicz1-4/+0
We used APT preferences to limit Ubuntu to Ceph 'mimic' (13.x) but those packages are no longer present so we got Ceph 'nautilus' (14.x) in our images. So let's drop not used settings. Change-Id: I51da99efedc0b11c8ff529475f7878e6d9f5e63f
2019-10-22Merge "Switch upper constraints in kolla-toolbox to use releases.o.o"Zuul1-1/+1
2019-10-21Fix python3 compatibility for barbicanDincer Celik2-2/+2
Barbican refers to python3 but uwsgi refers to python2. This change fixes this issue. Change-Id: I508bb082a319955b3e008235e158eaa07a1e8a74 Closes-Bug: #1849128
2019-10-21Switch upper constraints in kolla-toolbox to use releases.o.oMark Goddard1-1/+1
This ensures we can use just the release name in OPENSTACK_RELEASE, rather than the branch name. TrivialFix Change-Id: I1902a5039cb9318d7d70387dd2dc142d915fd298
2019-10-21Move to RDO Train packagesMichal Nasiadka2-1/+3
Change-Id: I396f929ecc11f87fb83585bedd39be93a605c57b
2019-10-21Merge "Bump Openstack Exporter version to 0.6.0"Zuul1-1/+1
2019-10-18Merge "Fix fetch_ceph_keys to run in python3"Zuul1-1/+1
2019-10-18Bump Openstack Exporter version to 0.6.0Keith Plant1-1/+1
There appears to be a bug in the prometheus openstack exporter versions <= 0.2.1 causing cinder data to stop being collected after about 24 hours. Bumping to latest stable version 0.6.0. Change-Id: Iccaf4c0bb79e7e33072e37aa83711b37938d6719 Signed-off-by: Keith Plant <kplantjr@gmail.com>
2019-10-17get 'apt_*' options of kolla-build.conf working againMarcin Juszkiewicz3-0/+4
We broke 'apt_sources_list' and 'apt_preferences' options quite a while ago. Turned out that fix is quite simple. This change adds empty sources.list and apt-preferences files which are always added into images. If kolla-build.conf will use any of APT related options then those files will be replaced with provided ones. Change-Id: I7bbdcbd5c60f654a484a872209e0537e3950346c Closes-bug: #1706549
2019-10-17Fix fetch_ceph_keys to run in python3Michal Nasiadka1-1/+1
Quick fix to convert bytes object to string, that can be serialized by JSON. Change-Id: I7d3db8e43eccc06aaf21e84990317133fa515a1f
2019-10-16Merge "Neutron: add support to use legacy iptables"Zuul2-0/+15
2019-10-16Merge "Add disk dev name check function"Zuul1-39/+20
2019-10-14Merge "Custom CA certificates installation mechanism"Zuul4-1/+37
2019-10-14Add disk dev name check functionEddie Yen1-39/+20
This patch will add new function in extend_start.sh for OSD creation. Not only support loop device but also others that disk dev layout is end with numbers. Change-Id: Iee5f8b8581d70166de6eba1bdc9e42766fe8cb48 Closes-Bug: #1847014
2019-10-12Neutron: add support to use legacy iptablesJan Vondra2-0/+15
Setting legacy iptables for host system kernels not supporting iptables-nft. Change-Id: I3b17bfdbc68a9a227bb22dc05a02ed6da607a114
2019-10-12Custom CA certificates installation mechanismViktor Michalek4-1/+37
Change-Id: I0fd596d93a0e575a391250d4bed261ad370a3664
2019-10-08Remove designate-pool-manager containerAlfredo Moralejo1-37/+0
designate-pool-manager service has been removed in Train cycle [1] so let's remove it. This container was already retired in kolla-ansible [2]. [1] https://review.opendev.org/#/c/665476/ [2] https://review.opendev.org/#/c/682253/ Change-Id: I4f95c6515f73c9e952d0e66c1ed44b1271c798c0
2019-10-04Merge "Revert "Adding python*-pyngus package to openstack base""Zuul1-2/+0
2019-10-04Revert "Adding python*-pyngus package to openstack base"Mark Goddard1-2/+0
This partially reverts commit 73f9b5e47c7cab658ef75ac3dcdc2f006ebc7557. It was fixed in RDO on the packaging side: https://review.rdoproject.org/r/#/c/22745/ Ubuntu packages do not have a dependency on python3-pyngus, so that package has been left in place. Change-Id: Iea8fd1ac30400c67f76aec6d37ee7614f9c51770
2019-10-03Merge "Use C.UTF-8 locale"Zuul1-0/+6
2019-10-03swift-proxy-server: Ubuntu is still on Python 2Marcin Juszkiewicz1-4/+11
Change-Id: Ie174d1154bfe9295e5dae05ac885a5fa88487d4d
2019-10-03Horizon: change location of policy files in DebianViktor Michalek1-0/+2
Change-Id: I7f818141506adee67d568061a93e3c13c65f24db