summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-04-06Add docs and release note for CentOS 8Mark Goddard5-99/+167
Backport note: adapted for Train release which supports both CentOS 7 and 8. Adds info on supported distros to support matrix. Adds release note about CentOS 8 dropped images. Adds columns to support matrix for CentOS 8. Change-Id: I0ada13af2fe57de550c1703d636436190e5d489a Partially-Implements: blueprint centos-rhel-8 (cherry picked from commit 9c1434cf4ef70378f6d69f88fbffb725913135da)
2020-04-04Fix --skip-existing and --skip-parentsMark Goddard3-24/+102
There are currently a few corner cases with the --skip-existing and --skip-parents flags. Examples: 1. kolla-build --type source --skip-parents monasca-grafana This does not try to build the monasca-grafana image. This appears to be an issue when the image is a grandchild. 2. kolla-build --type source --skip-parents This will build all images. Expect it to skip parents. 3. kolla-build --type source --skip-existing This will build all images. Expect it to skip existing images. The filter_images method does quite a lot, including handling whether images are buildable, regex/profile matching, and which images to skip. The matching and skipping parts are done in a single pass, which can lead to some weird effects due to dependencies between the images and their statuses. Also, skipping is only currently applied when there is a regex/profile filter. This change splits out the matching and skipping into two separate passes. In the first pass, we mark all buildable images that match the filter as matched. In the second, we iterate over matched images, applying the skip existing and skip parents rules. Change-Id: I2f895aea0cc59d808129e9fc636af0890196af33 Closes-Bug: #1867614 Related-Bug: #1810979 (cherry picked from commit dfddcce3a5bc98cbd177c984fd9d0a8bab51d40c)
2020-04-04Fix invalid test in cinder data migration scriptGauvain Pocentek2-1/+6
The extend_start.sh script for cinder-api uses an incorrect test to check if the MAX_NUMBER variable is set. This leads to a incorrect cinder-manage command being run if this variable is not set, making the database migration fail. This change fixes the test to properly use the MAX_NUMBER variable. Change-Id: Ie46da709db0de09a9cf641b3c154275282f213fc Closes-Bug: #1866827 (cherry picked from commit ff42ff20048ef3b7d2f8df04ada8ff4bf7b710e0)
2020-04-04CI: Use network mode = hostRadosław Piliszek1-0/+3
This avoids issues with IPv6 not enabled in docker. Change-Id: Iff80392357ef5e2dd3f2e24dbf4df299660805b9
2020-04-03Collectd: ignore failure of disabling epel reposyatinkarel1-1/+1
https://review.opendev.org/#/c/710822/ added disabling of epel and epel-modular repos. There are cases when epel repos are not setup in that case dnf config-manager will fail. Let's ignore the failure in such cases. This change is needed only for Train branch. Partially-Implements: blueprint centos-rhel-8 Change-Id: I4aeb3971b82d461a305264490e829aaacfac9b24
2020-04-03Bump up magnum and manila versionsBharat Kunwar1-2/+2
Change-Id: I2765fe5c4a749aa9249b30a9d235d11cf635d331
2020-04-03CI: Add https match for mirror.centos.org to template-overridesMichal Nasiadka1-0/+3
Some CentOS repos (currently one - Ceph NFS Ganesha) use https://mirror.centos.org instead of http:// and we break their definition by removing mirrorlist= entry and not inserting baseurl entry due to a missing match. Change-Id: I7b29f8c6be80820042023d2b85162d5cc9a65f08 (cherry picked from commit 1a28aefec8d3f9c2d6a5bf77a040a81edc94b3ac)
2020-03-25Merge "CentOS 8: Drop trickle install to build freezer" into stable/trainZuul3-4/+10
2020-03-25Merge "CentOS 8: enable monasca-grafana image" into stable/trainZuul1-1/+0
2020-03-25CentOS 8: Drop trickle install to build freezerMark Goddard3-4/+10
Trickle was previously installed from EPEL7, but is not available in EPEL8. It does not appear critical to the functioning of freezer, so drop it to allow freezer images to build for CentOS 8. Change-Id: I3e12ab51e9f01d383268d75ce72903686564ada6 Partially-Implements: blueprint centos-rhel-8 (cherry picked from commit 548144fc3c2564c9c44a3a42372a1f3b8f2fef34)
2020-03-24CentOS 8: Build bifrost imageMark Goddard2-4/+2
Also enables CentOS 8 ansible bifrost job. Depends-On: https://review.opendev.org/713508 Change-Id: Iec3d51abe50b05f90f764a4058be620cad1f9388 Partially-Implements: blueprint centos-rhel-8 (cherry picked from commit a7ba77fa898092bdc6d423391e9478260d476f4c)
2020-03-24Bump service versions (Train)Mark Goddard1-4/+4
Change-Id: I8cac0ffa5c52b5b6060b8072d7d11c6e8bd9943b
2020-03-23Merge "CentOS 8: Enable hacluster and masakari images" into stable/trainZuul2-2/+2
2020-03-23Merge "CI: Install tox" into stable/trainZuul1-0/+5
2020-03-20CentOS 8: enable monasca-grafana imageMark Goddard1-1/+0
Change-Id: Id67c58580d1eaad86cacc5094ee80a734ac1eb26 Partially-Implements: blueprint centos-rhel-8 (cherry picked from commit b0c1647352dda3e785612c6c66e07b97290ae85d)
2020-03-20CentOS 8: Enable hacluster and masakari imagesMarcin Juszkiewicz2-2/+2
CentOS 8.1 came with HA repo. So we can use it. hacluster-pcs image is disabled as we lack 'crmsh' package for it. Partially-Implements: blueprint centos-rhel-8 Co-Authored-By: Mark Goddard <mark@stackhpc.com> Change-Id: I1c786eda399eca4464c9d68ac040c2965350f775 (cherry picked from commit 92224ccb518c90d7c269158d074d811aee2f05f0)
2020-03-19CI: publish AArch64 Debian/source imagesMarcin Juszkiewicz2-0/+12
We want to test upgrades on aarch64. For this we need to publish images. AArch64 images with get "-aarch64" added to tag to not collide with x86-64 ones. (manually adapted from master change) Change-Id: Ibae2578b4bc18c0ab7fcc1840c39bb86659ab920
2020-03-18Merge "Fix Horizon build after switch to pyscss2 which lacks binary wheel" ↵Zuul1-0/+2
into stable/train
2020-03-18Fix Horizon build after switch to pyscss2 which lacks binary wheelRadosław Piliszek1-0/+2
It now requires pcre-dev package to finish building. Change-Id: I4e003c9aa32579d467c489a53741e20ced2f4b52 Closes-bug: #1867888
2020-03-18CI: Install toxMark Goddard1-0/+5
tox will be removed from the base image. Install it before that happens. This change is made in a simple way that can be easily backported. Change-Id: I2a24c87aa44c1e03ba76a2fb0bd71caf54eb4211 (cherry picked from commit a81413fc52b0eaf1eefc3302ba425ac9b93d5a4d)
2020-03-17kibana, nova-libvirt: handle it properly for non-x86Marcin Juszkiewicz4-8/+35
manual backport from master changes: - https://review.opendev.org/#/c/712987/ - https://review.opendev.org/#/c/713403 Upstream kibana package contains NodeJS x86-64 binaries so can not be used directly on non-x86 architectures. I took upstream packages, removed NodeJS binary from it and added 'nodejs' dependency. Package is present in my Linaro OBS repository where I keep other packages needed for aarch64 kolla run. Via APT pinning I mark them as not wanted so they are not used on any architecture with two exceptions: 1. libvirt - we need fixed version to be able to use ThunderX servers 2. kibana - to be able to run it at all For x86-64 upstream kibana package is used. Closes-bug: #1867365 Change-Id: I955619d6992f8714ae753dc155e248d255340ecf
2020-03-16Merge "Build collectd image for CentOS8" into stable/trainZuul2-3/+4
2020-03-16Merge "Add cinderlib RPM to cinder-volume" into stable/trainZuul1-0/+2
2020-03-16Merge "Adds python3-systemd for ansible deploy interface" into stable/trainZuul2-0/+9
2020-03-13Build collectd image for CentOS8yatinkarel2-3/+4
Required packages are available in RDO repo, so this should build fine. Partially-Implements: blueprint centos-rhel-8 Change-Id: I14cc9d0f2c5d72c6dad89de2ac6dcffda8510285 (cherry picked from commit 2089165388c6da609973d9083f40b163382dbcc3)
2020-03-12Merge "Add ssh clients to Ironic Conductor container" into stable/trainZuul2-0/+9
2020-03-12Merge "Clean up collectd dockerfile" into stable/trainZuul1-13/+8
2020-03-12kibana: enable for non-x86 on Debian/UbuntuMarcin Juszkiewicz2-3/+10
As upstream generated 'all' package as 'amd64' one I took some time and repackaged it. manual cherry-pick from https://review.opendev.org/#/c/707787/ Change-Id: Ie84ed771ffa9ecd70b945673727895c8edad30eb
2020-03-12Clean up collectd dockerfileMatthias Runge1-13/+8
for CentOS 7 and CentOS 8. Change-Id: I46d567f7ddadf4a40a4af9652248b50b3ac7be80
2020-03-12Add ssh clients to Ironic Conductor containerAntony Messerli2-0/+9
Adds ssh clients to Ironic Conductor container for ansible deploy interface. Change-Id: Ib995c6ebe5ee76ee1a39e4b5918a79bd61b87a01 Closes-Bug: #1862079 (cherry picked from commit 7234e8b2f72275c85caa146a6d9e49d1ab8281b7)
2020-03-12openstack-base: pin setuptools < 46 to get horizon workingMarcin Juszkiewicz1-0/+5
pyScss used by Horizon fails to work with setuptools > 46 version. It's last release was in 2016 so probably no one fix it. Let make sure that we get older version of setuptools. Broken due to https://bugs.launchpad.net/kolla/+bug/1866961 Change-Id: I2a3fa657a3e1a9b8b0acb0b50bd4f3e98078f4ff
2020-03-11Adds python3-systemd for ansible deploy interfaceAntony Messerli2-0/+9
When doing a source install, ironic doesn't have python3-systemd as a dependency and the current ironic-conductor container doesn't install the required dependencies which causes the ansible deploy interface to fail with the error, "Systemd bindings do not exist". This adds the needed dependencies when doing a source build. This installs the needed files for both rpm and deb builds on python 2.x and 3.x. Change-Id: I5d1bcb0f7d7902b4e122c12697483433bcf52ca2 Closes-Bug: #1861427 (cherry picked from commit 4a67e58f7971641c55247f02985e13ef391ca7ab)
2020-03-06Fix renosRadosław Piliszek2-2/+2
to backport before releases Change-Id: I467da5e7e2e59d226987db970ea80c161bc454e4 (cherry picked from commit 0b10e5ca800388b193e5ef2e85ffd6bf64bcae10)
2020-03-06Merge "Use StorageSIG repos for Ceph in CentOS8" into stable/trainZuul2-3/+14
2020-03-06Merge "CentOS 8: Add deploy jobs in CI" into stable/trainZuul1-0/+12
2020-03-05Use StorageSIG repos for Ceph in CentOS8Alfredo Moralejo2-3/+14
Storage SIG has built Ceph Nautilus and Ganesha for CentOS8 in CentOS Build System. Let's switch to use them in kolla. Depends-On: https://review.opendev.org/711214 Change-Id: Id37dca84c4eb918aaf2d3c036ef5387fe75988dd (cherry picked from commit 0c6312968214e403b5a408d69df17bd0a9267095)
2020-03-04Add cinderlib RPM to cinder-volumeGorka Eguileor1-0/+2
Finding the root cause of attach/detach operation on volumes can be very complicated. This patch adds the cinderlib RPM to the cinder-volume container, which can, in many scenarios, really help debug these issues on live nodes (controller and compute) without affecting our running services. Change-Id: I5f55c892b1ae9eba9b6af8a45ef7dfad515c7b05 (cherry picked from commit a1b74b76977f8300938c6a6a9adf67af6cd50086)
2020-03-02Merge "Bump train versions" into stable/trainZuul1-6/+6
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-28Merge "Switch to python3 in bindep.txt" into stable/trainZuul1-1/+3
2020-02-28Merge "CentOS 8: Relax ironic iPXE EFI bootloader location" into stable/trainZuul1-1/+1
2020-02-28Merge "CentOS 8: Install python in the base image (Train only)" into ↵Zuul1-0/+9
stable/train
2020-02-28Merge "CentOS 8: Allow SSH access to keystone_ssh and nova_ssh" into ↵Zuul2-1/+16
stable/train
2020-02-28Merge "CentOS 8: Use upstream Ceph/master" into stable/trainZuul3-7/+37
2020-02-28Merge "CentOS 8: Remove shellinabox from ironic-conductor" into stable/trainZuul2-3/+6
2020-02-28CentOS 8: Install python in the base image (Train only)Mark Goddard1-0/+9
This was missed due to the difference in base package lists between master and stable/train, with train having separate lists for binary and source, and master having a single combined list. Partially-Implements: blueprint centos-rhel-8 Change-Id: I4417ad735933df786651f3190cc3250b9b306027
2020-02-26Bump train versionsMarcin Juszkiewicz1-6/+6
Change-Id: I320e62b893fa2b33afa9de1e744e993223a3f846
2020-02-26Merge "CentOS 8: Update packages in images" into stable/trainZuul20-138/+170
2020-02-26Merge "CentOS 8: base and openstack-base images" into stable/trainZuul9-41/+263
2020-02-26Merge "CentOS 8: Don't force tag in build jobs" into stable/trainZuul2-7/+7