summaryrefslogtreecommitdiff
path: root/kolla
AgeCommit message (Collapse)AuthorFilesLines
2022-09-28centos: use Erlang 24 on AArch64Marcin Juszkiewicz1-1/+1
We do not have Erlang 25 for CentOS Stream 9 on AArch64 so we revert to use Erlang 24 from CentOS repository. Also synced Erlang and RabbitMQ versions between images. Change-Id: I1480de095eaea66c3a83a61ca3ff269953181e39
2022-09-27repos: in CentOS Stream 9 haproxy is in appstream repoMarcin Juszkiewicz1-2/+0
So we do not need to define repo for it like it was in past. Change-Id: I9e22a43e068490d762c42a7bb491e445a715381b
2022-09-27grafana: ignore SHA1 gpg key on CentOS Stream 9 (and family)Marcin Juszkiewicz1-1/+0
RHEL 9 refuses to use SHA1 gpg keys. Grafana team still did not handled key upgrade: https://github.com/grafana/grafana/issues/41036 Change-Id: Id963271103ce1397b7a5498d032e8f797edfcc70
2022-09-27Move to CentOS Stream 9Marcin Juszkiewicz5-21/+24
OpenStack 'zed' requires Python 3.8+ so RHEL 8 family has to go. This changeset moves to CentOS Stream 9 while move to RockyLinux 9 is planned as final solution. CI moved to CentOS Stream 9 nodes. Depends-on: https://review.opendev.org/c/openstack/kolla-ansible/+/839715 Change-Id: I113b9984294cf8663d3fc0c8840320e1d40ea731
2022-09-23Merge "ubuntu: enable monasca for x86-64"Zuul1-2/+1
2022-09-14Python 3.8+ has better shutil.copytree()Marcin Juszkiewicz1-10/+1
doc says: > If dirs_exist_ok is false (the default) and dst already exists, a > FileExistsError is raised. If dirs_exist_ok is true, the copying > operation will continue if it encounters existing directories, and files > within the dst tree will be overwritten by corresponding files from the > src tree. So we do not have to copy dirs/files one by one and tell shutil.copytree() to handle everything. Change-Id: I97d9c8261351b8fd88f088c1463cc508e07792e7
2022-09-13ubuntu: enable monasca for x86-64Marcin Juszkiewicz1-2/+1
There is confluent-kafka wheel on Pypi so we can build those images on x86-64. Change-Id: I16a9656641932114e02f6ffa76399c0c4106a90a
2022-08-24Merge "Add Ubuntu Jammy MariaDB repository"Zuul1-0/+10
2022-08-24Add Ubuntu Jammy MariaDB repositoryMichal Nasiadka1-0/+10
Change-Id: I15b08cca39a3bd069cb714c5b3164fd8254d8d30
2022-08-22mariadb: Fix RPM repository URLsMark Goddard1-2/+2
The MariaDB project changed the location of the repositories, and the old URLs no longer work. Change-Id: Ia094cd1e29232c47d1fb26e00de569677bc5b8a1
2022-08-22Bump minimum docker-py versionDr. Jens Harbott2-23/+0
With version 6.0.0 of the docker python module, their implementation of versioning has changed, making our check for old versions fail. Since version 3.0.0 is from 2018, we should be safe to assume that as a minimum version though, so we can just get rid of the special handling of older versions. Change-Id: I077b7b5acf2c1f9beb6da06d3555e2ebe30831d1
2022-08-03Replace abc.abstractproperty with property and abc.abstractmethodljhuang1-1/+2
Replace abc.abstractproperty with property and abc.abstractmethod, as abc.abstractproperty has been deprecated since python3.3[1] [1]https://docs.python.org/3.8/whatsnew/3.3.html?highlight=deprecated#abc Change-Id: Ibb048b879fa58b5e144ae228628b3ffaeae65bbb
2022-07-27Move to Ubuntu Jammy (22.04)Michal Nasiadka4-35/+19
mariadb - downloads.mariadb.com doesn't have jammy version, should be there soon - using Ubuntu provided version for now telegraf/collectd - collectd packages missing in Jammy - marked as unbuildable monasca - requires new librdkafka, no wheel for Python 3.10 for now Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/846070 Change-Id: I11b4fbcaba165824252902d0270ce1dbbc3d6e9d
2022-07-21Update ProxySQL to version 2.4Michal Arbet1-4/+4
This patch is updating ProxySQL from version 2.3 to version 2.4, which has several new features and bugfixes. Change-Id: I625f72aac591aee8b1efe51f0b4a9e7660e6dbdc
2022-07-01Merge "Change kolla_version LABEL to git sha-1"Zuul2-1/+7
2022-06-21Change kolla_version LABEL to git sha-1Michal Arbet2-1/+7
Downstream users are often building their own custom images from their own forked git. Reasoning can be various - added fixes not merged yet, some customizations and etc. Because of this, it's very usefull to have information about git commit in images, and this is exactly what that patch does. If images are built from pip source, kolla_version LABEL contains kolla version. Change-Id: If81989603185528dae86df52e8f8d0f94cdca85d
2022-06-20disable monasca for AArch64 on all distrosMarcin Juszkiewicz1-4/+2
INFO:kolla.common.utils.monasca-base: Install the latest version of librdkafka from the Confluent repositories, see http://docs.confluent.io/current/installation.html" No more monasca for aarch64. Change-Id: Ice6f1ab4a08d0ef07ce2434bfef704b68e90f9d0
2022-06-20Merge "refactor sources/users to separate files"Zuul3-683/+705
2022-06-20Merge "Fix error message when git clone fails"Zuul1-1/+2
2022-06-20Fix error message when git clone failsMark Goddard1-1/+2
1. There was no %s for the image.name 2. The image name is in the logger, so the source is more useful (which may be a plugin or addition) TrivialFix Change-Id: If95a8a41d2caf6738d4ccb9ddb651a06018743f4
2022-06-15refactor sources/users to separate filesMarcin Juszkiewicz3-683/+705
They do not change often and take space in config.py ;D Change-Id: I4b15602d53e027470a4b93a8d897f996df684a8d
2022-06-15Merge "Switch OPENSTACK_RELEASE back to master"Zuul1-1/+1
2022-06-09Switch OPENSTACK_RELEASE back to masterMichal Nasiadka1-1/+1
Cap openstacksdk in kolla-toolbox to avoid ansible-openstack-collection from failing. Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/844905 Change-Id: I4d7dcc413cd9ab0b9db550e1aed7d2229b04c5d1
2022-06-08Don't ignore errors of 'apt-get update' commandMaksim Malchuk1-1/+1
This change fixes an issue with 'apt-get update' command and stop container building with erroneous source repositories. Change-Id: I5ce2eb66a647e1805f086aa37942bf5d13eb4106 Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2022-06-02Allow to provide own repos.yaml fileMarcin Juszkiewicz3-1/+9
Several people use Kolla behind firewall/proxy. Internal mirrors are often in use then. We do not provide a way to replace repos.yaml file in an easy way which may lead to complicated solutions or template overrides. This patch adds a way to provide own copy of repos.yaml file. Change-Id: I0b07da22fea27e0ff4e90aaad19e50d84ff9a121
2022-05-29Use the new image naming scheme by defaultRadosław Piliszek3-19/+13
Adds a relevant reno to inform users about the change and the possibility to customise the prefix. Additionally, this patch includes the fix to Ubuntu image builds regarding rabbitmq and erlang. Both the changes are required to fix master CI. Change-Id: I6bc8b489a810849744c8bead6b9e350c5d3e36b7 Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/843752
2022-05-18Fix local sources of git repositoriesRadosław Piliszek1-10/+11
This is I2cbf1f539880d512aa223c3ef3a4b19ee18854ac extended to fix the case when a git repository is used with a git repo. This is probably a rarer use case but, still, we use it in CI for in-review changes testing. Change-Id: I77b0dcd2e9dfd8ea8390a471b80c8954b67ef91b
2022-05-18[bifrost] Force Bifrost to use the correct git branchRadosław Piliszek1-0/+5
Bifrost decides on the branches to use by itself. Early in the cycle, they are often not set correctly and may break our CI. This patch ensures we force Bifrost to use the expected branches, making us independent of Bifrost getting fixed. Change-Id: I33dbca927062284fd7a06ab6db732dd5e2219c40
2022-05-02[publishing] use a new naming schemeRadosław Piliszek2-2/+8
This change switches published images names from the current format <base_distro>-<image_name>:<openstack_release>-<arch_suffix> to a preciser and image-oriented (for better variant listing) format <image_name>:<openstack_release>-<base_distro>-<base_distro_version>-<arch_suffix> Change-Id: I6a4b5c2087b94f96f72aa9d0d0781ff14d3ee6bb
2022-04-21[release] Use yoga branch for neutron-vpnaas and monasca-apiMark Goddard1-6/+2
These were not available at the time we switched everything else. Venus remains unavailable. Change-Id: Ic9e54568a2844991b12e04ebfb1444b5cf286dbb
2022-04-21switch to short image names by defaultMarcin Juszkiewicz2-8/+2
We can drop temporary 'use-short-names' argument and make short (kolla/debian-nova-libvirt:master) image names default. Kolla Ansible is using short names now. Change-Id: I153355353cd12aa25adaa9c87438a478748dfb28
2022-04-19add a way to not have 'install_type' in image name (temporary)Marcin Juszkiewicz2-3/+8
--use-short-names argument drops 'install_type' from image names: kolla/debian-openstack-base:14.1.0 This should allow to get rid of '-source' in image names without disrupting CI jobs. Switch publish jobs to use short names so k-a tests will have ready to use images for both long and short names. Change-Id: I29c9d51f4b518a4e2d3157ab5d6cc434fb83f2ef
2022-04-15enable logging to file for quiet modeMarcin Juszkiewicz1-11/+23
We have 'quiet' mode where only minimal data is printed to the console. But there were no logs at all then. This change generates log files (if 'logs-dir' argument is used) during quiet build. Also enables 'quiet' mode for CI so Zuul will not have to parse 29MB JSON file each time. Change-Id: If7d5c2807f0947a8bbbc1ceb8531c9b9c9287c1f
2022-04-14drop install_type almost everywhereMarcin Juszkiewicz3-77/+62
The only place where it stays is argument parsing where it gets ignored. Hardcoded to 'source' to make merging both kolla and kolla-ansible changes easier. Change-Id: I6890a7ec7baf507f8acd75b42bbd0fb17c2e4511 Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/837620
2022-04-14Fix image builds with sources using a type=gitMarcin Juszkiewicz1-1/+11
A recent change to git [1] introduced a new behaviour to work around a CVE [2] that disallows any git operations in directories not owned by the current user. This may seem unrelated to installation, but it plays havoc with PBR, which calls out to git to get to get revision history. So if you are "pip install"-ing from a source tree you don't own, the PBR git calls in that tree now fail and the install blows up. When using type=source, kolla clones the repository, then creates a tarball from it, which is ADDed to the image. The ownership of the files in the tarball is preserved, which in this case will be the user running kolla-build. Since the Docker build runs as root, we hit the PBR issue. Our solution is to make sure that any tarball we generate from git sources have all files owned by root:root so that the root user is able to use git commands when building container images. [1] https://github.com/git/git/commit/8959555cee7ec045958f9b6dd62e541affb7e7d9 [2] https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24765. Closes-Bug: #1969096 Related-Bug: #1968877 Co-Authored-By: Mark Goddard <mark@stackhpc.com> Change-Id: I2cbf1f539880d512aa223c3ef3a4b19ee18854ac
2022-04-12Merge "drop list of images unbuildable for source type"Zuul1-3/+0
2022-04-11Remove duplicate entry in UNBUILDABLE_IMAGESRadosław Piliszek1-1/+0
hacluster-pcs is already in centos, no need to be in centos+aarch64. TrivialFix Change-Id: I9868f73172efedf113c3cc1567098b3439e2a205
2022-04-11Merge "for Zed cycle minimal Python version is 3.8"Zuul1-1/+1
2022-04-11drop list of images unbuildable for source typeMarcin Juszkiewicz1-3/+0
If they are unbuildable then they should be in distro or distro+arch blocks now. Change-Id: I9cd225d3a7fd99fdeaf4926730c95d37f8f7eac7
2022-04-11for Zed cycle minimal Python version is 3.8Marcin Juszkiewicz1-1/+1
When everything fails assume we have Python 3.8 (should never happen). Change-Id: I69033cc910dd8236a470fd130816f2870a9b5b3a
2022-04-11Drop qdrouterd imageMarcin Juszkiewicz2-4/+1
It was marked deprecated in Yoga. Change-Id: Iea1cf9c539a73da625e335d6c1adb6cd71ec93d4
2022-04-11Merge "drop infra_image_prefix"Zuul1-4/+1
2022-04-11Merge "drop infra-rename support"Zuul2-42/+2
2022-04-11drop infra_image_prefixMarcin Juszkiewicz1-4/+1
We have one install_type only now so that infra stuff is not needed anymore. Change-Id: I60d50ba7699d46d001eaef365fb84b0ce8e9b262
2022-04-09Merge "build watcher images"Zuul1-1/+0
2022-04-08drop infra-rename supportMarcin Juszkiewicz2-42/+2
With one type of install type there is no need for renaming infra images. Change-Id: I28b7563e5ce1efac0298a62fee96a9f946f3341b
2022-04-08build watcher imagesMarcin Juszkiewicz1-1/+0
Closes-bug: #1952944 Change-Id: I9d2dd025b2a4805ef1755ebbf10f15018d05f1c7
2022-04-08kolla: drop 'binary' install typeMarcin Juszkiewicz3-51/+3
We no longer support binary images. This patch removes a way to build them. "--install-type" argument has one available option now. Later in cycle it will be ignored. Change-Id: If0e881d253d6a4c89ffe27831a661df321b6d5b6
2022-03-31[release] Use RDO's Yoga Delorean packagesMark Goddard1-2/+2
This is a temporary solution until centos-release-openstack-yoga is available. Change-Id: I69a1cda22bda2b10ae66f8c5ade39f4d38b714b2
2022-03-31[release] Use Yoga sources by defaultMark Goddard1-4/+10
The following projects do not have stable-yoga tarballs yet: * monasca-api: stable/yoga exists, but no additional commits yet, so no tarball. Use 8.0.0. * neutron-vpnaas-dashboard: stable/yoga exists, but no additional commits yet, so no tarball. Use 6.0.0. * venus: no stable/yoga branch yet. Not in releases repo. Use master branch. Change-Id: I8bdce3b76bc02fdcc029f90cf1984e6b3d4eb961