Skip to content

Commit 6e7f26a

Browse files
authored
Merge pull request #103 from stackhpc/xena-images
Add initial Xena container image configuration & tags
2 parents 350ef29 + 451bcc5 commit 6e7f26a

File tree

4 files changed

+20
-24
lines changed

4 files changed

+20
-24
lines changed

etc/kayobe/kolla.yml

Lines changed: 14 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ kolla_docker_registry_password: "{{ stackhpc_docker_registry_password }}"
9696

9797
# Kolla OpenStack release version. This should be a Docker image tag.
9898
# Default is {{ openstack_release }}.
99-
kolla_openstack_release: TODO
99+
kolla_openstack_release: xena-20220728T100435
100100

101101
# Docker tag applied to built container images. Default is
102102
# {{ kolla_openstack_release }}.
@@ -111,10 +111,6 @@ kolla_openstack_release: TODO
111111
# location: https://github.com/openstack/ironic
112112
# reference: master
113113
kolla_sources:
114-
barbican-base:
115-
type: git
116-
location: "https://github.com/stackhpc/barbican.git"
117-
reference: stackhpc/xena
118114
bifrost-base:
119115
type: git
120116
location: "{{ kolla_bifrost_source_url }}"
@@ -198,7 +194,7 @@ stackhpc_ubuntu_focal_repos:
198194
- "deb {{ stackhpc_repo_ubuntu_focal_url }} focal-updates main universe"
199195
- "deb {{ stackhpc_repo_ubuntu_focal_url }} focal-backports main universe"
200196
- "deb {{ stackhpc_repo_ubuntu_focal_security_url }} focal-security main universe"
201-
- "deb {{ stackhpc_repo_ubuntu_cloud_archive_url }} focal-updates/wallaby main"
197+
- "deb {{ stackhpc_repo_ubuntu_cloud_archive_url }} focal-updates/{{ openstack_release }} main"
202198

203199
# Dict mapping Jinja2 block names in kolla's Docker images to their contents.
204200
kolla_build_blocks:
@@ -231,23 +227,6 @@ kolla_build_blocks:
231227
RUN grafana-cli plugins install vonage-status-panel
232228
ironic_inspector_header: |
233229
ADD additions-archive /
234-
prometheus_v2_server_repository_version: |
235-
ARG prometheus_version='2.35.0'
236-
prometheus_alertmanager_repository_version: |
237-
ARG prometheus_alertmanager_version='0.24.0'
238-
prometheus_cadvisor_repository_version: |
239-
ARG prometheus_cadvisor_version='0.40.0'
240-
ARG prometheus_cadvisor_sha256sum='8e3df91eee70c72ac3f3184b9fab1229b037c2e850ff1593103b2bd9028c57c0'
241-
node_exporter_repository_version: |
242-
ARG node_exporter_version='1.3.1'
243-
prometheus_memcached_exporter_repository_version: |
244-
ARG memcached_exporter_version='0.9.0'
245-
haproxy_exporter_repository_version: |
246-
ARG haproxy_exporter_version='0.13.0'
247-
mysqld_exporter_repository_version: |
248-
ARG mysqld_exporter_version='0.13.0'
249-
prometheus_blackbox_exporter_repository_version: |
250-
ARG blackbox_exporter_version='0.19.0'
251230
252231
# Dict mapping image customization variable names to their values.
253232
# Each variable takes the form:
@@ -290,6 +269,18 @@ kolla_build_customizations_ubuntu: {}
290269
# override, append or remove. The value should be a list.
291270
kolla_build_customizations: "{{ kolla_build_customizations_common | combine(kolla_build_customizations_centos if kolla_base_distro == 'centos' else kolla_build_customizations_ubuntu) }}"
292271

272+
# Dict mapping Kolla Dockerfile ARG names to their values.
273+
kolla_build_args:
274+
blackbox_exporter_version: "0.19.0"
275+
haproxy_exporter_version: "0.13.0"
276+
memcached_exporter_version: "0.9.0"
277+
mysqld_exporter_version: "0.13.0"
278+
node_exporter_version: "1.3.1"
279+
prometheus_version: "2.35.0"
280+
prometheus_alertmanager_version: "0.24.0"
281+
prometheus_cadvisor_sha256sum: "8e3df91eee70c72ac3f3184b9fab1229b037c2e850ff1593103b2bd9028c57c0"
282+
prometheus_cadvisor_version: "0.40.0"
283+
293284
###############################################################################
294285
# Kolla-ansible inventory configuration.
295286

etc/kayobe/kolla/globals.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ enable_docker_repo: "{% raw %}{{ ansible_facts.os_family == 'RedHat' }}{% endraw
44

55
docker_yum_baseurl: "{{ stackhpc_repo_docker_url }}"
66
docker_yum_gpgkey: "https://download.docker.com/linux/{% raw %}{{ ansible_facts.distribution | lower }}{% endraw %}/gpg"
7+
8+
barbican_tag: xena-20220728T143658
9+
prometheus_tag: xena-20220728T143658

etc/kayobe/kolla/kolla-build.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[DEFAULT]
2+
build_args = {{ kolla_build_args.items() | map('join', ':') | join(',') }}

etc/kayobe/pulp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ stackhpc_pulp_repository_deb_repos:
6868
policy: on_demand
6969
architectures: amd64
7070
components: main
71-
distributions: focal-updates/wallaby
71+
distributions: "focal-updates/{{ openstack_release }}"
7272
mirror: true
7373
state: present
7474
required: "{{ stackhpc_pulp_sync_ubuntu_focal | bool }}"

0 commit comments

Comments
 (0)