Hi Ceph Community,
I am using ansible 2.2 and ceph branch stable-2.2, on centos7, to deploy the playbook. But the deployment get hangs in this step "TASK
[ceph-mon : test if rbd exists]". it gets hangs there and doesnot
move.
I have all the three ceph nodes ceph-admin, ceph-mon, ceph-osd
I appreciate any help! Here I am providing log:
---------------Log ----------------------
TASK [ceph-mon : test if rbd exists] *******************************************
task path: /root/ceph-ansible/roles/ceph-mon/tasks/ceph_keys.yml:60
Using module file /usr/lib/python2.7/site-packages/ansible/modules/core/commands/command.py
<ceph2mon> ESTABLISH SSH CONNECTION FOR USER: None
<ceph2mon> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/%h-%r ceph2mon '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
<ceph2mon> ESTABLISH SSH CONNECTION FOR USER: None
<ceph2mon> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/%h-%r ceph2mon '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1547740115.56-213823795856896 `" && echo ansible-tmp-1547740115.56-213823795856896="` echo /root/.ansible/tmp/ansible-tmp-1547740115.56-213823795856896 `" ) && sleep 0'"'"''
<ceph2mon> PUT /tmp/tmpG7u1eN TO /root/.ansible/tmp/ansible-tmp-1547740115.56-213823795856896/command.py
<ceph2mon> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/%h-%r '[ceph2mon]'
<ceph2mon> ESTABLISH SSH CONNECTION FOR USER: None
<ceph2mon> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/%h-%r ceph2mon '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1547740115.56-213823795856896/ /root/.ansible/tmp/ansible-tmp-1547740115.56-213823795856896/command.py && sleep 0'"'"''
<ceph2mon> ESTABLISH SSH CONNECTION FOR USER: None
<ceph2mon> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/%h-%r -tt ceph2mon '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-iefqzergptqzfhqmxouabfjfvdvbadku; /usr/bin/python /root/.ansible/tmp/ansible-tmp-1547740115.56-213823795856896/command.py; rm -rf "/root/.ansible/tmp/ansible-tmp-1547740115.56-213823795856896/" > /dev/null 2>&1'"'"'"'"'"'"'"'"' && sleep 0'"'"''
task path: /root/ceph-ansible/roles/ceph-mon/tasks/ceph_keys.yml:60
Using module file /usr/lib/python2.7/site-packages/ansible/modules/core/commands/command.py
<ceph2mon> ESTABLISH SSH CONNECTION FOR USER: None
<ceph2mon> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/%h-%r ceph2mon '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
<ceph2mon> ESTABLISH SSH CONNECTION FOR USER: None
<ceph2mon> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/%h-%r ceph2mon '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1547740115.56-213823795856896 `" && echo ansible-tmp-1547740115.56-213823795856896="` echo /root/.ansible/tmp/ansible-tmp-1547740115.56-213823795856896 `" ) && sleep 0'"'"''
<ceph2mon> PUT /tmp/tmpG7u1eN TO /root/.ansible/tmp/ansible-tmp-1547740115.56-213823795856896/command.py
<ceph2mon> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/%h-%r '[ceph2mon]'
<ceph2mon> ESTABLISH SSH CONNECTION FOR USER: None
<ceph2mon> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/%h-%r ceph2mon '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1547740115.56-213823795856896/ /root/.ansible/tmp/ansible-tmp-1547740115.56-213823795856896/command.py && sleep 0'"'"''
<ceph2mon> ESTABLISH SSH CONNECTION FOR USER: None
<ceph2mon> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/%h-%r -tt ceph2mon '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-iefqzergptqzfhqmxouabfjfvdvbadku; /usr/bin/python /root/.ansible/tmp/ansible-tmp-1547740115.56-213823795856896/command.py; rm -rf "/root/.ansible/tmp/ansible-tmp-1547740115.56-213823795856896/" > /dev/null 2>&1'"'"'"'"'"'"'"'"' && sleep 0'"'"''
-------------------------------------
Thanks,
Meysam Kamali
Mobile: (416) 890-8804
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com