Statistics
| Branch: | Tag: | Revision:

root @ 8975f6f6

# Date Author Comment
8975f6f6 08/05/2013 03:59 pm Christos Stavrakakis

astakosclient: PEP8 fixes

This commit makes astakosclient PEP8 compliant.

d758784b 08/05/2013 02:39 pm Christos Stavrakakis

Fix stale import statements

Commit 7cfc0ce moved code from webproject to snf_django. This commit
fixes some stale imports that skipped renaming.

9582e68e 08/05/2013 01:29 pm Christos Stavrakakis

cyclades: Remove assumptions from tests

Remove some hard-coded IDs from tests.

d5a480c6 08/05/2013 12:52 pm Christos Stavrakakis

common: Make tests use postgresql

Modify default settings for tests to use postgresql by default.

7cfc0cef 08/05/2013 12:45 pm Christos Stavrakakis

snf-django: Move ListCommand to snf-django

snf-webproject contained the generic ListCommand, and because of this it
had a dependency from snf-django-lib. This commit moves this command from
snf-webproject to snf-django-lib and removes this dependency. Also,...

6953e222 08/05/2013 08:31 am Christos Stavrakakis

ci: Add --noinput option to tests

Modify tests script to pass the --noinput option to snf-manage test
command, so that Django will promt user for any input.

bbf20a4c 08/02/2013 08:02 pm Sofia Papagiannaki

astakos: Catch unexpected request body in user_catalogs

The request expects a json formatted dictionary.
Raise 400 (BadRequest) otherwise.

adce84cd 08/02/2013 08:02 pm Sofia Papagiannaki

pithos: Fix TypeError when trying to retrieve invalid object version

b52c7bb0 08/02/2013 02:23 pm Christos Stavrakakis

ci: s/mail/email in git config

f041c796 08/02/2013 01:36 pm Christos Stavrakakis

ci: Create version files before building docs

Run 'devflow-update-version' to create all the version files, before
trying to build the docs.

80d5abc7 08/02/2013 01:24 pm Christos Stavrakakis

Merge branch 'feature-ci-deploy3' into develop

88e6558b 08/02/2013 01:23 pm Christos Stavrakakis

ci: Add option to build and fetch documentation

e2dc37b2 08/02/2013 09:56 am Christos Stavrakakis

ci: Specify directory to fetch packages to

b69b55ca 08/02/2013 09:55 am Christos Stavrakakis

ci: Parse branch from repository

Guess the branch to build, based on the current branch of the
repository. Also track all remote branches when cloning Synnefo, because
it is needed by devflow.

3b26ae00 08/02/2013 09:54 am Christos Stavrakakis

ci: Remove 'deploy_on_io' option

Remove the 'deploy_on_io' option. Instead check if you will need to
compute manually the ssh port by the domain of the cyclades url.

e53bbf1c 08/02/2013 09:54 am Christos Stavrakakis

ci: Helper script to run ci commands

Make 'snf-ci' python script to run CI commands.

1c75c4dd 08/02/2013 09:54 am Christos Stavrakakis

ci: Make some options optional

Make 'ssh_keys' and 'accept_ssh_from' optional, since there are not
mandatory for ci to work.

6ca8f81a 08/02/2013 09:54 am Christos Stavrakakis

ci: Add option to override configuration file

Add 'config_file' argument to SynnefoCI in order to use a different
configuration file. Also, added the corresponding option to 'snf-ci'
scirpt.

464e58e9 08/02/2013 09:54 am Christos Stavrakakis

ci: Merge 'fetch_packages.py' to snf-ci script

Add '--fetch-packages' option to snf-ci script, in order to download the
created debian packages.

ec8bc030 08/02/2013 09:54 am Christos Stavrakakis

ci: Add option to override schema

be674416 08/02/2013 09:53 am Christos Stavrakakis

Update South dependency to >=0.7.3

6bed578c 08/02/2013 09:53 am Christos Stavrakakis

ci: Install south from squeeze-backports

e908a902 08/02/2013 09:53 am Christos Stavrakakis

ci: Fixes to ci code

  • override config file from env variable
  • pep8 fixes
  • do not display vm password
  • fail if cloning repo fails
  • do not use eval
e480f0ce 08/02/2013 09:53 am Christos Stavrakakis

ci: Copy ssh keys

Add option for copying ssh keys to the created vm.

c1b1d444 08/02/2013 09:53 am Christos Stavrakakis

ci: Get credentials by kamakirc

Get credentials for deployment from .kamakirc instead of config file.
Also, add option in config file indicating which cloud for kamaki to
use. Finally, add option in SynnefoCI to override the cloud from config.

Refs #4193

43a22402 08/02/2013 09:53 am Christos Stavrakakis

ci: Option to override image and flavor

Add option to use a custom image_id and flavor_id instead of getting
them from config file.

00064fb8 07/31/2013 06:32 pm Sofia Papagiannaki

pithos: Add test for restoring object's version

752a2ddd 07/31/2013 06:32 pm Sofia Papagiannaki

pithos: Catch malformed X-Object-Source

Raise 400 (Bad Request) if the server fails to parse it.

e4c7cbeb 07/31/2013 06:32 pm Sofia Papagiannaki

pithos: Add test for updating an object from version

d598a6da 07/29/2013 12:36 pm Christos Stavrakakis

Merge branch 'hotfix-0.14.4' into develop

Conflicts:
Changelog
version

38be3b6e 07/29/2013 12:27 pm Christos Stavrakakis

Relase dates for version 0.14.4

98c4ce38 07/26/2013 05:18 pm Ilias Tsitsimpis

ci: Include commands between $()

861b437e 07/26/2013 04:56 pm Ilias Tsitsimpis

ci: Fix some typos in utils.py

c29ac11d 07/26/2013 03:55 pm Ilias Tsitsimpis

ci: Redesign CI scripts

Spawn VM to use as builder-slave.
Build packages inside this VM.
Deploy Synnefo using snf-deploy.
Run unit tests.
Run functional tests using burnin.

98ae2c12 07/26/2013 01:37 pm Constantinos Venetsanopoulos

Docs: Add `design' section in index.rst

Also create the corresponding directory docs/design/. All
new design docs should be placed under this directory, with
a corresponding reference in the index page.

6c77ed37 07/26/2013 09:59 am Christos Stavrakakis

cyclades: Create network in all backends

Add option in snf-manage network-create command to create network in all
backends.

5ecaeaa6 07/25/2013 06:04 pm Sofia Papagiannaki

pithos: Fix pithos test views

ff7accbe 07/25/2013 05:15 pm Sofia Papagiannaki

pithos: Fix reconcile resources command

  • Provision quantity sent should not be of type Decimal
    (not JSON serializable)
  • Fix check for user existance in the database
0989632e 07/25/2013 04:42 pm Christos Stavrakakis

cyclades: More verbose models representation

Make unicode method of VirtualMachine, Network and FloatingIP models more
verbose.

9122ffab 07/25/2013 04:42 pm Christos Stavrakakis

cyclades: Add 'name' to all commissions.

Make all quotaholder commissions to have a name. Since, Cyclades does
not store the association of a commission with a resource, we include
the resource in the commission name.

4a405ab5 07/25/2013 04:03 pm Christos Stavrakakis

Bump version to 0.14.4

e47ee841 07/25/2013 02:59 pm Stratos Psomadakis

snf-stats-app: Change setup.py dep for rrdtool

671db71c 07/25/2013 01:31 pm Christos Stavrakakis

cyclades: Add network to multiple backends

Update snf-manage network-create command to take a list of comma
seperated backend IDs to create the network to.

d4e4e501 07/25/2013 12:46 pm Christos Stavrakakis

Merge branch 'hotfix-0.14.3' into develop

Conflicts:
Changelog
snf-astakos-app/astakos/im/messages.py
snf-pithos-app/pithos/api/manage_accounts/__init__.py
snf-pithos-app/pithos/api/management/commands/reconcile-resources-pithos.py
snf-pithos-app/pithos/api/settings.py...

1441b0da 07/25/2013 12:29 pm Christos Stavrakakis

Merge branch 'hotfix-0.14.3'

cda13b21 07/25/2013 12:25 pm Christos Stavrakakis

Release dates for version 0.14.3

cbf1a3f3 07/24/2013 09:15 pm Christos Stavrakakis

cyclades: Add check for link during network create

Add a check when creating IP_LESS_ROUTED networks, that the connectivity
link is not already used by another network.

b47f167a 07/24/2013 09:15 pm Christos Stavrakakis

cyclades: Fixes in network management commands

Merge code from logic/networks.py and network management commands.

12e539f0 07/24/2013 09:15 pm Christos Stavrakakis

cyclades: Exclude FIP pools from IP allocation

Do not include the floating IP pools, to the available public networks
when allocating an IPv4 address, when 'SNF:ANY_PUBLIC' option is used.

b2791a77 07/24/2013 09:15 pm Christos Stavrakakis

cyclades: Set firewall profile per NIC

Set firewall profile per NIC, because since Floating IPs an instance can
have more than one NICs in a public network. Extend the API call to take
the NIC index as argument, and modify the Ganeti instance tags to be
formated with the NIC index.

70a0afab 07/24/2013 09:15 pm Christos Stavrakakis

cyclades-rapi: Add bulk option to GetJobs

63f9eb8e 07/24/2013 09:15 pm Christos Stavrakakis

cyclades: Reconciliation for pending vm tasks

Extend reconciliation mechanism, to detect instances with stale pending
tasks, by looking if the corresponding job, 'vm.task_job_id', is still
running in the Ganeti backend.

Also refactor code that performed reconciliation for buildign vms, to...

e8d31c74 07/24/2013 09:15 pm Christos Stavrakakis

cyclades: Remove wrong model attribute

449c2d82 07/24/2013 09:15 pm Christos Stavrakakis

cyclades: Fix bug in network-modify command

Fix bug caused by wrong identation level. Modification of network in
Ganeti should be performed only if 'add_reserved_ips' or
'remove_reserved_ips' options are used.

5e5b2476 07/24/2013 09:15 pm Christos Stavrakakis

cyclades: Convert network to floating IP pool

Add '--floating-ip-pool' option to network-modify management command, in
order to convert a network to a floating IP pool. Conversation of a
network to a floating IP pool requires the creation of the network to...

8198fe61 07/24/2013 03:53 pm Sofia Papagiannaki

pithos: Pass full path of the next parameter in view redirect

9e3a38bb 07/23/2013 03:33 pm Sofia Papagiannaki

pithos: Do not report size change in move object operation

Refs: #4154

4203a2a1 07/23/2013 01:49 pm Stratos Psomadakis

Update Changelog

8ae38ff8 07/23/2013 01:42 pm Stratos Psomadakis

Replace regexp in cleanse middleware

Replace the regexp in mail_admins_safe() with manual parsing of the message.

3046f62c 07/23/2013 01:37 pm Sofia Papagiannaki

Revert "pithos: manage_accounts support for both sqlalchemy and sqlite"

This reverts commit 8414859f4895e4c67ff0bb13a8d7078c1851596a.

This commit with the current backend implementation
has broken the command for sqlalchemy module.

96090728 07/22/2013 06:40 pm Sofia Papagiannaki

pithos: Fix line continuation format

2ff02341 07/22/2013 06:19 pm Sofia Papagiannaki

pithos: Fix reconcile-resource-pithos command

  • Improved performance (reduce interaction with the database)
  • Fix command when `userid` option is provided

Conflicts:
snf-pithos-app/pithos/api/management/commands/reconcile-resources-pithos.py
snf-pithos-backend/pithos/backends/lib/sqlite/node.py

410d2877 07/22/2013 05:58 pm Christos Stavrakakis

cyclades: Add migration file for IPv6 networks

10e02f56 07/22/2013 05:43 pm Christos Stavrakakis

Update Changelog

Signed-off-by: Christos Stavrakakis <>

7afa5bde 07/22/2013 04:53 pm Christos Stavrakakis

webproject: Fix typo

1fb0fdda 07/22/2013 04:53 pm Christos Stavrakakis

cyclades: Display task and task_job_id

Make 'server-show' and 'server-inspect' management command to display
the 'task' and 'task_job_id' fields of the vm.

12cb6933 07/22/2013 04:53 pm Christos Stavrakakis

cyclades: Minor improvements in manage commands

6e9255ab 07/22/2013 04:53 pm Christos Stavrakakis

cyclades: Fix import of renamed settings

44fe1ff5 07/22/2013 03:51 pm Giorgos Korfiatis

common: Parameterize DB test settings

Consult environment variables in order to connect to the database.

5febd1fa 07/22/2013 01:46 pm Giorgos Korfiatis

astakos: Update cyclades services in helper script

d509e6da 07/22/2013 12:28 pm Stratos Psomadakis

Add greenlet tracing code in snf-common

Add greenlet tracing code in snf-common, useful for debugging stuck
gevent gunicorn workers.

If the environmental variable SYNNEFO_TRACE is set to a non-empty
string, the tracing code will install a SIGTRAP signal handler for the...

c8078df2 07/19/2013 01:43 pm Kostas Papadimitriou

cyclades ui: Enable RDP clipboard sharing by default

in default RDP connection profile served by synnefo

a421e0b9 07/19/2013 01:28 pm Sofia Papagiannaki

pithos: Update view_method decorator

  • If no token found in the cookie redirect to astakos login
    with next parameter pointing to the request path
  • Extend the list of the valid response statuses
  • If no expected response status is received, pass to the raised...
2a194295 07/19/2013 11:13 am Sofia Papagiannaki

pithos: Fix tests

95b36144 07/18/2013 08:03 pm Sofia Papagiannaki

pithos: Write tests for the weblogin view

48c5b124 07/18/2013 07:58 pm Sofia Papagiannaki

pithos: Update view_method decorator

  • If no token found in the cookie redirect to astakos login
    with next parameter pointing to the request path
  • Extend the list of the valid response statuses
  • If no expected response status is received, pass to the raised...
b130ec7c 07/18/2013 06:17 pm Kostas Papadimitriou

snf-branding: Expose contact email through branding mechanism

although CONTACT_EMAIL is not a branding setting, we use the branding mechanism
to expose it to brandable templates for practical reasons.

This also fixes the missing contact email from all project related emails.

8ff1e8d9 07/18/2013 05:57 pm Giorgos Korfiatis

astakos: Use api_method_not_allowed in quota API

cfe52787 07/18/2013 03:03 pm Giorgos Korfiatis

astakos: Resume a deactivated project upon approval

When approving a modification, automatically set the project to active,
if it has been deactivated.

fbafd482 07/17/2013 07:06 pm Sofia Papagiannaki

pithos: Revert pep8 changes from sqlalchemy ClauseElements

pep8 complains for comparison with boolean in sqlalchemy.sql.expression.ClauseElement
with "E712 comparison to True should be 'if cond is True:' or 'if cond:'"
but sqlalchemy does not understand it otherwise.

d412073c 07/17/2013 02:57 pm Christos Stavrakakis

Merge branch 'feature-ipv6-networks' into develop

48f5b1bc 07/17/2013 02:57 pm Christos Stavrakakis

cyclades: No commission for public networks

Do not issue commission for public networks, since they do not have an
owner.

0129231a 07/17/2013 02:57 pm Christos Stavrakakis

cyclades: Fix exception message

8f2aa316 07/17/2013 02:57 pm Christos Stavrakakis

cyclades: Consider IPv6 only networks in allocator

Backend allocator excludes backends that do not have a free IPv4
address. Since, from now on, not all instances are connected to a public
network, this check is only needed when 'SNF:ANY_PUBIC' network is used.

b88c1549 07/17/2013 02:57 pm Christos Stavrakakis

cyclades: Implement NetworkReconciler class

Refactory network reconciliation. Implement NetworkReconciler class to
hold all reconciliation functions.

89b2b908 07/17/2013 02:57 pm Christos Stavrakakis

cyclades: Move NetworkReconciler to reconciliation

Move NetworkReconciler class from network-create command to
reconciliation module.

be4d8469 07/17/2013 02:57 pm Christos Stavrakakis

cyclades: Add tests for network reconciliation

8d325d4b 07/17/2013 02:57 pm Christos Stavrakakis

cyclades: Simple code refactoring

5aeb4e93 07/17/2013 02:57 pm Christos Stavrakakis

cyclades: Support IPv6 only networks

Make Cyclades support IPv6 only networks. Such networks will have
the 'subnet' attribute set to None, in the same way that IPv4 only
networks have the 'subnet6' attribute set to None.

Because currently Ganeti does not support IPv6 only networks, we create the...

5962d9a6 07/17/2013 02:57 pm Christos Stavrakakis

cyclades: Add tests for IPv6 only networks

Add tests to check creation and usage of IPv6 only networks. Tests also
cover creation of other type of networks.

c75ab92e 07/17/2013 02:57 pm Christos Stavrakakis

cyclades: Refactor code relative to networks

Move code checks from network-create management command to
logic/networks.py.

Also create common decorator for management commands to convert api
faults to command errors.

0208770b 07/17/2013 02:57 pm Christos Stavrakakis

cyclades: Refactor logic tests

Create tests module to hold all tests for logic.

2d31dfd7 07/17/2013 01:02 pm Giorgos Korfiatis

astakos: Fix quota API test

Sort list before comparing, since ordering in the response data is
not specified. Triggered when run with postgres.

bc4f25c0 07/17/2013 11:41 am Sofia Papagiannaki

pithos: Update/extend tests

72e191e5 07/17/2013 11:41 am Sofia Papagiannaki

pithos: Fix migrations

Some data migrations require to import pithos app settings.
These migrations used to fail in nodes where snf-pithos-app
is not installed.
Disable these migrations if they fail to import the necessary settings.

1f96b68d 07/17/2013 11:41 am Sofia Papagiannaki

pithos backend: Introduce debug_method decorator

Substitute debug statements with a backend method decorator
which registers the method execution arguments, the return values
and the exceptions occured.

29148653 07/17/2013 11:41 am Sofia Papagiannaki

pithos: pep8 fixes

944d2ee0 07/16/2013 05:45 pm Dionysis Grigoropoulos

Cyclades: Fix typo in conf file

3805be31 07/16/2013 05:07 pm Giorgos Korfiatis

astakos: Fix arg passing in messages

57ccbdbf 07/15/2013 04:01 pm Filippos Giannakos

pithos: Add missing blocksize attribute to blocker.

Blocksize was undefined for the blocker that combines files and rados objecsts.
Define it, according to the block parameters.