Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Kolla-ansible -- Error trying to deploy ceph on nodes.

I'm have this error trying to deploy ceph using kolla-ansible development. I'm trying on Centos 7.6, ansible 2.7.5 and git version of kolla-ansible

TASK [ceph : include_tasks] ************************************************************************************************************************
included: /home/vagrant/kolla-ansible/ansible/roles/ceph/tasks/distribute_keyrings.yml for storage01, storage02, storage03

TASK [ceph : Fetching Ceph keyrings] ***************************************************************************************************************
fatal: [storage01]: FAILED! => {"msg": "'delegate_host' is undefined"}

NO MORE HOSTS LEFT *********************************************************************************************************************************
        to retry, use: --limit @/home/vagrant/kolla-ansible/ansible/site.retry

PLAY RECAP *****************************************************************************************************************************************
compute01                  : ok=43   changed=2    unreachable=0    failed=0   
control01                  : ok=48   changed=2    unreachable=0    failed=1   
control02                  : ok=48   changed=2    unreachable=0    failed=1   
control03                  : ok=48   changed=2    unreachable=0    failed=1   
localhost                  : ok=5    changed=0    unreachable=0    failed=0   
monitoring01               : ok=42   changed=2    unreachable=0    failed=0   
network01                  : ok=71   changed=2    unreachable=0    failed=0   
storage01                  : ok=42   changed=2    unreachable=0    failed=1   
storage02                  : ok=42   changed=2    unreachable=0    failed=0   
storage03                  : ok=42   changed=2    unreachable=0    failed=0

Partial output from multinode inventory file:

[storage]
storage01
storage02
storage03


[control]
control01
control02
control03

Kolla-ansible -- Error trying to deploy ceph on nodes.

I'm have this error trying to deploy ceph using kolla-ansible development. I'm trying on Centos 7.6, ansible 2.7.5 and git version of kolla-ansible

 TASK [ceph : include_tasks] ************************************************************************************************************************************************************************************
included: /usr/share/kolla-ansible/ansible/roles/ceph/tasks/config.yml for storage01, storage02, storage03

TASK [ceph : Ensuring config directories exist] ****************************************************************************************************************************************************************
changed: [storage01] => (item=ceph-mon)
changed: [storage03] => (item=ceph-mon)
changed: [storage02] => (item=ceph-mon)
changed: [storage01] => (item=ceph-osd)
changed: [storage03] => (item=ceph-osd)
changed: [storage02] => (item=ceph-osd)
changed: [storage01] => (item=ceph-rgw)
changed: [storage03] => (item=ceph-rgw)
changed: [storage02] => (item=ceph-rgw)
changed: [storage03] => (item=ceph-mgr)
changed: [storage01] => (item=ceph-mgr)
changed: [storage02] => (item=ceph-mgr)
changed: [storage03] => (item=ceph-mds)
changed: [storage02] => (item=ceph-mds)
changed: [storage01] => (item=ceph-mds)
changed: [storage03] => (item=ceph-nfs)
changed: [storage02] => (item=ceph-nfs)
changed: [storage01] => (item=ceph-nfs)

TASK [ceph : Copying over config.json files for services] ******************************************************************************************************************************************************
skipping: [storage01] => (item={u'group': u'ceph-mon', u'name': u'ceph-mon'}) 
skipping: [storage02] => (item={u'group': u'ceph-mon', u'name': u'ceph-mon'}) 
skipping: [storage03] => (item={u'group': u'ceph-mon', u'name': u'ceph-mon'}) 
changed: [storage01] => (item={u'group': u'ceph-osd', u'name': u'ceph-osd'})
skipping: [storage01] => (item={u'group': u'ceph-rgw', u'name': u'ceph-rgw'}) 
skipping: [storage01] => (item={u'group': u'ceph-mgr', u'name': u'ceph-mgr'}) 
skipping: [storage01] => (item={u'group': u'ceph-mds', u'name': u'ceph-mds'}) 
skipping: [storage01] => (item={u'group': u'ceph-nfs', u'name': u'ceph-nfs'}) 
changed: [storage03] => (item={u'group': u'ceph-osd', u'name': u'ceph-osd'})
changed: [storage02] => (item={u'group': u'ceph-osd', u'name': u'ceph-osd'})
skipping: [storage03] => (item={u'group': u'ceph-rgw', u'name': u'ceph-rgw'}) 
skipping: [storage03] => (item={u'group': u'ceph-mgr', u'name': u'ceph-mgr'}) 
skipping: [storage03] => (item={u'group': u'ceph-mds', u'name': u'ceph-mds'}) 
skipping: [storage03] => (item={u'group': u'ceph-nfs', u'name': u'ceph-nfs'}) 
skipping: [storage02] => (item={u'group': u'ceph-rgw', u'name': u'ceph-rgw'}) 
skipping: [storage02] => (item={u'group': u'ceph-mgr', u'name': u'ceph-mgr'}) 
skipping: [storage02] => (item={u'group': u'ceph-mds', u'name': u'ceph-mds'}) 
skipping: [storage02] => (item={u'group': u'ceph-nfs', u'name': u'ceph-nfs'}) 

TASK [ceph : Copying over ceph.conf] ***************************************************************************************************************************************************************************
changed: [storage01] => (item=ceph-mon)
changed: [storage02] => (item=ceph-mon)
changed: [storage03] => (item=ceph-mon)
changed: [storage02] => (item=ceph-osd)
changed: [storage01] => (item=ceph-osd)
changed: [storage03] => (item=ceph-osd)
changed: [storage01] => (item=ceph-rgw)
changed: [storage02] => (item=ceph-rgw)
changed: [storage03] => (item=ceph-rgw)
changed: [storage01] => (item=ceph-mgr)
changed: [storage02] => (item=ceph-mgr)
changed: [storage03] => (item=ceph-mgr)
changed: [storage01] => (item=ceph-mds)
changed: [storage02] => (item=ceph-mds)
changed: [storage01] => (item=ceph-nfs)
changed: [storage03] => (item=ceph-mds)
changed: [storage02] => (item=ceph-nfs)
changed: [storage03] => (item=ceph-nfs)

TASK [ceph : include_tasks] ************************************************************************************************************************************************************************************
skipping: [storage01]
skipping: [storage02]
skipping: [storage03]
TASK [ceph : include_tasks] ************************************************************************************************************************
 included: /home/vagrant/kolla-ansible/ansible/roles/ceph/tasks/distribute_keyrings.yml for storage01, storage02, storage03

 TASK [ceph : Fetching Ceph keyrings] ***************************************************************************************************************
 fatal: [storage01]: FAILED! => {"msg": "'delegate_host' is undefined"}

 NO MORE HOSTS LEFT *********************************************************************************************************************************
         to retry, use: --limit @/home/vagrant/kolla-ansible/ansible/site.retry

 PLAY RECAP *****************************************************************************************************************************************
 compute01                  : ok=43   changed=2    unreachable=0    failed=0   
 control01                  : ok=48   changed=2    unreachable=0    failed=1   
 control02                  : ok=48   changed=2    unreachable=0    failed=1   
 control03                  : ok=48   changed=2    unreachable=0    failed=1   
 localhost                  : ok=5    changed=0    unreachable=0    failed=0   
 monitoring01               : ok=42   changed=2    unreachable=0    failed=0   
 network01                  : ok=71   changed=2    unreachable=0    failed=0   
 storage01                  : ok=42   changed=2    unreachable=0    failed=1   
 storage02                  : ok=42   changed=2    unreachable=0    failed=0   
 storage03                  : ok=42   changed=2    unreachable=0    failed=0

Partial output from multinode inventory file:

[storage]
storage01
storage02
storage03


[control]
control01
control02
control03