forked from openstack/ansible-collection-kolla
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: include missing docker log-opts in config
The default docker config options, which specify the ``log-opts`` under ``roles/docker/vars/main.yml``, were not included in the ``docker_config`` combinations when the docker role was extracted from the baremetal role in the Zed release. This means that ``docker_log_max_file`` and ``docker_log_max_size`` are not written into the docker daemon.json. The var name needs to be changed, as it can't be recursively defined within the ``docker_config`` definition under ``roles/docker/tasks/config.yml`. Closes-Bug: #2040105 Change-Id: I05efda2a9699336136dce8cfa99ada77b9b2a17b
- Loading branch information
Showing
3 changed files
with
9 additions
and
2 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
releasenotes/notes/fix-include-docker-log-opts-15607fb5a4ad3ed5.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>`__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters