pithos: Update pithos management commands
Refs: #3625
pithos: Utilize astakosclient for quota handling
Refs: #3625, #3650
Add database migration
Provide an alembic migration to add an indexon the attributes.domain field
Pithos backend: Return objects in a specific domain
Refs: #3510
fix trasactionless query in pithos backend init
The query was submitted for execution without any prior transactionsetup, which caused:
1. psycopg2 to implicitly start a transaction2. the new transaction to remain unknown to the sqlalchemy layer since it was implicit...
Fix pithos-reconcile-commissions command
Get pending commissions specifically for pithos
Refs: #3594
pithos: Register commission serials to allow for recoery
Move astakos lib from snf-common to snf-django-lib
Change pithos public URL implementation
Refs: commit: 56f3c759
Do not include encoded serial in the public URL.
Change PITHOS_PUBLIC_URL_MIN_LENGTH setting toPITHOS_PUBLIC_URL_SECURITY.
Log public set/unset functions.
Change pithos public implementation
Public URLs should consist of a random part.A public URL should be unique and should not beequal to any deleted public URL.Finally publishing a public object has no effect.Therefore, to generate a new public URL for an...
Eliminate mutable default arguments
Fix pithos purging accounting
Refs: #3442Refs: #1733
Fix UUID bug breaking image list and VM creation
latest_uuid(uuid) returned the latest version with the given uuid.This is called from pithos backend method get_uuid(),which is called from plankton backend method get_image().
For the use in get_image() the uuid alone is not enough,...
Fix serious inefficiency in pithos 0.13 migration
As was run on production during migration.
The migration looped over all rows (node, muser) from versions,and update muser in each one.
However, the tuples (node, muser) are not unique in the table,and more important, the muser values are much fewer than the nodes...
Update pithos migration
Display progress
Improve pithos migrate
Cache also non existing accounts.
Fix pithos purging
Error if there were no objects to purge
Provide command for managing pithos duplicate accounts
Migrate pithos object modification user
Change error handling in uuid to displayname pithos path migration.
Stop migraton if it fails to retrieve a uuid/displayname.
Expose /user_catalogs service api call
Change migration scripts to use this instead of the user api call
Change feedback & user_catalogs astakos && pithos api calls
Change pithos sharing to work with account uuids
Migrate username to uuid in pithos permissions
Fix negative population in statistics table
Provide error feedback during pithos database path migration to container uuid instead of email
Update Astakos API to provider calls for retrieving uuid from the username and vice versa, extend astakos client library (snf-common) and update pithos to use uuids instead of email for account identification
wip issue_commision(). no accept or reject yet
Fix undefined variable
Fix sqlalchemy warning: IN-predicate invoked with an empty sequence.
Include version information in aquarium messages
Comment out sqlalchemy echo
Change QuotaholderSync to QuotaholderSerial
fix access to backend library classes Config and QuotaholderSync
New database tables to keep track of quota holder commisions
Fix code formatting to conform to the PEP 8 style guide
Merge branch 'master' of https://code.grnet.gr/git/pithos
fix nodes latest_version revision
Workaround to identify proper alchemy url
Not all apps use the same setting name for the pithos backend connection
Do not set default url in alembic.ini
sqlalchemy url will be dynamically set in alembic config object based onsynnefo.settings.PITHOS_BACKEND_DB_CONNECTION.
use alembic to initialize the backend database
Merge with pithos-migrate
Conflicts: snf-pithos-backend/pithos/backends/lib/sqlalchemy/alembic.ini
Update alembic .ini
Migrate against synnefo.settings backend by default
use ``PITHOS_BACKEND_DB_CONNECTION`` as default value for alembic sqlalchemy.urloption.
Remove index on cluster
Refs: #2675
Introduce alembic
eliminate nested sql aggregations
Fix size & type of copied files
Refs: #2611
Progress II: update sqlalchemy pithos backend lib
Overwrite permissions every time.
Fixes #2312
Send sharing notifications.
Fixes #2295
close sqlalchemy connections literally
Remove lib package.
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