Bug 1414756
| Summary: | master service can't be started when setting "openshift_buildoverrides_force_pull=true" | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Gan Huang <ghuang> |
| Component: | Installer | Assignee: | Ben Parees <bparees> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Gan Huang <ghuang> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.5.0 | CC: | aos-bugs, haowang, jokerman, mmccomas, tdawson |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-03-09 04:11:25 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: | |||
verified with : Verified with version: openshift v3.5.0.14+20b49d0 kubernetes v1.5.2+43a9be4 etcd 3.1.0 |
Description of problem: Config "openshift_buildoverrides_force_pull=true" in inventory hosts file, installer would fail at task "openshift_examples : Import RHEL streams" due to master service already failed during installation. Version-Release number of selected component (if applicable): openshift-ansible-3.5.1-1.git.0.e23e9bf.el7.noarch.rpm How reproducible: always Steps to Reproduce: 1.cat inventory_hosts <--snip--> openshift_buildoverrides_force_pull=true <--snip--> 2.Run BYO playbook 3. Actual results: 1) Installer failed at task: TASK [openshift_examples : Import RHEL streams] ******************************** Thursday 19 January 2017 11:00:55 +0000 (0:00:00.080) 0:09:27.999 ****** failed: [openshift-131.lab.sjc.redhat.com] (item=/usr/share/openshift/examples/image-streams/image-streams-rhel7.json) => {"changed": false, "cmd": ["oc", "create", "-n", "openshift", "-f", "/usr/share/openshift/examples/image-streams/image-streams-rhel7.json"], "delta": "0:00:00.299864", "end": "2017-01-19 06:00:55.830511", "failed": true, "failed_when_result": true, "item": "/usr/share/openshift/examples/image-streams/image-streams-rhel7.json", "rc": 1, "start": "2017-01-19 06:00:55.530647", "stderr": "The connection to the server openshift-131.lab.sjc.redhat.com:8443 was refused - did you specify the right host or port?", "stdout": "", "stdout_lines": [], "warnings": []} failed: [openshift-131.lab.sjc.redhat.com] (item=/usr/share/openshift/examples/image-streams/dotnet_imagestreams.json) => {"changed": false, "cmd": ["oc", "create", "-n", "openshift", "-f", "/usr/share/openshift/examples/image-streams/dotnet_imagestreams.json"], "delta": "0:00:00.312209", "end": "2017-01-19 06:00:56.649140", "failed": true, "failed_when_result": true, "item": "/usr/share/openshift/examples/image-streams/dotnet_imagestreams.json", "rc": 1, "start": "2017-01-19 06:00:56.336931", "stderr": "The connection to the server openshift-131.lab.sjc.redhat.com:8443 was refused - did you specify the right host or port?", "stdout": "", "stdout_lines": [], "warnings": []} 2) Check master service Jan 19 06:21:40 openshift-131.lab.sjc.redhat.com atomic-openshift-master[16619]: F0119 06:21:40.880774 16619 start_master.go:724] Could not start build controller: could not load config file "/tmp/admission-plugin-config352180080" due to an error: error reading config: [pos 32]: json: decode bool: got first char " 3) Check master config # cat /etc/origin/master/master-config.yaml |grep force forcePull: 'true' 4) Remove additional single quotes in master-config.yaml, then master service was able to restart successfully. # cat /etc/origin/master/master-config.yaml |grep force forcePull: true Expected results: Additional info: