Statistics
| Branch: | Tag: | Revision:

root @ f15bf3d9

# Date Author Comment
1da50fe3 10/01/2013 11:37 am Christos Stavrakakis

cyclades: Refactor backend-update-status cmd

The command has been changed to no longer take any arguments or options.
Instead, this command always updates the resources and the enabled disk
templates of all online Ganeti backends.

f15bf3d9 10/01/2013 11:37 am Christos Stavrakakis

Allocate VMs based on enabled disk-templates

Remove the ARCHIPELAGO_BACKENDS setting. Instead allocate VMs based on
the disk-templates that are enabled and allowed in ipolicy for each
backend. The command 'snf-manage backend-update-status' can be used to...

c9976c84 10/01/2013 11:37 am Christos Stavrakakis

cyclades: Extend Backend model with disk_templates

Extend 'Backend' models with 'disk_template' attribute, that contains
the list of disk templates that are available in each backend.

54975d37 10/01/2013 11:31 am Christos Stavrakakis

cyclades: Add SeparatedValuesList field

Add custom field for storing a list of values in DB. The values
are stored as a TextField separated by a delimiter.

c7828946 09/30/2013 05:28 pm Ilias Tsitsimpis

snf-ci: Create new section, even with -n option

38dcf43f 09/30/2013 05:20 pm Ilias Tsitsimpis

snf-deploy: Return the correct exit code

snf-deploy uses os.system to execute it's fabfile. We have
to use sys.exit() for the python script to return with the
same exit code as the one returned by fabric script.

2cbdb63f 09/30/2013 05:12 pm Ilias Tsitsimpis

snf-ci: Fix a race condition

When creating a new build_id to be used by snf-ci,
we have to lock the ci_temp_conf file.

508d6d51 09/30/2013 04:04 pm Ilias Tsitsimpis

snf-deploy: Remove misplaced `raise'

0e6e73d3 09/30/2013 03:39 pm Ilias Tsitsimpis

snf-deploy: Abort has been changed to True

By default abort when a command is failed to be executed.

6be91b06 09/30/2013 03:39 pm Ilias Tsitsimpis

snf-deploy Use symbolic debian_base_url

For debian_base_url use a link that always resolves
to the latest image.

b64a6cb5 09/30/2013 01:35 pm Sofia Papagiannaki

snf_django: Decode the mocked userid to a unicode object

28991d59 09/30/2013 01:29 pm Ilias Tsitsimpis

snf-deploy: Add `generated' note to resolv.conf

Add a note on top of /etc/resolv.conf file to inform users
that this file has been changed by snf-deploy and the
immutable bit has been used.

02905e15 09/30/2013 01:29 pm Ilias Tsitsimpis

snf-deploy: Remove old keys before generating new

When creating new ssh keys if the key already exists,
ssh-keygen prompts the user if he want to overwrite it.
To avoid prompting the user, delete all the old keys,
before generating new ones (the user has...

f1800130 09/30/2013 12:15 pm Ilias Tsitsimpis

deploy: Pep8 fixes

Conflicts:
snf-deploy/fabfile.py

f4cb5d92 09/30/2013 12:14 pm Ilias Tsitsimpis

deploy: Modify dir for filebased email_backend

Allow user to modify the directory that will
be used for the filebased email backend by Django.

Also move the EMAIL_BACKEND option from astakos to
common.

abef6c80 09/27/2013 02:13 pm Dionysis Grigoropoulos

docs: Update quick install guide

e5e62972 09/27/2013 12:38 pm Giorgos Korfiatis

cyclades: Return the newest vm object upon creation

The server_command decorator commits the just created object and retrieves
it back from the database. Return the latter, because the former is stale
in memory.

8e908571 09/27/2013 11:07 am Mpampis Stylianopoulos

Merge branch 'feature-admin-guide-corrections' into develop

2c4a641b 09/24/2013 05:10 pm Ilias Tsitsimpis

ci: Fix a bug with config_file relative filepath

ccd1fef8 09/24/2013 04:44 pm Ilias Tsitsimpis

deploy: Don't use hardcoded version of postgresql

9e6eecbc 09/24/2013 04:44 pm Ilias Tsitsimpis

ci: Support wheezy installation

  • Add new schema (one_node_wheezy) and rename the old
    one to one_node_squeeze.
  • Add new ci config file (ci_wheezy.conf) and rename the
    old one to ci_squeeze.conf.
c2a749b4 09/24/2013 04:44 pm Ilias Tsitsimpis

deploy: For local command set capture flag to True

fabric: Changed in version 1.0: Changed the default value of capture
from True to False.

d915cf3c 09/24/2013 02:11 pm Giorgos Korfiatis

astakos: Remove duplicate project query

Enrolling a user in a project now returns 409 if the project does
not exist, rather than 404.

2a73a699 09/24/2013 12:27 pm Christos Stavrakakis

deploy: Do not import services twice

Commit 65c656c resulted in double importing services, since this
was already fixed in commmit 3c62626.

f5ff1d1e 09/23/2013 07:36 pm Sofia Papagiannaki

pithos: Change error handling in views

The view_method decorator used to check the response status:
in case of unexpected response used to return
Internal Server Error (500).
This commit changes this behavior and
the view_method decorator returns whatever the api_method decorator...

c977b0b6 09/23/2013 07:09 pm Sofia Papagiannaki

pithos: Update tests

8ddb541b 09/23/2013 05:33 pm Ilias Tsitsimpis

ci: Add xterm into published applications

Published applications are used by X2Go and makes it possible to
display a menu with a list of the available remote applications
for the user, which when started behaves like a locally installed
application.

7f59d209 09/23/2013 05:03 pm Christos Stavrakakis

snf-django: pep8 fixes

cf99ca80 09/23/2013 04:37 pm Ilias Tsitsimpis

ci: Add an x2goplugin command to snf-ci

With this command snf-ci produces an html file
which uses the x2goplugin to connect to the remote
machine.

f4b0dbd8 09/23/2013 03:57 pm Sofia Papagiannaki

pithos: Fix failing test

c9a2aff3 09/23/2013 01:39 pm Christos Stavrakakis

snf_django: Fix encoding in mocked userid

4764a77c 09/21/2013 06:59 pm Dimitris Aragiorgis

ci: add missing squeeze/wheezy conf files

Signed-off-by: Dimitris Aragiorgis <>

a8a4629b 09/20/2013 04:22 pm Ilias Tsitsimpis

ci: Strip \" from `py_files'

We want to pass `py_files' to pep8 command
as arguments and not as one single string.

a6020daf 09/20/2013 03:49 pm Giorgos Korfiatis

astakos: Remove 0.14-specific migration script

88fd91af 09/20/2013 03:46 pm Christos Stavrakakis

cyclades: Fix wrong quotas when creating server

Catch exception when talking to Ganeti inside 'server_command',
otherwise the pending commission will be rejected. Also, accept the
commission in case of build, because the VM will be created in DB.

82847d3f 09/20/2013 03:16 pm Ilias Tsitsimpis

ci: Check only .py files for pep8 errors

4f41f7b6 09/20/2013 02:25 pm Ilias Tsitsimpis

ci: Exit if there are no file to check with pep8

5c8076b6 09/20/2013 01:45 pm Christos Stavrakakis

cyclades: Helper function for commissioning

Create 'quotas.handle_resource_commission' function for handling
commissions for VMs and Networks.

9dcfad23 09/20/2013 01:45 pm Christos Stavrakakis

cyclades: Handle errors during vm creation

Commit #f2080d1 mocked an OP_INSTANCE_REMOVE when enqueuing an
OP_INSTANCE_CREATE job to Ganeti failed. However, this may result in
releasing IPs that may get reserved in Ganeti, because we can never
really know if the job has reached Ganeti or not (e.g. timeout). For...

874383a4 09/20/2013 01:45 pm Christos Stavrakakis

cyclades: Add missing commit_on_success decorator

e3df472a 09/20/2013 12:59 pm Ilias Tsitsimpis

ci: Change pep8 script

Instead of pep8 testing all files, the script
now accepts a list of files to be checked.

e496e54c 09/20/2013 12:09 pm Ilias Tsitsimpis

Remove obsolete autopkg_debian script

694c79bb 09/20/2013 11:56 am Ilias Tsitsimpis

ci: Fix a bug

Flavor ids are integers so we have to turn them
into strings before comparing them with our value.

eebf9563 09/20/2013 11:32 am Ilias Tsitsimpis

ci: Change deploy config files

Whenever we change deploy's config files, we also have to
change the snf-ci's schema files.

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

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