summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-03-06Fix renosRadosław Piliszek2-2/+2
to backport before releases Change-Id: I467da5e7e2e59d226987db970ea80c161bc454e4 (cherry picked from commit 0b10e5ca800388b193e5ef2e85ffd6bf64bcae10)
2020-03-06Adapt fetch-fernet-tokens script to Python 3Michal Nasiadka2-1/+7
Backport: train Closes-Bug: #1859047 Change-Id: I9032e43bffa3a3de6c33a4ab59f65bafb0129dd5 (cherry picked from commit 902f16cb1a8efc44da8669a6707d93d47160ae9d)
2020-02-28Fix kolla_toolbox_pip_virtualenv_packages overrideXing Zhang2-1/+6
backport: train, stein, rocky Override in filter needs to follow the rule: <image_name>_<call_type>_<override/append/remove> `call_type` for `kolla_toolbox_pip_virtualenv_packages` should be `pip_virtualenv_packages`, and `pip_packages` can't match with `kolla_toolbox_pip_virtualenv_packages`, this makes the value can't be overrode in template override. Change-Id: I1dbe2dfd4bce73ce2285f45f997d45b5dcc95f4c Closes-bug: #1865119 (cherry picked from commit 74d5a66e6bf744ad936d702443a8d64be86441ba)
2020-02-27Bump stein versionsPierre Riteau1-1/+1
Change-Id: Ie7a5d74e4640e5ec5e9885b4733551cf050d0853
2020-02-27Merge "Bump stein versions" into stable/steinZuul1-8/+8
2020-02-26Ignore EM releases in version-check.pyMark Goddard1-0/+4
We don't want to use Extended Maintenance (EM) tags, since these are just markers of a point in time and not available as released artifacts. Change-Id: If552f7ffc22d4b25769c14c083179eecf5a93158 (cherry picked from commit f528ad81026526af02610aa3e08200fd53b87ab9)
2020-02-26Bump stein versionsMarcin Juszkiewicz1-8/+8
Change-Id: I51ebb3e35c08ab0e2402508c9f833aa0fa71cef0
2020-02-12Bump Gnocchi to 4.3.4Pierre Riteau2-1/+8
It includes several bug fixes, in particular one for an issue when coordination is disabled [1]. [1] https://github.com/gnocchixyz/gnocchi/issues/996 Change-Id: I0ac41463bd6ca1eb363e1c5cdc29f7222ec382b1
2020-02-08[stein] Bump versionsDincer Celik1-4/+4
Change-Id: I5f27a47caa3fc644fd1b575bf70935e746c6b5c8
2020-02-05nova-libvirt: add UEFI packages to support UEFI instanceschenxing2-0/+24
Fix inability to run UEFI-based images/instances by installing UEFI packages also in nova-libvirt image which is not based on nova-base. Adapted for Stein and below (e.g. Rocky) by removing any C8 support. Closes-Bug: #1814552 Co-authored-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Co-authored-by: Radosław Piliszek <radoslaw.piliszek@gmail.com> Change-Id: I1d5cd3d9af98444acac5bedd7daeaa6c6673dcd6 (cherry picked from commit 15b68c15c1dd0c2df1cc49b550f2fa03a4c65e8e) (cherry picked from commit ffaf585d0f05ccd9123459bb0cdf345af5b09573)
2020-02-05Change fetch_fernet_tokens.py behaviour to check for minimum number of tokensMichal Nasiadka1-2/+2
Change is required to properly implement logic in fernet-node-sync.sh on kolla-ansible side - to add a check if fernet key store is populated with required number of tokens. Change-Id: I51ed61e34a1dd79532b4528e56a9cd9011d46e6d Related-Bug: #1846789 (cherry picked from commit 267cb8b14ae8472d00e09c2b5e35bda7de2de54f)
2020-01-24[stein] Bump versions8.0.2Dincer Celik1-1/+1
Change-Id: Ib6c5a017adaa1f85b21976a30a63bc4363e4742d
2020-01-22Merge "CI: Fix symlinks to failed logs" into stable/steinZuul1-13/+0
2020-01-22Merge "Fixes swift-object-expirer for Debian and Ubuntu binary images." into ↵Zuul2-1/+6
stable/stein
2020-01-21[stein] Bump versionsDincer Celik1-1/+1
Change-Id: I0a524bf7147446f7604ec3555fe926e7f251d736
2020-01-20Fixes swift-object-expirer for Debian and Ubuntu binary images.Dincer Celik2-1/+6
Replaces 'swift-object' package with 'swift-object-expirer' package. Change-Id: I8fa3fcad88b35743e042d8a62ccee722b08af673 Closes-Bug: #1859607 (cherry picked from commit 190a6f7a264c1ea8c0c565d2b75fb73fdc29d500)
2020-01-20CI: Fix symlinks to failed logsRadosław Piliszek1-13/+0
Stop renaming files. Swift should be able to serve text/plain files based on content, not extension. Failed logs symlinks were broken because we stopped gzipping log files and improperly rewrote the logic there. Change-Id: Idddf51730821644948f51577807f5beaa18c6262 (cherry picked from commit 4a0182f15acbabc88df0aa660abce81d61f528da)
2020-01-20config: make kolla work with oslo.config 7.0.0+Marcin Juszkiewicz1-1/+1
From oslo.config 7.0.0 release notes: > Positional options are now required by default, to match argparse’s > default behavior. To revert this behavior (and maintain optional > positional arguments), you need to explicitly specify positional=True, > required=False as part of the options definition. So let's follow. Change-Id: I77fdbcb905b1a7f2d535c3a37b2899118d1442c5 (cherry picked from commit aaa472bfa257aea53abcb3642ad4beeaed1b99a8)
2020-01-20[stein] Bump versions and pin vmware-nsxRadosław Piliszek1-2/+2
For some reason vmware-nsx releases outside openstack/releases keeping the neutron version in sync. Somehow we missed the pin in stein (it is pinned in rocky and train). Change-Id: Iacd75261d14dc7d9fe89d0db7502831976a6b894
2020-01-15Merge "CI: Fix symlinks for failed build logs" into stable/steinZuul1-6/+0
2020-01-13Fixes rally db commandsDincer Celik2-1/+6
'rally-manage db' command was deprecated since 0.10.0 [1]. Should use 'rally db' instead. [1] https://rally.readthedocs.io/en/latest/project_info/release_notes/archive/v0.10.0.html#command-line-interface Closes-Bug: #1856693 Change-Id: I578f7a6d907d5579180bc64c99c7e6c8edf3afc8 (cherry picked from commit 1114859b5cb940290f405cd64e34c6638dcebcae)
2020-01-13CI: Fix symlinks for failed build logsMark Goddard1-6/+0
Follow up to I5b5f323471676317a2898875cbbf297082328fcc. Logs are no longer gzipped, so we do not need to modify the 000_FAILED_* symlinks. Change-Id: I5df42ac0ff91b1b97537a4fbc33fc7970f29d60e (cherry picked from commit 63f773f569c7601deab40b32bd62ccde513fa46f)
2020-01-10Merge "Stop gzipping logs in post" into stable/steinZuul1-4/+0
2020-01-10Stop gzipping logs in postMichal Nasiadka1-4/+0
As per [1] we should stop compressing the logs sent to swift in order to get them back readable via a browser. [1]: http://lists.openstack.org/pipermail/openstack-discuss/2020-January/011875.html Change-Id: I5b5f323471676317a2898875cbbf297082328fcc (cherry picked from commit f44b0b778b0d3a0bfa2f7d5cc126618c4c1e67f5)
2020-01-10neutron: fix build in stable branchesMarcin Juszkiewicz1-0/+1
When [1] was committed, neutron stopped building for Train. Analogous patch is proposed to other stable branches. This patch removes neutron from upper-constraints. Kolla master is affected directly because we build Train for CentOS 7 atm. 1. https://review.opendev.org/#/c/697370/ Change-Id: I944e8e42fef1d359d767cbc6e1c13371ed753f31
2020-01-08Bump versions for Openstack steinMarcin Juszkiewicz1-1/+1
Change-Id: Ia1ffb7b0834ffd776d2c7ffac40757eafa51ff29
2020-01-07horizon: fix build in stable branchesMarcin Juszkiewicz1-0/+2
When [1] was committed, horizon stopped building for Train. Analogous patch is proposed to other stable branches. This patch removes horizon from upper-constraints. Kolla master is affected directly because we build Train for CentOS 7 atm. [1] https://opendev.org/openstack/requirements/commit/3e54878f9c87266e1b9775f72af06de27a3dad65 Co-authored-by: Radosław Piliszek <radoslaw.piliszek@gmail.com> Change-Id: I1bd5a40eeef9612d995c81426fe510e89f438725 (cherry picked from commit 8b7ec43536842dd500cc5ee1198a318070ac1046)
2020-01-02Merge "Bump OpenStack versions for Stein" into stable/steinZuul1-1/+1
2019-12-31create missing apache2 directory on Debian/UbuntuMarcin Juszkiewicz23-0/+23
Ubuntu/source deployment of several images (horizon, placement-api, zun) failed with: + exec /usr/sbin/apache2 -DFOREGROUND apache2: Syntax error on line 80 of /etc/apache2/apache2.conf: DefaultRuntimeDir must be a valid directory, absolute or relative to ServerRoot Change-Id: Ie2a1077f7def0743f1403341985e2109aa490026 (cherry picked from commit 932f09bcd65e15524b5229fdb6bc73a7e0111b27)
2019-12-20Bump OpenStack versions for SteinPierre Riteau1-1/+1
Change-Id: I6f6b32e3858f793a4674967e3fa3fcec87d93e6e
2019-12-19Bump versions for Openstack steinMarcin Juszkiewicz1-2/+2
Change-Id: I88ebd3db3bf2be0db1c9082b050fe5788d3a7239
2019-12-17Fix monasca-grafana being unbuildable due to old npmRadosław Piliszek1-1/+6
Affected builds on Ubuntu which had: npm 3.5.2 while the latest was: npm 6.13.4 And CentOS had: npm 5.6.0 This patch runs npm update via npm. Pinned to 6.x. Additionally, this moves npm packages prefix (root) to /usr/local to avoid conflicts with native packages. Change-Id: Ibaacc1cc478b2b2f8196a5da4eea3570d7d310ff Closes-bug: #1856699 (cherry picked from commit 308e85aa413da84ed107b27fa09a3f0e0a64392f)
2019-12-09Fix keystone bootstrap error message displayMark Goddard2-1/+11
In some situations, Keystone bootstrap can fail, and then unhelpfully fails displaying the error message output by the 'keystone-manage bootstrap' command. This appears to be due to unprintable control characters in the error message which prevent the output of the script from being valid JSON. This change fixes the issue by piping the output through 'cat -v', which replaces unprintable characters with control codes. Change-Id: I82444bc2272311023cc9e92c5a298d1c4c87483b Closes-Bug: #1855701 (cherry picked from commit bcca3fabe305c1e206fdb231c31809ceff2d4774)
2019-12-05Install etcd3gw to fix Ubuntu binary tooz coordinationRadosław Piliszek2-0/+7
Change-Id: Ib56e62d1fb4d0fc4a6c627b87a929be0bc614d1e Closes-bug: #1852086 (cherry picked from commit 0186c5e3cafeae0bb1c39bdef0df6ade827552d5)
2019-11-29Bump OpenStack versions for SteinMarcin Juszkiewicz1-7/+7
Change-Id: Ia1f17f3bffbd59ad99e46ddd100b88617737f29c
2019-11-13Merge "[manila] Fixes manila-share on debian/ubuntu" into stable/steinZuul1-0/+1
2019-11-08swift-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 (cherry picked from commit 2d122afaf9817cadc668b308c4f736e47c09a55f)
2019-11-08[manila] Fixes manila-share on debian/ubuntuDincer Celik1-0/+1
manila-share cannot start on debian/ubuntu because python3-cephfs is missing. Change-Id: Ia592dda4ee20979c701efe6007f236dba9848997 Closes-Bug: #1851692 (cherry picked from commit 1d5a208c2e5c81ed4169c63d1d5ea0ad31b78f2f)
2019-11-07Merge "Stein: support mariabackup for backups" into stable/steinZuul2-0/+51
2019-11-07Merge "get 'apt_*' options of kolla-build.conf working again" into stable/steinZuul3-0/+4
2019-11-05Stein: support mariabackup for backupsMarcin Juszkiewicz2-0/+51
This is a combination of 3 commits from Train. Rather than dropping xtrabackup, we are keeping it in addition to adding support for backups using mariabackup. 1. Drop Percona XtraBackup in favour of MariaDB Backup XtraBackup started failing to install on Ubuntu and does not support MariaDB 10.3 version. Related-Bug: #1843043 I9cf62c8e03a02574d85e5349df1d23a51d4c99be 2. Fix mariabackup arguments 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/ I67cff47cbf56570b8eaeb66092dd87c2769fc8a6 Closes-Bug: #1843043 (cherry picked from commit 65b27d772be32738a8508ea8e6c07f74f229cdb7) 3. Set pipefail in kolla_mariadb_backup.sh Without this, a failure in mariabackup would be ignored due to the pipe to gzip. I84536b302991e8fb04d5fa67ea266bc428437ce1 Related-Bug: #1843043 Change-Id: Idf1aed905a7d9ad461dd6fe17ed199c8d60370e6
2019-11-05get '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 (cherry picked from commit bf20b41e7dea702b693fa98ea27822c8a33a5591)
2019-11-05Add effective and permitted capability to blackbox exporterScott Solkhon1-1/+16
The ICMP probe in the Prometheus blackbox exporter requires elevated privileges to function. Linux root user or CAP_NET_RAW capability is required. Can be set by executing setcap cap_net_raw+ep blackbox_exporter. This change also bumps the version of the blackbox exporter to the next minor version to allow for this support. '+ep' means we're adding the capability as effective and permitted. See: https://github.com/prometheus/blackbox_exporter Change-Id: I1c3b817712ae10edd45de01382b044af2fb728bd Closes-Bug: #1840631 Co-authored-by: Jack Heskett <Jack.Heskett@gresearch.co.uk> (cherry picked from commit b5a4478b0fa9b775a9b5c45545e78e9215a50588)
2019-11-03Merge "Bump OpenStack versions for Stein" into stable/steinZuul1-8/+8
2019-11-03Merge "Add xfsprogs to nova-compute" into stable/steinZuul1-4/+8
2019-10-30Change ODL repo to nexus.opendaylight.orgMichal Nasiadka1-3/+2
Change-Id: I242945edba84b891ccbf82d5fcce8ef5fe37ad3d (cherry picked from commit 939a56035b8f15b74dff2d68154963735b0f73b4)
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 (cherry picked from commit 9b1a243a3a1669532f25bbdcbc56b78f0f72882c)
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 (cherry picked from commit e41e86c805167b9ab2f5c6217f8f8ad5cf773f52)
2019-10-25Bump OpenStack versions for SteinMark Goddard1-8/+8
Change-Id: I7820452f107e036d92b282462b0911a0f0e46d82
2019-10-23Merge "Revert to uwsgi-plugin-python for barbican source images" into ↵Zuul1-1/+1
stable/stein