openshift-ansible: GlusterFS - fails on "Verify heketi service" task
Running latest 3.7 openshift-ansible tag branch, i get on a greenfield gluster native deployment the below error
The Origin 3.7.0 deployment is being done using the byo/config.yml playbook.
TASK [openshift_storage_glusterfs : Check for existing deploy-heketi pod] ********************************************************************************************************************************
Wednesday 14 February 2018 23:11:20 +0000 (0:00:00.977) 0:15:12.059 ****
ok: [370-master1]
TASK [openshift_storage_glusterfs : Check if need to deploy deploy-heketi] *******************************************************************************************************************************
Wednesday 14 February 2018 23:11:21 +0000 (0:00:00.664) 0:15:12.724 ****
skipping: [370-master1]
TASK [openshift_storage_glusterfs : Check for existing heketi pod] ***************************************************************************************************************************************
Wednesday 14 February 2018 23:11:21 +0000 (0:00:00.083) 0:15:12.808 ****
ok: [370-master1]
TASK [openshift_storage_glusterfs : Check if need to deploy heketi] **************************************************************************************************************************************
Wednesday 14 February 2018 23:11:22 +0000 (0:00:00.723) 0:15:13.531 ****
skipping: [370-master1]
TASK [openshift_storage_glusterfs : Generate topology file] **********************************************************************************************************************************************
Wednesday 14 February 2018 23:11:22 +0000 (0:00:00.090) 0:15:13.621 ****
changed: [370-master1]
TASK [openshift_storage_glusterfs : Generate heketi config file] *****************************************************************************************************************************************
Wednesday 14 February 2018 23:11:25 +0000 (0:00:02.777) 0:15:16.399 ****
changed: [370-master1]
TASK [openshift_storage_glusterfs : Get heketi admin secret] *********************************************************************************************************************************************
Wednesday 14 February 2018 23:11:27 +0000 (0:00:02.500) 0:15:18.900 ****
ok: [370-master1]
TASK [openshift_storage_glusterfs : Set heketi admin key] ************************************************************************************************************************************************
Wednesday 14 February 2018 23:11:28 +0000 (0:00:01.171) 0:15:20.072 ****
skipping: [370-master1]
TASK [openshift_storage_glusterfs : Generate heketi admin key] *******************************************************************************************************************************************
Wednesday 14 February 2018 23:11:28 +0000 (0:00:00.092) 0:15:20.164 ****
ok: [370-master1]
TASK [openshift_storage_glusterfs : Generate heketi user key] ********************************************************************************************************************************************
Wednesday 14 February 2018 23:11:29 +0000 (0:00:00.130) 0:15:20.295 ****
ok: [370-master1]
TASK [openshift_storage_glusterfs : Copy heketi private key] *********************************************************************************************************************************************
Wednesday 14 February 2018 23:11:29 +0000 (0:00:00.139) 0:15:20.434 ****
changed: [370-master1]
TASK [openshift_storage_glusterfs : Create heketi config secret] *****************************************************************************************************************************************
Wednesday 14 February 2018 23:11:29 +0000 (0:00:00.726) 0:15:21.161 ****
changed: [370-master1]
TASK [openshift_storage_glusterfs : Copy initial heketi resource files] **********************************************************************************************************************************
Wednesday 14 February 2018 23:11:30 +0000 (0:00:00.940) 0:15:22.101 ****
changed: [370-master1] => (item=deploy-heketi-template.yml)
TASK [openshift_storage_glusterfs : Create deploy-heketi template] ***************************************************************************************************************************************
Wednesday 14 February 2018 23:11:31 +0000 (0:00:00.833) 0:15:22.935 ****
changed: [370-master1]
TASK [openshift_storage_glusterfs : Deploy deploy-heketi pod] ********************************************************************************************************************************************
Wednesday 14 February 2018 23:11:33 +0000 (0:00:01.272) 0:15:24.207 ****
changed: [370-master1]
TASK [openshift_storage_glusterfs : Set heketi Deployed fact] ********************************************************************************************************************************************
Wednesday 14 February 2018 23:11:37 +0000 (0:00:04.002) 0:15:28.209 ****
ok: [370-master1]
TASK [openshift_storage_glusterfs : Wait for deploy-heketi pod] ******************************************************************************************************************************************
Wednesday 14 February 2018 23:11:37 +0000 (0:00:00.138) 0:15:28.348 ****
FAILED - RETRYING: Wait for deploy-heketi pod (30 retries left).
FAILED - RETRYING: Wait for deploy-heketi pod (29 retries left).
ok: [370-master1]
TASK [openshift_storage_glusterfs : Set heketi-cli command] **********************************************************************************************************************************************
Wednesday 14 February 2018 23:11:59 +0000 (0:00:21.843) 0:15:50.191 ****
ok: [370-master1]
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", "9NJzNoTgivJj2IdZLNqhHaRRI+FSzDMzAtMWzfqsPLU=", "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": []}
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 17 (11 by maintainers)
@DanyC97 Here it is https://github.com/openshift/openshift-ansible/issues/5712