* Update loci from branch 'master'
to eb2ce826ef699cfd50d8fc762f8da87d84af03f6
- Revert "Remove uwsgi by default"
This reverts commit 39aaeb3f329993046703233d2f52c9f7470a8de1.
Change-Id: Ib607f3ecd5ada46ffe724fbc0d245d08f2a0fe01
* Update loci from branch 'master'
to f4cc70548ae53f09ce37533efa67886190275e73
- Make fetch-wheels PEP8 compliant
This is just a little cleanup.
Change-Id: I148369869e9aac1b3f4ba25d3780d6bca380d4c9
* Update loci from branch 'master'
to 6537fe480e058c62271b1f9ff09508ca42dc4885
- Add nodesets.yaml and stop using tmpfs for docker
Change-Id: I6fa07a45f491e7101f85cb90731611409a279719
* Update loci from branch 'master'
to 235b8e9d65d52964a6094ce867a3eed4752dbbe4
- Merge "Remove pyldap from pydep"
- Remove pyldap from pydep
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
* Update loci from branch 'master'
to 75b269d8d14bee771f8eb9ac6c0bc93cfc2c216b
- fix(nova): enable login ability for nova resizing or migrating
Login should be enabled for nova resizing or migrating between
hypervisors[1].
[1]: https://docs.openstack.org/nova/latest/admin/ssh-configuration.html
Change-Id: I1db692c3fbb371873ebe5432495130f4ecfdc930
* Update loci from branch 'master'
to 82082bf82de53846b228e62fa154bc011c4f3497
- Copy default configuration files to /etc/
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
* Update loci from branch 'master'
to 2f88cf46441bae413787b6c478c13f478e7f8cce
- Fix build of those wheels which depend on python-nss
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
* Update loci from branch 'master'
to ce9fea8fe62180dab0a778dfcc4c89116a945be5
- Fix building python-nss on Ubuntu Jammy
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
* Update loci from branch 'master'
to ec70407d68c433863aadcd2b19a65862e0976b88
- Build jammy images
Change-Id: I639588a618816f6ff70a7736963589977bb36eb1
* Update loci from branch 'master'
to 7c3c53c375777909664c17b760493cbf8a19e24f
- Add more info to the /etc/image_info
Change-Id: I956985410f55293c998e75c9fa8960e2b9106d45
* Update loci from branch 'master'
to e09a032257651effdf6a4f6dd28d4ecbe08ba59d
- Fix setup-gate.yaml playbook
- 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
* Update loci from branch 'master'
to c152ea081b6fb523de22ae1ba914a6cf21bac9dd
- Install dist packages before pip packages
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
* Update loci from branch 'master'
to f725a1256a2413fdada29b4d9d88acae63970ae9
- Install libldap-2.4-2 bindep library for the py3 ldap keystone profile
Change-Id: I86051fc48af907be05cfdd4fbb86d35aae704c4d
* Update loci from branch 'master'
to 5806885d68c6e15251168183245976a26c0da81a
- Merge "Drop UWSGI from always being installed"
- Drop UWSGI from always being installed
UWSGI was always being installed no matter the release,
we only use this inside Barbican so we'll install it in this
scenario only.
Change-Id: I76612794c1ba8dbc45b62dff00cee43c6ba10a34
* Update loci from branch 'master'
to 39aaeb3f329993046703233d2f52c9f7470a8de1
- Remove uwsgi by default
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
* Update loci from branch 'master'
to 7dd55124c3d4a1368d027575332eb0e045b426ce
- Add cryptography back for placement
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
* Update loci from branch 'master'
to 5688c6ffa366f268782ea53add4b7630449eee8a
- Merge "Update fetch_wheels to add Accept header"
- Update fetch_wheels to add Accept header
A private registry run from docker.io/registry:2 will use the Accept
content type added. This allows private repos to work:
WHEELS=192.168.1.50:5000/privateloci/requirements:ubuntu
Also remove the simple distutils function we used ahead of its removal
in python3.12
Change-Id: I7482e9097a7c0a5b332907c9e5849f2fe48af473
* Update loci from branch 'master'
to f3263f950549b46ca17f802340e2dc4bbb83f296
- Merge "Remove PYTHON3"
- Remove PYTHON3
The python2 is long dead and the PYTHON3 flag has been noop for a while.
Change-Id: Ia7be53e84090cc8b80e1dd5753ba1460ff454851
Related-Id: I3f4f60756887ad07229cf522803b30d4e16463cd
* Update loci from branch 'master'
to 2d422c3446badc9b2c8dc4ef0c33c7f5402a58ab
- Merge "Do not always install libapache2-mod-oauth2"
- Do not always install libapache2-mod-oauth2
This package is unavailable for 22.04 (the current LTS version of
Ubuntu). It is in 22.10 and may be backported to 22.04 through the
backports repo, but currently there is no prebuilt trusted source for
this package on 22.04.
This package is getting deployed on all ubuntu systems. In my opinion,
it should not have been merged, but we can gate the install around a
PROFILE='mod_oauth2' rather than revert the change entirely.
Related-Id: Ib3eac4269f7ac8365623f95a81b07a6436464ed0
Change-Id: I282b7b0aefa8aabc1f5c6495564d13b70cd0ec5d
* Update loci from branch 'master'
to 04f92fb2c7e07abb54b3692addd7714ecc93da2f
- Merge "Drop cryptography from dependencies"
- Drop cryptography from dependencies
There is no need to always install it, projects will usually
have it listed in their requirements.txt anyways.
Change-Id: I50b92ea36ab2d4157a8ec9e118a7f49fbd8ede2f
* Update loci from branch 'master'
to 1f2b4cb18f89716ae655cc2cd29f6864eef4136a
- Merge "Remove suse references from bindep"
- Remove suse references from bindep
As part of our effort to clean up unsupported linux distros, this
change removes the suse references in loci's bindep.txt.
Also removed a few python2 leftover references.
Change-Id: I9443721d0f2bd78ecee6d29e3d603be08e98e537
* Update loci from branch 'master'
to 8ac5d338dbb9d989f30f459cbc083a4e2324e540
- Merge "Remove Git repo data from NoVNC and SPICE HTML5 dirs - Story: 2010049"
- Remove Git repo data from NoVNC and SPICE HTML5 dirs - Story: 2010049
Change-Id: I9f8a81ed160a5d09b01e846b091d5bbb2bee1656
* Update loci from branch 'master'
to e77485f8b0d0e72923dbad5e449b1d9ef48b6a22
- Bump centos version up to 9-stream
This change updates the version of centos that we currently
contain in the repository to 9-stream.
Change-Id: Ia4f4d6eaee6d9e272f5276ce961691fa980cd957
* Update loci from branch 'master'
to 2537db07aa3a3836cd215281e2fe2aa7923706b0
- Refactor docker image task values
Due to an ansible upgrade, the docker_image tasks are currently
failing. This was due to a change in ansible, several values were
deprecated and moved/renamed.
This change modifies the docker_image task definitions to be
up-to-date with the latest ansible changes to fix the gate.
Change-Id: I653cd55256426f8fac3fce2fed460a14aa6b1d37
* Update loci from branch 'master'
to 9a3d79d4a40184d260e9708531eb18b74eb6042f
- Merge "Reduce build targets"
- Reduce build targets
OpenSUSE LEAP is currently not in use by any known downstream
users and it has been broken for quite sometime, leaving the gate
in a broken state and unable to land any code. There's no active
maintainer for it as well.
Debian support was added by us (VEXXHOST) but we decided that
we're not going to continue using it and move towards Ubuntu, so
we do not want to maintain it, as well as that it is building images
for Train only.
It also updates the README file accordingly as well as includes
focal in there which has been recently added.
Change-Id: Ideb497c169828184d301b6be4359a7c2228aa444
* Update loci from branch 'master'
to 6441c2fc1f568749061fd82b0acde65a22dbd36c
- Update cloud archive to yoga for focal
This change updates the cloud archive version to yoga in the
ubuntu_focal dockerfile sources.list. This is to facilitate the
upgrade to the latest version of openstack.
Change-Id: I56bce55adde466ad0b175b39e9d7b2820f03bdb8
* Update loci from branch 'master'
to eb95b4adab5b8659ba95131c4bc234776b21cda5
- Merge "Remove supported releases for placement"
- Remove supported releases for placement
Placement is now ran by default for all latest supported releases
of openstack. This change removes the supported_releases field
to make sure each release of openstack we build now correctly
supports it.
Change-Id: I373f3f1e745d4af19f4266c48949c48d55e715eb
* Update loci from branch 'master'
to effe0b875e111121a916b4e97bc1d944f9c154b4
- Merge "Remove python2 references from requirements.sh"
- Remove python2 references from requirements.sh
This change removes the python 2 references and workarounds from
the requirements.sh script. This is part of the effort to remove
the python 2 uses and workarounds from the loci repository.
Change-Id: I23271067587dff938c3bcce4f798db8dc33a428b
* Update loci from branch 'master'
to ff2c43e85a2e3e5a5b632c03264c9932caf56f71
- Merge "Remove python2 workaround in cleanup.sh"
- Remove python2 workaround in cleanup.sh
This change removes a workaround for python 2 in the cleanup.sh
script. This is part of the effort to remove the python 2
handling in the loci repo.
Change-Id: I7edf860a0b035d91aa9a3f8e2e3af1e71ce61065
* Update loci from branch 'master'
to a32aca4dc5929d971f66e7f309c5125cdd40120c
- Merge "Remove python 2 workaround in fetch_wheels.sh"
- Remove python 2 workaround in fetch_wheels.sh
This change removes a workaround to handle python 2 vs python 3
in the fetch_wheels.sh script. This is part of the effort to
remove the python 2 workarounds and references in the loci repo.
Change-Id: I7176d665548a14442b06214e450e7b17e54dd85d
* Update loci from branch 'master'
to fd750e06a8eff9b60a9d3baa16cf94f7da0ef5b4
- Merge "Remove python 2 workaround in fetch_wheels.sh"
- Remove python 2 workaround in fetch_wheels.sh
This change removes an import workaround for python 2 in the
fetch_wheels script that is no longer needed since openstack
has moved away from python 2. This is part of the effort to
remove all the python 2 workarounds in the loci repo.
Change-Id: Icccec48297cdd18577ec3fb28efa173e3a7ef000
* Update loci from branch 'master'
to 9eb4aa152f566155ac572d6e46f68c7b85042bb8
- Merge "Remove ubuntu xenial image building"
- Remove ubuntu xenial image building
This change removes the ubuntu xenial image building support since
it's quite old at this point and most services have moved on to
newer releases.
Change-Id: I5b87806d2f07c4d49ac994c0bda8d1e154e02e1d
* Update loci from branch 'master'
to 5c88d13eae42c10935e91d38b808c3fa518538fb
- Update README
The README currently contains some information about base linux
distros that are either no longer used or older and not supported
by loci. This change removes the list of supported distros in
favor of a more generic description.
Change-Id: I106ca7de063cfd62060da7b47dc728b18575c705
* Update loci from branch 'master'
to f1cb5448b8507d0c0d87dc5ae983d7af0ebab4a7
- Merge "Remove trollius workaround"
- Remove trollius workaround
The workaround for trollius appears to be no longer needed since
openstack has moved away from python 2. This change removes the
logic to handle removing trollius since it's no longer present
in upper-constraints.
Change-Id: Icd832edffec2cea907276480fd8c67e44459ad90
* Update loci from branch 'master'
to 6e91f1e8772f107c9826a569a7ec7d1f55dc2a7a
- Merge "debian: stop building images"
- debian: stop building images
We were testing against an EOL'd release of Debian, no one seems
to have maintained it so we should drop the jobs here to avoid
breaking things.
Change-Id: I233dd497caeeb8a03077c44b87ffb77d64755613
* Update loci from branch 'master'
to f9676f734ef17a8030f6f0f57a92a0033d948c54
- Merge "Authenticate with registry on-demand"
- Authenticate with registry on-demand
This patch makes a change to allow LOCI to dynamically
determine the authentication server of the registry by
grabbing it from WWW-Authenticate if we get an unauthorized
request and then re-issue the request again with a token
afterwards.
Change-Id: Icb5eb390d64a944c6ad46c10581980076befda41
* Update loci from branch 'master'
to 279af7f51bf7e32ed4816608eed1c2adc5496fd3
- Merge "aarch64: stop trying to build confluent-kafka"
- aarch64: stop trying to build confluent-kafka
This package requires a version of libfdkafka-dev that is too old inside
the distributinos to be able to build the wheel. In amd64, it has
wheels on PyPI so it doesn't attempt to build it but it fails to build
it inside an aarch64 system.
Change-Id: If0a90919cdddaf91a67ce96646dea87cf0b9632c
* Update loci from branch 'master'
to 823131403880c5c51bd18440e4b025fe4e6e479d
- Merge "uwsgi: fix occasional failures"
- uwsgi: fix occasional failures
Without CPUCOUNT=1, uwsgi frequently fails to build in
certain environments. Once this was implemented, the
builds were stable again.
Change-Id: If85687046297c582b39ca591b21e93c76b7de876
* Update loci from branch 'master'
to c964b968092487d1d2ced3fdff6229a867f0bf29
- Merge "keystone: add mod_oauth2 to image"
- keystone: add mod_oauth2 to image
mod_oauth2 is needed to enable oauth2 as mod_auth_oidc is
deprecating that feature. It's also not included by default
in the repos so we have to script installing it.
Change-Id: Ib3eac4269f7ac8365623f95a81b07a6436464ed0
* Update loci from branch 'master'
to c488166421e868c3b348208ad8af8a4922942f66
- Add neutron vpn packages
Change-Id: I2e272ce1ed971509e79b3518f5493e68ec8d6e63
* Update loci from branch 'master'
to dee49b0ed09d906d5597e7359e9bf70aee494ec3
- Disable centos-8 builds
CentOS 8 builds are failing because the distro is EOL and the mirrors
have been removed from upstream CI.
If any contributors want to pick up fixing it, they can do that but
we need this to unblock the gates.
Change-Id: Ifec4d2021e0a87a79fc212aa4613d43ead5acf67
* Update loci from branch 'master'
to efccd0a853879ac6af6066eda09792d0d3afe9c0
- Specify a different source for novnc/spice-html5
The StarlingX project is seen some intermittence on the gitlab where
spice-html5 source is being cloned from and we would like to select a
different source. This changes gives the option to overwrite the source
repos and versions of both spice-html5 and novnc.
This will also provide the means to easily test new versions of those
libraries when in the event of an upversion.
Partial-Bug: #1956173
Signed-off-by: Thiago Brito <thiago.brito@windriver.com>
Change-Id: I3001dad62a0caed26347dcb193d101c80901b5d8
* Update loci from branch 'master'
to a52d700d86fccb78ad9f92780efd5170c324325e
- Fixing job issues
- Missing nss-devel-3.53.1 pkg on centos
- Commenting out leap15 job until the mirror are updated to 15.3
- Commenting configurations related to not yet set debian mirror
Depends-On: https://review.opendev.org/c/openstack/watcher/+/823606
Signed-off-by: Thiago Brito <thiago.brito@windriver.com>
Change-Id: Idee88bd7eac1994fa899b22ccd3c6676a643583b
* Update loci from branch 'master'
to 68c3d9177f83501c0d44dcb36bae0c286fa66d43
- Pin virtualenv to 20.7.2
Current latest 20.8.0 have updated embedded pip 21.2.4 and setuptools
58.4.8 incompatible with some of constrainted packages.
Change-Id: I81ec48dbd123e6f24ff05d64906d47c31ae693f7
* Update loci from branch 'master'
to c19db02c6dec9fba5b450bc36f12b9d5623f699c
- Fix setup_pip.sh and remove xenial based builds
Also fix monasca bindep.
Change-Id: I2b5b1a31165e98ce71380824e8f57af8906701c6
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
* Update loci from branch 'master'
to 8baeb8ecea689642d56d82a2e6c4e35a2fefaa07
- Add focal base to dockerfiles
Change-Id: I2e57506e94d468e8c342814dad740b8a450aa23d
* Update loci from branch 'master'
to 57a75eba725f2aeea97a993f01f830ac4938bfa3
- Merge "Enable Debian gate build and fix mirrors related issues"
- Enable Debian gate build and fix mirrors related issues
Also fixes related issue with distutils installation for Debian Stretch
and Ubuntu Xenial with py3: unlike in Bionic, distutils is installed with
python3 and python3-distutils package is not available in these distributions.
Run Debian build with py3 against stable/train, as master requires at
least python3.6, not available for distribution out of box.
Also increases job timeout to 5400 due to increased amount of builds.
Change-Id: I04c9253af80d941afb45231bee20f7bb1c4a96d4