pithos: Remove 'create' argument in _get_rear_block()
pithos: pep8 fixes
pithos: Do not make non existent directories when reading mapfiles
pithos: Remove 'create' flag from the mapper
The file access mode is now chosen from the file mapper or blockeraccording to the function that is being used, i.e., read or writean object.
Refs #5011
pithos: Add new read/write file object functions
Add new functions for reading and writing file objects basedon the new file access mode introduced in the file context manager.
pithos: Remove 'create' flag from RADOS blocker/mapper
RADOS blocker and mapper do not use the 'create' flag to specifythe access mode to RADOS objects.
pithos: Remove 'create' flag from object context manager
pithos: Add new access mode flag to file context manager
Remove old create flag that was used for choosing the access mode.New flag 'oflag' determines the mode in which the file has to beopened, i.e., read, write or both. Applications shall specify exactly...
pithos: Fix excessive RADOS threads.
When a RADOS ioctx is acquired, new threads are spawn in the background bylibrados. Make sure we do not instantiate multiple RADOS ioctx, but instantiateonly one and reuse it.
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