| Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Multiple fixes to fix multiple problems.
1. Bump setuptools requirement to 21.0.0
The 16.0.0 requirement breaks the lower-constraints job on Ubuntu
bionic. We see the following error:
AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
2. ubuntu-binary horizon image needs to use python3 for django
manage.py
3. ubuntu-binary nova-placement-api image needs to use python3 for
apache mod wsgi.
4. nova-libvirt needs exact qemu dependencies due to packaging change
5. OracleLinux repos definition was changed in official image.
6. Fetch InfluxDB gpg key for Ubuntu base image from influx server.
Change-Id: Ic797d41f53a5f146d112619f1683cbfbf3a85dc2
|
|
Buster is at freeze phase so safe to update and use. Will give us
Python 3 based OpenStack packages (usually release delayed).
Change-Id: I48c2d252a834716f1bcf10b18f2d32fe541e8137
|
|
Change-Id: I5edc46c3b93f93bdb7fa97b08072a773b8296e02
|
|
Add configuration to allow the switch between dnf/yum or provide an
alternative package manager.
Change-Id: I913769fcf5875a12b4561958cf7c90b74cd116ea
|
|
RDO is currently working on python3 support for the next version of
CentOS/RHEL based systems. This package uses the distro_python3 flag
that was added as part of I4028991bad92c0e8e21066cc4173c06ce5eba393 to
use the python3 specific package names. This change only adds python3
package names for RHEL systems.
Conflicts-With: https://review.openstack.org/#/c/636457/
Change-Id: Iad6b70b433a0dd1b0f8ae6790fd280594517661a
Related-Blueprint: python3-support
|
|
RHEL7 derived distros use Python 2.7
RHEL8 uses Python 3.6
Ubuntu 18.04 uses Python 3.6, but we haven't enabled it yet.
Debian:buster uses Python 3.7, but we haven't enabled it yet.
We have several places in code where "/lib/pythonX.Y/site-packages"
is used so we need to know value of X.Y rather than py2/py3 switch.
How to check for Python 2:
{% if distro_python_version == '2.7' %}
Breaks: Iad6b70b433a0dd1b0f8ae6790fd280594517661a
Change-Id: Ie24f109af19ae0438c21e0d43cb3cc947812b4ce
|
|
Both Ubuntu Stein UCA and Debian 'buster' migrated their OpenStack
packages to Python 3.
Note that Debian 'buster' is not released yet and contains Rocky
packages. Stein ones will be available later.
Co-Authored-By: Lee Yarwood <lyarwood@redhat.com>
Co-Authored-By: Eduardo Gonzalez <dabarren@gmail.com>
Change-Id: I160f79cc57f54ec3eac857c5babd1a6e2656d228
|
|
|
|
This version allows us to use Debian binaries for non-x86 architectures
instead of building 'dumb-init'.
'base_compiler_packages' are installed as they will be needed anyway to
build other Python packages (no binary wheels for !x86). We also need
'binutils' to be installed for 'ar' command.
Change-Id: I53ad946ead4f0b485d8c7e8a91ac2ef5d7735c5a
|
|
At the time of bumping Ubuntu images to bionic, some repos did not have
bionic versions - so xenial repos were used.
Most of the repos - apart odl now have a bionic tree - so this patch
enables them.
Change-Id: Id3c67fad507adc7b9f200eced74ecba8fadf70e6
|
|
Percona started signing packages with a new public GPG key, without
providing it via HTTPS. Ship the PERCONA-PACKAGING-KEY extracted from
the percona-release package.
https://jira.percona.com/browse/PT-1685
monasca-grafana broken by 'rake' missing when trying to install the
'fpm' gem.
Co-Authored-By: Mark Goddard <mark@stackhpc.com>
Change-Id: Ica9867448dc20864f2fd4614a295a23a4a625af4
Closes-Bug: #1813906
Closes-Bug: #1813927
|
|
As a follow up to I402cff1ac86a2ba108f2f5378cc98db5f6ecc673
only add the echo command if there is a value in centos_contentdir
Change-Id: Ie5144ee3b8bdb2535a32cfb43c43dfc1bb556ac8
|
|
|
|
When asserting the validity of config files, we currently
use viewkeys(), which has been removed in Python3, so a kolla
container cannot set the config with Python3 only.
"Traceback (most recent call last):",
" File \"/usr/local/bin/kolla_set_configs\", line 406, in main",
" config = load_config()",
" File \"/usr/local/bin/kolla_set_configs\", line 297, in load_config",
" validate_config(config)",
" File \"/usr/local/bin/kolla_set_configs\", line 238, in validate_config",
" if not data.viewkeys() >= required_keys:",
"AttributeError: 'dict' object has no attribute 'viewkeys'"
Use keys() instead, which is compatible with both Python2 and
Python3, and has no visible performance disadvantage and wrap it in a
set() call so that we are guranteed to compare sets.
Change-Id: I5f53c8f5a390a9df3ebb60659ebdcef41e3a9cad
Co-Authored-By: Michele Baldessari <michele@acksyn.org>
|
|
This change updates the docker files to use base_package_type instead
of doing specific distro checks for the rhel/deb generic cases. The
base_distro is still available and is used when a specific distro needs
a customization but if the differences are purely rpm vs deb, then the
base_package_type can be used.
Change-Id: I8d720bb185df65a0178061ccf20b1ab2265da2c5
|
|
On some distro, running kolla_start via su changes
the default UMASK, and consequently set_configs.py
generates a /run_command that is not world-readable,
and kolla cannot start the configured service.
Make sure /run_command always has 'go+r' permissions.
Change-Id: I6304f5937c512068ee1fb8aac5c88a2bd086e387
|
|
Grafana repository is moved from packagecloud to
packages.grafana.com[0]. Based on new grafana install guide[1], update
the grafana.repo
[0] https://grafana.com/blog/2019/01/05/moving-to-packages.grafana.com/
[1] http://docs.grafana.org/installation/rpm/#install-via-yum-repository
Closes-Bug: #1810867
Change-Id: Ib065fdc561b72fc013b952b3df41ee83b083194e
|
|
|
|
|
|
Change-Id: I212a53b235f2785d93d474660c87a8521f3cc8b2
|
|
Oraclelinux repositories has been upgraded and
previous file removed, this change update repos
to new URLs.
Disable collectd in gate as is currently broken and
blocks mergingin voting jobs.
Change-Id: I402cff1ac86a2ba108f2f5378cc98db5f6ecc673
|
|
|
|
|
|
Change-Id: I8a70690d081e2ce1284cae60179ce0598a28a393
|
|
Debian builds fail with gnupg error:
INFO:kolla.common.utils.base:Executing: /tmp/apt-key-gpghome.utZMwIQ8EO/gpg.1.sh --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 418A7F2FB0E1E6E7EABF6FE8C2E73424D59097AB
INFO:kolla.common.utils.base:gpg: cannot open '/dev/tty': No such device or address
This change stops GnuPG from using tty.
Change-Id: I4a9f2fb2c9fdd21430ce3a9bd02999ae21e1847a
|
|
We would probably like to forward signals only to the direct child
which in turn takes care its children and not to all worker child
processes.
Change-Id: Id91ebb8b0ecc43946845de386350af0536dd661f
Related-Bug: #1799642
|
|
Ubuntu: we dropped external MySQL repo months ago.
Debian: we dropped most of external repos when we moved to 'stretch'.
Also replaced Elasticsearch repo key with full id.
Change-Id: I679bd814b143d128f334c76d5ec7cc2dbe06543d
|
|
blueprint database-backup-recovery
Implements an image suitable for taking MariaDB backups via Percona's
XtraBackup tool.
Install XtraBackup from Percona's repos, ensuring that packages from
this source aren't used for any other purpose.
Include a script which invokes XtraBackup with the appropriate
options for either a full or incremental backup.
Change-Id: Ifebe2045e5815c573c0a2ae05951c428c3f06a92
|
|
These two files are useless in container, and disable them will save
about 18MB size for image. More info please check[1].
[1] https://github.com/sagemathinc/cocalc/issues/2287#issue-249824529
Change-Id: I1bba59260043782fd7c9306b194d144d027a29e0
|
|
|
|
|
|
Upstream started building Grafana for arm64 a while ago. So let's use it
instead of someone's build.
Change-Id: Ia5359cd86022f2475301407d62a5ad4e1b275c13
|
|
During Xenial cycle we had to pin dh-python. With Bionic we no longer
have to.
Change-Id: Icf80c902ebd962a3034a1948209a357f768f533f
|
|
Previous attempt broke Debian builds.
Pinning Ceph packages instead of giving version during install.
Change-Id: I791e479ba265ba61ffd882da18f85cdbece67e55
|
|
|
|
Crane is a lightweight 'pull only' container registry
implementation.
TripleO is aiming to replace our use of docker-distribution
with crane for the Undercloud.
Co-Authored-By: Martin André <m.andre@redhat.com>
Change-Id: I59d9521f99243401d7703a3dedc26b5baed2d595
|
|
Change-Id: Ia1ace8b5d981a28c6722fc4ddd074f1daa02ad9b
|
|
This allows us to use the new simpler style conf format, as well as drop
the dependency on the deprecated clusterer plugin.
Depends-On: I921459f3e40b9e0d4af9497384e49aabf0abe79b
Change-Id: I75e00312b36e1678b90a42cf58d24652323eff27
|
|
Obtain binaries from encrypted source when we're unable to check for
their signatures. This should provide better security than downloading
the files over HTTP but does not replace signature verification or file
integrity check.
Related-Bug: #1791674
Change-Id: I7d6eed9ab14ceb130ea4f5f03d893ddaaa0a7acd
|
|
|
|
Change-Id: I78efa793ee72235a6cf16c5a65ef102db7e35c9a
|
|
Change-Id: If80ffba72f4b5e74f1fea52900098c687090d9db
|
|
|
|
All repositories we depend on got synced to mirrors. So we no longer
need to fetch ceph-luminous or opstools from buildlogs.centos.org
server.
Change-Id: Ie7b54d20f98d26d3e086bbbfcda289c2677a008a
|
|
We no longer have to set $contentdir for CentOS as it is set in centos:7
images now.
This code was required when Docker hub had 7.4 images while 7.5 packages
were already in repositories.
Change-Id: I69d1b87ffb3af1dea2f8cf93a2264df93356e9ed
|
|
|
|
as a followup to https://review.openstack.org/#/c/505143/
"Remove yum cache"
Change-Id: Ifaaead6f6efe35808ebf79ea0d4474fbb60c8994
|
|
|
|
Change-Id: I9aa30b055f03f1187b58faa32c0e1704756490a3
|