Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Why Glance image upload is really slow using ceph storage backend?

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.

Why Glance image upload is really slow using ceph storage backend?

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.