Statistics
| Branch: | Tag: | Revision:

root @ 62c86226

# Date Author Comment
d0986bac 04/30/2013 05:05 pm Christos Stavrakakis

Cyclades: remove all quotaholder settings

Remove from cyclades all settings that were relative with Quotaholder.
Remove CYCLADES_USE_QUOTAHOLDER settings, since Cyclades can not work
any more without quotas.
Remove CYCLADES_QUOTAHOLDER_URL and CYCLADES_QUOTAHOLDER_TOKEN since...

ccfbf77b 04/30/2013 05:05 pm Christos Stavrakakis

Varous fixes to cyclades-usage-verify command

Extend 'cyclades-usage-verify' management command to cover the usage of
'cyclades-reset-usage' and remove the second one. The new command
reconciles resources(usage) by detecting inconsistencies between the
usage of resources in Astakos and Cyclades DB and fixing them by issuing...

62c86226 04/30/2013 05:05 pm Christos Stavrakakis

cyclades: Rename quotas management commands

Rename 'cyclades-reconcile-commissions' to 'reconcile-commissions-cyclades.'
Rename 'cyclades-usage-verify' to 'reconcile-resources-cyclades.'

629acc65 04/30/2013 05:04 pm Giorgos Korfiatis

cyclades: Use astakosclient for quotas and commissions

af48fdf0 04/30/2013 05:04 pm Christos Stavrakakis

Remove unused 'models' file

656cf771 04/30/2013 05:04 pm Christos Stavrakakis

Various fixes to quotas

72430f03 04/30/2013 05:03 pm Christos Stavrakakis

Merge branch 'feature-use-astakosclient' into feature-quotas

e6fb591c 04/30/2013 05:03 pm Ilias Tsitsimpis

snf-pithos-app: Use astakosclient

468ba00b 04/30/2013 05:03 pm Ilias Tsitsimpis

snf-cyclades-app: Use astakosclient

255cef57 04/30/2013 05:03 pm Christos Stavrakakis

Improve log message

Distinguish exceptions while using AstakosClient to communicate with
Astakos, from the rest API errors.

6e27e449 04/30/2013 05:03 pm Christos Stavrakakis

cyclades: remove redundant settings

Remove 'CYCLADES_USER_CATALOG_URL' and 'CYCLADES_USER_FEEDBACK_URL'
settings, since both of them can be derived from 'ASTAKOS_URL' setting.

a5fbc00d 04/30/2013 05:03 pm Christos Stavrakakis

pithos: remove redundant settings

Remove 'PITHOS_USER_CATALOG_URL' and 'PITHOS_USER_FEEDBACK_URL' and
'PITHOS_USER_LOGIN_URL' settings, since all of them can be derived from
'ASTAKOS_URL' setting.

3e749401 04/30/2013 05:03 pm Christos Stavrakakis

plankton: Remove 'TRANSLATE_UUIDS' setting

Remove 'TRANSLATE_UUIDS' from plankton setting.

ad0efdb3 04/30/2013 05:03 pm Ilias Tsitsimpis

PEP8 style fixes

726cb37f 04/30/2013 05:03 pm Ilias Tsitsimpis

Handle AstakosClientException in api_method decorator

67100dd2 04/30/2013 05:03 pm Ilias Tsitsimpis

PEP8 style fixes

479c3051 04/30/2013 05:03 pm Ilias Tsitsimpis

PEP8 style fixes

81a906f8 04/30/2013 05:03 pm Ilias Tsitsimpis

snf_django.lib.astakos: Use astakosclient

21a9ae81 04/30/2013 05:00 pm Christos Stavrakakis

Merge branch 'develop' into feature-quotas

3fff9189 04/30/2013 04:59 pm Christos Stavrakakis

cyclades: fix bug in server-create command

Make --flavor-id mandatory in 'snf-manage server-create' management
command.

eefb7355 04/30/2013 04:59 pm Christos Stavrakakis

cyclades: Require user when creating private net

Update 'network-create' management command, to require an owner when
creating a private network.

c1ba7f26 04/30/2013 04:28 pm Christos Stavrakakis

Add support for ordering in ListCommand

Make list command order results either by 'order_by' class attribute,
or by primary key.

1f5565c3 04/30/2013 02:12 pm Giorgos Korfiatis

astakos: Migrate user settings for pendings_app limit

Provide console script astakos-migrate-0.14.
Also update related upgrade notes.

2cb83537 04/30/2013 12:14 pm Giorgos Korfiatis

Update quota API docs

46e233b2 04/29/2013 05:30 pm Giorgos Korfiatis

Do not log in transaction decorator

d5f086f2 04/29/2013 05:18 pm Ilias Tsitsimpis

Revert "astakosclient: don't check resolve_commissions' parameters"

This reverts commit da18207e2825b4a0a4cb3abc6a9fbef541eda05b.
Issue resolved by commit 214058a911c5b4b8b3d9108ba891536a0b40dc49.

214058a9 04/29/2013 05:12 pm Christos Stavrakakis

astakosclient: Fix bug in checking arguments

3f5851eb 04/29/2013 05:11 pm Giorgos Korfiatis

astakos: Reconcile resources

Sync number of pending applications to quotaholder.

9e3af524 04/29/2013 05:11 pm Giorgos Korfiatis

astakos: accept commission immediately after issue

Unify these operations when registering a pending application,
in order to make sure no commission can be left pending.

da18207e 04/29/2013 04:29 pm Ilias Tsitsimpis

astakosclient: don't check resolve_commissions' parameters

In resolve_commissions, accept_serials and reject_serials
may be empty lists. Don't do a validation check for this
parameters and let the servers respond with an error
if bad values was given.

fa8c2506 04/29/2013 04:24 pm Christos Stavrakakis

cyclades: Fix typo in create_server

State of public NIC should be 'BUILDING'

857383e3 04/29/2013 01:55 pm Giorgos Korfiatis

Upgrade notes for quota-related stuff

69c1afae 04/29/2013 01:36 pm Giorgos Korfiatis

quotaholder: Add migrations

Migration 0001 should be faked on an existing database.
Migration 0002 adds new fields.
Migration 0003 populates the new fields based on the old ones.
Migration 0004 deletes unneeded fields and tables.

ec5e00aa 04/29/2013 12:13 pm Giorgos Korfiatis

Revert quotaholder's name to quotaholder_app

In order to facilitate migrations.

68b991bc 04/29/2013 12:12 pm Giorgos Korfiatis

quotaholder: Rename counters to usage_min, usage_max

3679f852 04/29/2013 11:17 am Giorgos Korfiatis

quotaholder: Explicitly set commission's issue_time

Avoid function call as a default value in model.

f6e7a826 04/29/2013 11:14 am Giorgos Korfiatis

quotaholder: Impose non-null commission name

Default to empty string

d5426b9b 04/28/2013 12:30 am Stratos Psomadakis

Suggest running vncauthproxy as nobody:www-data

Running vncauthproxy as nobody:www-data makes more sense. We have better
privilege separation between apache2/gunicorn and vncauthproxy, while
gunicorn can still to connect to the vncauthproxy's control socket....

0644dc92 04/26/2013 08:41 pm Sofia Papagiannaki

astakos: remove unwanted logging

29576723 04/26/2013 07:13 pm Sofia Papagiannaki

astakos: Fix twitter access token request failure

The oauth_verifier received from the executed callback has to be passed
to the access_token request (it is no more optional)
https://dev.twitter.com/discussions/16443#comment-36666

Updated twitter oath service urls

20f68e60 04/26/2013 04:41 pm Giorgos Korfiatis

astakos: Migrate service and resource names

- Rename 'pithos+' to 'pithos'
- Prepend resource names with 'service_name.'

acd8cd7d 04/26/2013 01:44 pm Christos Stavrakakis

vmapi: Remove extra '/' from config_url

Use urlparse.urljoin create the config url in order to avoid extra '/'.

bd7fe7c1 04/26/2013 12:47 pm Sofia Papagiannaki

Merge branch 'feature-change-astakos-commands' into feature-quotas

Conflicts:
snf-astakos-app/astakos/im/management/commands/resource-list.py
snf-astakos-app/astakos/im/management/commands/service-list.py
snf-astakos-app/astakos/im/management/commands/service-modify.py...

8b68fa76 04/25/2013 05:56 pm Giorgos Korfiatis

astakosclient: Update provisions' type in docstring

567f49a2 04/25/2013 05:54 pm Giorgos Korfiatis

astakosclient: Change provisions argument to dict

3a1bed03 04/25/2013 05:49 pm Giorgos Korfiatis

astakos: Set and return commission names in API calls

Support issue_commission's `name' parameter for an optional description
of the commission. Include this field in the dict returned by
get_commission.

Change astakosclient accordingly.

65fb5cf6 04/25/2013 04:22 pm Giorgos Korfiatis

Merge branch 'develop' into feature-quotas

Conflicts:
astakosclient/astakosclient/__init__.py
astakosclient/astakosclient/errors.py
astakosclient/astakosclient/tests.py
docs/index.rst

85919a0f 04/25/2013 04:14 pm Christos Stavrakakis

Fix deadlock when creating server

Fix deadlock when creating a server that was introduced by commit
501053a. Allocating the public IP in the same transaction with creating
the server resulted in a deadlock with backend allocator, because
inserting the new VM in the database waits on an exclusive lock of the...

d3f6994d 04/25/2013 04:14 pm Christos Stavrakakis

Fix import and add main to unittests

3a527b3a 04/25/2013 04:01 pm Giorgos Korfiatis

astakos: Separate importing resources from setting limits

`snf-manage resource-import' does not provide a way to change the
default base quota any more. When importing a resource for the first
time, it sets the limit to zero.

Use `snf-manage resource-modify' to change limits. It supports both...

3f7b6f6f 04/25/2013 12:43 pm Giorgos Korfiatis

astakos: Correct qh call to auto accept commissions

d521eb8e 04/24/2013 01:33 pm Giorgos Korfiatis

quotaholder: Delete unused helper functions

3a195d2e 04/24/2013 01:31 pm Giorgos Korfiatis

quotaholder: Remove unused Holding flags

643b3d82 04/24/2013 01:17 pm Giorgos Korfiatis

quotaholder: Remove default values in required args

Also remove unused `context' argument and replace empty list default
values with None.

4df49ee7 04/24/2013 01:15 pm Giorgos Korfiatis

astakos: Further validate input in quota API calls

4cb56223 04/24/2013 12:25 pm Giorgos Korfiatis

quotaholder: Remove unused utils and api.py

7bed22fb 04/24/2013 11:39 am Giorgos Korfiatis

quotaholder: Integrate unit tests in django tests

b2f34c77 04/23/2013 06:28 pm Kostas Papadimitriou

common: Fix resolving of SOUTH_TESTS_MIGRATE

in synnefo.settings.test

ba886e03 04/23/2013 06:27 pm Kostas Papadimitriou

astakos: Update projects tests

e4a6c11d 04/23/2013 06:19 pm Giorgos Korfiatis

astakos: Define and export local resources

0a7a4104 04/23/2013 06:04 pm Kostas Papadimitriou

astakos: Replace some explicit settings imports

importing setting names explicitly makes it hard to write tests that
depend on specific setting values and polutes the module namespace.

In this commit only settings that are currently used in tests where
refactored.

3b1ab480 04/23/2013 05:37 pm Kostas Papadimitriou

common: Test settings improvements

- Avoid settings overrides from conf files inside SYNNEFO_SETTINGS_DIR
Tests are expected to succeed with exact setting values defined either
in tests modules/cases or in the default synnefo setting modules. To
ensure this we temporarily set SYNNEFO_SETTINGS_DIR environmental variable...

450c7fb0 04/23/2013 05:09 pm Kostas Papadimitriou

astakos: Initial tests for project views

ad730cc5 04/23/2013 04:12 pm Giorgos Korfiatis

astakos: Validate input of quota-related API calls

58161871 04/23/2013 03:43 pm Constantinos Venetsanopoulos

Merge branch 'feature-admin-guide-update' into develop

34e79416 04/23/2013 03:40 pm Constantinos Venetsanopoulos

Make docs.dev.grnet.gr URL oblsolete

Everything should point to http://www.synnefo.org/*
This patch updates the URL everywhere in the repo.

271d2c4c 04/23/2013 03:40 pm Giorgos Korfiatis

astakos: Rename get_service_quotas to service_get_quotas

So that it follows the naming scheme of other astakosclient calls.

c0d88cf3 04/23/2013 03:01 pm Constantinos Venetsanopoulos

Fix wrapping in admin and quick install guide

9770ba6c 04/23/2013 02:50 pm Giorgos Korfiatis

Handle max pending applications as a quotable resource

Assume a resource `astakos.pending_app' related to service `astakos'.
On submitting an application, issue a commission that will update the
related counter if possible, and accept the commission on success....

0ee59d55 04/23/2013 02:48 pm Giorgos Korfiatis

quotaholder: Update unit tests

ebf463a5 04/23/2013 01:20 pm Stavros Sachtouris

Update quick admin guide with kamaki changes

4dce387e 04/23/2013 01:10 pm Ilias Tsitsimpis

astakosclient: Replace ValueError with BadValue

All Exceptions that AstakosClient is raising should
be under AstakosClientException class

bbf79074 04/23/2013 11:48 am Giorgos Korfiatis

quotaholder: Change provisions argument to list

It is the API code's task to transform the input dict to list.

dd04efac 04/22/2013 07:07 pm Stavros Sachtouris

Update kamaki instructions in admin guide docs

15e727f1 04/22/2013 06:54 pm Giorgos Korfiatis

quotaholder: pep8 fixes

948e15bc 04/22/2013 06:47 pm Giorgos Korfiatis

Turn callpoint into a module of functions

Class structure is no more needed; there is no need for initialization,
since the code is used internally.

a0b34382 04/22/2013 06:33 pm Giorgos Korfiatis

astakos: Reintroduce foreign key from Resource to Service

Also merge all migrations from 0026 to 0032.

9523af40 04/22/2013 06:04 pm Christos Stavrakakis

Fix help message of management command

9b126f13 04/22/2013 05:50 pm Giorgos Korfiatis

astakos: Move helper function from qh to quotas.py

abdf6d92 04/22/2013 05:29 pm Giorgos Korfiatis

astakos: Use `with' to open file in management command

5cf5eb56 04/22/2013 05:23 pm Giorgos Korfiatis

astakos: Sync users when importing base quotas from file

d07ce657 04/22/2013 04:18 pm Giorgos Korfiatis

astakos: Standardize arguments of project calls

All calls take a request_user (of type AstakosUser) argument.

7a08e179 04/22/2013 04:18 pm Giorgos Korfiatis

pep8 and style changes

e05c541e 04/22/2013 04:17 pm Giorgos Korfiatis

astakos: Enroll in project even if request is pending

08043775 04/22/2013 04:14 pm Giorgos Korfiatis

astakos: Move get_resources in resources.py

cb14cc6c 04/22/2013 04:07 pm Giorgos Korfiatis

Rename users_quotas to astakos_users_quotas

44104cd3 04/22/2013 04:02 pm Giorgos Korfiatis

astakos: Move quota syncing code in quotas.py

3adbd562 04/22/2013 03:51 pm Giorgos Korfiatis

astakos: Decouple listing from syncing quotas code

a6459f32 04/22/2013 03:23 pm Giorgos Korfiatis

Sync user after changing base quota

ae16bcad 04/22/2013 02:18 pm Giorgos Korfiatis

Respect user-specific quota when changing resource default

Do not update holding limit if there exist user-specific base quota
for the particular resource.

501053a1 04/22/2013 01:35 pm Christos Stavrakakis

Cyclades: reserve public IP after commission

When creating a server, do not reserve a public IP address before
issuing commission to quotaholder. This bug resulted in unsynchronized
IP pools between Cyclades and Ganeti, and needed external
reconciliation to synchronize them....

02a66377 04/22/2013 10:12 am Christos Stavrakakis

Merge branch 'feature-plankton-fixes' into develop

e77b7a99 04/22/2013 10:10 am Sofia Papagiannaki

pithos backend: update get_domain_objects method

Rename and change it to backend method
(add the backend_method decorator)

cda71050 04/22/2013 10:10 am Christos Stavrakakis

plankton: Cleanup and improve code

Major refactor in plankton APP and ImageBackend code:
  • Remove unused code
  • Remove 'plankton_method' decorator that added an ImageBackend to
    requests an replace it with 'image_backend' context manager. This
    context manager is responsible for opening and closing connections...
14c94c48 04/22/2013 10:10 am Christos Stavrakakis

Improve performance in listing images

Use '_get_domain_objects' function of Pithos backend, to list all
objects in a 'plankton' domain, instead of looping over all accessible
accounts, containers and objects. This function also returns metadata
and permissions for each object in order to avoid two extra calls for...

07f5a62c 04/22/2013 10:10 am Christos Stavrakakis

List all images in snf-manage image-list

Until now 'snf-manage image-list' management command printed only images
that were public, or accessible by a specific user. This commit changes
this command to print all images (regardless of the owner).

59573532 04/22/2013 10:10 am Christos Stavrakakis

plankton: raise BadRequest for invalid location

Modify 'add_image' plankton API method, to check that location parameter
is a valid Pithos url, and raise BadRequest if not.

22b5ac0b 04/22/2013 10:10 am Christos Stavrakakis

plankton: Correct image unregister

Correct usage of 'update_object_meta' function to remove all metadata
from plankton domain. Use an empty dictionary with replace=True.

Refs #3522

62d3ea53 04/22/2013 10:10 am Christos Stavrakakis

plankton: add logging to backend functions

a1a4cbfb 04/22/2013 10:10 am Christos Stavrakakis

Bypass authentication in image-show command

Make image-show management command to show information about an image
without passing a userid. Use 'image_list' command of ImageBackend
instead of 'get_image' because the second one will raise Forbidden for
non-public images....