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

asked 2019-01-08 07:39:27 -0600

Marianito80 gravatar image

updated 2019-01-11 08:50:59 -0600

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 ...
(more)
edit retag flag offensive close merge delete

Comments

Hi, whats the command used to deploy? Kolla-ansible version (master guess), kolla images version ?

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2019-01-10 02:57:54 -0600 )edit

Hi Eduardo i was using master of git. really don't know kolla images used. It was a fresh install.

Now i changed and installed pip version of kolla-ansible 8.0.0.0b1 and i get exactly the same error.

I've checked all the configuration but i'm not a master ansible user hehe.

Marianito80 gravatar imageMarianito80 ( 2019-01-11 08:48:25 -0600 )edit

I'm trying to install rocky release :-)

Marianito80 gravatar imageMarianito80 ( 2019-01-11 09:40:31 -0600 )edit