Openshift ansible installer fails to deploy gluster
Issue
- When setting up GLusterFS-strorage on a containerized install of OpenShift 3.6, Ansible fails with:
TASK [openshift_storage_glusterfs : Load heketi topology] ************************************************************
fatal: [osma01.tld]: FAILED! => {
"changed": true,
"cmd": [
"/usr/local/bin/oc",
"rsh",
"--namespace=glusterfs",
"deploy-heketi-storage-1-lwq3h",
"heketi-cli",
"-s",
"http://localhost:8080",
"--user",
"admin",
"--secret",
"SECRET",
"topology",
"load",
"--json=/tmp/openshift-glusterfs-ansible-NA0UMI/topology.json",
"2>&1"
],
"delta": "0:00:19.517830",
"end": "2017-08-09 06:59:35.804063",
"failed": true,
"failed_when_result": true,
"rc": 0,
"start": "2017-08-09 06:59:16.286233"
}
STDOUT:
Creating cluster ... ID: 8d38f9622b9c0c0cf2e00cba34f05e3b
Creating node osma01.tld ... ID: 6144809008241b6a4a6e302232bcb09c
Adding device /dev/sdc ... Unable to add device: Failed to get list of pods
Creating node osma02.tld ... Unable to create node: Failed to get list of pods
Creating node osno001.tld ... Unable to create node: Failed to get list of pods
Environment
- Openshift Container Platform
- 3.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
