Re: using Ceph FS as OpenStack Glance's backend

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

 



Hi,

Storing the image as an object with RADOS or RGW will result as a single big object stored somewhere in Ceph. However with RBD the image is spread across thousands of objects across the entire cluster. At the end, you get way more performance by using RBD since you intensively use the entire cluster, with the object solution you only request one big object from a single machine so you get less performance.

Cheers.

––––
Sébastien Han
Cloud Engineer

"Always give 100%. Unless you're giving blood."









PHONE : +33 (0)1 49 70 99 72 – MOBILE : +33 (0)6 52 84 44 70
EMAIL : sebastien.han@xxxxxxxxxxxx – SKYPE : han.sbastien
ADDRESS : 10, rue de la Victoire – 75009 Paris
WEB : www.enovance.com – TWITTER : @enovance

On Mar 21, 2013, at 8:19 AM, "Li, Chen" <chen.li@xxxxxxxxx> wrote:

Forgive me if this question is stupid.
Can you explain more why you would say " either the Ceph object gateway or Ceph RBD makes more sense than CephFS currently." ?

Because CephFS is production ready?

Thanks.
-chen

-----Original Message-----
From: Neil Levine [mailto:neil.levine@inktank.com]
Sent: Wednesday, March 20, 2013 4:05 AM
To: Patrick McGarry
Cc: Li, Chen; ceph-users@xxxxxxxxxxxxxx
Subject: Re: using Ceph FS as OpenStack Glance's backend

..to be more precise, I should have said: object storage has been the preferred mechanism of late in Openstack, but RBD makes more sense due to the copy-on-write facility. Either way, either the Ceph object gateway or Ceph RBD makes more sense than CephFS currently.

neil

On Tue, Mar 19, 2013 at 12:48 PM, Neil Levine <neil.levine@xxxxxxxxxxx> wrote:
I think object storage (using the Swift-compatible Ceph Object
Gateway) is the preferred mechanism for a Glance backend.

Neil

On Tue, Mar 19, 2013 at 6:49 AM, Patrick McGarry <patrick@xxxxxxxxxxx> wrote:
Any reason you have chosen to use CephFS here instead of RBD for
direct integration with Glance?

http://ceph.com/docs/master/rbd/rbd-openstack/


Best Regards,


Patrick McGarry
Director, Community || Inktank

http://ceph.com  ||  http://inktank.com @scuttlemonkey || @ceph ||
@inktank


On Tue, Mar 19, 2013 at 6:12 AM, Li, Chen <chen.li@xxxxxxxxx> wrote:
I'm trying to use Ceph FS as glance's backend.

I have mount Ceph FS at glance machine. And edit
/etc/glance/glance-api.conf to use the mounted directory.

But when I upload the image as I used to, I met the error:



Request returned failure status.

None

HTTPServiceUnavailable (HTTP 503)



If I change back to use native directory, image can upload successfully.



Anyone know why?



Thanks.

-chen


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

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

_______________________________________________
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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux