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 99if [[ $( stat -c %a /var/log/kolla/openvswitch) != " 755" ]]; then
1010 chmod 755 /var/log/kolla/openvswitch
1111fi
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
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 %}
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
2222
2323COPY start_nb_db_server.sh /usr/local/bin/start-nb-db-server
2424RUN 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
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
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 %}
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
1111RUN curl -o /usr/share/ovn/scripts/ovn-ctl https://raw.githubusercontent.com/ovn-org/ovn/refs/heads/main/utilities/ovn-ctl
1212{% endblock %}
1313
14+ COPY extend_start.sh /usr/local/bin/kolla_ovn_extend_start
15+ RUN chmod 644 /usr/local/bin/kolla_ovn_extend_start
16+
1417{% block ovn_sb_db_relay_footer %}{% endblock %}
1518{% 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
2222
2323COPY start_sb_db_server.sh /usr/local/bin/start-sb-db-server
2424RUN 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{{ macros.kolla_patch_sources() }}
2729
You can’t perform that action at this time.
0 commit comments