Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docker/base/apt_preferences.debian
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ Package: logstash-oss
Pin: version 7.9.*
Pin-Priority: 1000

# FIXME(SvenKieske): Pinning to 4.4.2 to avoid bug 2019557
Package: td-agent*
Pin: version 4.4.2-1
Pin-Priority: 1000

# NOTE(hrw): we do not want backports unless requested
Package: *
Pin: release n=bullseye-backports
Expand Down
6 changes: 6 additions & 0 deletions docker/base/apt_preferences.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@ Pin-Priority: 1000
Package: logstash-oss
Pin: version 7.9.*
Pin-Priority: 1000

# FIXME(SvenKieske): Pinning to 4.4.2 to avoid bug 2019557
Package: td-agent*
Pin: version 4.4.2-1
Pin-Priority: 1000

2 changes: 1 addition & 1 deletion docker/fluentd/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% set fluentd_packages = [
'gcc-c++',
'make',
'td-agent',
'td-agent-4.4.2',
] %}

{% elif base_package_type == 'deb' %}
Expand Down
4 changes: 4 additions & 0 deletions docker/mariadb/mariadb-clustercheck/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,9 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build

{% endif %}

COPY extend_start.sh /usr/local/bin/kolla_extend_start

RUN chmod 644 /usr/local/bin/kolla_extend_start

{% block mariadb_clustercheck_footer %}{% endblock %}
{% block footer %}{% endblock %}
11 changes: 11 additions & 0 deletions docker/mariadb/mariadb-clustercheck/extend_start.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

: ${MARIADB_LOG_DIR:=/var/log/kolla/mariadb}

# Create log directory, with appropriate permissions
if [[ ! -d "${MARIADB_LOG_DIR}" ]]; then
mkdir -p ${MARIADB_LOG_DIR}
fi
if [[ $(stat -c %a ${MARIADB_LOG_DIR}) != "755" ]]; then
chmod 755 ${MARIADB_LOG_DIR}
fi