Skip to content

Instantly share code, notes, and snippets.

@NachoDuck
Created October 31, 2016 15:20
Show Gist options
  • Save NachoDuck/551d6a5d4c00d27c598177fffce2d6a8 to your computer and use it in GitHub Desktop.
Save NachoDuck/551d6a5d4c00d27c598177fffce2d6a8 to your computer and use it in GitHub Desktop.
TASK [ceph : Registering host from temp file] **********************************
task path: /usr/share/kolla/ansible/roles/ceph/tasks/bootstrap_mons.yml:27
ok: [m247-openstack2] => {"ansible_facts": {"delegate_host": "m247-openstack3"}, "changed": false, "invocation": {"module_args": {"delegate_host": "m247-openstack3"}, "module_name": "set_fact"}}
ok: [m247-openstack1] => {"ansible_facts": {"delegate_host": "m247-openstack3"}, "changed": false, "invocation": {"module_args": {"delegate_host": "m247-openstack3"}, "module_name": "set_fact"}}
ok: [m247-openstack3] => {"ansible_facts": {"delegate_host": "m247-openstack3"}, "changed": false, "invocation": {"module_args": {"delegate_host": "m247-openstack3"}, "module_name": "set_fact"}}
TASK [ceph : Cleaning up temp file on localhost] *******************************
task path: /usr/share/kolla/ansible/roles/ceph/tasks/bootstrap_mons.yml:31
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1477926939.04-126111573079227 `" && echo ansible-tmp-1477926939.04-126111573079227="` echo $HOME/.ansible/tmp/ansible-tmp-1477926939.04-126111573079227 `" ) && sleep 0'
<localhost> PUT /tmp/tmpvfGJg0 TO /root/.ansible/tmp/ansible-tmp-1477926939.04-126111573079227/file
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1477926939.04-126111573079227/ /root/.ansible/tmp/ansible-tmp-1477926939.04-126111573079227/file && sleep 0'
<localhost> EXEC /bin/sh -c 'LANG=en_GB.UTF-8 LC_ALL=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8 /usr/bin/python2 /root/.ansible/tmp/ansible-tmp-1477926939.04-126111573079227/file; rm -rf "/root/.ansible/tmp/ansible-tmp-1477926939.04-126111573079227/" > /dev/null 2>&1 && sleep 0'
ok: [m247-openstack1 -> localhost] => {"changed": false, "diff": {"after": {"path": "/tmp/kolla_ceph_cluster", "state": "absent"}, "before": {"path": "/tmp/kolla_ceph_cluster", "state": "file"}}, "invocation": {"module_args": {"backup": null, "content": null, "delimiter": null, "diff_peek": null, "directory_mode": null, "follow": false, "force": false, "group": null, "mode": null, "original_basename": null, "owner": null, "path": "/tmp/kolla_ceph_cluster", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "absent", "validate": null}, "module_name": "file"}, "path": "/tmp/kolla_ceph_cluster", "state": "absent"}
TASK [ceph : include] **********************************************************
task path: /usr/share/kolla/ansible/roles/ceph/tasks/bootstrap_mons.yml:37
skipping: [m247-openstack2] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
skipping: [m247-openstack1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
skipping: [m247-openstack3] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [ceph : include] **********************************************************
task path: /usr/share/kolla/ansible/roles/ceph/tasks/deploy.yml:7
included: /usr/share/kolla/ansible/roles/ceph/tasks/distribute_keyrings.yml for m247-openstack2, m247-openstack1, m247-openstack3
TASK [ceph : Fetching Ceph keyrings] *******************************************
task path: /usr/share/kolla/ansible/roles/ceph/tasks/distribute_keyrings.yml:2
<m247-openstack3> ESTABLISH SSH CONNECTION FOR USER: None
<m247-openstack3> SSH: EXEC ssh -C -q -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/ansible-ssh-%h-%p-%r m247-openstack3 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1477926940.01-187731393199563 `" && echo ansible-tmp-1477926940.01-187731393199563="` echo $HOME/.ansible/tmp/ansible-tmp-1477926940.01-187731393199563 `" ) && sleep 0'"'"''
<m247-openstack3> PUT /tmp/tmponZ3RO TO /root/.ansible/tmp/ansible-tmp-1477926940.01-187731393199563/command
<m247-openstack3> 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/ansible-ssh-%h-%p-%r '[m247-openstack3]'
<m247-openstack3> ESTABLISH SSH CONNECTION FOR USER: None
<m247-openstack3> SSH: EXEC ssh -C -q -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/ansible-ssh-%h-%p-%r m247-openstack3 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1477926940.01-187731393199563/ /root/.ansible/tmp/ansible-tmp-1477926940.01-187731393199563/command && sleep 0'"'"''
<m247-openstack3> ESTABLISH SSH CONNECTION FOR USER: None
<m247-openstack3> SSH: EXEC ssh -C -q -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/ansible-ssh-%h-%p-%r -tt m247-openstack3 '/bin/sh -c '"'"'LANG=en_GB.UTF-8 LC_ALL=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1477926940.01-187731393199563/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1477926940.01-187731393199563/" > /dev/null 2>&1 && sleep 0'"'"''
fatal: [m247-openstack1]: FAILED! => {"failed": true, "msg": "The conditional check '{{ (ceph_files_json.stdout | from_json).changed }}' failed. The error was: No JSON object could be decoded"}
NO MORE HOSTS LEFT *************************************************************
to retry, use: --limit @/usr/share/kolla/ansible/site.retry
PLAY RECAP *********************************************************************
m247-openstack1 : ok=30 changed=0 unreachable=0 failed=1
m247-openstack2 : ok=27 changed=0 unreachable=0 failed=0
m247-openstack3 : ok=27 changed=0 unreachable=0 failed=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment