summaryrefslogtreecommitdiff
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
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
2019-10-02Merge "Fluentd: There is available td-agent pkg for Buster"Zuul2-1/+7
2019-10-02Merge "swift-proxy-server: use Python 3 for Debian/Ubuntu"Zuul1-1/+1
2019-10-02Merge "mistral-event-engine: enable for Debian/Ubuntu"Zuul1-3/+2
2019-10-02Merge "monasca: add 'monasca-common' to base"Zuul1-0/+1
2019-10-02Merge "debian: switch to Train binary packages"Zuul2-4/+4
2019-10-02Fluentd: There is available td-agent pkg for BusterViktor Michalek2-1/+7
Thanks a lot to Masahiro Nakagawa https://github.com/treasure-data/omnibus-td-agent/issues/209#issuecomment-530340475 Change-Id: I9c4993436844d45bc9df2815659fa7c420910b01
2019-10-02monasca: add 'monasca-common' to baseMarcin Juszkiewicz1-0/+1
'monasca-common' is used by several monasca images: - agent - api - log-api - notification - persister So build it once. Change-Id: I33fbc77562d3806695345ffd7504ef3385f7564a
2019-10-01Install rsync in swift-base containers on Debian/UbuntuMark Goddard1-10/+16
This is used by the replicator services. Change-Id: Iad7ad20542a159469d95e990c20564633046b251 Closes-Bug: #1846207
2019-10-01mistral-event-engine: enable for Debian/UbuntuMarcin Juszkiewicz1-3/+2
Depends-On: https://review.opendev.org/685901 Change-Id: I0c5e5cc895238094e30fac49dfc6e7bd880ca55e
2019-10-01swift-proxy-server: use Python 3 for Debian/UbuntuMarcin Juszkiewicz1-1/+1
Change-Id: I035c4fe7308adb851f93753a8e71fec8965c6704
2019-10-01debian: switch to Train binary packagesMarcin Juszkiewicz2-4/+4
Repository may not contain all packages yet. Change-Id: I88e1c8c1ce78fc138fa2541b15a7620fa7300043
2019-10-01Merge "Horizon: fix for Debian"Zuul2-9/+24
2019-10-01Horizon: fix for DebianViktor Michalek2-9/+24
Stein/Buster packages are enabling plugins by default at its installation time, but we actually know what plugins should be enabled just only at the deploy time. Therefore we need to install all available plugins and disble them right at the image build time. Plugins will be enabled according to deployment (kolla-ansible) configuration at deploy time. Change-Id: I9604ebb4f2a5081fd1209b9841aa997a70a90a11
2019-09-29Neutron: fwaas should be installed also in DebianViktor Michalek1-10/+4
Change-Id: I3cbb64bc13bca6508dbc334fcec9214ca4c32185
2019-09-29sensu-client: Pin minitest Ruby gem on CentOSRadosław Piliszek1-1/+2
Change-Id: I1afd2d50c0dc2de6d305b56bd5f9182745fee843 Closes-bug: #1845843 Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2019-09-28Merge "Adding python*-pyngus package to openstack base"Zuul1-0/+3
2019-09-27Merge "Placement: Debian pkg has migration script in different path"Zuul1-1/+7