Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
8c9bcb0
[debian] Use upstream MariaDB
yoctozepto Sep 21, 2021
49a5b7e
cinder-volume/ubuntu: add lsscsi and nvme
mnasiadka Oct 12, 2021
0bc8f2a
Add Swift lock path in Swift containers
sdmitriev1 Apr 26, 2021
2774e59
nova-compute: trim image a bit on CentOS
hrw Nov 25, 2021
d034341
Ensure nvme-cli is present in nova-compute images
priteau Dec 7, 2021
464d151
Fix variable name
mmalchuk Dec 22, 2021
bfc4c8e
[CI] Stop testing non-stream CentOS
yoctozepto Jan 5, 2022
1c455b5
Merge "[CI] Stop testing non-stream CentOS" into stable/victoria
Jan 14, 2022
ca69517
magnum: fix issue with keystone auth default policy
mnasiadka Jan 12, 2022
891396f
Mitigate two Log4j vulnerabilities in Apache Storm
priteau Jan 13, 2022
56f4942
openstack-base: drop anyjson
hrw Oct 20, 2021
ab21ee9
Merge "Mitigate two Log4j vulnerabilities in Apache Storm" into stabl…
Jan 25, 2022
c16f3d4
Merge "openstack-base: drop anyjson" into stable/victoria
Jan 25, 2022
02f5222
Use distro provided GRUB efi
xin3liang May 15, 2020
07f5199
Drop CentOS Linux 8 image builds
mnasiadka Feb 3, 2022
77d683c
ironic: Fix UEFI & iPXE bootloader filenames
markgoddard Feb 10, 2022
07a4e43
base: Drop usage of Ceph Nautilus from RDO
mnasiadka Feb 8, 2022
545fed7
collectd: pcie-errors is x86-64 only now
Feb 4, 2022
674aede
erlang: use packages from Erlang Solutions on AArch64
Feb 3, 2022
f633f7b
Merge "erlang: use packages from Erlang Solutions on AArch64" into st…
Feb 16, 2022
9b1ff36
Ensure set_configs sets execute bit on directories
darmach Jan 27, 2022
61f1705
Use python3-openvswitch from distro
mnasiadka Feb 24, 2022
1ea5c73
Install glusterfs-client in Debuntu
yoctozepto Mar 8, 2022
ca49527
libvirt: add Cyrus SASL packages for DIGEST-MD5
markgoddard Mar 9, 2022
3819c16
Merge "Install glusterfs-client in Debuntu" into stable/victoria
Mar 14, 2022
6f01297
Merge remote-tracking branch 'gerrit/stable/victoria' into stackhpc/v…
dougszumski Mar 14, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .zuul.d/base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,6 @@
LfDhCLDD3VtnVOrj4UxZsjzmPbday1fziua/7f+CXsShC5erz0ZM65rMCwkjWeI6Kc63A
0M27tl+OWHO3KkfFR4tWc3dws3r1kYjQeds0adBHyYD0eL8SJfwZkbtojAQ1JM=

- nodeset:
name: kolla-centos8
nodes:
- name: primary
label: centos-8

- nodeset:
name: kolla-centos8-stream
nodes:
Expand All @@ -75,12 +69,6 @@
- name: primary
label: debian-buster

- nodeset:
name: kolla-centos8-aarch64
nodes:
- name: primary
label: centos-8-arm64

- nodeset:
name: kolla-centos8-stream-aarch64
nodes:
Expand Down
116 changes: 0 additions & 116 deletions .zuul.d/centos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,75 +2,34 @@
- project:
check:
jobs:
- kolla-build-centos8-binary
- kolla-build-centos8-source
- kolla-build-centos8s-binary
- kolla-build-centos8s-source
- kolla-ansible-centos8-source
- kolla-ansible-centos8-binary
- kolla-ansible-centos8-source-upgrade
- kolla-ansible-centos8s-source
- kolla-ansible-centos8s-binary
- kolla-ansible-centos8s-source-upgrade
check-arm64:
jobs:
- kolla-build-centos8-source-aarch64
- kolla-build-centos8s-source-aarch64
gate:
queue: kolla
jobs:
- kolla-build-centos8-source
- kolla-build-centos8s-source
- kolla-ansible-centos8-source
- kolla-ansible-centos8-source-upgrade
- kolla-ansible-centos8s-source
- kolla-ansible-centos8s-source-upgrade
periodic:
jobs:
- kolla-publish-centos8-source-quay
- kolla-publish-centos8-binary-quay
- kolla-publish-centos8s-source-quay
- kolla-publish-centos8s-binary-quay
periodic-weekly:
jobs:
- kolla-publish-centos8-source-dockerhub
- kolla-publish-centos8-binary-dockerhub
- kolla-publish-centos8s-source-dockerhub
- kolla-publish-centos8s-binary-dockerhub
release:
jobs:
- kolla-publish-centos8-source-dockerhub
- kolla-publish-centos8-binary-dockerhub
- kolla-publish-centos8s-source-dockerhub
- kolla-publish-centos8s-binary-dockerhub
experimental:
jobs:
- kolla-build-no-infra-wheels-centos8-source
- kolla-ansible-centos8-source-bifrost:
files: ^docker\/(base|bifrost|openstack-base)\/.*
# Test rabbitmq & mariadb changes in multinode ceph jobs.
- kolla-ansible-centos8-source-ceph-ansible:
files: ^docker\/(base|cinder|glance|mariadb|openstack-base|rabbitmq)\/.*
- kolla-ansible-centos8-source-upgrade-ceph-ansible:
files: ^docker\/(base|cinder|glance|mariadb|openstack-base|rabbitmq)\/.*
- kolla-ansible-centos8-source-zun:
files: ^docker\/(base|cinder|etcd|iscsid|kuryr|openstack-base|zun)\/.*
- kolla-ansible-centos8-source-scenario-nfv:
files: ^docker\/(base|barbican|heat|mistral|openstack-base|redis|tacker)\/.*
- kolla-ansible-centos8-source-ironic:
files: ^docker\/(base|dnsmasq|ironic|ironic-inspector|iscsid|openstack-base)\/.*
- kolla-ansible-centos8-source-swift:
files: ^docker/(base|openstack-base|glance|swift)/
- kolla-ansible-centos8-source-mariadb:
files: ^docker/(base|mariadb)/
- kolla-ansible-centos8-source-masakari:
files: ^docker/(base|masakari)/
- kolla-ansible-centos8-source-ovn:
files: ^docker/(base|neutron|openstack-base|openvswitch|ovn)/
- kolla-ansible-centos8-source-prometheus-efk:
files: ^docker/(base|elasticsearch|grafana|kibana|prometheus)/
- kolla-ansible-centos8-source-kvm:
files: ^docker/nova/
- kolla-ansible-centos8s-source-bifrost:
files: ^docker\/(base|bifrost|openstack-base)\/.*
# Test rabbitmq & mariadb changes in multinode ceph jobs.
Expand All @@ -97,15 +56,6 @@
- kolla-ansible-centos8s-source-kvm:
files: ^docker/nova/

- job:
name: kolla-build-centos8-binary
parent: kolla-base
nodeset: kolla-centos8
voting: false
vars:
base_distro: centos
install_type: binary

- job:
name: kolla-build-centos8s-binary
parent: kolla-base
Expand All @@ -117,17 +67,6 @@
base_tag: stream8
install_type: binary

- job:
name: kolla-publish-centos8-binary-dockerhub
parent: kolla-build-centos8-binary
post-run: tests/playbooks/publish.yml
vars:
publisher: true
kolla_registry: dockerhub
kolla_namespace: kolla
secrets:
- kolla_dockerhub_creds

- job:
name: kolla-publish-centos8s-binary-dockerhub
parent: kolla-build-centos8s-binary
Expand All @@ -139,17 +78,6 @@
secrets:
- kolla_dockerhub_creds

- job:
name: kolla-publish-centos8-binary-quay
parent: kolla-build-centos8-binary
post-run: tests/playbooks/publish.yml
vars:
publisher: true
kolla_registry: quay.io
kolla_namespace: openstack.kolla
secrets:
- kolla_quay_io_creds

- job:
name: kolla-publish-centos8s-binary-quay
parent: kolla-build-centos8s-binary
Expand All @@ -161,14 +89,6 @@
secrets:
- kolla_quay_io_creds

- job:
name: kolla-build-centos8-source
parent: kolla-base
nodeset: kolla-centos8
vars:
base_distro: centos
install_type: source

- job:
name: kolla-build-centos8s-source
parent: kolla-base
Expand All @@ -179,29 +99,12 @@
base_tag: stream8
install_type: source

- job:
name: kolla-build-centos8-source-aarch64
parent: kolla-build-centos8-source
nodeset: kolla-centos8-aarch64
voting: false

- job:
name: kolla-build-centos8s-source-aarch64
parent: kolla-build-centos8s-source
nodeset: kolla-centos8-stream-aarch64
voting: false

- job:
name: kolla-publish-centos8-source-dockerhub
parent: kolla-build-centos8-source
post-run: tests/playbooks/publish.yml
vars:
publisher: true
kolla_registry: dockerhub
kolla_namespace: kolla
secrets:
- kolla_dockerhub_creds

- job:
name: kolla-publish-centos8s-source-dockerhub
parent: kolla-build-centos8s-source
Expand All @@ -213,17 +116,6 @@
secrets:
- kolla_dockerhub_creds

- job:
name: kolla-publish-centos8-source-quay
parent: kolla-build-centos8-source
post-run: tests/playbooks/publish.yml
vars:
publisher: true
kolla_registry: quay.io
kolla_namespace: openstack.kolla
secrets:
- kolla_quay_io_creds

- job:
name: kolla-publish-centos8s-source-quay
parent: kolla-build-centos8s-source
Expand All @@ -234,11 +126,3 @@
kolla_namespace: openstack.kolla
secrets:
- kolla_quay_io_creds

- job:
name: kolla-build-no-infra-wheels-centos8-source
parent: kolla-build-no-infra-wheels-base
nodeset: kolla-centos8
vars:
base_distro: centos
install_type: source
8 changes: 0 additions & 8 deletions doc/source/admin/image-building.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,6 @@ See the :ref:`support matrix <support-matrix-base-images>` for information on
supported base image distribution versions and supported images on each
distribution.

The Victoria release supports both CentOS 8 Linux and CentOS 8 Stream base
container images. The default is to use CentOS 8 Linux. CentOS 8 Stream
may be used as follows:

.. code-block:: console

kolla-build --base centos --base-image quay.io/centos/centos --base-tag stream8

It is possible to build only a subset of images by specifying them on the
command line:

Expand Down
6 changes: 5 additions & 1 deletion doc/source/support_matrix.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,14 @@ The following base container images are supported:
CentOS 7 is no longer supported as a base container image. The Train release
supports both CentOS 7 and 8 images, and provides a route for migration.

.. note::

CentOS 8 is no longer supported since it has been marked as End of Life
and repositories have been removed from CentOS mirrors.

=============== ============ =============================== ================
Distribution Default base Default base image Default base tag
=============== ============ =============================== ================
CentOS 8 Linux centos centos 8
CentOS 8 Stream centos quay.io/centos/centos stream8
Debian Buster debian debian 10
RHEL 8 rhel rhel 8
Expand Down
11 changes: 8 additions & 3 deletions docker/base/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,14 @@ COPY dnf.conf /etc/dnf/dnf.conf
{% elif base_arch == 'aarch64' %}
{% set base_yum_repo_files = [
'elasticsearch.repo',
'erlang-solutions.repo',
'grafana.repo',
'rabbitmq_rabbitmq-server.repo',
'td.repo',
] %}

{% set base_yum_repo_keys = [
'https://packages.erlang-solutions.com/rpm/erlang_solutions.asc',
'https://packages.grafana.com/gpg.key',
'https://github.com/rabbitmq/signing-keys/releases/download/2.0/rabbitmq-release-signing-key.asc',
] %}
Expand Down Expand Up @@ -213,6 +215,8 @@ RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
'centos-ceph-nautilus',
'centos-opstools',
'centos-rabbitmq-38',
'epel',
'epel-modular',
] %}

{% if base_arch == 'x86_64' %}
Expand Down Expand Up @@ -361,17 +365,18 @@ COPY apt_preferences /etc/apt/preferences.d/kolla-custom
'F77F1EDA57EBB1CC',
'F6609E60DC62814E',
] %}
{% set remote_apt_keys = [
{% set base_remote_apt_keys = [
'https://packages.grafana.com/gpg.key',
'https://repos.influxdata.com/influxdb.key',
] %}
{% elif base_distro == 'debian' %}
{% set base_apt_keys = [
'46095ACC8548582C1A2699A9D27D666CD88E42B4',
'F1656F24C74CD1D8',
'F77F1EDA57EBB1CC',
'F6609E60DC62814E',
] %}
{% set remote_apt_keys = [
{% set base_remote_apt_keys = [
'https://download.docker.com/linux/debian/gpg',
'https://packages.grafana.com/gpg.key',
'http://buster-ussuri.debian.net/debian/dists/pubkey.gpg',
Expand All @@ -391,7 +396,7 @@ COPY apt_preferences /etc/apt/preferences.d/kolla-custom
{%- if not loop.last %} \
{% endif -%}
{% endfor %}
{% for key in remote_apt_keys | customizable('remote_apt_keys') %}
{% for key in base_remote_apt_keys | customizable('remote_apt_keys') %}
{%- if loop.first %} RUN {% else %} && {% endif %}curl {{ key }} | apt-key add -
{%- if not loop.last %} \
{% endif -%}
Expand Down
6 changes: 6 additions & 0 deletions docker/base/erlang-solutions.repo
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[erlang-solutions]
name=erlang-solutions
baseurl=https://packages.erlang-solutions.com/rpm/centos/$releasever/$basearch
gpgcheck=1
gpgkey=https://packages.erlang-solutions.com/rpm/erlang_solutions.asc
enabled=0
10 changes: 10 additions & 0 deletions docker/base/set_configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import os
import pwd
import shutil
import stat
import sys


Expand Down Expand Up @@ -369,6 +370,15 @@ def set_perms(path, uid, gid, perm):
perm = ''.join([perm[:1], 'o', perm[1:]])
perm = int(perm, base=0)

# Ensure execute bit on directory if read bit is set
if os.path.isdir(path):
if perm & stat.S_IRUSR:
perm |= stat.S_IXUSR
if perm & stat.S_IRGRP:
perm |= stat.S_IXGRP
if perm & stat.S_IROTH:
perm |= stat.S_IXOTH

try:
os.chmod(path, perm)
except OSError:
Expand Down
2 changes: 2 additions & 0 deletions docker/cinder/cinder-volume/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build

{% elif base_package_type == 'deb' %}
{% set cinder_volume_packages = [
'lsscsi',
'nfs-common',
'nvme-cli',
'sysfsutils',
'python3-rtslib-fb',
'targetcli-fb',
Expand Down
Loading