Statistics
| Branch: | Tag: | Revision:

root / snf-common / synnefo @ 473e2b08

# Date Author Comment
473e2b08 01/17/2013 04:37 pm Christos Stavrakakis

Remove devflow form build dependency

db6865fc 01/15/2013 05:01 pm Georgios D. Tsoukalas

Merge branch 'latest-quota' into develop

bring quotas, projects, astakos logins, pithos/RADOS
into the new synnefo development workflow

0f0dd7df 01/14/2013 05:50 pm Giorgos Korfiatis

Additional parameters in the field constructor

0308f3a7 01/14/2013 05:36 pm Sofia Papagiannaki

Provide pithos call for getting account name from uuid

1de7fd6d 01/11/2013 04:35 pm Kostas Papadimitriou

Additional common helper methodt

96a212f7 01/11/2013 01:29 pm Georgios D. Tsoukalas

make str(CallError) force unicode to utf8

c11dc0ce 01/07/2013 05:20 pm Giorgos Korfiatis

Redefine IntDecimalField to allow support for south migration;
apply the new field to astakos.im.ProjectResourceGrant

08ce0e6f 01/07/2013 01:52 pm Giorgos Korfiatis

wip Use decimals to store quota values; infinite quotas no more supported

39462ae0 01/07/2013 01:52 pm Giorgos Korfiatis

Define custom integer field that is stored in the DB as decimal

7bffb0bd 01/07/2013 12:12 pm Kostas Papadimitriou

User usage enhancement in astakos client helpers

`get_user`, `user_for_token` and `authenticate` methods now accept a `usage`
parameter which requests user usage quotas to be returned along with
authenticated user information. Server side handling has also been...

050485bd 01/03/2013 06:18 pm Sofia Papagiannaki

Changes in common astakos library.

  • It should optionally work with user dictionary
    instead of contacting astakos.
  • Fix pep8 errors
cd5033bd 12/28/2012 02:41 pm Sofia Papagiannaki

Provide error feedback during pithos database path migration to container uuid instead of email

c700f742 12/27/2012 06:29 pm Sofia Papagiannaki

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

e6bba30c 12/21/2012 05:14 pm Giorgos Korfiatis

Register keyword args in CallError

f631150c 12/21/2012 05:14 pm Giorgos Korfiatis

Add details in exceptions raised in issue_commission

Exceptions regarding limit violations now carry details
as specified in CommissionValueException

83204389 12/19/2012 09:01 pm Kostas Papadimitriou

Update astakos client to use user.uuid

d2b32360 12/19/2012 02:21 pm Giorgos Korfiatis

New add_quota API to handle infinity

Separately handle subtractions and additions of quotas
Adapt get_diff_quota plus various bug fixes

2fd11a01 12/18/2012 03:31 pm Giorgos Korfiatis

Do not record arguments of add_quota.
Add call query_serials separate from ack_serials.

ef0fa70b 12/17/2012 06:32 pm Giorgos Korfiatis

Record arguments of add_quota and return them in ack_serial

789d202d 12/17/2012 04:40 pm Giorgos Korfiatis

Add a serial in the add_quota API call

6de5850a 12/14/2012 06:22 pm Christos Stavrakakis

Fix test settings

LOGGING has been renamed to LOGGING_SETUP

4ec8c043 12/13/2012 05:53 pm Giorgos Korfiatis

add_quota API call

eeba67ab 12/10/2012 07:34 pm Giorgos Korfiatis

Make side-effecting quotaholder API calls fail completely,
if part of the request is rejected.

If such a call returns a non-empty list, this means that
the entire call failed due to the actions mentioned in the list.

c05b0cbe 12/04/2012 03:22 pm Giorgos Korfiatis

Better version of the bug fix 39cefb25

39cefb25 12/04/2012 02:36 pm Georgios D. Tsoukalas

fix obscure bug in callpoint class that triggered db integrity errors

Callpoint class had a placeholder attribute original_calls
which was initialized as an empty dictionary,
and thus was usable. Class init() code did not initialize
original_calls as it should but because the placeholder was...

6b4e7a64 12/04/2012 02:02 pm Georgios D. Tsoukalas

remove obsolete import get_callpoint

65f214a2 12/03/2012 01:15 pm Georgios D. Tsoukalas

add list_holdings quotaholder api call

list_holdings() to be used to get all holdings for multiple resources
without having to call list_resources/get_holding for each entity/holding.

9cc620ab 12/03/2012 12:50 pm Giorgos Korfiatis

First unpack, then consider options, while checking canonicals

4c00b904 12/03/2012 12:02 pm Giorgos Korfiatis

Implement reset_holding API call

004e947d 11/30/2012 05:01 pm Giorgos Korfiatis

Avoid negative indexing, not supported by django lists

ccdb658a 11/30/2012 01:55 pm Giorgos Korfiatis

Disallow empty names in _random_choice

7be6bfa2 11/29/2012 03:32 pm Georgios D. Tsoukalas

fix auto-generation in get_doc()

6a88bbb9 11/29/2012 02:39 pm Georgios D. Tsoukalas

remove stub docstrings to allow their generation from canonicals

2f35d7a9 11/29/2012 02:38 pm Georgios D. Tsoukalas

auto-generate missing api call docstrings

4350ac98 11/29/2012 02:15 pm Georgios D. Tsoukalas

provide random Name

095c307f 11/29/2012 02:14 pm Georgios D. Tsoukalas

fixes in canonical randoms

3de20492 11/29/2012 01:30 pm Giorgos Korfiatis

Separate concerns of unpack and check in Args

00a67c28 11/28/2012 06:24 pm Giorgos Korfiatis

Move implementation details to argmap.py

c294cb93 11/28/2012 05:45 pm Georgios D. Tsoukalas

allow '-' in quotaholder entity names

807c1992 11/28/2012 05:15 pm Giorgos Korfiatis

Raise AssertionError when exhausted

d13a447b 11/28/2012 04:57 pm Giorgos Korfiatis

Add missing import

b9426097 11/28/2012 04:51 pm Giorgos Korfiatis

Remove parse and _parse from canonicals

ab132890 11/28/2012 04:50 pm Giorgos Korfiatis

Fixes in unpack

f3327431 11/28/2012 04:08 pm Giorgos Korfiatis

Show input canonical

f78e128d 11/28/2012 04:06 pm Georgios D. Tsoukalas

integrate Args and argmap, change argmap magic pos

e8051c20 11/28/2012 02:01 pm Georgios D. Tsoukalas

rename betteron to argmap, add manipulation methods

b40fb1e6 11/26/2012 02:59 pm Kostas Papadimitriou

Fix utf8 header

move it to the top of the file

a7cdc223 11/26/2012 12:01 pm Giorgos Korfiatis

Rename set_full_holding to init_holding

8dc7c13b 11/26/2012 11:05 am Giorgos Korfiatis

Implement release_holding

5b522bc3 11/26/2012 11:02 am Giorgos Korfiatis

API call to set the whole holding.

7b1891cc 11/26/2012 11:00 am Giorgos Korfiatis

Do not create entity in issue_commission.

6afede3f 11/26/2012 10:57 am Giorgos Korfiatis

Do not allow duplicate provisions in a commission.

3e5941c1 11/23/2012 04:24 pm Giorgos Korfiatis

Add copyright.

665f2326 11/23/2012 04:22 pm Giorgos Korfiatis

Delete unused files.

f54beeea 11/23/2012 03:36 pm Giorgos Korfiatis

Move commissioning into snf-common.

833abd3c 11/22/2012 06:00 pm Giorgos Korfiatis

Merge quotaholder into synnefo

a8858945 11/22/2012 01:24 pm Christos Stavrakakis

Make amqp_puka get logger as argument

20a0af52 11/09/2012 12:50 pm Kostas Papadimitriou

Merge branch 'cleanse-settings' into devel-0.12

fdfd8c6d 11/08/2012 01:21 pm Christos Stavrakakis

Fix dispatcher logging

3f16a6c7 10/29/2012 06:31 pm Kostas Papadimitriou

Proper exception representation

1e2cc762 10/29/2012 02:28 pm Kostas Papadimitriou

Merge remote-tracking branch 'origin/devel-0.12' into ui-0.11

d80813fb 10/25/2012 05:29 pm Stratos Psomadakis

Minor changes

f12085fa 10/24/2012 10:58 pm Stratos Psomadakis

Cleanse sensitive settings in debug output

In case of server errors prevent django from printing or emailing sensitive
settings.

ed275428 10/24/2012 01:27 pm Christos Stavrakakis

Merge branch 'master' into devel-0.12

Conflicts:
snf-cyclades-app/setup.py

6690e770 10/24/2012 12:47 pm Christos Stavrakakis

Do not import logging in common default settings

bdff90d3 10/24/2012 11:55 am Christos Stavrakakis

Move LOGGING_SETUP from common to webproject

eeffcbea 10/23/2012 04:28 pm Kostas Papadimitriou

Merge branch 'devel-0.12' into ui-0.11

147c3d12 10/19/2012 04:55 pm Christos Stavrakakis

Add support for dead-letter-exchange to amqp_puka

Also add support for custom headers when publishing messages.

257b694d 10/19/2012 04:52 pm Christos Stavrakakis

Implement basic_nack and basic_reject AMQP methods

Basic_nack method is not support by puka. We are implementing
basic_nack as basic_ack since they have the same effect when
multiple and requeue options are not used.

b1bb9251 10/18/2012 06:24 pm Christos Stavrakakis

Reconnect to different Broker if idle for too long

Modify snf-dispatcher and add a timeout option to basic_wait method. If
timeout is reached, the connection to the current RabbitMQ broker is
closed and dispatcher tries to connect to a different one.

This commit is supplementary of 6d27ead, which detects connection...

6d27eadd 10/18/2012 05:16 pm Christos Stavrakakis

Detect and handle connection problems in amqp_puka

Use the TCP keepalive feature in amqp_puka in order to detect connection
errors to the RabbitMQ broker, and retry to a different one. Also setup
the keepalive parameters to relative small values, to detect failures...

336cfa15 10/11/2012 06:58 pm Vangelis Koukis

Merge branch 'devel-0.11'

c24ca4e8 10/11/2012 06:17 pm Vangelis Koukis

Bail out if any settings file is unreadable

Log an error to stderr and die immediately if any settings file
under SYNNEFO_SETTINGS_DIR (/etc/synnefo by default) is unreadable.

Also remove use of braindead Python glob(), which ignores access failure
errors, and fails silenty....

af471421 10/11/2012 05:43 pm Christos Stavrakakis

Increase snf-manage logging level to warning

d01cd522 10/10/2012 03:19 pm Christos Stavrakakis

Various fixes about logging

Fix logging from snf-manage commands. Modify snf-manage implementation
in order to setup the loggers for all snf-manage commands. Configuration
is based on SNF_MANAGE_LOGGING_SETUP setting from snf-common or on
basicConfig if that setting is missing....

805e5b12 10/09/2012 05:48 pm Kostas Papadimitriou

Merge branch 'master' into ui-0.11

7b2ce6b4 10/09/2012 05:08 pm Vangelis Koukis

Merge branch 'devel-0.11'

9557ea30 10/09/2012 05:01 pm Vangelis Koukis

Fix duplicate return of HTTP connection into pool

Fix duplicate return of HTTP connection into pool on duplicate
invocation of conn.close().

Revert commit b9c834003, and make sure a connection object's _pool
attribute is re-initialized whenever it is retrieved from the pool....

b16db49b 10/09/2012 04:27 pm Kostas Papadimitriou

Merge branch 'devel-0.11' into ui-0.11

Conflicts:
snf-cyclades-app/synnefo/db/models.py
snf-cyclades-app/synnefo/logic/backend.py
snf-cyclades-app/synnefo/ui/static/snf/js/models.js

2ef10562 10/08/2012 02:30 pm Christos Stavrakakis

Change eventd and dispatcher AMQP retries

Set unlimited connection retries to AMQP hosts for snf-ganeti-eventd,
since death of snf-ganeti-eventd results in loss of events.
Also increase retries of snf-dispatcher.

b537ac01 10/08/2012 11:19 am Christos Stavrakakis

Fix bug in amqp_puka

Make AMQPConnectionError an exception

0e573e6b 10/05/2012 10:55 am Christos Stavrakakis

Restore Ganeti RAPI client to snf-common

Temporary commit in order to restore Ganeti RAPI client to snf-common
until snf-cyclades-app 0.11 is released.

3524241a 10/03/2012 12:22 pm Christos Stavrakakis

Pool Ganeti RAPI clients

- Move Ganeti RAPI client from snf-common to snf-cyclades-app/logic.
- Create GanetiRapiClientPool for pooling GanetiRapiClient objects
- Create context manager in db.models for pool handling
- Update code using the RAPI client

5f6ad491 09/27/2012 03:59 pm Christos Stavrakakis

Fix cleanup of DB pooled connections

Fix bug in cleanup of DB pooled connections before putting them back to
the pool. The way the connection was cleaned, resulted in mishandling of
the transactions.

Accoring to psycopg2 docs, in case of a READ COMMITED isolation level:...

d2f3853b 09/27/2012 03:59 pm Christos Stavrakakis

Fix broken logging

Rename LOGGING setup to LOGGING_SETUP, as this name is required by
the LoggingConfigMiddleware. Django's default LOGGING setting can
be used with Django>=1.3

Also change default handler to 'console' and add a more verbose format.

e66c7993 09/27/2012 03:59 pm Georgios D. Tsoukalas

don't take mutex for cleanup

a8935947 09/27/2012 03:59 pm Georgios D. Tsoukalas

Enhance pooling API, implementation, and tests

- Verify objects (new and old) with a hook _pool_verify.
Discard objects from the pool that fail verification.
A newly created object failing verification is fatal.

- Remove all hooks from the pool set access critical section....

fb02390b 09/27/2012 03:59 pm Georgios D. Tsoukalas

complete some functionality

d8fe0948 09/27/2012 03:59 pm Georgios D. Tsoukalas

port pooled psycopg2 to new pool api

c156d23a 09/27/2012 03:59 pm Georgios D. Tsoukalas

remove obsolete kwarg verify

b9c83400 09/27/2012 03:59 pm Christos Stavrakakis

Fix bug in http connection pool

Do not reset connetion _pool attribute, since it is not (yet?)
initialized when getting the object from the pool.

68453d22 09/27/2012 03:59 pm Christos Stavrakakis

Enhange logging in db and http pools

11976ee3 09/17/2012 07:24 pm Kostas Papadimitriou

Merge branch 'devel-0.11' into ui-0.11

Conflicts:
snf-common/synnefo/lib/astakos.py
snf-cyclades-app/synnefo/ui/static/snf/js/models.js

db2eb7c8 09/07/2012 05:36 pm Dimitris Aragiorgis

Remove add_reserved_ips from rapi client

In order to be compatible with grnet and upstream ganeti

Signed-off-by: Dimitris Aragiorgis <>

9ef880a4 09/07/2012 05:35 pm Dimitris Aragiorgis

Update rapi to reflect to the upstream ganeti

reserved_ips->add_reserved_ips
Remove Network*All()

Signed-off-by: Dimitris Aragiorgis <>

ab133e68 09/07/2012 01:25 pm Vangelis Koukis

Move pooling psycopg2 wrapper to synnefo.lib.db

Move pooling psycopg2 wrapper to synnefo.lib.db,
please see commit e83ed1fb8fb4d0d19c2d3f86152fde60b3cadfd9 for all the
details on how to use the pooling wrapper for psycopg2.

27cfa807 09/06/2012 05:19 pm Vangelis Koukis

Pool HTTP connections to the astakos service

Have the astakos client use pooled HTTP connections to the astakos
service, uses facilities from synnefo/lib/pool/http.py.

818bb9bf 09/04/2012 04:45 pm Georgios D. Tsoukalas

simple http_request objects over connection pools

ecdf098e 09/03/2012 01:27 pm Sofia Papagiannaki

Define UserEvent

2adcd773 08/31/2012 04:47 pm Kostas Papadimitriou

Do not send reserved_ips argument

In rapi CreateNetwork method