gluster / gluster-ansible-features

Ansible role to enable a Gluster cluster with gluster-specific features like samba, ganesha etc.
GNU General Public License v3.0
10 stars 14 forks source link

ctdb role hangs while trying to stop gluster volume #57

Closed anoopcs9 closed 2 years ago

anoopcs9 commented 2 years ago

Ansible playbook execution hangs at the following stage:

TASK [gluster.features/roles/ctdb : Add volume name to ctdb setup/teardown scripts] ***
skipping: [storage0] => (item=/var/lib/glusterd/hooks/1/stop/pre/S29CTDB-teardown.sh) 
skipping: [storage0] => (item=/var/lib/glusterd/hooks/1/start/post/S29CTDBsetup.sh) 
skipping: [storage1] => (item=/var/lib/glusterd/hooks/1/stop/pre/S29CTDB-teardown.sh) 
skipping: [storage1] => (item=/var/lib/glusterd/hooks/1/start/post/S29CTDBsetup.sh) 

TASK [gluster.features/roles/ctdb : Stop GlusterFS volume] *********************

Looking at the particular task it seems like gluster volume stop <VOLNAME> force is waiting for an input for the prompt Stopping volume will make its data inaccessible. Do you want to continue? (y/n). Using --mode=script to the above command is a viable solution.