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.imgRequest returned failure status.500 Internal
Server ErrorFailed 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 listinstalled 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-mdsclient.bootstrap-osd    key:
AQChw/1SgGFVHhAAG/C5UNaXexYFR14Ocs+SPw==    caps: [mon] allow profile
bootstrap-osdclient.image    key:
AQBalRBTIDDnBBAA/edyQ2lrLOOyol2452GKQg==    caps: [mon] allow rw    caps:
[osd] allow class-read object_prefix rbd_children, allow rwx
pool=imageclient.images    key: AQBWzwVTsBclExAAc36/Z1eNZ5k4jQxhMX2gaw==
caps: [mon] allow r    caps: [osd] allow class-read object_prefix
rbd_children, allow rwx pool=imagesclient.radosgw.gateway    key:
AQAJHw9TOGLoLBAAx6ItvnW3Vqu/If2xtvcoUg==    caps: [mon] allow rw    caps:
[osd] allow rwxclient.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
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to