Bug 1496725
Summary: | Could not find the requested service container-engine while configuring "openshift_docker_use_system_container=false" in inventory file | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Gan Huang <ghuang> |
Component: | Installer | Assignee: | Steve Milner <smilner> |
Status: | CLOSED ERRATA | QA Contact: | Gan Huang <ghuang> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 3.7.0 | CC: | aos-bugs, jokerman, mmccomas |
Target Milestone: | --- | ||
Target Release: | 3.7.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause:
With specific inventory settings docker_use_system_container may be set to what is thought to be False, but is read as True.
Example:
$ python -c "print(bool('false'))"
True
Consequence:
The wrong runtime is sensed from the variable causing install to fail.
Fix:
Use safe_get_bool() when reading docker_use_system_container to ensure
that ansible accepted inputs are turned into real boolean results.
Result:
docker_use_system_container is always read as a bool as expected
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2017-11-28 22:13:20 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
Gan Huang
2017-09-28 08:46:53 UTC
Good catch Gan. I have a quick fix up at https://github.com/openshift/openshift-ansible/pull/5577. Thanks, Steve! Verified in openshift-ansible-3.7.0-0.143.1.git.0.89248df.el7.noarch.rpm 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/RHSA-2017:3188 |