Skip to content

Commit

Permalink
Merge "Fix: include missing docker log-opts in config"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Feb 19, 2024
2 parents 7063f52 + cff2a29 commit dbb7d9c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
fixes:
- |
Docker log-opts are now included in the docker daemon.json config again.
This allows for ``docker_log_max_file`` and ``docker_log_max_size`` to now
be set/overidden correctly.
`LP#2044537 <https://launchpad.net/bugs/2040105>`__
2 changes: 1 addition & 1 deletion roles/docker/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
docker_config_debug:
debug: "{{ docker_debug }}"
docker_config: >-
{{ {}
{{ default_docker_config
| combine(docker_zun_config if docker_configure_for_zun | bool and 'zun-compute' in group_names else {})
| combine(docker_config_insecure_registries if docker_registry_insecure | bool else {})
| combine(docker_config_registry_mirror if docker_registry_mirrors | length > 0 else {})
Expand Down
2 changes: 1 addition & 1 deletion roles/docker/vars/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
docker_config:
default_docker_config:
log-opts:
max-file: "{{ docker_log_max_file }}"
max-size: "{{ docker_log_max_size }}"
Expand Down

0 comments on commit dbb7d9c

Please sign in to comment.