Bug 1539634

Summary: Ansible playbook install fails on - TASK [ansible_service_broker : Create the Broker resource in the catalog]
Product: OpenShift Container Platform Reporter: Vladislav Walek <vwalek>
Component: Service BrokerAssignee: Jason Montleon <jmontleo>
Status: CLOSED DUPLICATE QA Contact: Zhang Cheng <chezhang>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.7.0CC: aos-bugs, ggore, jmatthew, jokerman, mmccomas, vwalek, wmeng
Target Milestone: ---Keywords: Reopened
Target Release: 3.9.0   
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: 2018-02-26 16:07:42 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 Vladislav Walek 2018-01-29 11:11:09 UTC
Description of problem:

TASK [ansible_service_broker : Create the Broker resource in the catalog]

The full error is:
TASK [ansible_service_broker : Create the Broker resource in the catalog] *****************************************************************************************************************************************
fatal: [master.example.local]: FAILED! => {"changed": false, "failed": true, "msg": {"cmd": "/usr/bin/oc create -f /tmp/brokerout-H24C4b -n default", "results": {}, "returncode": 1, "stderr": "error: unable to recognize \"/tmp/brokerout-H24C4b\": no matches for servicecatalog.k8s.io/, Kind=ClusterServiceBroker\n", "stdout": ""}}
	to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/byo/config.retry

However, the command works perfectly if executed on master:
[root.local ~]# mktemp -d /tmp/openshift-ansible-XXXXXXX
/tmp/openshift-ansible-FHTUzei


[root.local ~]# ll -d /tmp/openshift-ansible-FHTUzei/
drwx------. 2 root root 6 Jan 25 00:31 /tmp/openshift-ansible-FHTUzei/


Version-Release number of the following components:
openshift-ansible-3.7.14-1.git.0.4b35b2d.el7.noarch
openshift-ansible-playbooks-3.7.14-1.git.0.4b35b2d.el7.noarch

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual results:
Please include the entire output from the last TASK line through the end of output if an error is generated

Expected results:

Additional info:
Please attach logs from ansible-playbook with the -vvv flag

Comment 3 Jason Montleon 2018-01-30 22:50:33 UTC
Is this a copy/paste error or in the config you are actually using?

[nfs]
repo-server.redhat.loca

The output in the error looks similar to this issue, which comes back to storage.
https://github.com/openshift/openshift-ansible/issues/6377

Is asb-etcd running, and if not is it having trouble connecting to persistent storage?

ansible-playbook -vvv may also yield some interesting information.

Comment 6 Vladislav Walek 2018-02-05 12:36:44 UTC
Hello John,

yes, probably this is a error. I will check with customer.

Comment 7 Jason Montleon 2018-02-08 13:52:20 UTC
Is there any further information on this?