Hi Srinivasa
Few things for troubleshooting
1) check in glance-api.conf , it should have
rbd_store_ceph_conf = /etc/ceph/ceph.conf
2) if not already done
cp /etc/ceph/ceph.client.images.keyring /etc/glance 3) i am not sure if there is any difference between glance image-create and glance add , but try with another image as well. ( download new image and move it to glance )
glance add name="ceph-glance-image" is_public=True disk_format=qcow2 container_format=ovf architecture=x86_64 < ubuntu-12.04.3-desktop-amd64.iso
4) If you are still getting Internal server error , make sure your openstack is working fine , if i remember correctly i too seen same problem , which was related to openstack , check openstack logs also ceph logs.
—Regards karan
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