TASK [ceph : Fetching Ceph keyrings] ******************************************************************************************************************************************************** [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ (ceph_files_json.stdout | from_json).changed }}
fatal: [92.0.0.11]: FAILED! => {"failed": true, "msg": "The conditional check '{{ (ceph_files_json.stdout | from_json).changed }}' failed. The error was: No JSON object could be decoded"}
### 解决办法,先去对应节点删除ceph-mon容器,然后执行下面的命令
# ansible -i multinode -a 'docker volume rm ceph_mon_config' ceph-mon
TASK [ceph : include] ***********************************************************************************************************************************************************************
included: /usr/share/kolla-ansible/ansible/roles/ceph/tasks/generate_cluster.yml for 92.0.0.11
TASK [ceph : Generating initial Ceph keyrings and monmap] ***********************************************************************************************************************************
fatal: [92.0.0.11]: FAILED! => {"changed": true, "failed": true, "msg": "Container exited with non-zero return code"}
TASK [ceph : include] ***********************************************************************************************************************************************************************
included: /usr/share/kolla-ansible/ansible/roles/ceph/tasks/distribute_keyrings.yml for 92.0.0.12
TASK [ceph : Fetching Ceph keyrings] ********************************************************************************************************************************************************
fatal: [92.0.0.12]: FAILED! => {"failed": true, "msg": "'delegate_host' is undefined"} |