Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to integrate openstack with ceph

I have installed 5 node ceph( ceph version 10.2.10) setup ( 1 ceph-admin + 1 mon + 3 osd nodes ) and prepared one node openstack pike.

I am trying to integrate ceph with openstack , All steps executed with out error But when I run #rbd ls images OR #rbd -p images ls It is showing no output.

I executed below commands to integrate ceph with openstack

1. #ceph auth get-or-create client.glance mon 'allow r' osd 'allow class-read object_prefix rbd_children, allow rwx pool=images'
2. #ceph auth get-or-create client.glance | ssh controller sudo tee /etc/ceph/ceph.client.glance.keyring
3. #ssh controller chown glance:glance /etc/ceph/ceph.client.glance.keyring
  1. edited ceph.conf on openstack node as per below

    [root@controller ~]# cat /etc/ceph/ceph.conf [global] fsid = 91336825-14db-4daf-ad42-ccf29e598b2b mon_initial_members = mon1 mon_host = 10.19.19.93 auth_cluster_required = cephx auth_service_required = cephx auth_client_required = cephx

    public network = 10.19.19.0/24 osd pool default size = 2

    [client.glance] keyring = /etc/ceph/ceph.client.glance.keyring [root@controller ~]#

  2. added below entries in /etc/glance/glance-api.conf

    [glance_store] stores = rbd rbd_store_pool = images rbd_store_user = glance rbd_store_ceph_conf = /etc/ceph/ceph.conf rbd_store_chunk_size = 8

Unable to integrate openstack with ceph

I have installed 5 node ceph( ceph version 10.2.10) setup ( 1 ceph-admin + 1 mon + 3 osd nodes ) and prepared one node openstack pike.

I am trying to integrate ceph with openstack , All steps executed with out error But when I run #rbd ls images OR #rbd -p images ls It is showing no output.

I executed below commands to integrate ceph with openstack

 1. #ceph auth get-or-create client.glance mon 'allow r' osd 'allow class-read object_prefix rbd_children, allow rwx pool=images'
 2. #ceph auth get-or-create client.glance | ssh controller sudo tee /etc/ceph/ceph.client.glance.keyring
 3. #ssh controller chown glance:glance /etc/ceph/ceph.client.glance.keyring
  1. 4. edited ceph.conf on openstack node as per below

    below [root@controller ~]# cat /etc/ceph/ceph.conf [global] fsid = 91336825-14db-4daf-ad42-ccf29e598b2b mon_initial_members = mon1 mon_host = 10.19.19.93 auth_cluster_required = cephx auth_service_required = cephx auth_client_required = cephx

    cephx public network = 10.19.19.0/24 osd pool default size = 2

    2 [client.glance] keyring = /etc/ceph/ceph.client.glance.keyring [root@controller ~]#

  2. ~]# 5. added below entries in /etc/glance/glance-api.conf

    [glance_store] stores = rbd rbd_store_pool = images rbd_store_user = glance rbd_store_ceph_conf = /etc/ceph/ceph.conf rbd_store_chunk_size = 8

8

Unable to integrate openstack with ceph

I have installed 5 node ceph( ceph version 10.2.10) setup ( 1 ceph-admin + 1 mon + 3 osd nodes ) and prepared one node openstack pike.

I am trying to integrate ceph with openstack , All steps executed with out error But when I run #rbd ls images OR #rbd -p images ls It is showing no output.

I executed below commands to integrate ceph with openstack

    1. #ceph auth get-or-create client.glance mon 'allow r' osd 'allow class-read object_prefix rbd_children, allow rwx pool=images'
    2. #ceph auth get-or-create client.glance | ssh controller sudo tee /etc/ceph/ceph.client.glance.keyring
    3. #ssh controller chown glance:glance /etc/ceph/ceph.client.glance.keyring
    4.  edited ceph.conf on openstack node as per below

    [root@controller ~]# cat /etc/ceph/ceph.conf
    [global]
    fsid = 91336825-14db-4daf-ad42-ccf29e598b2b
    mon_initial_members = mon1
    mon_host = 10.19.19.93
    auth_cluster_required = cephx
    auth_service_required = cephx
    auth_client_required = cephx

    public network = 10.19.19.0/24
    osd pool default size = 2

    [client.glance]
    keyring = /etc/ceph/ceph.client.glance.keyring
    [root@controller ~]#

   5. added below entries in /etc/glance/glance-api.conf 

    [glance_store]
    stores = rbd
    rbd_store_pool = images
    rbd_store_user = glance
    rbd_store_ceph_conf = /etc/ceph/ceph.conf
    rbd_store_chunk_size = 8

Unable to integrate openstack with ceph

I have installed 5 node ceph( ceph version 10.2.10) setup ( 1 ceph-admin + 1 mon + 3 osd nodes ) and prepared one node openstack pike.

I am trying to integrate ceph with openstack , All steps executed with out error But when I run #rbd ls images OR #rbd -p images ls It is showing no output.

I executed below commands to integrate ceph with openstack

    1. #ceph auth get-or-create client.glance mon 'allow r' osd 'allow class-read object_prefix rbd_children, allow rwx pool=images'
    2. #ceph auth get-or-create client.glance | ssh controller sudo tee /etc/ceph/ceph.client.glance.keyring
    3. #ssh controller chown glance:glance /etc/ceph/ceph.client.glance.keyring
    4.  edited ceph.conf on openstack node as per below

    [root@controller ~]# cat /etc/ceph/ceph.conf
    [global]
    fsid = 91336825-14db-4daf-ad42-ccf29e598b2b
    mon_initial_members = mon1
    mon_host = 10.19.19.93
    auth_cluster_required = cephx
    auth_service_required = cephx
    auth_client_required = cephx

    public network = 10.19.19.0/24
    osd pool default size = 2

    [client.glance]
    keyring = /etc/ceph/ceph.client.glance.keyring
    [root@controller ~]#

   5. added below entries in /etc/glance/glance-api.conf 

    [glance_store]
    stores = rbd
    rbd_store_pool = images
    rbd_store_user = glance
    rbd_store_ceph_conf = /etc/ceph/ceph.conf
    rbd_store_chunk_size = 8

Unable to integrate openstack with ceph

I have installed 5 node ceph( ceph version 10.2.10) setup ( 1 ceph-admin + 1 mon + 3 osd nodes ) and prepared one node openstack pike.pike(packstack).

I am trying to integrate ceph with openstack , All steps executed with out error But when I run #rbd ls images OR #rbd -p images ls It is showing no output.

I executed below commands to integrate ceph with openstack

    1. #ceph auth get-or-create client.glance mon 'allow r' osd 'allow class-read object_prefix rbd_children, allow rwx pool=images'
    2. #ceph auth get-or-create client.glance | ssh controller sudo tee /etc/ceph/ceph.client.glance.keyring
    3. #ssh controller chown glance:glance /etc/ceph/ceph.client.glance.keyring
    4.  edited ceph.conf on openstack node as per below

    [root@controller ~]# cat /etc/ceph/ceph.conf
    [global]
    fsid = 91336825-14db-4daf-ad42-ccf29e598b2b
    mon_initial_members = mon1
    mon_host = 10.19.19.93
    auth_cluster_required = cephx
    auth_service_required = cephx
    auth_client_required = cephx

    public network = 10.19.19.0/24
    osd pool default size = 2

    [client.glance]
    keyring = /etc/ceph/ceph.client.glance.keyring
    [root@controller ~]#

   5. added below entries in /etc/glance/glance-api.conf 

    [glance_store]
    stores = rbd
    rbd_store_pool = images
    rbd_store_user = glance
    rbd_store_ceph_conf = /etc/ceph/ceph.conf
    rbd_store_chunk_size = 8

Unable to integrate openstack with ceph

I have installed 5 node ceph( ceph version 10.2.10) setup ( 1 ceph-admin + 1 mon + 3 osd nodes ) and prepared one node openstack pike(packstack).

I am trying to integrate ceph with openstack , All steps executed with out error But when I run #rbd ls images OR #rbd -p images ls It is showing no output.

[root@ceph-admin ~]# ceph osd pool ls
rbd
volumes
images
backups
vms
[root@ceph-admin ~]#
[root@ceph-admin ~]# rbd ls images
[root@ceph-admin ~]#

I executed below commands to integrate ceph with openstack

    1. #ceph auth get-or-create client.glance mon 'allow r' osd 'allow class-read object_prefix rbd_children, allow rwx pool=images'
    2. #ceph auth get-or-create client.glance | ssh controller sudo tee /etc/ceph/ceph.client.glance.keyring
    3. #ssh controller chown glance:glance /etc/ceph/ceph.client.glance.keyring
    4.  edited ceph.conf on openstack node as per below

    [root@controller ~]# cat /etc/ceph/ceph.conf
    [global]
    fsid = 91336825-14db-4daf-ad42-ccf29e598b2b
    mon_initial_members = mon1
    mon_host = 10.19.19.93
    auth_cluster_required = cephx
    auth_service_required = cephx
    auth_client_required = cephx

    public network = 10.19.19.0/24
    osd pool default size = 2

    [client.glance]
    keyring = /etc/ceph/ceph.client.glance.keyring
    [root@controller ~]#

   5. added below entries in /etc/glance/glance-api.conf 

    [glance_store]
    stores = rbd
    rbd_store_pool = images
    rbd_store_user = glance
    rbd_store_ceph_conf = /etc/ceph/ceph.conf
    rbd_store_chunk_size = 8