Skip to content

Commit 4be0e3a

Browse files
committed
Merge remote-tracking branch 'origin/stackhpc/yoga' into yoga-opensearch-pin
2 parents 6ab159d + 76eee60 commit 4be0e3a

File tree

4 files changed

+49
-2
lines changed

4 files changed

+49
-2
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
# Stops containers running OpenStack services
3+
4+
- name: Stop OpenStack services
5+
hosts: overcloud
6+
become: true
7+
gather_facts: false
8+
vars:
9+
- stop_service_list:
10+
- "blazar"
11+
- "barbican"
12+
- "cinder"
13+
- "cloudkitty"
14+
- "designate"
15+
- "glance"
16+
- "heat"
17+
- "horizon"
18+
- "ironic"
19+
- "keystone"
20+
- "magnum"
21+
- "manila"
22+
- "neutron"
23+
- "nova"
24+
- "octavia"
25+
- "placement"
26+
tasks:
27+
- name: Stop OpenStack services
28+
shell: >-
29+
docker ps -a | egrep '({{ stop_service_list | join('|') }})' | awk '{ print $NF }' | xargs docker stop

etc/kayobe/kolla/kolla-build.conf

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
[DEFAULT]
2-
{# Pinning to Rocky 9 minor version used in our repos #}
3-
{% if kolla_base_distro == 'rocky' %}
2+
{# Packages in the latest upstream Ubuntu base image can be ahead of our package repo #}
3+
{# snapshots, so pin to a specific tag. #}
4+
{# This tag should be updated when Ubuntu package repo snapshot versions are changed. #}
5+
{% if kolla_base_distro == 'ubuntu' %}
6+
base_tag = focal-20231003
7+
{# Similarly pinning to Rocky 9 minor version used in our repos #}
8+
{% elif kolla_base_distro == 'rocky' %}
49
base_tag = 9.{{ stackhpc_pulp_repo_rocky_9_minor_version }}
510
{% endif %}
611
build_args = {{ kolla_build_args.items() | map('join', ':') | join(',') }}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
fixes:
3+
- |
4+
Pin the OCI image tag used for the Ubuntu Focal base-image
5+
of Kolla image builds. This prevents packages in the image
6+
with the latest tag getting in front of StackHPC release-train
7+
package repositories. Ubuntu tag should be bumped when new
8+
packages are available in StackHPC release-train.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
features:
3+
- |
4+
Added the ``stop-openstack-services.yml`` playbook, which can be used to
5+
stop OpenStack services across the overcloud.

0 commit comments

Comments
 (0)