summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-02-26Merge "Remove tgtd and scsi-target-utils support in CentOS/RHEL 8" into ↵Zuul4-5/+24
stable/train
2020-02-26CentOS 8: Add deploy jobs in CIMark Goddard1-0/+12
Adds the following deploy jobs, defined in kolla-ansible, to the CI check pipeline: - kolla-ansible-centos8-source - kolla-ansible-centos8-binary - kolla-ansible-centos8-source-cinder-lvm - kolla-ansible-centos8-source-scenario-nfv - kolla-ansible-centos8-source-ironic The following job is not yet passing: - kolla-ansible-centos8-source-bifrost Also adds the following deploy job to the CI gate pipeline: - kolla-ansible-centos8-source Partially-Implements: blueprint centos-rhel-8 Depends-On: https://review.opendev.org/709536 Change-Id: Idca0f983451fb67527f4917642de510dbf9af921 (cherry picked from commit 018f69bc7177403bb7c9d644bc4dbf96bc2915e2)
2020-02-26Switch to python3 in bindep.txtMark Goddard1-1/+3
Backport note: Keeping python-dev python-devel for Python 2. We've already dropped py2 support and switched to py3. This was missed. Change-Id: I8484ffc8993b28fca25885d3f712ac5c0a8939b8 Partially-Implements: blueprint drop-py2-support (cherry picked from commit 8f73881a7530ee5bbdf529d69ac01b440d5b69ae)
2020-02-26CentOS 8: Relax ironic iPXE EFI bootloader locationMark Goddard1-1/+1
CentOS 7 had ipxe.efi. CentOS 8 has ipxe-i386.efi and ipxe-x86_64.efi. Use a wildcard to copy any of these that are present. Change-Id: I6d409e56b424a039f5aff9af86ca1b026c2c6286 Partially-Implements: blueprint centos-rhel-8 (cherry picked from commit adcdef7d85b4d1a89592f01ae4902b43b768f0d3)
2020-02-26CentOS 8: Allow SSH access to keystone_ssh and nova_sshMark Goddard2-1/+16
The centos:8 image contains a /run/nologin file, which prevents SSH access to it. Remove this file in the keystone_ssh and nova_ssh images to allow login via SSH. Change-Id: I59dc2c4207af6812501b6c6acdb34e51a3e848c4 Partially-Implements: blueprint centos-rhel-8 (cherry picked from commit 892ae92d971fd7a2c8d39e416512bb69f7fd833f)
2020-02-26CentOS 8: Use upstream Ceph/masterMichal Nasiadka3-7/+37
The only Ceph version that will support CentOS 8 is Octopus. It will be released end of March 2020 - so for now let's use master. Change-Id: I5955acb41e7346802d76f4f2b244cbf5c36f5bf2 Partially-Implements: blueprint centos-rhel-8 (cherry picked from commit 70423f19596f92ed01c89e7d62f8c46a6dba6a23)
2020-02-26CentOS 8: Remove shellinabox from ironic-conductorMark Goddard2-3/+6
shellinabox is used by ironic-conductor to provide a browser-based shell to access the consoles of nodes. It is not used by all console drivers, and is not used in the integration with nova serial consoles. The package was previously installed from EPEL7, but is not currently provided by EPEL8. This change removes the package to allow the ironic-conductor image to build. Change-Id: I210d9fddd6948dab1feb5abf59a50bce86f21f0f Partially-Implements: blueprint centos-rhel-8 (cherry picked from commit 397651ec4b5b93a55d0b8b8f69dfb37dd85cfc8d)
2020-02-26Merge "vitrage-base: honor distro_python_version" into stable/trainZuul1-1/+1
2020-02-26CentOS 8: Update packages in imagesMark Goddard20-138/+170
* Some further changes for python2 vs python3 packages * Allow rabbitmq 3.7.*, since a newer erlang is available * Switch from qemu-img-ev to qemu-img on CentOS 8 * bridge-utils no longer available on CentOS 8 * libvirt-daemon-driver-lxc no longer available on CentOS 8 * Mark some more images buildable for CentOS 8 Depends-On: https://review.opendev.org/709553 Change-Id: Iaf5b68ff6d944ae730ca0b1d5832172c106a6c08 Partially-Implements: blueprint centos-rhel-8 Partially-Implements: blueprint centos-rhel-python-3 (cherry picked from commit 4b4e26262b9e03190c639481fb60a8f4f92c532a)
2020-02-26CentOS 8: base and openstack-base imagesMark Goddard9-41/+263
Adds support to the base and openstack-base images for CentOS 8. These images have been removed from the list of unbuildable images, and replaced with all dependent images. This change also includes backports of a number of other changes related to the base image: * CentOS 8: disable repo_gpgcheck for grafana image (Ice120e8001fd9e8bb37ca4f2df26259cf798ee0e) * CentOS 8: base image fixes for RabbitMQ, fluentd & InfluxDB (Ibbb720390ff17e11249a5aa77163c15c0971209a) Change-Id: I18fba8a5c2f99b700990cbf41c76077a1ec2408a Partially-Implements: blueprint centos-rhel-8 (cherry picked from commit 3c618a1f6f0beca723e031fbe323b159400ad08f)
2020-02-24vitrage-base: honor distro_python_versionMarcin Juszkiewicz1-1/+1
Change-Id: I27c71c1237dc010531495440e6094d8b129f6c48 (cherry picked from commit 90babe35d0e075ad15904bb2263e1dd019f10532)
2020-02-24CentOS 8: Don't force tag in build jobsMark Goddard2-7/+7
We should allow the tag set in kolla-build.conf to be used for the image tags, since our deploy jobs need to set it to change_XXXXXXX when images are built for the job. Change-Id: I705514ee0249ff1d309e280001d653271e3686af Partially-Implements: blueprint centos-rhel-8 (cherry picked from commit 8788a452a9ab7c1f3a94986c2a55e887d1530bbf)
2020-02-24Remove tgtd and scsi-target-utils support in CentOS/RHEL 8Maciej Kucia4-5/+24
In CentOS/RHEL 8 there is no scsi-target-utils package, nor is it available in EPEL. In RHEL 7 and beyond the LIO kernel subsystem can be used instead of the tgtd daemon. This change removes support for the SCSI target daemon on CentOS/RHEL 8. The 'tgtd' image is no longer available for CentOS/RHEL 8. Change-Id: I56f230d66f75dd0546325676278f91579f08c822 Signed-off-by: Maciej Kucia <maciej@kucia.net> Co-Authored-By: Maciej Kucia <maciej@kucia.net> Co-Authored-By: Mark Goddard <mark@stackhpc.com> Related: blueprint centos-rhel-8 Depends-On: https://review.opendev.org/#/c/702417 (cherry picked from commit 946749312f31c36d9dac8ff3a545894e9043190d)
2020-02-24nova: use proper uefi package names under CentOS/RHEL 8Marcin Juszkiewicz1-0/+16
Change-Id: I92be17ef1ce0f81ab3f49433a0d1e688874ba64e (cherry picked from commit a04963a6abdf34a49ecb815d97de394d8c7a152b)
2020-02-21Merge "CentOS 8: Add zuul build and publish jobs" into stable/trainZuul5-2/+91
2020-02-21Merge "CentOS 8: work around mod_ssl certificate issue" into stable/trainZuul1-0/+9
2020-02-20Merge "Refactor Apache httpd setup" into stable/trainZuul26-276/+61
2020-02-19Merge "CI: Replace cinder-lvm scenario with zun scenario" into stable/trainZuul2-6/+4
2020-02-08[train] Bump versionsDincer Celik1-4/+4
Change-Id: I0e8adfb4f0cdca748a7391085c059e366f34cb44
2020-02-07CI: Replace cinder-lvm scenario with zun scenarioRadosław Piliszek2-6/+4
As discussed during the meeting. [1] [1] http://eavesdrop.openstack.org/meetings/kolla/2020/kolla.2020-02-05-15.00.html Change-Id: Ie095590b82d6e1b3922d99178d3a4019626ab630 (cherry picked from commit a7c2e4b34c91bbe947490940da23bc0f6ea4867c)
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-31nova-libvirt: add UEFI packages to support UEFI instanceschenxing2-0/+36
Fix inability to run UEFI-based images/instances by installing UEFI packages also in nova-libvirt image which is not based on nova-base. Includes support for C8. Backport below Train w/o C8. 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)
2020-01-24[train] Bump versions9.0.1Dincer Celik1-1/+1
Change-Id: I7846a797a0d8bd83c7406e1746556f0d5554b925
2020-01-22Merge "CI: Fix symlinks to failed logs" into stable/trainZuul1-13/+0
2020-01-22Merge "Fixes swift-object-expirer for Debian and Ubuntu binary images." into ↵Zuul2-1/+6
stable/train
2020-01-22Merge "[train] Bump versions" into stable/trainZuul1-1/+1
2020-01-21[train] Bump versionsDincer Celik1-1/+1
Change-Id: Iaeb34f0c66dd3b25b0fa300d8e838ddc9704acf2
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-20[train] Bump versionsRadosław Piliszek1-2/+2
Change-Id: I186735fe8098ec30d22ede48224a8fece3df8147
2020-01-17config: 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-15Merge "Stop gzipping logs in post" into stable/trainZuul1-4/+0
2020-01-15Merge "CI: Fix symlinks for failed build logs" into stable/trainZuul1-6/+0
2020-01-14CentOS 8: Add zuul build and publish jobsMark Goddard5-2/+91
Adds build and publishing jobs for CentOS 8 images: - kolla-build-centos8-binary - kolla-build-centos8-source - kolla-publish-centos8-binary - kolla-publish-centos8-source The 'base' image has been added to the list of unbuildable images for CentOS 8 (now separate from the list for CentOS 7). This means that no images will be built - the jobs should essentially be a 'noop'. Change-Id: Ie9a0109bd4eef337358d714e4b5088b8e3de2f23 Partially-Implements: blueprint centos-rhel-8 (cherry picked from commit b060623b907348e518bdf1afede0b641be56c415)
2020-01-14CentOS 8: work around mod_ssl certificate issueMark Goddard1-0/+9
CentOS 8 has an issue with mod_ssl which produces an invalid Apache configuration in /etc/httpd/conf.d/ssl.conf. This causes the following error on startup: SSLCertificateFile: file '/etc/pki/tls/certs/localhost.crt' does not exist or is empty Work around this by generating certificates manually. Partially-Implements: blueprint centos-rhel-8 Change-Id: Id8bcefa3527575ba72fe37013787ba716e435ac8 (cherry picked from commit 3590188383d8590a1e91573da656776563f65fcb)
2020-01-14Refactor Apache httpd setupMark Goddard26-276/+61
All Apache httpd setup has been moved to a new helper script, kolla_httpd_setup. This includes the existing clean of /run/httpd, /var/run/httpd, /tmp/httpd etc. Horizon has an additional bit of Apache config for Debian/binary, which has been kept in extend_start.sh for horizon. Change-Id: Ia2af74b69c151db0bd7e452460b0babcee50b282 Related: blueprint centos-rhel-8 (cherry picked from commit 8484190e77e4237247dac7fba128e5a111fc9918)
2020-01-14Adapt fetch-fernet-tokens script to Python 3Michal Nasiadka2-1/+7
Backport: train Closes-Bug: #1859047 Change-Id: I9032e43bffa3a3de6c33a4ab59f65bafb0129dd5
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-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 trainMarcin Juszkiewicz1-3/+3
Change-Id: Ie6adec3f5e6d2b8b5eb2146257fba1d8f053181d
2020-01-08horizon: 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)
2019-12-20Bump OpenStack versions for TrainPierre Riteau1-1/+1
Change-Id: I043e05b65622e9e9d27553c8519b40d6702964c4
2019-12-19Bump versions for Openstack trainMarcin Juszkiewicz1-2/+2
Change-Id: I0fad2261fbc97fa3ad92e4c7b9167cbbb424d236
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-10Merge "Update skydive version to 0.26.0" into stable/trainZuul1-1/+1
2019-12-10Merge "Vitrage: build images for Debian" into stable/trainZuul6-1/+57
2019-12-10Update skydive version to 0.26.0Michal Nasiadka1-1/+1
Change-Id: Idae69105739a57937fb5ad596078dafc6a32f1d5 (cherry picked from commit c82ab3cdcec673eb4f0ed38f4604bf21301d804b)
2019-12-09Merge "Fix keystone bootstrap error message display" into stable/trainZuul2-1/+11