Statistics
| Branch: | Tag: | Revision:

root @ fea067c8

# Date Author Comment
24dc98e2 09/20/2013 09:50 am Dimitris Aragiorgis

deploy: Support both wheezy and squeeze packages

Signed-off-by: Dimitris Aragiorgis <>

fea067c8 09/20/2013 09:50 am Dimitris Aragiorgis

snf-deploy: some minor fixes and typos

Signed-off-by: Dimitris Aragiorgis <>

5fcd489e 09/20/2013 09:50 am Dimitris Aragiorgis

deploy: some fixes

kamaki register image
tmp wheezy sources for ganeti htools (not used any more)
import_service

Signed-off-by: Dimitris Aragiorgis <>

f1b4fdfc 09/20/2013 09:50 am Dimitris Aragiorgis

Add os per node

This is needed for heterogeneous setups.
Depending on os the corresponding sources file is added
and the proper synnefo packages are installed (~wheezy or ~squeeze)

Signed-off-by: Dimitris Aragiorgis <>

9f93a6fb 09/20/2013 09:50 am Dimitris Aragiorgis

deploy: Refactor nfs

Switch to nfs v3.
Explicitly use IP in /etc/exports and not subnet.

Subnet and gateway are only used by vlcuster and thus
move them from nodes.conf to vcluster.conf.

Signed-off-by: Dimitris Aragiorgis <>

65c656c1 09/20/2013 09:49 am Giorgos Korfiatis

deploy: Automate service registration

Use script snf-service-export to assist registering service definitions
in astakos. Remove call to resource-import; its usage is covered by
service-import.

e86eb5a4 09/20/2013 09:49 am Dimitris Aragiorgis

deploy: minor updates

Hard code latest kamaki version that does not break deploy.
snf-manage network-create --dhcp

Signed-off-by: Dimitris Aragiorgis <>

bb649089 09/19/2013 08:07 pm Christos Stavrakakis

cyclades: Add quotas for build server action

562bf712 09/19/2013 07:50 pm Christos Stavrakakis

cyclades: refactor server creation command

Split the server creation command in more steps in order to be
decorated with the 'server_command' function and follow the logic of all
other server commands. The main change is that the commission job is not
accepted when the VM is stored in DB, but when the OP_INSTANCE_CREATE...

4b36944e 09/19/2013 03:54 pm Ilias Tsitsimpis

snf-deploy: Remove ssh keys

Remove ssh keys from snf-deploy package.
We can now generate new keys running `snf-deploy keygen'.

985442f5 09/19/2013 03:54 pm Ilias Tsitsimpis

ci: Instruct snf-deploy to generate ssh keys

0699d24d 09/19/2013 03:54 pm Ilias Tsitsimpis

snf-deploy: Use filebased email_backend

Change the email backend from dummy to a filebased one.

9577ccd8 09/19/2013 03:50 pm Vangelis Koukis

Minor improvements to wording in the upgrade notes

08f9e369 09/19/2013 12:12 pm Marios Kogias

Merge branch 'feature-dev-guide' into develop

1fbdb3d7 09/19/2013 12:12 pm Marios Kogias

Improve dev-guide

Update the developer's guide to include an initial section about
how to set up a developing environment.

5775b7fb 09/19/2013 11:11 am Sofia Papagiannaki

pithos: Fix tests broken after merge

8e67ea28 09/18/2013 06:22 pm Christos Stavrakakis

cyclades: Apply old commits to moved files

Code from file 'api/servers.py' has been moved to 'logic/servers.py'.
During the merge of hotfix-0.14.6 the develop, this code was lost. This
commit applies commits #f2080d1, #ea9b0fb, #32a0b85 to the new file.

952f19b8 09/18/2013 06:04 pm Christos Stavrakakis

Merge branch 'master' into develop

Conflicts:
Changelog
version

6d563eb1 09/18/2013 05:53 pm Christos Stavrakakis

Bump version to 0.14.7

0d14df99 09/18/2013 05:53 pm Christos Stavrakakis

Update NEWS and Changelog

05485332 09/18/2013 05:35 pm Kostas Papadimitriou

helpdesk: Fix network interface queryset

ed2064f8 09/18/2013 05:17 pm Christos Stavrakakis

Merge branch 'hotfix-0.14.6' into develop

Conflicts:
Changelog
docs/admin-guide.rst
snf-cyclades-app/synnefo/api/management/commands/network-remove.py
snf-cyclades-app/synnefo/api/servers.py
snf-cyclades-app/synnefo/api/tests/servers.py
snf-cyclades-app/synnefo/logic/backend.py...

56df02e1 09/18/2013 04:48 pm Christos Stavrakakis

Merge branch 'hotfix-0.14.6'

96d90a6e 09/18/2013 04:31 pm Christos Stavrakakis

Bump version to 0.14.6

7a59cb8f 09/18/2013 04:31 pm Christos Stavrakakis

Update NEWS and Changelog

36e6c134 09/17/2013 04:29 pm Christos Stavrakakis

Bump version to 0.14.6rc3

232763df 09/17/2013 04:23 pm Kostas Papadimitriou

helpdesk: Exclude nics of deleted vms

when helpdesk users search using ip address

f2080d16 09/17/2013 02:33 pm Christos Stavrakakis

cyclades: Mock vm removal if creation fails

In case creating a VM fails before the OP_INSTANCE_CREATE job is
enqueued in Ganeti, the VM and its NICs must be deleted, and the
resources must be released from Quotaholder, which is exactly what is
done when a VM is deleted from Ganeti. Instead of duplicating the code,...

39974c71 09/17/2013 01:55 pm Ilias Tsitsimpis

snf-django-lib: AssertionError in proxy

When we use proxy, we have to check that path starts with
the given proxy_base, and raise an AssertionError otherwise.

The check was there but it was wrong (there was missing
a not) and also no exception was raised.

ea9b0fb9 09/17/2013 01:26 pm Christos Stavrakakis

cyclades: Fix bug during server creation

Commit #32a0b85, modified server creation, by refetching the object from
DB after issuing commission to quotaholder. However, the new object is
not having the 'config_url' attributed, which is added to the vm object...

1acbcc7e 09/17/2013 01:11 pm Sofia Papagiannaki

pithos: Fix pithos-manage-account command

  • Set DJANGO_SETINGS_MODULE
  • Disable by default failure reports
    during container quota updates
3c626269 09/17/2013 10:46 am Christos Stavrakakis

deploy: Fix importing services to astakos

Use snf-manage service-export and service-import management commands to
import services and corresponding resources to astakos. Also, remove old
temporary files that were used for this procedure.

b4135a1b 09/17/2013 10:46 am Christos Stavrakakis

cyclades: Make GanetiRapiClient work with gevent

GanetiRapiClient uses PyCurl, a Python interface to libcurl, and
performs blocking requests, so does not work well with gevent. This
commit makes GanetiRapiClient to use 'Requests' HTTP library that is
greenlet-safe.

d75ee447 09/17/2013 10:46 am Christos Stavrakakis

deploy: By default use only file disk template

By default snf-deploy will not enable lvm and drbd storage. So, the
default setting for flavors should include only 'file' disk template.

cf089d0d 09/16/2013 05:59 pm Christos Stavrakakis

Bump version to 0.14.6rc2

97a096f1 09/16/2013 05:51 pm Olga Brani

branding: update admin-guide docs

683d4324 09/16/2013 05:39 pm Sofia Papagiannaki

pithos: Add missing locks

_lookup_container() locks the container path
but it was not called from some write backend methods
that expect the container path to be locked.

In such cases optionally _lookup_object() calls
the _lookup_container() in order to lock the container path.

981d3b0d 09/16/2013 05:39 pm Sofia Papagiannaki

pithos: Fix partial content responses

Refs: #4063

4772cff2 09/16/2013 05:26 pm Kostas Papadimitriou

Merge branch 'feature-ui-footer-extra-message' into hotfix-0.14.6

281c7634 09/16/2013 05:17 pm Ilias Tsitsimpis

ci: Change run_burnin exit status

Make run_burnin snf-ci function to exit with the same
exit code as snf-burnin did.

bdb4641c 09/16/2013 02:53 pm Giorgos Korfiatis

cyclades: Fix unbound reference

Set backend to None if not specified.

b8e75c7a 09/16/2013 12:19 pm Kostas Papadimitriou

Fix resolve of branding footer extra message value

use getattr on django settings module

fdbd8e17 09/16/2013 11:54 am Kostas Papadimitriou

Disable extra footer content by default

34716139 09/16/2013 11:45 am Ilias Tsitsimpis

snf-burnin: Add a missing `return'

9ac7842b 09/16/2013 11:41 am Ilias Tsitsimpis

snf-burnin: `system-images-user' is not mandatory

`system-images-user' flag is not mandatory when one
uses the `show-stale' flag.

83aa2ea5 09/16/2013 11:00 am Ilias Tsitsimpis

snf-deploy: Fix pithos_url in register

New version of kamaki accepts the location of
images to register as container:file instead of the old
one "pithos://uuid/location".

980c2592 09/16/2013 11:00 am Ilias Tsitsimpis

snf-burnin: Change exit code to 1 for errors

When burnin test cases fail, return 1 as exit code.

9ab3c6a3 09/16/2013 10:18 am Olga Brani

branding: new setting FOOTER_EXTRA_MESSAGE

FOOTER_EXTRA_MESSAGE setting appears above Copyright message at the
Compute templates and the Dashboard UI. Accepts html tags.

eaae0a32 09/13/2013 10:28 pm Erethon

snf-deploy: fix a bug in --disable-colors option

25891abc 09/13/2013 04:37 pm Christos Stavrakakis

cyclades: Simplify code

Simplify code by removing unnecessary temp variable.

f68199bd 09/13/2013 04:27 pm Giorgos Korfiatis

docs: Design of resource-pool projects

7faef88f 09/12/2013 07:04 pm Constantinos Venetsanopoulos

docs: Make plankton index page obsolete

db3037f1 09/12/2013 06:29 pm Giorgos Korfiatis

cyclades: Do not release resources if already deleted

Ensure that a commission to release vm resources is issued only once.
If a vm is marked `deleted', then resources must have already been
released.

32a0b855 09/12/2013 06:29 pm Giorgos Korfiatis

cyclades: Do not save stale objects after a commit

Call to issue_and_accept_commission saves the resource object (eg a vm)
and commits the transaction. This has the side-effect that the resource
object becomes stale: its lock is released and another thread may acquire...

5718706f 09/12/2013 06:26 pm Giorgos Korfiatis

astakos: Add missing cyclades service in script

759b8a43 09/12/2013 06:26 pm Giorgos Korfiatis

pithos: Clear pithos_public endpoint's versionId

pithos_public service is not an API and should not be versioned; the
public URLs operated by pithos do not include a version segment, anyway.

Also make its type more specific, since type `public' is too generic.

347b2ba1 09/12/2013 06:26 pm Giorgos Korfiatis

common: Strip trailing slash from endpoints

Remove trailing slash from the endpoints' publicURL field in service
definitions. These values end up in the response of POST /tokens, and,
according to the keystone API, should not end in slash. A trailing slash...

76eb2bd2 09/12/2013 06:10 pm Ilias Tsitsimpis

Bump up version to 0.14.6rc1

6e490691 09/12/2013 05:39 pm Dionysis Grigoropoulos

ci: update ci/schemas/one_node/synnefo.conf

6c51153a 09/12/2013 05:01 pm Dionysis Grigoropoulos

snf-deploy: add flavor options in synnefo.conf

a06c276e 09/12/2013 02:34 pm Sofia Papagiannaki

pithos: Acquire locks in alphabetical path order in copy object

d47565d8 09/12/2013 01:09 pm Build Bot

Revert "pithos: Use pithos backend as context manager"

This reverts commit 23b41f6fefa1a066748810c4642e58e18a4b83f9.

b672055f 09/12/2013 12:02 pm Ilias Tsitsimpis

snf-pithos-backend: Change SQLAlchemy version

Change SQLAlchemy dependency version to match
with the one found in Debian wheezy.

23b41f6f 09/12/2013 11:06 am Sofia Papagiannaki

pithos: Use pithos backend as context manager

Substitue pre_exec() and post_exec()

48bb9c89 09/12/2013 10:22 am Sofia Papagiannaki

pithos: Add missing locks

_lookup_container() locks the container path
but it was not called by some write backend methods
which expected the container path to be locked.

In those cases optionally _lookup_object() calls
the _lookup_container() in order to lock the container path....

af395b9c 09/12/2013 10:15 am Sofia Papagiannaki

Revert "pithos: conditional select for update in lookup account"

This reverts commit 8a7ddfb0545348849d99fb686fec51659cbead58.

Select for update is not useful in case of account creation.
If there is no such account, 0 rows are returned
so there are no rows locked.

a8333def 09/11/2013 05:06 pm Christos Stavrakakis

cyclades: Add newline

fbc82ad1 09/10/2013 04:05 pm Constantinos Venetsanopoulos

astakos: fix verification message

The new registration process of Astakos allows to verify the new
user's email before actually activating the user:

1. User signs up providing an email
2. A verification email is sent to the user (with verification link)...

4111c53e 09/10/2013 03:29 pm Christos Stavrakakis

cyclades: fix typos

90858bda 09/10/2013 03:29 pm Christos Stavrakakis

cyclades: Update NICs even if job failed

Make snf-ganeti-eventd send the NICs of the instance not only on
success, but also if the job has failed or has been canceled. Also,
update snf-dispatcher to handle those messages. This step is required to
clear BUILDING NICs that fail.

c9fefba3 09/10/2013 03:29 pm Christos Stavrakakis

cyclades: Store action to the VM

1464a17b 09/10/2013 03:29 pm Christos Stavrakakis

cyclades: Fix bug in reconciliation

VMs at building error that do not exist in Ganeti must not be reported
as stale. The VM is stale only if the user has asked to destroy the VM,
and so the action is DESTROY.

c1b7f449 09/10/2013 03:29 pm Christos Stavrakakis

Update objpool dependency to version 0.3

051e47f8 09/10/2013 03:29 pm Christos Stavrakakis

cyclades: Make index field of NIC optional

Change 'index' field of NIC model to be optional, because the index of
building NICs is unknown. Also, change all API responses to return only
the active NICs.

2a2b01e5 09/10/2013 03:29 pm Christos Stavrakakis

cyclades: Create NIC before send job to Ganeti

Create NICs in building state before enqueuing corresponding jobs to
Ganeti. This has already been done when creating the instance, but not
when connecting it to other networks.

14267d89 09/10/2013 02:27 pm Constantinos Venetsanopoulos

docs: Add new figure: Synnefo overall stack

Update the index page to refer to the new figure.
Keep the detailed view figure only on the Admin Guide.

3a5994a8 09/09/2013 01:59 pm Sofia Papagiannaki

Pithos: Catch invalid hashmap input

Refs: #3745

76ef2478 09/09/2013 01:59 pm Sofia Papagiannaki

pithos: Remove obsolete backend method

905bb10b 09/07/2013 05:59 pm Christos Stavrakakis

ci: Include user images and config improvements

Include the user images in the list of images that are matched against
the image name from the config file. Also, change config file to use
archipelago flavors and create instances from the SynnefoCI image.

6958ffc6 09/07/2013 05:30 pm Christos Stavrakakis

ci: Verify values of image and flavor options

4e680fed 09/07/2013 05:30 pm Christos Stavrakakis

ci: Allow multiple commands in snf-ci script

Allow snf-ci script to accept a comma seperated list of commands to run.

2e208584 09/06/2013 06:52 pm Sofia Papagiannaki

pithos: Add missing import

e7e3df52 09/06/2013 06:20 pm Sofia Papagiannaki

pithos: Fix AttributeError in tests

f53483d8 09/06/2013 05:46 pm Sofia Papagiannaki

pithos: Add tests

198d91c3 09/06/2013 12:22 pm Christos Stavrakakis

cyclades: Fix bug in snf-dispatcher logic

This commit reverts commits #07602322 and #30514662 which introduced a
bug in dispatcher's logic. These commit fixed the issue that, in a case
the Cyclades DB is unsynced with Ganeti, a resource that does not exist...

ed13f73b 09/05/2013 06:54 pm Sofia Papagiannaki

docs: update Upgrade Notes & Changelog

7bc95d52 09/05/2013 01:11 pm Ilias Tsitsimpis

docs: Improve snf-burnin documenation

f6d499b0 09/04/2013 07:49 pm Sofia Papagiannaki

pithos: Set attr lock_container_path during backend initialization

3d08cdca 09/04/2013 07:48 pm Sofia Papagiannaki

astakos: Fix approval_terms view

Fix crash when request user is not logged in.
Add tests

de8fb87d 09/02/2013 03:40 pm Sofia Papagiannaki

pithos: Destroy test database after test execution
:
Pithos uses a pool for the backend objects.
Pooled backend objects override the default close behavior
and return the object to the pool instead.
Therefore, django was unable to destroy the database
since there were active connections....

beb2b785 08/30/2013 12:01 pm Christos Stavrakakis

Move middlewares from snf-common to snf-webproject

49044e69 08/30/2013 12:01 pm Christos Stavrakakis

Move context_processors from common to middleware

cf7820cd 08/30/2013 12:01 pm Christos Stavrakakis

common: Remove obsolete settings from docs

624ebbf8 08/30/2013 12:01 pm Christos Stavrakakis

webproject: Remove unused StripURLMiddleware

855647bd 08/30/2013 11:59 am Christos Stavrakakis

Bump version to 0.14.6

f5bbcb5d 08/29/2013 11:19 am Sofia Papagiannaki

pithos: Fix test

6947964f 08/28/2013 10:49 pm Christos Stavrakakis

deploy: Set LC_COLLATE to 'C'

Update postgresql default template ('template1'), to have LC_COLLATE='C'
and LC_CTYPE='C'. This is needed for test database that is created from
django, without the ability to set a different template.

e98239db 08/28/2013 04:36 pm Giorgos Korfiatis

astakos: Force a members limit in project applications

a23ac2f7 08/28/2013 03:22 pm Giorgos Korfiatis

astakos: Restrict project naming in API call

Use the same regex as in the UI, which matches domain-name-like strings.

bbae3e45 08/28/2013 01:55 pm Christos Stavrakakis

cyclades: Fix bug in handling of reboot type.

'type' attribute of reboot OS API call was directly mapped to the
'reboot_type' option of Ganeti reboot job. However these two are
semantically different. The 'SOFT' and 'HARD' reboot types of OS API are
mapped to 'shutdown_timeout' option of Ganeti jobs. However, setting...