Forráskód Böngészése
Merge pull request #7205 from DanyC97/glusterfs-verify-heketi-service
Automatic merge from submit-queue.
GlusterFS - Invoke oc binary with the admin.kubeconfig token rather t…
…han default token from /Users/$HOME/.kube/config
Fix https://github.com/openshift/openshift-ansible/issues/7162 in particular the error
```
TASK [openshift_storage_glusterfs : Verify heketi service] ***********************************************************************************************************************************************
Wednesday 14 February 2018 23:11:59 +0000 (0:00:00.142) 0:15:50.334 ****
fatal: [370-master1]: FAILED! => {"changed": false, "cmd": ["oc", "rsh", "--namespace=glusterfs", "deploy-heketi-storage-1-vsthp", "heketi-cli", "-s", "http://localhost:8080", "--user", "admin", "--secret", "redacted", "cluster", "list"], "delta": "0:00:00.282764", "end": "2018-02-14 23:11:22.464301", "msg": "non-zero return code", "rc": 1, "start": "2018-02-14 23:11:22.181537", "stderr": "error: You must be logged in to the server (the server has asked for the client to provide credentials (get pods deploy-heketi-storage-1-vsthp))", "stderr_lines": ["error: You must be logged in to the server (the server has asked for the client to provide credentials (get pods deploy-heketi-storage-1-vsthp))"], "stdout": "", "stdout_lines": []}
```
@jarrpa please review it