Bug 1326045
| Summary: | Docker CLI option backward compatability not taking effect | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Devan Goodwin <dgoodwin> |
| Component: | Installer | Assignee: | Devan Goodwin <dgoodwin> |
| Status: | CLOSED ERRATA | QA Contact: | Ma xiaoqiang <xiama> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.2.0 | CC: | aos-bugs, gpei, jialiu, jokerman, mmccomas, xtian |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-06-07 10:55:13 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Devan Goodwin
2016-04-11 16:06:13 UTC
Switching to the new openshift_docker_* options and re-running will cause them to take effect. Fixed in: https://github.com/openshift/openshift-ansible/pull/1742 Worth noting however that the format of the option has changed to now be a JSON list. i.e.: cli_docker_log_options=["max-size=2M" , "max-file=5"] This is probably specific to ops, so I am going to move it to upcoming release. PR now merged. The new list format, as well as the old comma separated string format are both supported, as are both openshift_docker_log_options and the legacy cli_docker_log_options. Check on openshift-ansible-3.0.90-1.git.0.a077b68.el7.noarch.rpm Scenario 1: Install env with the following parameters openshift_docker_log_options: ["max-size=1M", "max-file=3"] cli_docker_options: "--log-level=\"warn\" --insecure-registry=192.168.0.0/16" Check the docker options OPTIONS=' --selinux-enabled --log-opt max-size=1M --log-opt max-file=3 --insecure-registry=172.30.0.0/16 --log-level="warn" --insecure-registry=192.168.0.0/16' Get the expected result. Scenario 2: Install env with the following parameters cli_docker_log_options: "max-size=1M, max-file=3" openshift_docker_options: "--log-level=\"warn\" --insecure-registry=192.168.0.0/16" Check the docker options OPTIONS=' --selinux-enabled --log-opt max-size=1M --log-opt max-file=3 --insecure-registry=172.30.0.0/16 --log-level="warn" --insecure-registry=192.168.0.0/16' Get the expected result. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1208 |