Revision e3a9d32a snf-pithos-backend/pithos/backends/lib/hashfiler/radosblocker.py
b/snf-pithos-backend/pithos/backends/lib/hashfiler/radosblocker.py | ||
---|---|---|
54 | 54 |
|
55 | 55 |
rados = Rados(conffile=CEPH_CONF_FILE) |
56 | 56 |
rados.connect() |
57 |
if not rados.pool_exists(blockpool): |
|
58 |
rados.create_pool(blockpool) |
|
59 |
|
|
60 | 57 |
ioctx = rados.open_ioctx(blockpool) |
61 | 58 |
|
62 | 59 |
hashtype = params['hashtype'] |
Also available in: Unified diff