summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-02-26Throw TypeError in repository enable/disable macrosMark Goddard2-0/+16
Currently we do not validate the type of the reponames argument to the enable_extra_repos and disable_extra_repos macros. It should be a list, but we merged a call where the argument was a string, which interpreted as a list of single characters ('e', 'p', 'e', 'l'), and silently ignored. This change validates that the reponames argument is a list to avoid this issue. Change-Id: I497c8b2c1dc548e678698474d3604664cf8eeb07
2020-02-26Actually disable EPEL, and epel-modularMark Goddard11-4/+38
The disable_extra_repos macro accepts a list as its only argument. We were calling it like this to disable EPEL: disable_extra_repos('epel') The macro interpreted this as a request to disable three repos, e, p, l. Thanks Python! Type validation to be improved separately. Additionally, on CentOS 8 the EPEL repository was not included in the repository mapping file, repos.yaml. There is also another EPEL repository on CentOS 8, epel-modular, which is enabled by default after installing epel-release. This change adds mappings for epel and epel-modular repos to repos.yaml, and fixes the disabling of epel in the base image, as well as disabling epel-modular. There are some cases where EPEL is still used (it seemed a bit too easy...), and the repository has been enabled for these images: * bifrost-base (nginx) * ironic-conductor (C7 only, shellinabox) * freezer-base (C7 only, trickle) * gnocchi-base (C8 binary only, python3-boto3) * mariadb (pv) * mongodb (C7 only, mongodb) * nova-spicehtml5proxy (C7 only, spice-html5) * telegraf (C7 only, python2-pip) A few other things were changed: * ironic-conductor does not require the ceph repo * python3-pika is no longer installed in the openstack-base image Related: blueprint remove-epel Change-Id: I3761825239dfc462072383cde6276c4fb3e1bf12
2020-02-25Merge "Drop weird swift rootwrap config (xenapi with placeholder values)"Zuul1-7/+0
2020-02-25Merge "Remove start-ovsdb-server script from openvswitch-db-server"Zuul2-33/+1
2020-02-25Merge "Deprecate MongoDB"Zuul1-0/+14
2020-02-23Merge "Revert "Upgrade virtualenv in pre""Zuul1-5/+0
2020-02-23Add Apache httpd setup to heat-api-cfnyj.bai2-0/+6
will change heat-api-cfn up way from python to apache. and add tls. https://review.opendev.org/#/c/707131/ Related: blueprint add-ssl-internal-network Change-Id: Ifa6157cf495ff735e1d45899ecaf83a84bf9f793 Signed-off-by: yj.bai <bai.yongjun@99cloud.net>
2020-02-20Merge "Remove skipping B303 for bandit checks"Zuul1-3/+2
2020-02-19Drop weird swift rootwrap config (xenapi with placeholder values)Radosław Piliszek1-7/+0
Change-Id: I5514c53002a9e772b96e767b10fddf6342c7eb1d
2020-02-19Remove start-ovsdb-server script from openvswitch-db-serverMark Goddard2-33/+1
This script is not used by TripleO, and Kolla Ansible replaces it with a templated script. Change-Id: If4418ad1eb7e5b5029a226c3dd65285b23790bd1
2020-02-18Deprecate MongoDBRadosław Piliszek1-0/+14
Per http://eavesdrop.openstack.org/meetings/kolla/2020/kolla.2020-02-12-15.01.txt Deprecates support for MongoDB image. In Victoria support for MongoDB image will be removed from Kolla. Note CentOS 8 already lost support for MongoDB due to decisions made upstream. The only known downstream, Kolla Ansible, is deprecating and removing support for deploying MongoDB. MongoDB lost its position in OpenStack environment after controversial relicensing under their custom SSPL (Server Side Public License) which did not pass OSI (Open Source Initiative) validation. Depends-on: https://review.opendev.org/708508 Change-Id: I7d0a1c3c6506171d3c4b9accad395f3bf6b427fa
2020-02-17Get rid of Python 2 supportMarcin Juszkiewicz7-32/+25
2020 came, everyone should be using Python 3 now. As per the official python support timeline set forth by the OpenStack TC [1], OpenStack Train (in our case, kolla 9.x) is the last release that will support python2.7. [1] https://governance.openstack.org/tc/resolutions/20180529-python2-deprecation-timeline.html Related bug: https://bugs.launchpad.net/tripleo/+bug/1856678 Merging depends on TripleO team - once they move CI job to CentOS 8 we can merge. Implements: blueprint drop-py2-support Change-Id: Ic459561ab6ab8c62993c044c7a82d887839da289
2020-02-17change tripleo centos-7 build containers to centos-8Wes Hayutin1-11/+2
mark the job non-voting remove the gate job. Once the job is confirmed stable we should add voting, gating. Change-Id: Ied6df5412c58446c6b090bc8e9822685ed51ddb1
2020-02-14kibana: 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. Change-Id: Ie84ed771ffa9ecd70b945673727895c8edad30eb
2020-02-14Remove kolla Ceph container imagesMichal Nasiadka18-488/+6
This change removes ceph* Dockerfiles and relevant kolla python code bits. Kolla-Ansible part has been removed, and K-A was the only consumer. Change-Id: I9568261fdbbe4b9156d0e07c414ec911ca2e8557
2020-02-13Revert "Upgrade virtualenv in pre"Radosław Piliszek1-5/+0
Reverts temporary. This reverts commit 063a46a7de4471504535499ca2a972a79e4ce5e5. Change-Id: Ibf2848db954862f917a23eb0aa1594ccc4e7ef67
2020-02-12Upgrade virtualenv in preMichal Nasiadka1-0/+5
Since virtualenv 20.0 (amongst other changes) six version >1.12.0 is required. This change adds upgrade of virtualenv and six in pre - to be reverted once infra CentOS images are sorted out. Depends-On: https://review.opendev.org/707377 Change-Id: I75249055989309d0afdfc29c894beb6b1fcd1994
2020-02-11Docs: show other versionschenxing2-3/+6
Change-Id: I6e791016ffa8ab9f2cebccb57f9a5cb5d3b41456
2020-02-10Merge "aarch64: enable influxdb and telegraf for Debian/Ubuntu"Zuul3-2/+4
2020-02-07Merge "CentOS 8: Add deploy jobs in CI"Zuul1-0/+12
2020-02-07Merge "Add ssh clients to Ironic Conductor container"Zuul2-0/+9
2020-02-07Merge "CI: Replace cinder-lvm scenario with zun scenario"Zuul2-6/+4
2020-02-07Merge "Add collectd-pmu package for Intel PMU (C7 only)"Zuul2-0/+7
2020-02-07Add collectd-pmu package for Intel PMU (C7 only)Piotr Rabiega2-0/+7
The intel_pmu plugin collects performance counters data on Intel CPUs using Linux perf interface. C7 only - C8 packaging still pending. Change-Id: If5044346a90580c4051d6138a84ce10238807460
2020-02-06Add 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
2020-02-06CentOS 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/693544/ Change-Id: Idca0f983451fb67527f4917642de510dbf9af921
2020-02-06CI: 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
2020-02-05Merge "CI: Replace ceph jobs with ceph-ansible"Zuul2-8/+8
2020-02-05CI: Replace ceph jobs with ceph-ansibleMichal Nasiadka2-8/+8
Change-Id: Ic2a75d72c2f5f00f1a46ea50a0ba091b964a7858
2020-02-05CentOS 8: Fix CentOS 7 publisher tagMark Goddard1-1/+1
Currently we use CentOS 8 nodepool images for all CI build jobs. This means we can't use the ansible_distribution_major_version fact to detect whether we are building CentOS 7 or 8 images. Due to this, all CentOS images (including CentOS 7) are currently published with a 'master-centos8' tag. This change fixes the issue by using the base_tag variable which is defined for CentOS 8 build jobs. Change-Id: I29b7b8ee742120107a11bd419ac58ab5c09b0b75 Partially-Implements: blueprint centos-rhel-8
2020-02-04aarch64: enable influxdb and telegraf for Debian/UbuntuMarcin Juszkiewicz3-2/+4
Turns out that upstream provides repos also for aarch64. CentOS one is not usable due to wrong arch name used (arm64 instead of aarch64). Change-Id: I1b4ef1fae0914d6826af5456cc9ea53bb26972ee
2020-02-04Merge "nova: use proper uefi package names under CentOS/RHEL 8"Zuul1-0/+16
2020-02-04Merge "Adds python3-systemd for ansible deploy interface"Zuul2-0/+9
2020-02-01Merge "CentOS 8: Allow SSH access to keystone_ssh and nova_ssh"Zuul2-1/+16
2020-02-01CentOS 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
2020-01-31Merge "CentOS 8: Use upstream Ceph/master"Zuul11-14/+92
2020-01-31Merge "nova-libvirt: add UEFI packages to support UEFI instances"Zuul2-0/+36
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
2020-01-30Adds 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
2020-01-31Merge "CentOS 8: Remove shellinabox from ironic-conductor"Zuul2-3/+6
2020-01-30Merge "CentOS 8: Update packages in images"Zuul18-128/+165
2020-01-30Merge "CentOS 8: disable repo_gpgcheck for grafana image"Zuul1-1/+0
2020-01-30nova: use proper uefi package names under CentOS/RHEL 8Marcin Juszkiewicz1-0/+16
Change-Id: I92be17ef1ce0f81ab3f49433a0d1e688874ba64e
2020-01-30CentOS 8: disable repo_gpgcheck for grafana imageMark Goddard1-1/+0
DNF does not seem to accept keys imported by rpm --import for signing a repo (as opposed to packages). This causes it to prompt during package install, which does not work without a terminal in the build container. We have gpgcheck=1 for the grafana repo, so packages are at least signed. We don't have repo_gpgcheck elsewhere, so it seems reasonable to disable it for grafana. Change-Id: Ice120e8001fd9e8bb37ca4f2df26259cf798ee0e Partially-Implements: blueprint centos-rhel-8
2020-01-30CI: Fix tag suffix logic for CentOS 8Mark Goddard1-1/+1
On CentOS, ansible_distribution is 'CentOS' rather than 'centos'. Our logic when setting the image tag for publisher jobs is incorrect, meaning that the centos8 publisher publishes images as 'master' rather than 'master-centos8'. Since this job only has two images it is likely to complete before the CentOS 7 publisher, so hopefully images will not be broken for long. This change fixes the issue by using a case-insensitive comparison. Change-Id: I66c93e07fe5c6c143e9cf65c6451e573bbfc51d8 Partially-Implements: blueprint centos-rhel-8
2020-01-30Merge "CentOS 8: base image fixes for RabbitMQ, fluentd & InfluxDB"Zuul3-8/+8
2020-01-30CentOS 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
2020-01-30CentOS 8: Use upstream Ceph/masterMichal Nasiadka11-14/+92
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
2020-01-29Deprecate OpenDaylightMichal Nasiadka1-0/+5
Since [1] TripleO has stopped supporting OpenDaylight deployments. Kolla-Ansible ODL role also has been removed in [2]. [1]: https://review.opendev.org/638701 [2]: https://review.opendev.org/694523 Change-Id: Ibb147f12fc5d9f6f30c8e32ad17cd7f9b6febb33
2020-01-29CentOS 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