Statistics
| Branch: | Tag: | Revision:

root @ 5cf968ab

# Date Author Comment
5cf968ab 09/28/2013 10:23 pm Marios Kogias

Add neutron router api and test

Missing create new router. This is simply a vm creation

2e0916f2 09/28/2013 04:25 pm Marios Kogias

Start router api

0033fbd4 09/28/2013 04:25 pm Marios Kogias

Remove migration file

83a99fbb 09/28/2013 04:22 pm Marios Kogias

Fixes after first review

0dae1b9f 09/27/2013 05:26 pm Dionysis Grigoropoulos

cyclades: Neutron API add subnet tests, bug fixes

882b662f 09/24/2013 05:55 pm Dionysis Grigoropoulos

cyclades: Neutron API add more subnet tests

f575df98 09/24/2013 01:27 pm Marios Kogias

Fix conflicts

d6e16760 09/24/2013 01:24 pm Marios Kogias

Add more network tests. PEP8 corrections

f261896d 09/23/2013 05:59 pm Dionysis Grigoropoulos

cyclades: Neutron API improvements

Add more subnet tests and fix some bugs in subnets_view.py

b0cda6f9 09/23/2013 05:40 pm Marios Kogias

Add ModelFactory and tests

a9b05ce4 09/23/2013 02:16 pm Dionysis Grigoropoulos

cyclades: Neutron API changes

Add forgoten stuff about Neutron API
Fix a typo in subnet_views.py

6de57f9c 09/23/2013 01:53 pm Dionysis Grigoropoulos

cyclades: Neutron API changes

Add missing App in django and update some subnet tests

7eae8fce 09/23/2013 12:41 pm Dionysis Grigoropoulos

cyclades: Neutron api, poc subnet implementation

d6b24130 09/23/2013 12:10 pm Marios Kogias

Start neutron api

Add views for network, subnet, port. Fix urls. Create first version
of /networks. Start testing networks

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

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

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.