Statistics
| Branch: | Tag: | Revision:

root @ 9772cb94

# Date Author Comment
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/

cbf73c9d 09/25/2013 12:18 pm Ilias Tsitsimpis

deploy: Install rabbitmq from Debian repos

Now that squeeze-backports has 2.8.4-1~bpo60+1 and
wheezy has 2.8.4-1 version we can install rabbitmq-server
from the official Debian repos.

0e553052 09/25/2013 12:11 pm Giorgos Korfiatis

astakos: Fix project identification in test

Test was mistakenly using application id rather than project id in
some occasions.

bbefd4d7 09/25/2013 12:09 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.

8d2c08e4 09/25/2013 10:55 am Christos Stavrakakis

ci: Use -U when installing with pip

90e8267c 09/25/2013 10:26 am Christos Stavrakakis

Add messages context processor to default settings

eb99b367 09/25/2013 12:40 am Christos Stavrakakis

wheezy: Temporary disable reconciliation tests

Temporary disable reconciliation tests because they still run with
fixture data, that are not loaded correctly.

34bd6588 09/25/2013 12:39 am Christos Stavrakakis

wheezy: HttpResponse has no _is_string attribute

26f6ab93 09/24/2013 05:39 pm Christos Stavrakakis

ci: Fix database engine

6a14ac68 09/24/2013 05:18 pm Ilias Tsitsimpis

ci: Fix a bug with config_file relative filepath

06014b1c 09/24/2013 05:16 pm Christos Stavrakakis

wheezy: fix _patch_resolve to comply with Django

Class RegexURLPattern doesn't contain `_get_callback' method any more
and resolve the callback when we try to retrieve it.

a6b17d33 09/24/2013 05:16 pm Christos Stavrakakis

wheezy: urls module doesn't export defaults

1d956eea 09/24/2013 05:16 pm Ilias Tsitsimpis

wheezy: Djangos manage has completely changed

We have to review our code that used to manage synnefo
since Djangos management modules have changed.

For now, commenting out two lines seems to do the trick.

f82ed034 09/24/2013 05:16 pm Christos Stavrakakis

wheezy: Update Django dependency to <=1.4.5

49026a89 09/24/2013 05:16 pm Ilias Tsitsimpis

wheezy: Django database engine has been changed

0f66865f 09/24/2013 05:16 pm Ilias Tsitsimpis

wheezy: is_hop_by_hop has been removed from Django

Implement our own is_hop_by_hop function.

01d00723 09/24/2013 05:16 pm Ilias Tsitsimpis

wheezy: mail_admins method in Django has changed

An extra parameter (html_message) has been added.

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

170ac4b1 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.
bf0e2a03 09/24/2013 04:44 pm Ilias Tsitsimpis

deploy: Don't use hardcoded version of postgresql

4a23280d 09/24/2013 12:51 pm Christos Stavrakakis

ci: Do not run pithos tests by default

5814efde 09/24/2013 12:31 pm Christos Stavrakakis

deploy: Do not import services twice

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

fcfef550 09/24/2013 12:30 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.

2c6ac437 09/24/2013 12:30 pm Christos Stavrakakis

Fix missing import and broken test

e213881d 09/24/2013 12:27 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.

dcb8545f 09/24/2013 11:39 am Christos Stavrakakis

snf-django: Add missing import

5079dec2 09/24/2013 11:20 am Christos Stavrakakis

Various fixes to make tests work in hotfix branch

  • Remove PithosTestSuiteRunner because it is only implemented in
    develop branch
  • Do not run pithos tests by default
9b9d07f5 09/24/2013 11:20 am Christos Stavrakakis

Copy test settings from develop branch

dfc9d184 09/24/2013 11:17 am Christos Stavrakakis

Update South dependency to >=0.7.3

fcd9eee0 09/24/2013 11:03 am Christos Stavrakakis

Revert "deploy: Fix --dhcp option of network-create cmd"

This reverts commit 73607c335593146f3f4bf31960c9a7042598d510.

e083e94c 09/24/2013 10:55 am Dimitris Aragiorgis

deploy: Support both wheezy and squeeze packages

Signed-off-by: Dimitris Aragiorgis <>

0fd77bd5 09/24/2013 10:55 am Dimitris Aragiorgis

snf-deploy: some minor fixes and typos

Signed-off-by: Dimitris Aragiorgis <>

9b9d719c 09/24/2013 10:55 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.

0373e3cf 09/24/2013 10:55 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.

4b9ae9a2 09/24/2013 10:55 am Ilias Tsitsimpis

Remove obsolete autopkg_debian script

01b47803 09/24/2013 10:55 am Ilias Tsitsimpis

ci: Change pep8 script

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

3f868eeb 09/24/2013 10:55 am Ilias Tsitsimpis

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

b3a67b6e 09/24/2013 10:55 am Ilias Tsitsimpis

ci: Check only .py files for pep8 errors

dfaacac0 09/24/2013 10:55 am Ilias Tsitsimpis

ci: Strip \" from `py_files'

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

fd55102c 09/24/2013 10:55 am Dimitris Aragiorgis

ci: add missing squeeze/wheezy conf files

Signed-off-by: Dimitris Aragiorgis <>

3f9db536 09/24/2013 10:55 am Christos Stavrakakis

snf-django: pep8 fixes

248ae1d1 09/24/2013 10:55 am Erethon

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

24aebd56 09/24/2013 10:55 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".

4d6ccd2d 09/24/2013 10:55 am Ilias Tsitsimpis

snf-burnin: Change exit code to 1 for errors

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

28e77f12 09/24/2013 10:55 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.

34516571 09/24/2013 10:55 am Ilias Tsitsimpis

snf-burnin: Add a missing `return'

f8607bde 09/24/2013 10:55 am 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.

b29b8213 09/24/2013 10:55 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.

0b0d69f5 09/24/2013 10:55 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.

21b14236 09/24/2013 10:55 am Ilias Tsitsimpis

snf-deploy: Use filebased email_backend

Change the email backend from dummy to a filebased one.

bbc3b7e7 09/24/2013 10:55 am Ilias Tsitsimpis

snf-deploy: Remove ssh keys

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

87e2667b 09/24/2013 10:55 am Ilias Tsitsimpis

ci: Instruct snf-deploy to generate ssh keys

b91452fa 09/24/2013 10:55 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.

e66eb6d6 09/24/2013 10:55 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 <>

f9b1abe8 09/24/2013 10:55 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 <>

4baa4696 09/24/2013 10:55 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 <>

c0c8263a 09/24/2013 10:55 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 <>

36848a52 09/24/2013 10:55 am Christos Stavrakakis

deploy: Allow access in db from localhost

Allow password-less access in DB from localhost, in order to ease
running of unittests.

525d8b20 09/24/2013 10:55 am Christos Stavrakakis

deploy: Fix bug introduced by escape character

1d9f2031 09/24/2013 10:55 am Ilias Tsitsimpis

ci: Allow the use of local repo

Instead of cloning Synnefo from its official repo,
user can choose (using --local-repo option, or by not
setting the synnefo_repo config parameter) to use
his local repo.

c1bd5d1c 09/24/2013 10:55 am Ilias Tsitsimpis

ci: Remove ssh_keys value from config file

064d2f1b 09/24/2013 10:55 am Ilias Tsitsimpis

ci: Install firefox

eaf0b161 09/24/2013 10:55 am Ilias Tsitsimpis

ci: Install x2goserver

e5d2788b 09/24/2013 10:55 am Ilias Tsitsimpis

ci: Remove forgotten debug message

fb4988ce 09/24/2013 10:55 am Ilias Tsitsimpis

ci: Automatic yes to apt-get prompts

6f8b2632 09/24/2013 10:55 am Ilias Tsitsimpis

ci: Improve flavors/images finder

Allow for search both by name (using regular
expressions) or by id.

8baa4ae7 09/24/2013 10:55 am Ilias Tsitsimpis

ci: Fix bugs with path expansion

Python does not do any automatic path expansions.
User has to call functions such as expanduser() and
expandvars().

Add uesr's id_rsa.pub file as default ssh_keys file.

69a64e60 09/24/2013 10:55 am Christos Stavrakakis

ci: Add build ID to server name

4b61ee63 09/24/2013 10:55 am Ilias Tsitsimpis

ci: Implement file lock mechanism for temp_config

Before writing to temp config file, acquire a lock
and re-read it's contents to make sure we don't
overwrite anything.

c4c22bb4 09/24/2013 10:55 am Christos Stavrakakis

ci: Handle ssh access for demo.synnefo.org

8ed8742f 09/24/2013 10:55 am Christos Stavrakakis

deploy: Performance tune for postgresql

Turn off fsync, synchronous_commit and full_pages_writer to speed up
postgresql. DB is not no longer crash-safe, but this is no needed for
tests.

Also, introduce 'testing_vm' setting to distinquish between the type of...

769db39e 09/24/2013 10:55 am Ilias Tsitsimpis

ci: Add --force-yes option to apt-get install

705f2c38 09/24/2013 10:55 am 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.

fe402df2 09/24/2013 10:55 am Christos Stavrakakis

ci: Verify values of image and flavor options

31922f7e 09/24/2013 10:55 am Christos Stavrakakis

ci: Allow multiple commands in snf-ci script

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

ac1e7de3 09/24/2013 10:55 am 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.

1f471540 09/24/2013 10:55 am Dionysis Grigoropoulos

snf-deploy: add flavor options in synnefo.conf

ac23e868 09/24/2013 10:55 am Dionysis Grigoropoulos

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

ef695867 09/24/2013 10:55 am Ilias Tsitsimpis

ci: Better handling of build_ids

Now a new build id is created every time we issue a
create command and build_id is None. Any subsequent
commands will use this build_id.

In case we don't provide a build_id (None) and we
try to run a command other than create (that needs to...

19b7ddfb 09/24/2013 10:55 am Ilias Tsitsimpis

ci: Update schema files

Package snf-deploy has add a new section (keys) in deploy.conf

73607c33 09/24/2013 10:55 am Christos Stavrakakis

deploy: Fix --dhcp option of network-create cmd