* Add the python-cinderclient and oslo-rootwrap packages
to the Glance image. When Glance uses Cinder to store
image data it needs:
A) The python-cinderclient python package to communicate with
Cinder's API and
B) The oslo-rootwrap python package to execute actions that
require privilege escalation like attaching an iSCSI target via
iscsadm.
* Add qemu-utils to the Glance image.
When Glance is configured to do image conversion after an image is
uploaded but before it's stored, it will rely on the 'qemu-img'
tool to perform image conversion from the source to the
destination image format.
Co-Authored-By: Kaloyan Kotlarski <kaloyan.kotlarski@storpool.com>
Change-Id: Iccc6441e38ad0bca081d3028dfcf56cd15198e01
This reverts commit 455c06b78fca3312f048aad75cc4c9a5e7a61968.
Reason for revert: https://review.opendev.org/c/zuul/zuul-jobs/+/881524 is merged which solves the initial issue
Change-Id: Ie50e4473b9f733774200dd3d1fc3e98036bd2b90
After this https://review.opendev.org/c/zuul/zuul-jobs/+/881524
is merged we will be able to run a single promotion job that
loops over two registries docker.io and quay.io
Change-Id: I2b43835541faf9c193cd5daff45bf7fca11304f2
Promote-container-image role includes remove-registry-tag
role which requires api token to be defined for quay.io instead of username
and password.
Change-Id: Id672e28c39ab5bb016978bccf21e9a1f3053b8f0
This is to align it with other Openstack-Helm projects.
We use same test jobs with multiple git repos and some
jobs have file filters including smth like ^zuul\.d.*$
which prevents those jobs to start if the directory
named the other way.
Change-Id: Icc4c84a8ec6d13e67a573c5837e595f787b4cf81
* Drop dances around virtualenv installtion, install it via get-pip.py
* Allow to specify pip,wheel and setuptools versions as older openstack
releases may not work with latest versions
Change-Id: I59a905dd08e1797135d805bee83a85c300746294
Instead of using *-docker-image roles for
building and uploading images let's use
*-container-image roles which allow upload
images to OCI compatible registries (not only docker hub).
Change-Id: I706045d465de6217c82632148bdaf3b0eb4f6d95
It may be required to install library from source code that is present
in upper-constraints.txt. Just clone your libraries before building
images into loci/data directory and trigger build with KEEP_ALL_WHEELS=True
Change-Id: Ia7d17285d11c3a10a42eb3d572a19e45f8511bbf
We do not need to build static files each time horizon restarts
instead build static files once during image build.
Add argument to specify list of pannels
to enable during horizon build.
Change-Id: Ib1f8e5f01c9c1d1498b1ae8d986dd0869a7d1699
When using emulated TPM, needs to set the user/group
that swtpm binary runs as.
Related-Prod: PRODX-37352
Change-Id: Ife7b0000a66936f3581f968d8825294b71ac3c49
Not all dependencies are present in upper-constraints
one of examples in setuptools. Since global-requirements
may limit allowed versions add it here explicitly
Add global-requirements when building wheels explicitly.
Change-Id: Ie50485859c0ebea90e26e4c98ea71d66b6323f2f
Neutron tempest plugin (common/ssh.py) gets locale for
execute scripts on remote machines, so set it to default
value to avoid an empty one.
Closes-Bug: PRODX-5583
Change-Id: If1b558c1fe85137716c0836b7049274affeef2c4
There have been some bugs fixed in oslo.messaging
and we would like to install it from stable/2024.2
branch.
See for example https://bugs.launchpad.net/oslo.messaging/+bug/2084168
This customization should be removed after these
changes are released.
Change-Id: I9ca545b0b140b339c55615c321f7336b68a3f9a0
It may be required to install additional python packages from source.
To do this download them into loci/data directory and specify names of
projects via EXTRA_PROJECTS argument during build.
Change-Id: Iadf9a14aa0aa9082abb4ba015b08d2e37a20f521
This patch allows to pass directory with source code of
projects to conteiner during build. This is useful when
it is not possible to clone project in anonymous mode.
Change-Id: Id157ad614b790a87d8c8910a438a29887f9fc46e
Do project specific installations by calling project specific
scripts located in scripts/project_specific/<project_name> directory.
The scripts are executed in alphabetical order.
Also move keystone oidc and nova console into own files
Change-Id: I1f381e85f095eee2bede3f4925f51c9103d83467
Networking-baremetal package provides ironic-neutron-agent
and is not among the requirements of neither Neutron itself
nor global upper-constraints. So when we try to install it
using PIP_PACKAGES build env variable pip can not find it
among pre-downloaded wheels. So let's add it to pydep.txt
and when necessary to install it together with neutron
we can pass the baremetal profile.
Change-Id: I0f3eed5e1babd7fafcfbe2bae18a8b6b3b93397b
The requirements.sh script fails on master due to this
https://review.opendev.org/c/openstack/requirements/+/921656
Also Ansible docker_container module is not compatible
with the recent docker daemon.
Change-Id: Ib9440cbf2a5196c31a7669edd73472d685a754a5
Master branch is not compatible with Ubuntu Focal.
Some projects like Octavia recently bumped
the minimal required python version to 3.9 while
the default python3 version in Focal is 3.8.
Also Nova requires Libvirt/Qemu newer than the
default versions on Ubuntu Focal.
See for example:
https://review.opendev.org/c/openstack/octavia/+/915970https://review.opendev.org/c/openstack/nova/+/887255
Change-Id: Ida62539a250554e776eaae3fdf283716b98f8298
This will allow us to shorten the values.yaml
in many cases.
This is disabled by default. Set COPY_DEFAULT_CONFIG_FILES=yes
to enable it.
Change-Id: I244c29844d3ceb29b73e9a60b284d900bbeeb4ec
In the https://review.opendev.org/c/openstack/loci/+/888351
we build python-nss separately because we need to
patch it before building. Then we moved the result
.whl file to the root directory.
Now let's add --find-links / to all pip wheel commands.
Change-Id: I5faca92eb229af989b4bf63e6e044e49c7bacb5a
The libnss3 headers in Ubuntu Jammy are compatible
with python-nss===1.0.1. Ubuntu Jammy itself
provides the binary package python-nss and
they apply the patch that renames RSAPublicKey/DSAPublicKey
types into PyRSAPublicKey/PyDSAPublicKey.
This change applies the same patch before
building python-nss wheel.
Change-Id: I5211aac7b6a3bbc1f1b74e8662170dc8932525f9
- Use roles from zuul-jobs
- Unpin docker python package version. It used
to be pinned to 2.7 and it is incompatible
with the latest docker api.
- Also do not build Ubuntu Bionic images which
by default use Ussuri release (not supported).
Change-Id: I958677e3df88028d00ac0df812c0030419d517a7
Sometimes we need dist packages before
installing pip packages. For example
we might want gcc to be able to install
some pip packages from source.
Change-Id: I820a35f61999acbbed40a83b33ea523a0c15fcc6
The pyldap library was needed only through the queens release, which
we no longer support. This change removes the entry as well as
removes the checks for python-ldap for these older releases.
Change-Id: Id387d4d0bd901682d0aec87ef5e5ee784b9af10c
Not all deploys will use uwsgi by default but there is no way to disable
it currently. Since uwsgi itself isnt truly a python app (just a C
program with a python building shim).
The user will still be able to install binary package based uwsgi or
include uwsgi in the extra pip packages to install if they wish to.
Related-Id: I76612794c1ba8dbc45b62dff00cee43c6ba10a34
Change-Id: I15008d41633168fda31e061003ccf4681cade68e
The compute-kit jobs are currently failing in osh-images due to
placement not having cryptography available. At this time the
placement project does not specify cryptography in their
requirements, so in the meantime this change adds it back but
specifically for the placement project.
Change-Id: I4e7d8c81d3793d4d3b85b450ded673ad122dc266