Skip to content

ksperis/thumbor_ceph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

thumbor_ceph

Thumbor Ceph RADOS Storage extensions

Ceph Project : http://ceph.com/

Thumbor Project : https://github.com/thumbor/thumbor

Install thumbor_ceph Extention :

apt-get install git python-ceph
git clone https://github.com/ksperis/thumbor_ceph.git
cd thumbor_ceph
python setup.py install

Configuration :

Populate /etc/ceph/ with ceph.conf and admin keyring

Create ceph pool for thumbor :

ceph osd pool create thumbor 128 128

Section File Storage in /etc/thumbor.conf

################################# File Storage #################################
STORAGE = 'thumbor_ceph.storages.ceph_storage'
CEPH_STORAGE_POOL = 'thumbor'

Section Upload

#################################### Upload ####################################
UPLOAD_PHOTO_STORAGE = 'thumbor_ceph.storages.ceph_storage'

Section Result Storage

################################ Result Storage ################################
RESULT_STORAGE = 'thumbor_ceph.result_storages.ceph_storage'
CEPH_RESULT_STORAGE_POOL = 'thumbor'

Launch thumbor

# thumbor -l debug
2014-05-27 10:27:24 thumbor:DEBUG INIT RADOS Storage (ID:c3eb3343-d06c-438f-ae49-cf998468824d)
2014-05-27 10:27:24 thumbor:DEBUG INIT RADOS Result Storage (ID:c3eb3343-d06c-438f-ae49-cf998468824d)
2014-05-27 10:27:24 root:DEBUG thumbor running at 0.0.0.0:8888

About

Thumbor Ceph Rados extensions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages