aboutsummaryrefslogtreecommitdiff
path: root/docker/openstack-base
AgeCommit message (Collapse)AuthorFilesLines
2025-12-16Switch to Debian TrixieMichal Nasiadka1-1/+1
Change-Id: Ib7f551d4a7c6ffe95786853d6899e704de4747b8 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2025-10-02Move repo enablement to respective rpm blocksMichal Nasiadka1-1/+2
Currently we are enabling repos irrespective of rpm/deb statement blocks and not failing in the method used if a repository is missing. Downside is - we might be producing one more layer, but it probably is a more logical approach. This is required for adding rpm support in repos.yaml that will also include failing on missing repositories. Change-Id: I5479c5c935760f00fe4cd307366f261deee3199f Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2025-09-22openstack-base: Fix psycopg2 install on ELMichal Nasiadka1-0/+1
pg_config has been moved to postgresql-server, postgresql-devel only installs a link to pg_config which is unresolvable without -server package. Installing postgresql-server-devel to include headers which are also required for building psycopg2. Change-Id: I35548a02f652c035c17aabe149752322ffc869c4 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2025-08-29Remove RDO/DeloreanMichal Nasiadka1-1/+1
RDO has staffing problems and has decided to only support SLURP releases - let's drop reliance on that repository. Change-Id: I56f86a1c5262e3ee2bcbb52cae53c3b2655ed87f Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2025-07-16Move to CentOS Stream 10Michal Nasiadka1-1/+1
Known missing packages: - mod_auth_mellon - missing SAML support in Keystone/Horizon - built in Kolla COPR - glusterfs-fuse in manila-share - built in Kolla COPR - collectd/telegraf - no opstools repository - redis - needs a switch to valkey - python3-ethtool - not required for neutron-mlnx-agent since 6 years [1] Building packages in Kolla COPR is a temporary solution until these show up in EPEL10. [1]: Id2cae3ac9ff049e9fc8225551f99e1e99a87fc65 Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/951751 Change-Id: I7074fabcf95184fcfd2561648ae1e05acfb0bc11 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2025-02-06Install pycadf from pypi packageMichal Arbet1-4/+1
Previously, the `pycadf` package did not include configuration files, so they were manually installed from source. However, this was fixed in pycadf's upstream in [1], allowing us to rely on the package itself. Additionally, the `ceilometer_api_audit_map.conf` file has been removed, as it was dropped in pycadf's upstream commit here [2] [1] https://review.opendev.org/c/openstack/pycadf/+/936741 [2] https://review.opendev.org/c/openstack/pycadf/+/930971 Change-Id: I022aa4c403f08385beb83b5d0c81f8abb42eb4a7
2024-12-30Merge "Remove setuptools pin"Zuul1-1/+1
2024-12-11Remove setuptools pinMichal Nasiadka1-1/+1
Change-Id: I7d08ebb65e2de82e3edba7bd9307b2b6ac8cb7a8
2024-11-21Move uwsgi installation to openstack-baseMichal Nasiadka1-0/+3
Change-Id: I581ff79993d011b421d69295a6552cb14b8e2e66
2024-11-15Add mechanism for patching files in containersMichal Arbet1-0/+2
This patch adds a way to patch files in a Docker image built by Kolla. This is very useful for several reasons, specifically: - Custom modifications - The stable branch of some library has a fix but no pip package has been released - Eliminates the need to package your own pip packages - Eliminates the need to invent your own versioning to prevent upstream versioning - Eliminates the need to manage a pip server - In other words, it eliminates the need to get a wheel into the image and install it manually using any method not previously mentioned It is also highly desirable because, although Kolla can replace the source for a service with a custom URL for a tarball or its own Git repo, it cannot do this for dependencies pulled from pip. I would also like to point out that this is a feature with its own code path and works only if the user "inserts" a patch into the folder patches/docker-image/something.patch and creates an analogous series file for patch source code. Simply said, this code will never interfere with the upstream build process since this feature is not intended for use in upstream. It is rather meant for downstream users who know what they are doing. Now they just have an option to patch their images. Everything works on all layers of the Docker image and stores a report of applied patches which can then be seen in /etc. This mechanism is similar as debian patch quilt. Change-Id: I61d0790c5d4d070b7ea9e8c99c0a76ff5d22bf9d
2024-09-30Merge "pyinotify is no longer needed"Zuul1-1/+0
2024-09-19Switch to Dynamic Python Version DetectionMichal Arbet1-1/+3
This commit removes the hardcoded KOLLA_DISTRO_PYTHON_VERSION and replaces it with dynamic Python version detection during container images build. Dockerfiles and scripts now use general python3 references, simplifying maintenance and ensuring compatibility with future Python versions. Test cases relying on distro_python_version were also cleaned up. Change-Id: I891749598247a5e951ed4a873b16acfd0566f59c
2024-09-04pyinotify is no longer neededTony Breeds1-1/+0
This library was used by oslo.log but isn't now. It's being removed from global-requirements so let's drop it from openstack-base. Depends-On: https://review.opendev.org/c/openstack/requirements/+/917831 Change-Id: Ie91b533047d59e19bdd56f3a999e377d49a745a8
2024-08-29Fix symlinking of openstack-base sourceSeunghun Lee1-6/+5
Original symlinking works fine with a tarball source for the requirements repo. However, when user supplies git type source of it, we cannot guarantee that the source direcotry name contains ``requirements``. This patch fixes it by moving plugins directory outside of openstack-base directory, which ultimately allow us to use simpler symlinking as openstack-base-archive would be the only directory inside. Closes-Bug: #2074075 Change-Id: I5a9162a30b23cfabb64dabe5c12c226fa8627abd
2024-04-24Drop VitrageMichal Nasiadka1-1/+0
It has been deprecated in Antelope cycle. Change-Id: Ie9cc529d186b74ea3d07b0082f9c965d4aa054e9
2024-04-15Drop SaharaMichal Nasiadka1-1/+0
It's inactive and hasn't produced a 2024.1 release [1]. [1]: https://governance.openstack.org/tc/reference/emerging-technology-and-inactive-projects.html#current-inactive-projects Change-Id: I7b5b032a4175c5390c9b7ff3fbd4c672adcb5325
2024-04-15Drop MuranoMichal Nasiadka1-1/+0
It's inactive and hasn't produced a 2024.1 release [1]. In addition to that, there's a CVE that hasn't really been patched [2]. [1]: https://governance.openstack.org/tc/reference/emerging-technology-and-inactive-projects.html#current-inactive-projects [2]: https://lists.openstack.org/archives/list/openstack-announce@lists.openstack.org/thread/4FYM6GSIM5WZSJQIG4TT5Q3UBKQIHLWX/ Change-Id: Ie715eac24247c38b21382c735eb00a9b3b56f145
2024-03-11Revert "openstack-base: Pin tooz to 5.0.0"Michal Nasiadka1-4/+0
This reverts commit 15c37ab76d899481e7b00e458fbc34407e34f8b2. Reason for revert: Merge once tooz 6.0.2 is in u-c Change-Id: I2c0ef876517a26965ba5b528c0ca260dcc93d248
2024-03-11openstack-base: Pin tooz to 5.0.0Michal Nasiadka1-0/+4
tooz 6.0.0 is now in u-c and it broke redis, see [1]. tooz 6.0.1 did not help and 6.0.2 is in the works, see [2]. [1]: https://review.opendev.org/c/openstack/tooz/+/911648 [2]: https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/thread/HHNJ3XZR3DLSFIWXK2TZ3R7QSMMFFVPU/ Change-Id: If9ecf4a7fe703cfb87d4559790b39a5703ae49c4
2024-01-17Fix openstack CADF audit maps and installationMichal Arbet1-2/+9
This patch fixes missing pycadf's audit maps for services and change the way how pycadf is installed. Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/905858 Closes-Bug: #2047941 Change-Id: I9b43d1a9990ad8aa7381ea81b0f2d692967be949
2023-09-04openstack-base: add block for overriding global upper constraintsSahid Orentino Ferdjaoui1-0/+8
Introduces a new block `openstack_base_override_upper_constraints` to provide users with the capability to globally override version constraints for services. This enables more flexible dependency management across all services. Change-Id: I0d627487973311de8b23dd1519d41a0cab622fac Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@industrialdiscipline.com>
2023-04-21docker: implement macros to alter upper-constraints.txtMarcin Juszkiewicz1-1/+1
upper_constraints_remove() macro allows to remove line upper_constraints_version_change() allows to change versions This way we have cleaner way to alter u-c in those images which need it. Change-Id: I8fc354b8aa4d03fcd3ecfb9cbfe75de67492a0e3
2023-03-20docker: use python3-venv to create virtual envMarcin Juszkiewicz1-2/+2
Debian 'bookworm' does not like when someone installs Python packages into system directories. So instead of installing 'virtualenv' from pip we move to use 'python3 -m venv' which we install from distribution repositories (on Debian/Ubuntu as EL9 has it in base 'python3'). Change-Id: I7092b561d81c362ca24f84a3d753e777e5625ab3
2023-02-15Pin setuptools=67.2.*Michal Nasiadka1-1/+1
67.3.1 is out and it broke Horizon builds Change-Id: Ie6c078a9c37f54d60f0d5a4aadb647e184489cb8
2022-12-06Drop elasticsearch, kibana and logstashMichal Nasiadka1-1/+0
Support has been dropped in kolla-ansible, the upgrade path is opensearch. Change-Id: I6f32aacb4e0b7dd1eb7206e02425b16f5beae4f0
2022-09-27Move to CentOS Stream 9Marcin Juszkiewicz1-2/+1
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-08-25Add python-binary-memcached to openstack-basewu.chunyang1-0/+1
python-binary-memcached is required by keystone cache. ref: https://docs.openstack.org/keystone/latest/admin/configuration.html#caching-layer Change-Id: Ibaf5925607b45bc8e69af39f2d1cdcb49332f9f0
2022-08-09Don't install the tooz etcd3 extraStephen Finucane1-1/+1
The etcd3 extra in tooz has been deprecated [1] as the library it uses under the hood, python-etcd3, is currently stale and unmaintained. It will be removed in a future release. Stop installing this. [1] https://opendev.org/openstack/tooz/commit/7ee2780af87a013c83fb5a8a5d0c7ab0767b3db8 Change-Id: Ib54a2868cb33de5fc2800f314b2811c67ef13461 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2022-04-21Add fluent-logger to imagesMichal Arbet1-0/+1
There is proposed change in kolla-ansible below which is changing the way how central-logging works and adding native fluent logging. Because of this, it's needed to add python fluent library to openstack images. Proposed Change: - https://review.opendev.org/#/c/755775/ Change-Id: Iedc782a3317c93a2af0da4696fd71c05e0e4a55e
2022-04-11drop add_binary_source_envs() macroMarcin Juszkiewicz1-1/+0
With binary install type dropped there is no need for this macro. Change-Id: I7bdd29eb48a23faa04a98e785129d97258f05e64
2022-04-11Merge "docker: drop binary parts"Zuul1-176/+43
2022-04-11drop infra_image_prefixMarcin Juszkiewicz1-1/+1
We have one install_type only now so that infra stuff is not needed anymore. Change-Id: I60d50ba7699d46d001eaef365fb84b0ce8e9b262
2022-04-09docker: drop binary partsMarcin Juszkiewicz1-176/+43
Big patch drops all mentions of binary images support. Suggestions are welcome how to split it into parts or handle better. Change-Id: I5d5a46c6ce7734ceb8b844e17b43e359d7cac6e3
2022-03-01Use python3-openvswitch from distroMichal Nasiadka1-0/+5
We should use the same Python OVS bindings package version as running OpenvSwitch. See related bug. Closes-Bug: #1961874 Change-Id: Id6968e3ec1093f26f25f3045e2a6d8cc4f41adaa
2022-02-03Remove missing collectd packagesMichal Nasiadka1-1/+0
Since CentOS Linux 8 repository retirement from CentOS mirrors - we need to use CentOS Stream 8 version of Opstools repo. Listed below packages are missing from the repo, and according to the maintainer dpdk_telemetry is not going to show up at all (it's basically dead). The rest of the packages might show up at a later stage - but it's not a priority for the maintainer. - collectd-dpdk_telemetry - collectd-libpod-stats - collectd-sensubility - python3-sqlalchemy-collectd Change-Id: I5f446fc276e245c1e6974ceeb6ff3dccd84ee502
2022-01-20Merge "Clean MariaDB/MySQL"Zuul1-4/+0
2021-11-26Upgrade pip and friends in source imagesRadosław Piliszek1-1/+2
New pip has nice features for detection of conflicting requirements. When installing from PyPI, as we do in source images, running the latest pip+setuptools+wheel is recommended. Co-authored-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Change-Id: I4ae3a82cc796a60450c2a35beba32972964bc5d0
2021-10-20openstack-base: drop anyjsonMarcin Juszkiewicz1-2/+0
It is required only in Tacker and fails to be installed. And even Tacker does not use it... Change-Id: Ic8ebe4089c84f923c24697d632eb294a262059a8
2021-10-02Clean MariaDB/MySQLRadosław Piliszek1-4/+0
We are just overinstalling these. PyMySQL is enough nowadays. Change-Id: I074d9d13f52c208c0f3d92ea060b3b9abb6a6b9e
2021-06-29Remove last mongo refsRadosław Piliszek1-1/+0
Drop installation of pymongo because it is not used by Telemetry since at least Queens [1] [2] and MongoDB is not deployed by Kolla Ansible since Victoria. [1] https://review.opendev.org/c/openstack/ceilometer/+/512700 [2] https://review.opendev.org/c/openstack/aodh/+/373043 Change-Id: Id44ab0fe673f01490cd8ca9c51f465ae7ad95e08
2021-05-25Sort the package lists in openstack-base alphabeticallyChristian Berendt1-4/+4
Signed-off-by: Christian Berendt <berendt@betacloud-solutions.de> Change-Id: I4340ac228dc9624e59ed613265e47c3e95d2dc50
2021-04-13centos: enable repos where neededMarcin Juszkiewicz1-1/+1
With RDO use we did not disabled some repositories. This patch disable them and enable where needed. Change-Id: Ia9d537fe9c1ad54789d2bfb4027254fbb3defe7e
2021-02-06Remove zaqar client from openstack-base and heat-enginezhoulinhui1-3/+0
Change-Id: Idfec98f5dee6419dabbd0824b60af60eb0ecd3f2
2021-01-26Merge "openstack-base: move some packages from child images"Zuul1-0/+13
2021-01-25docker: do not install pip again in imagesMarcin Juszkiewicz1-1/+0
We install pip in base image so why repeat? Change-Id: Id903880b121d87d75b7b14084b0961b9ce99deba
2021-01-18openstack-base: move some packages from child imagesMarcin Juszkiewicz1-0/+13
automaton: cinder, glance, ironic, magnum, masakari, nova, octavia, watcher castellan: barbican, cinder, cyborg, glance, horizon, mistral, murano, nova, octavia, sahara, tacker click: blazar, cloudkitty, designate, ironic, keystone, kuryr, monasca, octavia, rally, sahara, zun httplib2: cinder, glance, horizon, monasca, neutron, solum, tacker, trove os-brick: cinder, freezer, glance, nova, zun os-traits: heat, ironic, kuryr, neutron, nova, octavia, placement, tacker, tempest, zun os-win: cinder, designate, freezer, glance, neutron, nova, zun oslo.privsep: ceilometer, cinder, cyborg, freezer, glance, masakari, neutron, nova, solum, tacker, zun oslo.reports: ceilometer, cinder, designate, glance, heat, magnum, manila, mistral, neutron, nova, octavia, panko, senlin, tacker, watcher, zaqar oslo.rootwrap: ceilometer, cinder, designate, glance, ironic, manila, neutron, nova, sahara, solum, tacker, zun oslo.upgradecheck: aodh, barbican, blazar, ceilometer, cinder, cloudkitty, cyborg, designate, freezer, glance, heat, horizon, ironic, keystone, kuryr, magnum, manila, masakari, mistral, monasca, murano, neutron, nova, octavia, placement, sahara, senlin, solum, tacker, trove, vitrage, watcher, zaqar, zun oslo.versionedobjects: barbican, cinder, cyborg, designate, heat, ironic, kuryr, magnum, masakari, mistral, neutron, nova, octavia, senlin, tacker, tempest, watcher, zun paramiko: ceilometer, cinder, freezer, manila, mistral, neutron, nova, rally, sahara, tacker, tempest, vmtp Change-Id: Ibb1e20a959a09f446752dbf1a54fb93df0892681
2020-12-11centos: do not enable PowerTools repo in baseMarcin Juszkiewicz1-0/+1
This repo is only needed for source openstack-base. Change-Id: I835c18424153f8529a37fc78e16d2becacb71263
2020-10-19Use upper constraints for virtualenv in openstack-baseMichal Nasiadka1-1/+1
Since Rally has virtualenv in requirements, and is using contraints - it's trying to downgrade virtualenv from inside a virtualenv. Let's try to install proper version of packages in openstack-base. Closes-Bug: #1900419 Change-Id: I2a1e2b6661fd4b62648756416e6147b604dda686
2020-09-21create 'add_binary_source_envs' macro and use itMarcin Juszkiewicz1-0/+1
There is small subset of images where we need to know which install_type or install_metatype is used. So add them only there (and their children). Change-Id: Ib7d5e36b958d6c8daf2989df32e29fa24b46c62a Implements: blueprint infra-images
2020-09-17Improve pip install process for offline deployment.Gaël THEROND (Fl1nt)1-4/+0
* "Use distribution-provided pip" * "Use python's pip module invocation method" * "Install pip earlier in order to avoid multiple installation" * "Remove pip_version variable requirement and call" Change-Id: Id0e738044a1931f9d611a7281a48ea4a593f1cf1 Closes-bug: #1893204