Why Glance image upload is really slow using ceph storage integration?
Hi,
I tried to upload image to glance with ceph as storage backend. But for 32mb cirros image it tooks about 2 hours for uploading. Iam using openstack newton release. What I need to do to make it fast??
my [glance_store] part in glance-api.conf is as below
stores = file,http,glance.store.rbd.Store,glance.store.http.Store
default_store = rbd
rbd_store_pool = images
rbd_store_user = glance
rbd_store_ceph_conf = /etc/ceph/ceph.conf
filesystem_store_datadir = /var/lib/glance/images/
I uploaded the image as below
openstack image create --file cirros-0.3.4-x86_64-disk.raw --container-format bare --disk-format raw --public --verbose --debug cirros-0.3.4
After two hours the image is active and I can see it in my ceph storage. But this is too long. Any help to reduce the time for uploading is really appreciated.
Start by finding out whether the problem is on the OpenStack or Ceph side: Upload files to Ceph directly. If it's OpenStack, start with the glance logs.