Issue with Openstack Glance integration with CEPH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Karan,

First of all many many thanks for your blog written on openstack integration with CEPH

I could able to integrate Openstack Cinder with CEPH successfully and attach volumes to running VMs

But facing the issue with Glance service while uploading image as shown below


[controller@controller images]$ glance image-create --name="CirrOS 0.3.1" --disk-format=qcow2 --container-format=bare --is-public=true < cirros-0.3.1-x86_64-disk.img
Request returned failure status.
500 Internal Server Error
Failed to upload image be2b5d58-3a17-4544-8a4e-8c5b31ff5546
    (HTTP 500)


On stand alone openstack installation i could able to do the above successfully

changes in /etc/glance/glance-api.conf

default_store=rbd
rbd_store_user=images
rbd_store_pool=images
Output of ceph auth list is
[controller@controller images]$ ceph auth list
installed auth entries:

osd.0
    key: AQBOx/1S+IovNBAAupF3jUQliOg8HXwEuwNrIw==
    caps: [mon] allow profile osd
    caps: [osd] allow *
osd.1
    key: AQClyP1SgEY4LhAA7t0ylE1M+JzMz8uYklbmHg==
    caps: [mon] allow profile osd
    caps: [osd] allow *
client.admin
    key: AQChw/1SmDhNDxAAwEd5o8Di1paSPsvUJSOGVQ==
    caps: [mds] allow
    caps: [mon] allow *
    caps: [osd] allow *
client.bootstrap-mds
    key: AQChw/1SuG98LhAAjMFVX7Zhqgsgn8SnR2rx9A==
    caps: [mon] allow profile bootstrap-mds
client.bootstrap-osd
    key: AQChw/1SgGFVHhAAG/C5UNaXexYFR14Ocs+SPw==
    caps: [mon] allow profile bootstrap-osd
client.image
    key: AQBalRBTIDDnBBAA/edyQ2lrLOOyol2452GKQg==
    caps: [mon] allow rw
    caps: [osd] allow class-read object_prefix rbd_children, allow rwx pool=image
client.images
    key: AQBWzwVTsBclExAAc36/Z1eNZ5k4jQxhMX2gaw==
    caps: [mon] allow r
    caps: [osd] allow class-read object_prefix rbd_children, allow rwx pool=images
client.radosgw.gateway
    key: AQAJHw9TOGLoLBAAx6ItvnW3Vqu/If2xtvcoUg==
    caps: [mon] allow rw
    caps: [osd] allow rwx
client.volumes
    key: AQAuzwVTUHSkFBAAdNmC5Ql73WEjFkl/sBi6/g==
    caps: [mon] allow r
    caps: [osd] allow class-read object_prefix rbd_children, allow rwx pool=volumes, allow rx pool=images


Restarted the glance-api, glance-registry services.

Could you please help me in resolving above error?

Thanks in advance,
Srinivas.

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux