Statistics
| Branch: | Tag: | Revision:

root / snf-common @ 09572034

# Date Author Comment
e31e4274 01/28/2013 03:43 pm Sofia Papagiannaki

Change error handling in uuid to displayname pithos path migration.

Stop migraton if it fails to retrieve a uuid/displayname.

aff28f5f 01/25/2013 07:58 pm Georgios D. Tsoukalas

uenc: utility function for encoding unicode to str

1. Motivation.

Too often a programmer outputs an object that can either be str or
unicode. The default python encoding of 'ascii' cannot handle all of
unicode text, but this will not crash until such a text is encountered....

aaf73e65 01/25/2013 12:46 pm Georgios D. Tsoukalas

strbigdec: smart big decimal number-to-string

7d95385b 01/24/2013 12:00 pm Giorgos Korfiatis

Cleanup transaction context

86b446dd 01/23/2013 10:06 pm Kostas Papadimitriou

Cleanse middleware fix

patch only once

1c65202f 01/23/2013 07:00 pm Giorgos Korfiatis

Remove a debugging print

d55d4f34 01/23/2013 06:56 pm Giorgos Korfiatis

Custom transaction context

A context which can be used as a decorator;
it commits the transaction if no exception was raised and
the rollback flag was not checked.
Executes customizable code after committing.

890c2065 01/23/2013 06:51 pm Sofia Papagiannaki

Change feedback & user_catalogs astakos && pithos api calls

  • Substitute ``username`` with ``displayname``
115fc1d6 01/18/2013 03:58 pm Georgios D. Tsoukalas

Merge 'develop' into feature-projects

Needed for building devflow packages from feature-projects.

473e2b08 01/17/2013 04:37 pm Christos Stavrakakis

Remove devflow form build dependency

5d3daee1 01/16/2013 01:01 pm Christos Stavrakakis

Remove devtools and rename to devflow

7f7863bb 01/15/2013 09:04 pm Kostas Papadimitriou

Cloudbar flickering fix

prepend body placeholder (using border-top) to avoid flickering caused
due to late rendering of the cloudbar element

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

c9b113ac 01/14/2013 06:54 pm Vangelis Koukis

WIP commit for the devtools build system

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

52468c16 01/09/2013 03:16 pm Christos Stavrakakis

Merge branch 'devel-0.13' into develop

Conflicts:
snf-cyclades-app/synnefo/api/servers.py
snf-cyclades-app/synnefo/logic/backend.py

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

8c165b27 12/14/2012 03:08 pm Sofia Papagiannaki

Merge branch 'devel-0.13' into latest-quota

Conflicts:
snf-cyclades-app/synnefo/api/servers.py
snf-cyclades-app/synnefo/logic/backend.py

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

add_quota API call

6d20b7f3 12/11/2012 02:17 pm Vangelis Koukis

Migrate default settings to files under conf/

Migrate default settings to files under conf/ for every
Synnefo component.

TODO: Obliterate snf-cyclades-app/synnefo/appt_settings/default/*
and similar files. Make import of synnefo settings common throughout...

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

8b1a5217 11/09/2012 06:18 pm Christos Stavrakakis

Update Changelogs

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:...