Skip to content

Commit 3afe1fb

Browse files
authored
Merge pull request #445 from stackhpc/upstream/2025.1-2025-07-21
Synchronise 2025.1 with upstream
2 parents 7dbf8aa + 6661f59 commit 3afe1fb

File tree

16 files changed

+59
-4
lines changed

16 files changed

+59
-4
lines changed

docker/base/Dockerfile.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ RUN cat /tmp/kolla_bashrc >> /etc/bash.bashrc \
249249

250250
{% block base_ubuntu_package_sources_list %}
251251
{% if base_distro == 'debian' or ( base_distro == 'ubuntu' and base_arch == 'x86_64' ) %}
252-
RUN rm -f /etc/apt/sources.list.d/debian.sources
252+
RUN rm -f /etc/apt/sources.list.d/{{ base_distro }}.sources
253253
COPY sources.list.{{ base_distro }} /etc/apt/sources.list
254254
{% else %}
255255
COPY sources.list.{{ base_distro }}.{{ base_arch }} /etc/apt/sources.list

docker/base/sources.list.ubuntu

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@
33
# Default repos
44
deb mirror://mirrors.ubuntu.com/mirrors.txt noble main universe
55
deb mirror://mirrors.ubuntu.com/mirrors.txt noble-updates main universe
6+
deb mirror://mirrors.ubuntu.com/mirrors.txt noble-backports main universe
67
deb mirror://mirrors.ubuntu.com/mirrors.txt noble-security main universe
78

8-
# Backports have a lower priority and must be explicitly installed to be used
9-
deb http://archive.ubuntu.com/ubuntu/ noble-backports main universe
10-
119
# We need to add the repo for the updated packages they provide. The main ones
1210
# are qemu, libvirt, and openvswitch.
1311
deb http://ubuntu-cloud.archive.canonical.com/ubuntu noble-updates/epoxy main

docker/glance/glance-api/Dockerfile.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
99

1010
{% if base_package_type == 'rpm' %}
1111
{% set glance_api_packages = [
12+
'lsscsi',
1213
'device-mapper-multipath',
1314
'qemu-img'
1415
] %}
1516
{% elif base_package_type == 'deb' %}
1617
{% set glance_api_packages = [
18+
'lsscsi',
1719
'multipath-tools',
1820
'nfs-common',
1921
'qemu-utils'

docker/ovn/ovn-base/extend_start.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ fi
99
if [[ $(stat -c %a /var/log/kolla/openvswitch) != "755" ]]; then
1010
chmod 755 /var/log/kolla/openvswitch
1111
fi
12+
13+
. /usr/local/bin/kolla_ovn_extend_start

docker/ovn/ovn-controller/Dockerfile.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
2020
{% endif %}
2121
{{ macros.install_packages(ovn_controller_packages | customizable("packages")) }}
2222

23+
COPY extend_start.sh /usr/local/bin/kolla_ovn_extend_start
24+
RUN chmod 644 /usr/local/bin/kolla_ovn_extend_start
25+
2326
{{ macros.kolla_patch_sources() }}
2427

2528
{% block ovn_controller_footer %}{% endblock %}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
3+
if [[ ! -r "/var/log/kolla/openvswitch/ovn-controller.log" ]]; then
4+
touch /var/log/kolla/openvswitch/ovn-controller.log
5+
chown openvswitch:openvswitch /var/log/kolla/openvswitch/ovn-controller.log
6+
fi

docker/ovn/ovn-nb-db-server/Dockerfile.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
2222

2323
COPY start_nb_db_server.sh /usr/local/bin/start-nb-db-server
2424
RUN chmod 755 /usr/local/bin/start-nb-db-server
25+
COPY extend_start.sh /usr/local/bin/kolla_ovn_extend_start
26+
RUN chmod 644 /usr/local/bin/kolla_ovn_extend_start
2527

2628
{{ macros.kolla_patch_sources() }}
2729

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
3+
if [[ ! -r "/var/log/kolla/openvswitch/ovn-nb-db.log" ]]; then
4+
touch /var/log/kolla/openvswitch/ovn-nb-db.log
5+
chown openvswitch:openvswitch /var/log/kolla/openvswitch/ovn-nb-db.log
6+
fi

docker/ovn/ovn-northd/Dockerfile.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
2020
{% endif %}
2121
{{ macros.install_packages(ovn_northd_packages | customizable("packages")) }}
2222

23+
COPY extend_start.sh /usr/local/bin/kolla_ovn_extend_start
24+
RUN chmod 644 /usr/local/bin/kolla_ovn_extend_start
25+
2326
{{ macros.kolla_patch_sources() }}
2427

2528
{% block ovn_northd_footer %}{% endblock %}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
if [[ ! -r "/var/log/kolla/openvswitch/ovn-northd.log" ]]; then
3+
touch /var/log/kolla/openvswitch/ovn-northd.log
4+
chown openvswitch:openvswitch /var/log/kolla/openvswitch/ovn-northd.log
5+
fi

0 commit comments

Comments
 (0)