aboutsummaryrefslogtreecommitdiff
path: root/kolla/image
AgeCommit message (Collapse)AuthorFilesLines
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 Piliszek1-1/+4
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-21switch to short image names by defaultMarcin Juszkiewicz1-4/+1
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 Juszkiewicz1-2/+4
--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-14drop install_type almost everywhereMarcin Juszkiewicz1-65/+60
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 Juszkiewicz1-2/+0
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"Zuul1-39/+1
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 Juszkiewicz1-39/+1
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 Juszkiewicz1-42/+0
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-17Merge "Add enabled flag for sources"Zuul1-1/+7
2022-03-16Add enabled flag for sourcesMark Goddard1-1/+7
Sometimes it might be useful to disable a source for an image, e.g. for a plugin that is not used. This may be to reduce image sizes, or restrict the dependencies necessary to build images. This change adds a new 'enabled' option to each source definition. This allows sources, plugins or additions for each source image to be disabled individually. Change-Id: I31ee0744574fb3db96bee2e9f545600de53d9ee4
2022-03-16venus: add log management systemjinyuanliu1-0/+1
This project provides a one-stop solution to log collection, cleaning, indexing, analysis, alarm, visualization, report generation and other needs. Which involves helping operator or maintainer to quickly solve retrieve problems, grasp the operational health of the platform, and improve the level of platform management. https://wiki.openstack.org/wiki/Venus Change-Id: I051fb0f17d97134d89da0b6668879a9b36de10d1
2022-03-10Merge "Add prometheus-msteams image"Zuul1-0/+1
2021-12-20Drop vmtpRadosław Piliszek1-2/+0
Details in the attached reno. Change-Id: I1a8363da02d98255fce31749f4c9838088443a67
2021-12-05Debian: enable building Bifrost images on x86-64Marcin Juszkiewicz1-2/+0
https://review.opendev.org/c/openstack/bifrost/+/806328 fixed building of Bifrost Debian images. On AArch64 Bifrost tries to install x86-64 grub. Change-Id: I8e0c55e7995e5269f285c6d9c75e8c4b7b85a38b
2021-12-05switch source images to follow master branchesMarcin Juszkiewicz1-0/+5
We passed R-17 point. Watcher and vmtp are disabled due to PrettyTable version conflict. Change-Id: Ia4cbc70f1dc54a5654ccf770c9a866dcb6fef52a
2021-12-01build: 5s delay + note when binary images are usedMarcin Juszkiewicz1-0/+6
We deprecate binary images during Yoga cycle and drop in Z one. Reminding users on each run to make sure they notice. Change-Id: I62148b95e226711cbc70ab2a411774114f9dd7b1
2021-11-02Debian: enable OVN images for AArch64Marcin Juszkiewicz1-4/+0
Thomas Goirand uploaded OVN packages into official bullseye-backports repository. They are available for both x86-64 and aarch64 so we can enable them now. Change-Id: I90abeca62e2de264539b711d8bea22ec17ff03c8
2021-10-22Merge "ovn: Add Debian x86 images"Zuul1-1/+4
2021-10-22ovn: Add Debian x86 imagesMichal Nasiadka1-1/+4
aarch64 still has no installation candidate Change-Id: I645f5d04ff2be3a5857765e901eccfe0b56ff199
2021-10-21monasca: enable for Debian/aarch64Marcin Juszkiewicz1-5/+4
CentOS and Ubuntu has too old librdkafka-dev Change-Id: I8d8258877e8b0990ae6e1d41a2d56caf64807d72
2021-10-20update information about unbuildable imagesMarcin Juszkiewicz1-4/+4
Change-Id: I8d7632e84dc26ed2022541996a529c2263133c6a
2021-10-08Add prometheus-msteams imagePierre Riteau1-0/+1
This can be used to forward Prometheus Alertmanager notifications to Microsoft Teams. Change-Id: I57ebdf734c4bf38045ca8f837dc7066cdeb16131
2021-08-23Merge "Allow build debian/ubuntu-binary cloudkitty images"Zuul1-2/+0
2021-08-23Merge "ironic-neutron-agent: enable for Debuntu binary"Zuul1-2/+0
2021-08-12Allow build debian/ubuntu-binary cloudkitty imagesMichal Arbet1-2/+0
Change-Id: I01356184b8e0ef2b5341ec74a2c434b09a50766d
2021-08-12ironic-neutron-agent: enable for Debuntu binaryMark Goddard1-2/+0
Packages are available for focal and bullseye. Change-Id: I61623748d1149adb1b096adf2fffb5a902df3181
2021-08-05Config: allow to set group for userMarcin Juszkiewicz1-0/+1
According to recent IRC discussions is could be useful for haclient. Partial-Bug: #1934753 Change-Id: I670fa84476e35e55cbed2d22e48836ed5e28495f
2021-08-04Merge "drop leftovers of RHEL support"Zuul1-40/+9
2021-07-29Merge "Remove tempest image"Zuul1-1/+0
2021-07-28drop leftovers of RHEL supportMarcin Juszkiewicz1-40/+9
As a project we never built RHEL based images so support for them was not tested. Change-Id: I27dfe34ade088228d71f6857ec4f3ab28ee63915
2021-06-28setDaemon() is deprecated in Python 3.10Marcin Juszkiewicz1-2/+2
setDaemon() Old getter/setter API for daemon; use it directly as a property instead. Change-Id: I5dd36e1e1f836faeb1b7225a2da42342df8c4a90
2021-06-24Remove tempest imagewu.chunyang1-1/+0
Remove tempest project as planned Change-Id: I016f7bb17b91769ced21c90d73f693c54a71aef9
2021-06-20Remove rallywu.chunyang1-1/+0
Remove rally project as planned Change-Id: I3560c3a2bee4e391cac841b9bcd8b8d2199f920d
2021-06-07Fix _get_images_dir when pip-installed with --userJames Pic1-0/+1
There are two cases where pip installs kolla share into ~/.local/share/kolla: - with `pip install --user kolla` - with `pip install kolla` as non-root This patch helps kolla find the share dir in these cases. Closes-Bug: #1930544 Change-Id: I0b3eb6744a34a601266179fb358510a5c500e6ba
2021-05-17Drop monasca-grafana image.Marcin Juszkiewicz1-2/+0
After months of using deprecated components image finally stopped building. Change-Id: I8f5a9b220fc8afd6ef07cb5f2142df8c6ead9bc0
2021-05-11Drop ppc64le supportMarcin Juszkiewicz1-24/+0
We do not test support for ppc64le on CI or other systems. In previous cycles it was used by TripleO and now they have own way. Change-Id: Ibd955869a6f9485dfa4d08a8ad2f4b28b7d59c15
2021-05-06base: check for compatible distro using just shMarcin Juszkiewicz1-2/+2
We allow users to use own image as base one and then we check is it proper distribution version one. And this check is done in different way for CentOS and different for Debian/Ubuntu systems. This patchset uses PRETTY_NAME from /etc/os-release for check. And it is done before anything gets installed so if wrong distribution is used then build process breaks as soon as possible. Change-Id: I22db3cd4cb608332261824626e3b8768821b8dd0
2021-04-26move to Debian 'bullseye'Marcin Juszkiewicz1-10/+6
Bullseye is now in hard freeze cycle and goes for release. https://release.debian.org/bullseye/freeze_policy.html Co-Authored-By: Michal Nasiadka <mnasiadka@gmail.com> Change-Id: I543965a2741cebfa759576a4c75669a7bacd4208