Skip to content

Commit 5aa74a2

Browse files
authored
Merge pull request #443 from stackhpc/upstream/2024.1-2025-07-21
Synchronise 2024.1 with upstream
2 parents 8c39920 + c03188b commit 5aa74a2

File tree

11 files changed

+43
-0
lines changed

11 files changed

+43
-0
lines changed

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,5 +20,8 @@ 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
{% block ovn_controller_footer %}{% endblock %}
2427
{% block 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
{% block ovn_nb_db_server_footer %}{% endblock %}
2729
{% block 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-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,5 +20,8 @@ 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
{% block ovn_northd_footer %}{% endblock %}
2427
{% block 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

docker/ovn/ovn-sb-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_sb_db_server.sh /usr/local/bin/start-sb-db-server
2424
RUN chmod 755 /usr/local/bin/start-sb-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
{% block ovn_sb_db_server_footer %}{% endblock %}
2729
{% block 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-sb-db.log" ]]; then
4+
touch /var/log/kolla/openvswitch/ovn-sb-db.log
5+
chown openvswitch:openvswitch /var/log/kolla/openvswitch/ovn-sb-db.log
6+
fi

0 commit comments

Comments
 (0)