File tree Expand file tree Collapse file tree 11 files changed +44
-0
lines changed Expand file tree Collapse file tree 11 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 9
9
if [[ $( stat -c %a /var/log/kolla/openvswitch) != " 755" ]]; then
10
10
chmod 755 /var/log/kolla/openvswitch
11
11
fi
12
+
13
+ . /usr/local/bin/kolla_ovn_extend_start
Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
20
20
{% endif %}
21
21
{{ macros.install_packages(ovn_controller_packages | customizable("packages")) }}
22
22
23
+ COPY extend_start.sh /usr/local/bin/kolla_ovn_extend_start
24
+ RUN chmod 644 /usr/local/bin/kolla_ovn_extend_start
25
+
23
26
{{ macros.kolla_patch_sources() }}
24
27
25
28
{% block ovn_controller_footer %}{% endblock %}
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
22
22
23
23
COPY start_nb_db_server.sh /usr/local/bin/start-nb-db-server
24
24
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
25
27
26
28
{{ macros.kolla_patch_sources() }}
27
29
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
20
20
{% endif %}
21
21
{{ macros.install_packages(ovn_northd_packages | customizable("packages")) }}
22
22
23
+ COPY extend_start.sh /usr/local/bin/kolla_ovn_extend_start
24
+ RUN chmod 644 /usr/local/bin/kolla_ovn_extend_start
25
+
23
26
{{ macros.kolla_patch_sources() }}
24
27
25
28
{% block ovn_northd_footer %}{% endblock %}
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change @@ -11,5 +11,8 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
11
11
RUN curl -o /usr/share/ovn/scripts/ovn-ctl https://raw.githubusercontent.com/ovn-org/ovn/refs/heads/main/utilities/ovn-ctl
12
12
{% endblock %}
13
13
14
+ COPY extend_start.sh /usr/local/bin/kolla_ovn_extend_start
15
+ RUN chmod 644 /usr/local/bin/kolla_ovn_extend_start
16
+
14
17
{% block ovn_sb_db_relay_footer %}{% endblock %}
15
18
{% block footer %}{% endblock %}
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ if [[ ! -r " /var/log/kolla/openvswitch/ovn-sb-relay-${RELAY_ID} .log" ]]; then
4
+ touch /var/log/kolla/openvswitch/ovn-sb-relay-${RELAY_ID} .log
5
+ chown openvswitch:openvswitch /var/log/kolla/openvswitch/ovn-sb-relay-${RELAY_ID} .log
6
+ fi
Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
22
22
23
23
COPY start_sb_db_server.sh /usr/local/bin/start-sb-db-server
24
24
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
25
27
26
28
{{ macros.kolla_patch_sources() }}
27
29
You can’t perform that action at this time.
0 commit comments