Hongkai Liu
Hongkai Liu
/sig testing
/sig test
/sig testing
Forgot to mention: Need to overwrite the path of `kubectl`. ``` # ansible-playbook -i ~/aaa/gcs.yml deploy-gcs.yml --extra-vars "kubectl=/usr/bin/kubectl" -v ```
@JohnStrunk I changed the name by using the new var, the old var `kube_hostname` is kept intact. ``` - name: gluster-{{ kube_hostname }} + name: gluster-{{ gcs_node_index }} # oc...
Yes. Now I understand. New issue: ``` TASK [GCS | GD2 Cluster | Wait for glusterd2-cluster to become ready] ********************************************************** Thursday 25 October 2018 19:51:00 +0000 (0:00:00.097) 0:00:54.215 ****** FAILED...
Now new issue: ``` TASK [GCS | GD2 Cluster | Add devices | Set facts] ***************************************************************************** Thursday 25 October 2018 20:15:04 +0000 (0:00:00.041) 0:01:30.000 ****** ok: [master] => {"ansible_facts": {"kube_hostname":...
Found the problem again. The playbook has strong restrictions on the node name. https://github.com/gluster/gcs/blob/master/deploy/tasks/add-devices-to-peer.yml#L5 This assumes that index 1 has the node name after splitting. Will think about the solution...
https://github.com/gluster/gcs/blob/master/deploy/tasks/add-devices-to-peer.yml#L13 This line uses the json result from the endpoint and then uses hostname as key to get device in inventory. Maybe we need to wait for the fix/response from...
/test unit