Bug 1539634 - Ansible playbook install fails on - TASK [ansible_service_broker : Create the Broker resource in the catalog]
Summary: Ansible playbook install fails on - TASK [ansible_service_broker : Create the...
Keywords:
Status: CLOSED DUPLICATE of bug 1523625
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Service Broker
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 3.9.0
Assignee: Jason Montleon
QA Contact: Zhang Cheng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-29 11:11 UTC by Vladislav Walek
Modified: 2021-06-10 14:22 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-26 16:07:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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?


Note You need to log in before you can comment on or make changes to this bug.