Revision e3a9d32a

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']
b/snf-pithos-backend/pithos/backends/lib/hashfiler/radosmapper.py
53 53

  
54 54
        rados = Rados(conffile=CEPH_CONF_FILE)
55 55
        rados.connect()
56
        if not rados.pool_exists(mappool):
57
            rados.create_pool(mappool)
58

  
59 56
        ioctx = rados.open_ioctx(mappool)
60 57

  
61 58
        self.mappool = mappool

Also available in: Unified diff