Bug 1277303

Summary: Rerunning the Ansible install will fail at times due to pacemaker.
Product: OpenShift Container Platform Reporter: Ryan Howe <rhowe>
Component: InstallerAssignee: Andrew Butcher <abutcher>
Status: CLOSED WONTFIX QA Contact: Xiaoli Tian <xtian>
Severity: low Docs Contact:
Priority: high    
Version: 3.0.0CC: abutcher, aos-bugs, bleanhar, jokerman, mmccomas
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-08-16 19:04:24 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 Ryan Howe 2015-11-03 00:27:50 UTC
Description of problem:
Rerunning the Ansible install will fail at times due to pacemaker. 

Version-Release number of selected component (if applicable):
3.0.x

How reproducible:
50%

Steps to Reproduce:
1. Stop All Openshift-master serivces 
2. Rerun the installer 


Actual results:
TASK: [openshift_examples | Import RHEL streams] ******************************
failed: [cpg-oshift2-master1.cisco.com] => {"changed": false, "cmd": ["oc", "create", "-n", "openshift", "-f", "/usr/share/openshift/examples/image-streams/image-streams-rhel7.json"], "delta": "0:00:00.252666", "end": "2015-11-02 11:53:28.248404", "failed": true, "failed_when_result": true, "rc": 1, "start": "2015-11-02 11:53:27.995738", "stdout_lines": [], "warnings": []}
stderr: The connection to the server openshiftv3.cisco.com:8443 was refused - did you specify the right host or port?
The connection to the server openshiftv3.cisco.com:8443 was refused - did you specify the right host or port?
The connection to the server openshiftv3.cisco.com:8443 was refused - did you specify the right host or port?
The connection to the server openshiftv3.cisco.com:8443 was refused - did you specify the right host or port?
The connection to the server openshiftv3.cisco.com:8443 was refused - did you specify the right host or port?
The connection to the server openshiftv3.cisco.com:8443 was refused - did you specify the right host or port?
The connection to the server openshiftv3.cisco.com:8443 was refused - did you specify the right host or port?
The connection to the server openshiftv3.cisco.com:8443 was refused - did you specify the right host or port?
The connection to the server openshiftv3.cisco.com:8443 was refused - did you specify the right host or port?


Expected results:

To run cleanly 

Additional info:

We are able to resolve this if we start all openshift-master services before running the install. 

The issue is something with the order in which Ansible configures pacemaker and openshift-master.