Statistics
| Branch: | Tag: | Revision:

root @ 657040ad

# Date Author Comment
657040ad 11/22/2013 03:46 pm Dimitris Aragiorgis

Get the latest ganeti packages from wheezy repo

Signed-off-by: Dimitris Aragiorgis <>

Conflicts:
ci/schemas/one_node_wheezy/wheezy.conf
snf-deploy/conf/wheezy.conf

a36d4561 11/22/2013 03:06 pm Christos Stavrakakis

Bump version to 0.14.10rc2

b2272468 11/22/2013 02:38 pm Christos Stavrakakis

cyclades: Add name to Ganeti NICs

Add 'name' attribute to newly created NICs. Currently, the name of the
NICs will not be used to refer to NICs, as it will be in Synnefo 0.15.
Names are added only to ease the migration to version 0.15. Also, this
commit updates snf-dispatcher to preserve the name of the NIC, if any,...

61072783 11/20/2013 02:38 pm Christos Stavrakakis

Update NEWS file

0ab857d0 11/20/2013 02:35 pm Constantinos Venetsanopoulos

docs: Add upgrade notes for v0.14.10

c22db8ce 11/20/2013 12:12 pm Ilias Tsitsimpis

cyclades: Catch exception in verify_personality

The verify_personality function assumes that the contents of a
personality is encoded in base64 and tries to decode them. But if the
client didn't encode them a TypeError `Incorrect padding' will be
raised. Catch this exception and raise a BadRequest.

0a9b5fff 11/19/2013 01:00 pm Christos Stavrakakis

deploy: Install vncauthproxy before cyclades

Install snf-vncauthproxy beforing installing Cyclades, because Cyclades
depends on vncauthproxy.

ffc4b474 11/18/2013 07:24 pm Christos Stavrakakis

eventd: Fix using attribute from wrong module

'CLUSTER_CONF_FILE' attribute belongs to 'ganeti.pathutils' and not
'ganeti.constants'.

3bac1e87 11/18/2013 06:52 pm Christos Stavrakakis

gtools: Add ganeti to python path

Modify snf-ganeti-eventd to explicitly add '/usr/share/ganeti' to it's
path. This is needed because since Ganeti 2.7, Ganeti debian package
ships the majority of the python code as a private module under
'/usr/share/ganeti'.

aee560b0 11/18/2013 02:57 pm Christos Stavrakakis

cyclades: Do not retry all Ganeti failed creations

Make snf-dispatcher retry only the OP_INSTANCE_CREATE jobs that failed
due to opportunistic locking. Such jobs include the 'ECODE_TEMP_NORES'
error code in the opcode result. This commit makes snf-ganeti-eventd...

7b4a61dc 11/18/2013 12:46 pm Christos Stavrakakis

gtools: Fix Ganeti allocation parameters

When retrying a failed job, remove 'pnode' and 'snode' fields if they
were implicitly set by Ganeti iallocator. Ganeti will fail if both
iallocator and node are specified in the job.

dafaa59c 11/13/2013 02:51 pm Stratos Psomadakis

Update upgrade notes for 0.14.8

Mention the Django database engine change needed by Django 1.4 / Wheezy
and the python-django-south-0.7.3 dependency from the Squeeze backports
repository, when upgrading on Squeeze.

5a5ace7c 11/13/2013 09:16 am Christos Stavrakakis

cyclades: Check for all finalized states

ce64ac8b 11/11/2013 03:58 pm Christos Stavrakakis

Update Changelog

69cdf66c 11/11/2013 03:39 pm Nanakos Chrysostomos

plankton: Fix check about object permissions

Update check after getting an objects permissions to fail only if an
image gets permissions from a None path and the object has permissions.
Also, instead of just logging a warning, raise an exception.

727fb2f9 11/11/2013 03:29 pm Christos Stavrakakis

cyclades: Retry failed instance creation

Handle special case where an OP_INSTANCE_CREATE job which uses the
opportunistic locking feature fails. This failure is probably due to the
fact that all nodes may be already locked. In this case, make
snf-dispatcher retry the failed job with opportunistic locking turned...

afea072d 11/11/2013 03:29 pm Christos Stavrakakis

deploy: Install snf-ganeti 2.8 from unstable

c1c9c36b 11/11/2013 03:29 pm Christos Stavrakakis

snf-deploy: Enable file disk template

dee2e82c 11/11/2013 03:29 pm Christos Stavrakakis

cyclades: Fix compatibility issues with networks

From version 2.7, Ganeti returns the network's UUID field in nics
'networks' attribute. Instead use 'networks.names' attribute to get
the network name.

66932293 11/11/2013 03:29 pm Christos Stavrakakis

cyclades: fix typo in snf-dispatcher

0dd40027 11/11/2013 03:29 pm Christos Stavrakakis

cyclades: Fix case where 'dfree' is None

If Ganeti has not enabled 'plain' or 'drbd' disk template, then it
reports 'dfree' as None. Fix this corner case by treating None as 0.

2796f26a 11/11/2013 03:29 pm Christos Stavrakakis

cyclades: Small fixes to network reconciliation

  • Pass missing argument to function
  • Fix corner case where there are no externally reserved IPs.
4b052f94 11/11/2013 03:29 pm Dimitris Aragiorgis

cyclades: New style format for modifying a NIC

Signed-off-by: Dimitris Aragiorgis <>

9c7c6a57 11/11/2013 03:29 pm Dimitris Aragiorgis

cyclades: Remove hotplug from InstanceCreate

Signed-off-by: Dimitris Aragiorgis <>

d9b5b020 11/11/2013 03:29 pm Dimitris Aragiorgis

cyclades: Pass network type info as network tag

Signed-off-by: Dimitris Aragiorgis <>

3f68fa52 11/11/2013 03:28 pm Dimitris Aragiorgis

cyclades: Remove deprecated network type in ganeti

Signed-off-by: Dimitris Aragiorgis <>

b36d45e6 11/11/2013 03:28 pm Christos Stavrakakis

cyclades: Use opportunistic locking

Use opportunistic locking, introduced in Ganeti 2.7, to allow parallel creation
of VMs in the Ganeti backend. When this option is set, Ganeti iallocator
will allocate the VM only to nodes that not locked (e.g. by other VM...

2b4becab 11/11/2013 03:28 pm Christos Stavrakakis

gtools: Fix compatibility issues with ganeti-2.7

  • SimpleConfigReader has been removed. Use SimpleStore
  • QUEUE_DIR has been moven from ganeti.constants to ganeti.pathutils
  • _QueuedJob.Restore takes 2 more arguments
  • cyclades: Group info is returned as list instead of string
cc94ff04 11/11/2013 03:26 pm Christos Stavrakakis

Bump version to 0.14.10rc1

94ea30c8 11/11/2013 03:26 pm Christos Stavrakakis

cyclades: Fix bug in network reconciliation

Skip reconciliation for a network that does not exist in the DB, if
reconciliation is running without the '--fix' option.

30d1660a 11/11/2013 12:14 pm Christos Stavrakakis

Bump version to 0.14.9

da664f0f 11/11/2013 12:14 pm Christos Stavrakakis

Add release dates for version 0.14.9

033321fb 11/11/2013 11:45 am Christos Stavrakakis

Prepare release for version 0.14.9

Update Changelog, NEWS and docs.

d59f5608 11/11/2013 11:42 am Sofia Papagiannaki

astakos: Fix logging issues

d242d727 11/11/2013 11:42 am Christos Stavrakakis

Bump version to 0.14.9rc1

29e8764b 11/08/2013 05:25 pm Christos Stavrakakis

Add release dates for version 0.14.8

dff1618d 11/08/2013 05:22 pm Christos Stavrakakis

Merge branch 'hotfix-0.14.8'

Conflicts:
version

eb58cf5a 11/08/2013 12:16 pm Christos Stavrakakis

docs: Mention change of logging location

Explicitly mention the change of logging location from
'/var/log/synnefo.log' to '/var/log/gunnicorn/synnefo.log' in the
upgrade notes to version 0.14.8.

4ba7f662 11/07/2013 05:36 pm Constantinos Venetsanopoulos

Bump version to 0.14.8rc3

c5ea4d5f 11/07/2013 05:15 pm Constantinos Venetsanopoulos

snf-webproject: add example Gunicorn conf file

d3840a05 11/07/2013 05:09 pm Constantinos Venetsanopoulos

docs: document the example Gunicorn conf file

Update the Admin Guide for two nodes to reflect that since v0.14.8
Synnefo ships an example configuration file for Gunicorn automatically
installed at '/etc/gunicorn.d/synnefo.example'.

Also, update the upgrade guide and changelog accordingly.

c4b9ea4c 11/07/2013 03:42 pm Christos Stavrakakis

cyclades: Retrieve image names only if needed

Retrieve images from plankton only if the user asked for the image name.
Otherwise just display the image ID. This will significantly speed up
the execution time of 'server-list' management command.

cfc5f411 11/06/2013 07:10 pm Christos Stavrakakis

Fix Django dependency version in Changelog

Synnefo 0.14.8 can still work with Django 1.2. The dependency will change
to Django >=1.2, <1.5 in Synnefo 0.15.

833880fd 11/05/2013 06:11 pm Christos Stavrakakis

Update Changelog and NEWS for version 0.14.8

a1dac230 11/04/2013 05:30 pm Christos Stavrakakis

Bump version to 0.14.8rc2

01f5f8d9 11/04/2013 03:20 pm Christos Stavrakakis

cyclades: Workaround for race condition in Ganeti

Workaround for race where OP_INSTANCE_REMOVE starts executing on Ganeti
before OP_INSTANCE_CREATE. If this is the case, OP_INSTANCE_REMOVE will
not wait for locks, instead it will fail because the instance has not...

5c6d914f 10/30/2013 06:15 pm Kostas Papadimitriou

webproject: Do not require django.contrib.admin by default

177f40cc 10/30/2013 06:15 pm Kostas Papadimitriou

common: Handle non existent entry point dependencies

21cd1b24 10/29/2013 12:32 pm Christos Stavrakakis

Bump version to 0.14.8

cc518a8a 10/29/2013 12:21 pm Christos Stavrakakis

Merge branch 'hotfix-0.14.8'

1d346984 10/29/2013 11:42 am Stavros Sachtouris

Update cyclades-api docs for links in output

Regular listing of servers, networks etc. usualy contain a "links"
field. Reflect that in api docs

fb4ef6eb 10/16/2013 09:21 pm Kostas Papadimitriou

astakos: Activation view improvements

Reject empty activation code requests

3d5906fe 10/16/2013 06:21 pm Giorgos Korfiatis

Resolve some undefined names

Add missing imports; remove call to sqlite3_changes; set key and val
in render_meta.

4ed19ae2 10/15/2013 03:34 pm Giorgos Korfiatis

astakos: Add missing save in reject_user

3848b521 10/15/2013 03:34 pm Giorgos Korfiatis

astakos: Handle quota for accepted users

A user is accepted if moderated=True and is_rejected=False. Only
accepted users have entries in the quotaholder.

4e551789 10/15/2013 02:10 pm Stavros Sachtouris

Fix documentaiton for personality injection mode

Personality injection documentation was misleading, allowing strings as
personality modes, when a personality mode could only be a number.

63c07fdd 10/07/2013 04:00 pm Kostas Papadimitriou

astakos: Separate templates in project creation

instead of including application form summary template in the application form
view, render it from scratch. This resolves a bug caused when using django>1.2
since block tags within the included templates are not supported.

ed355f9a 10/07/2013 03:26 pm Kostas Papadimitriou

astakos: Store arbitrary shibboleth headers

additionally to common shibboleth headers, append any arbitrary shibboleth
headers (SHIB_*) set from the IdP.

64cfc21e 10/07/2013 02:58 pm Kostas Papadimitriou

astakos: Correctly set user password in user-add

password field contains the user password in hashed format. The proper way
to populate the field is by using the set_password method of the user object.

53c6b592 10/04/2013 06:17 pm Christos Stavrakakis

cyclades: Fix broken test

Mock getting image from plankton.

3c15b1a6 10/04/2013 06:07 pm Christos Stavrakakis

Update Changelog

43d5633e 10/04/2013 05:29 pm Christos Stavrakakis

cyclades: Fix broken tests from commit #8936368

Commit #8936368 used the "size" attribute of images. This commit
fixes mocked images of tests to contain this attribute.

89363686 10/04/2013 05:21 pm Christos Stavrakakis

Pass hashmap instead of location to snf-image

Update Cyclades, to pass as 'img_id' the hashmap('checksum') of the
image, instead of the location URL. In that way, snf-image does not any
access to the Pithos database.

1b27f8a2 10/04/2013 01:55 pm Giorgos Korfiatis

astakos: Handle quota for moderated users only

At some points, verified users where mistakenly assumed.

440cc444 10/03/2013 05:55 pm Ilias Tsitsimpis

snf-deploy: Change email backend file location

Change Django's filebased email backend location
from '/var/log/gunicorn/synnefo-mail/' to
'/var/tmp/synnefo-mail/'. We do this due to permission
errors.

e30c60eb 10/03/2013 04:31 pm Stratos Psomadakis

docs: Fix reconcile-servers typo in admin guide

da65f431 10/03/2013 12:09 pm Ilias Tsitsimpis

snf-ci: Add --no-colors options

By default use a colorful output.

13ed7875 10/03/2013 12:09 pm Ilias Tsitsimpis

snf-ci: Check uniqueness of build_ids

If the user tries to overwrite a build_id that is
already in use, exit with an error message.

d6f6d0f4 10/03/2013 12:09 pm Ilias Tsitsimpis

ci: Use ci_wheezy.conf as the default ci config

b90a6575 10/03/2013 12:07 pm Ilias Tsitsimpis

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

6eadf53a 10/03/2013 12:07 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.

55faeced 10/02/2013 04:15 pm Giorgos Korfiatis

docs: Improve development environment setup

Do not let `setup.py develop' automatically resolve dependencies,
because it fails to pick the right version when multiple versions
are available. Non-synnefo dependencies are expected to have been
previously installed by `snf-deploy'....

114b028e 10/02/2013 04:15 pm Marios Kogias

Improve dev-guide

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

a307c2e5 10/02/2013 02:18 pm Ilias Tsitsimpis

deploy: Exit with message and not with code

86de48b4 10/02/2013 02:16 pm Ilias Tsitsimpis

snf-deploy: Exit when fab command fails

The previous approach (using the return value from
os.system for sys.exit) was false. For more information, see
`how-to-bypass-the-0-255-range-limit-for-sys-exit-in-python'
on stackoverflow.

f58f96a5 09/30/2013 05:22 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.

e11296b4 09/30/2013 04:05 pm Ilias Tsitsimpis

snf-deploy: Remove misplaced `raise'

7aa13555 09/30/2013 03:43 pm Ilias Tsitsimpis

snf-deploy Use symbolic debian_base_url

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

2ede0463 09/30/2013 03:43 pm Ilias Tsitsimpis

snf-deploy: Abort has been changed to True

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

d82d3e82 09/30/2013 01:32 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...

9772cb94 09/30/2013 01:31 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.

Conflicts:
snf-deploy/fabfile.py

8299ef23 09/27/2013 04:50 pm Christos Stavrakakis

Revert "wheezy: Rename depricated HttpRequest attribute"

This reverts commit cfc4b87c301504627e6a75ab2e4d32c8cd7a6e15. This
commit is reverted because it breaks compatibility with Django 1.2. This
should be applied for Synnefo 0.15.

4a021fd1 09/27/2013 04:50 pm Christos Stavrakakis

Revert "wheezy: fix is_safe attribute of template filters"

This reverts commit 730fb3b0a0607bba95b90db1c6154cb7febb9187. This
commit is reverted because it breaks compatibility with Django 1.2. This
should be applied for Synnefo 0.15.

27724645 09/27/2013 04:50 pm Christos Stavrakakis

Revert "wheezy: Remove setup_environ"

This reverts commit a813a25117f3db14d5517f630d6d0e163a58b0f8. This
commit is reverted because it breaks compatibility with Django 1.2. This
should be applied for Synnefo 0.15.

68d7a31d 09/27/2013 04:34 pm Christos Stavrakakis

reconciliation: Strip Ganeti IP addresses

Strip spaces from Ganeti IP addresses, since they are not automatically
ignored in newer versions of ipaddr.

cfc4b87c 09/27/2013 03:22 pm Christos Stavrakakis

wheezy: Rename depricated HttpRequest attribute

From django docs:
"""
HttpRequest.raw_post_data renamed to HttpRequest.body

This attribute was confusingly named HttpRequest.raw_post_data, but it
actually provided the body of the HTTP request. It’s been renamed to...

730fb3b0 09/27/2013 03:22 pm Christos Stavrakakis

wheezy: fix is_safe attribute of template filters

In Django 1.4 'is_safe' and 'needs_autoescape' attributes has been made
keyword arguments of @register.filter

a813a251 09/27/2013 03:22 pm Christos Stavrakakis

wheezy: Remove setup_environ

From Django docs:
"""
This function temporarily modified sys.path in order to make the parent
“project” directory importable under the old flat startproject layout.
This function is now deprecated, as its path workarounds are no longer...

0eb1f53a 09/27/2013 02:13 pm Ilias Tsitsimpis

Fix a python syntax error

In python 2 we cannot have keyword-only arguments (PEP 3102).
And even if we could, this was not the right way to
declare a python function.

a1d0f147 09/27/2013 10:49 am Christos Stavrakakis

cyclades: Remove commit_manually decorator

Replace commit_manually decorator with commit_on_success. Since network
is no longer created in DB in the API request, the manually decorator is
no longer needed.

554ef175 09/27/2013 10:49 am Christos Stavrakakis

astakos: Replace commit_manually decorator

Replace commit_manually decorator with commit_on_success, since the
functions that were using this decorator did not really needed it.

60b59fed 09/26/2013 02:47 pm Ilias Tsitsimpis

astakos: Fix `save() got unexpected argument'

From Django documentation:
"""
It’s also important that you pass through the arguments that can be
passed to the model method – that’s what the *args, **kwargs bit does.
Django will, from time to time, extend the capabilities of built-in...

b2b32926 09/26/2013 01:04 pm Ilias Tsitsimpis

astakos: Don't use `user.__dict__'

In Django 1.4 the `request.user' returns a SimpleLazyObject instead
of a LazyUser. The equivalent of `user.__dict__' is now
`user._wrapped.__dict__'. In order to be backward compatible
we are requesting explicitely the attributes we want and not...

2a2c6c0a 09/25/2013 03:56 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.

215f94f4 09/25/2013 03:56 pm Ilias Tsitsimpis

deploy: Pep8 fixes

feec1494 09/25/2013 03:43 pm Christos Stavrakakis

ci: Frist try to use SynnefoCIWheezy image

b249aba9 09/25/2013 03:43 pm Christos Stavrakakis

ci: Fix addition of Ganeti RAPI user

'openssl' 1.0.1e-2 prefixes the output with "(stdin)= ". Because of this
registration of a new Ganeti RAPI user failed. This commit fixes this by
removing the prefix, before adding it to Ganeti RAPI users file.

59ab0466 09/25/2013 03:26 pm Nikos Skalkotos

docs: Remove snf-image.rst

Make all snf-image references link directly to the official
snf-image documentation

660086d9 09/25/2013 01:32 pm Nikos Skalkotos

docs: Remove obsolete installation instructions

Remove the instructions about the need to run snf-image-update-helper
after the installation of snf-image. This command is ran in the post
installation phase of the debian package.

5beef175 09/25/2013 01:20 pm Nikos Skalkotos

docs: Update the links to snf-image's documetation

The snf-image documentation is hosted under:
http://www.synnefo.org/docs/snf-image/