pithos: Use new Archipelago conffile for mapper
pithos: Use new Archipelago conffile for blocker
pithos: Close archipelago resource after reading it.
Archipelago implicitly opens a resource after reading the map file. So we shouldclose it, after successfully reading it.
pithos: Use new ArchipelagoConfFile constant
Remove BACKEND_ARCHIPELAGO_CONF and use the new ArchipelagoConfFileintroduced in WorkerGlue class.
pithos: New constants in ModularBackend class
Introduce new constants archipelago_conf_file and xseg_pool_sizein ModularBackend class. The new constant DEFAULT_ARCHIPELAGO_CONF_FILEis set in the default path '/etc/archipelago/archipelago.conf'.
Create the XSEG Object Pool while initializing ModularBackend class.
pithos: pep8 fixes
pithos: Move Xseg Pool initialization
Move Xseg Object Pool initialization to hashfiler module
pithos: Do not put xseg request before map retrieval
During map_retr_archipelago, we should not put the xseg request which fetchedthe map data, before actually retrieving them.
The ctypes "from_address" method, does not copy the data where the pointerpoints. It simply creates a ctypes instance using the given memory. Ctypes...
pithos: Add Archipelago Blocker and Mapper
pithos: Remove File - RADOS Blocker and Mapper
Add new constant for Archipelago configuration file in pithos API,PITHOS_BACKEND_ARCHIPELAGO_CONF
Merge branch 'hotfix-0.14.3' into develop
Conflicts: Changelog snf-astakos-app/astakos/im/messages.py snf-pithos-app/pithos/api/manage_accounts/__init__.py snf-pithos-app/pithos/api/management/commands/reconcile-resources-pithos.py snf-pithos-app/pithos/api/settings.py...
pithos: Add missing blocksize attribute to blocker.
Blocksize was undefined for the blocker that combines files and rados objecsts.Define it, according to the block parameters.
Remove automatic RADOS pool creation.
If a specified RADOS pool does not exist, do not try and create it. Throw anexception instead.
Fix exception handling in RADOS blocker/mapper
Handle only KeyError exception in blocker/mapper initialization, and propagateall other, as they indicate errors.
Optionally import rados
fix pool creation
Merge remote-tracking branch 'origin/dev' into radosblocker
Conflicts: snf-pithos-app/pithos/api/util.py snf-pithos-backend/pithos/backends/lib/hashfiler/blocker.py snf-pithos-backend/pithos/backends/lib/hashfiler/mapper.py snf-pithos-backend/pithos/backends/modular.py...
make rados storage configurable
add support to store blocks on RADOS
Fix code formatting to conform to the PEP 8 style guide
Add umask option.
Open files in backend as read-only if such is the filesystem.
Merge commit 'v0.9.0' into packaging
Conflicts: pithos/__init__.py pithos/api/management/commands/__init__.py pithos/backends/lib/rabbitmq/__init__.py pithos/backends/lib/rabbitmq/queue.py pithos/lib/user.py pithos/middleware/user.py pithos/settings.py...
Merge branch 'master' into packaging
Conflicts: pithos/settings.py snf-pithos-app/pithos/middleware/log.py snf-pithos-app/pithos/urls.py snf-pithos-backend/pithos/backends/__init__.py snf-pithos-tools/setup.py
Split pithos components in separate packages
- splitted pithos modules in separate reusable components- python packaging for all packages- snf-webproject support (entry_points) for pithos django applications