Statistics
| Branch: | Tag: | Revision:

root @ e336910f

# Date Author Comment
07e2a93d 05/15/2013 06:49 pm Giorgos Korfiatis

astakos: Remove obsolete code

Remove project_tests.py, empty package im.endpoints and fixtures

251b83be 05/15/2013 06:49 pm Giorgos Korfiatis

astakos: Remove membership policy settings

Available join and leave policies are internally defined and should
not be changed by settings. Move policy descriptions to presentation.py.

Do not convert to string the lookup key in templatetags/filters.py

9e812adf 05/15/2013 06:49 pm Giorgos Korfiatis

astakos: Remove obsolete keyword argument ctx

e336910f 05/15/2013 06:49 pm Giorgos Korfiatis

astakos: Improve quota syncing

- Split code that lists and syncs quotas
- Merge the latter with qh_sync_users
- Move qh_sync_projects in quotas.py; sync only active members
- Add missing select for update in project suspend
- Clean up quotas.py
fed0b230 05/15/2013 06:38 pm Christos Stavrakakis

Replace 'synnefo.lib.http' with 'objpool.http'

d2c9adac 05/15/2013 06:36 pm Christos Stavrakakis

Use custom method for joining urls

Implement 'join_urls' method for joining a base URL with a path,
without worrying about redundant or missing "/". Do not use
'urlparse.urljoin', since it has different semantics.

e4ce2d35 05/15/2013 06:35 pm Christos Stavrakakis

cyclades: fix db migration

Migration 0066 should not run on a fresh installation.

14381fd0 05/15/2013 06:20 pm Sofia Papagiannaki

astakos: keep top level api urls for this version

33c84784 05/15/2013 06:20 pm Sofia Papagiannaki

snf-django-lib: provide proxy functionality

aa153e99 05/15/2013 06:20 pm Sofia Papagiannaki

pithos: use common proxy functionality for astakos services

Remove pithos.api.delegate module
Keep top level api urls for this version

02de6286 05/15/2013 06:18 pm Sofia Papagiannaki

pithos: change resource usage retrieval

Replace ``astakosclient.get_info()`` with ``astakosclient.get_quotas()``

6609821f 05/15/2013 06:13 pm Sofia Papagiannaki

astakos: change authenticate api call

``/astakos/api/authenticate`` call
does not include any more resource usage in the reply.
(``usage`` request parameter has become obsolete)
The services in order to get the resource usage should call
``/astakos/api/quotas`` instead.

982f9532 05/15/2013 05:05 pm Christos Stavrakakis

ci: Install astakosclient before snf-django-lib

3dbd9457 05/15/2013 05:05 pm Christos Stavrakakis

cyclades: Make cyclades work with pycrypto==2.6

In PyCrypto 2.6, it is mandatory to use an IV of 16 bytes when using AES
encryption. This commit updates 'aes_encrypt' module to use a random IV.
Also, a data migration is required to re-encrypt the old passwords, as...

762b93d7 05/15/2013 04:43 pm Christos Stavrakakis

pep8 fixes

075b91de 05/14/2013 06:53 pm Giorgos Korfiatis

astakos: Rename astakos-quota command to quota

Also replace `quotas' with `quota' in strings and command line options.

f9259573 05/14/2013 05:51 pm Giorgos Korfiatis

ci: Add quotaholder_app to tests

c80722ce 05/14/2013 05:46 pm Giorgos Korfiatis

astakos: Tests for quota API calls

1e361a6d 05/14/2013 05:14 pm Giorgos Korfiatis

astakos: Return empty dict when no user quotas found

0148b2cb 05/14/2013 05:06 pm Giorgos Korfiatis

snf_django: Use wraps in transaction decorator

This is to preserve name of called function.

73c02f75 05/14/2013 05:04 pm Giorgos Korfiatis

astakos: Return resource object upon creation

0b48a1b4 05/14/2013 05:01 pm Giorgos Korfiatis

astakos: Indent json output of resource export

c6c889f7 05/14/2013 02:09 pm Christos Stavrakakis

cyclades: Various fixes to tests

dbb6a975 05/14/2013 02:09 pm Christos Stavrakakis

ci: Add 'quotas' app to tests

85646ad7 05/14/2013 01:47 pm Christos Stavrakakis

common: Remove obsolete 'queue' module

02f6219f 05/14/2013 01:25 pm Christos Stavrakakis

Merge branch 'feature-no-hooks' into develop

065ac0f4 05/14/2013 01:25 pm Christos Stavrakakis

gtools: remove obsolete hooks

Remove obsolete hooks from Cyclades Ganeti tools. Hooks were only used
to send the notify Cyclades about the NICs of instances, which is now
performed by eventd.

449787d3 05/14/2013 01:25 pm Christos Stavrakakis

eventd: pep8 fixes

fd95834e 05/14/2013 01:25 pm Christos Stavrakakis

dispatcher: Handle NICs in callbacks.

Update 'update_db' callback to handle instance NICs together with
instance status.

Also update the relevant tests.

6df16263 05/14/2013 01:25 pm Christos Stavrakakis

gtools: Handle case of eventd not in master

Handle the case the 'snf-ganeti-eventd' is not running in Ganeti master
node, but in a master candidate. In such a case, we can not get a Ganeti
client. Until Ganeti conf daemon is implemented, we manually load and...

da7a8775 05/14/2013 01:25 pm Christos Stavrakakis

gtools: remove hook from entry points

be4d8aed 05/14/2013 01:25 pm Christos Stavrakakis

cyclades: simplify comparison of NICs

95059648 05/14/2013 01:25 pm Christos Stavrakakis

Remove 'snf-events-net' queue and binding

Remove 'snf-events-net' queue (together with the corresponding routing
key and binding) from the queues that snf-dispatcher is consuming
messages. This queue is no longer needed, because messages for instance
NICs will be sended by snf-ganeti-eventd to 'snf-events-op' queue....

0e1f3323 05/14/2013 01:25 pm Christos Stavrakakis

gtools: Make eventd send instance NICs

Update eventd daemon to get the instance NICs by querying Ganeti and
send them to Cyclades.

acfc71ef 05/14/2013 01:25 pm Christos Stavrakakis

cyclades: Fix deadlock when connecting vms

Fix deadlock caused by 'get_or_create' method, since it acquires an
implicit shared lock. Take an exclusive lock on network to fix this
deadlock.

5b0832fc 05/14/2013 01:24 pm Christos Stavrakakis

cyclades: Fix stale 'DeletedError' exception

a5781130 05/14/2013 01:24 pm Christos Stavrakakis

cyclades: Fix typo in comment

27cda06b 05/14/2013 01:24 pm Christos Stavrakakis

cyclades: Fixes relevant to lazy networks

de1fed2b 05/14/2013 01:24 pm Christos Stavrakakis

cyclades: Simplify reconcile-networks checks

Refactor and simplify checks of reconcile-networks to take advantage
of lazy networks.

b471b597 05/14/2013 01:24 pm Christos Stavrakakis

cyclades: Fix bug in management command

Do not try to issue commission for networks without user (e.g. public
networks), when deleting them.

e1feace1 05/14/2013 11:19 am Giorgos Korfiatis

astakos: Fix call to util function send_feedback

3a8e56bc 05/14/2013 11:14 am Giorgos Korfiatis

quotaholder: Unify included data in overLimit errors

Replace `available' with `usage' and `limit' in NoQuantityError
to make it similar to NoCapacityError.

764d99c4 05/14/2013 10:41 am Giorgos Korfiatis

astakos: Remove command user-set-initial-quota

To change base quota for a specified user:
snf-manage user-modify user --set-base-quota resource limit

To import base quota in batch from a file:
snf-manage astakos-quota --import-base-quota filename

Rename `initial' to `base quota' in command output....

38aff106 05/13/2013 05:40 pm Sofia Papagiannaki

astakos: remove obsolete code

f85992bc 05/13/2013 05:40 pm Sofia Papagiannaki

astakos: update commands in README

89362181 05/13/2013 05:40 pm Sofia Papagiannaki

pithos: remove dependency from synnefo.lib.queue.Receipt

91eca048 05/13/2013 04:00 pm Giorgos Korfiatis

astakos: List quotas in user-show with `--quotas'

Refs #3530

Use the same utility function as astakos-quota. Update the latter
to a SynnefoCommand.

95f33116 05/13/2013 01:56 pm Giorgos Korfiatis

astakos: Use DateTimeField for enhanced precision

Refs #3717

Replace instances of DateField in ProjectMembership and
ProjectMembershipHistory.

5dcf6618 05/13/2013 01:44 pm Giorgos Korfiatis

Revert "astakos: Fix bug in getting membership"

This reverts commit 7ce770be9fd9668fff4088eff2421cbeb0cc311e.

Update astakos tests to use membership id.

87f9ff49 05/13/2013 01:37 pm Christos Stavrakakis

Merge branch 'feature-lazy-networks' into develop

1d04ef8b 05/13/2013 01:36 pm Christos Stavrakakis

cyclades: update tests for lazy networks

e34b35d9 05/13/2013 01:36 pm Christos Stavrakakis

cyclades: Update 'backend-add' for lazy networks

Do not create private networks when adding a new backend. Since,
"lazy networks" this is no longer needed.

99af08a4 05/13/2013 12:38 pm Christos Stavrakakis

cyclades: Implement lazy networks

Implement "lazy networks", which are not created to all Ganeti backends
upon creation, but only when an instance that resides in a Ganeti is
connected to that network.

Update 'create_network' to create the Network object in DB without...

47b8d4b1 05/13/2013 12:15 pm Christos Stavrakakis

Merge branch 'feature-quotas' into develop

Conflicts:
docs/dev-guide.rst

c34b2908 05/13/2013 12:06 pm Christos Stavrakakis

cyclades: add commissioning to create/remove cmds

Update create/remove management commands to issue commission when
needed.

2215cd87 05/13/2013 11:47 am Giorgos Korfiatis

astakos: Remove an obsolete function

2ed35e9a 05/13/2013 11:36 am Giorgos Korfiatis

Remove synnefo.lib.commissioning

47a8481f 05/10/2013 01:21 pm Sofia Papagiannaki

astakos: include resource presentation info in authenticate response

If option parameter ``usage`` is passed then the response should
contain also the resource presentation information
(as it used to be in the past)

6aedacaf 05/10/2013 12:46 pm Sofia Papagiannaki

Merge branch 'feature-astakos-urls' into feature-quotas

b095201e 05/10/2013 12:45 pm Sofia Papagiannaki

astakos: remove astakos.im.api module

Replace all AstakosCallpoint references

78c3a39c 05/10/2013 12:45 pm Sofia Papagiannaki

astakos: remove user argument from the api methods

User request.user field (set by user_for_token decorator)

79b5d61b 05/10/2013 12:45 pm Sofia Papagiannaki

astakos: WIP move all api calls under ``/astakos/api``

Refs: #3340

276f454e 05/10/2013 12:45 pm Sofia Papagiannaki

astakos: Change user_for_token decorator

user_for_token after successful user authentication
sets the request user attribute
The wrapped methods no more need the ``user`` argument:
they can get the token holder by the request object

7f313da1 05/10/2013 12:45 pm Sofia Papagiannaki

astakos: rename api utility methods

d7c850a0 05/10/2013 12:45 pm Sofia Papagiannaki

pithos: use AstakosClient to delegate user services to astakos

6f1d4d03 05/10/2013 12:45 pm Sofia Papagiannaki

astakos: fix user api utility calls

126f6a55 05/09/2013 06:45 pm Christos Stavrakakis

fix typo

95150b7d 05/09/2013 06:40 pm Christos Stavrakakis

astakos: Fix one test

Fix race condition in one of Astakos tests.

28c41829 05/09/2013 06:37 pm Christos Stavrakakis

Add 'ASTAKOS_POOLSIZE' setting.

d91de78c 05/09/2013 05:23 pm Christos Stavrakakis

helpdesk: Fix helpdesk tests

2a88057d 05/09/2013 04:15 pm Christos Stavrakakis

astakos: Various fixes to tests

Do not user 'assertItemsEqual' method of unittest is only supported in
python 2.7.

Also, some arguments have been renamed.

7ce770be 05/09/2013 04:14 pm Christos Stavrakakis

astakos: Fix bug in getting membership

Search based on 'person__id' and not 'id'.

91114c83 05/09/2013 04:04 pm Sofia Papagiannaki

Merge branch 'tmp-pithos-db-escape-warning' into develop

27899d6f 05/09/2013 03:13 pm Christos Stavrakakis

Improve mocked quotaholder

Mock 'resolve_commissions' call.

b5eef933 05/09/2013 03:12 pm Christos Stavrakakis

cyclades: Fix vmapi test

Use 'urljoin' to compute the 'config_url' parameter.

cfb0ff80 05/09/2013 02:54 pm Constantinos Venetsanopoulos

Merge branch 'feature-api-docs' into develop

Minor Conflict:
docs/cyclades-api-guide.rst

3458183d 05/09/2013 02:49 pm Constantinos Venetsanopoulos

cyclades-api-guide: minor fixes/remove whitespaces

5c34b421 05/08/2013 06:34 pm Giorgos Korfiatis

astakos: Remove deprecated Project methods

add_member, remove_member were not used.

4571b863 05/08/2013 06:27 pm Giorgos Korfiatis

webproject: Do not ljust values in vertical mode

Left-justifying resulted in long wrapped empty lines, when a value
exceeded the line size.

415c4a56 05/08/2013 06:24 pm Giorgos Korfiatis

astakos: Visually separate apps in project-show

34a857c0 05/08/2013 03:25 pm Kostas Papadimitriou

astakos: Handle prompt for additional login methods

8ee54f74 05/08/2013 03:24 pm Kostas Papadimitriou

astakos: Exclude non existing services form Service.catalog

Always return services that exist in database. If a known service exists
use the predefined presentation data as base dict upon which we build up
the returned info by merging the data stored in service model and the...

6856b4ff 05/08/2013 10:52 am Giorgos Korfiatis

cyclades ui: Remove deprecated setting

2931c601 05/02/2013 04:36 pm Kostas Papadimitriou

astakos: Proper string type check

using basestring also handles unicode objects

426e1fb9 05/02/2013 04:36 pm Kostas Papadimitriou

cyclades ui: Expose and use the new astakos quota api

- Removed /userdata/quota view in respect of astakos quotas api delegate
views served in the same urls used by astakos api (/astakos/api/quotas,
/astakos/api/resources). Base url is configurable using the...

7f3c4920 05/02/2013 03:49 pm Giorgos Korfiatis

astakos: Control project members by membership id

64d0c13e 05/02/2013 12:56 pm Giorgos Korfiatis

astakos: Add reason for all actions on applications

For cancel and dismiss, it is for now just a placeholder.

a6e18fd1 05/02/2013 12:14 pm Giorgos Korfiatis

astakos: Cleanup some project methods

6da04174 05/02/2013 11:54 am Giorgos Korfiatis

astakos: Make submit_application arguments explicit

16bcc6e8 05/01/2013 11:39 pm Giorgos Korfiatis

Remove synnefo.lib.quotaholder

Use astakosclient to access the quotaholder instead.

5a6420ec 05/01/2013 11:35 pm Giorgos Korfiatis

astakos: Remove unneeded import of a constant

c8a79b3a 05/01/2013 06:00 pm Giorgos Korfiatis

pithos, cyclades: Name reconciling commissions

Use commission name "RECONCILE" to distinguish such operations
in the quotaholder provision log.

30aca88f 05/01/2013 05:35 pm Sofia Papagiannaki

pithos: Change reconcile-resources-pithos command

in order to conform with the respective Cyclades
command

eee9ec4d 05/01/2013 05:28 pm Giorgos Korfiatis

astakos: Cleanup input of submit_application

Form passes only a tuple (name, limit) for each selected resource,
omitting presentational data.

3966d268 05/01/2013 04:43 pm Giorgos Korfiatis

astakos: Handle pair of exceptions properly

6be5bb34 05/01/2013 03:54 pm Giorgos Korfiatis

astakos: Remove unused project_error_view

7a65e284 05/01/2013 03:43 pm Sofia Papagiannaki

pithos: Remove unnecessary logging in public url unset

82e123f9 05/01/2013 03:33 pm Giorgos Korfiatis

pithos: Define and export resources in json format

Provide management command resource-export-pithos.

860c5d9c 05/01/2013 03:28 pm Sofia Papagiannaki

pithos: Remove obsolete settings from database migrations

Use astakosclient to retrieve user information

df9177e8 05/01/2013 02:35 pm Giorgos Korfiatis

pithos: Add name in reconciling commission