Statistics
| Branch: | Tag: | Revision:

root @ 26f6ab93

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

759d2f73 09/24/2013 10:55 am Christos Stavrakakis

snf-deploy: Various fixes for merging with synnefo

  • Move ifup script to files/usr/lib
  • Remove Changelog and README from Manifest file.
  • Remove autopkg.sh file.
  • Remove keys directory, since they have been moved to files/root/.ssh
ca43d0bc 09/24/2013 10:55 am Dimitris Aragiorgis

Move ifup in separate dir

ifup is used by vcluster command and has nothing to do with
temlplate files that are used to customize installation.

Signed-off-by: Dimitris Aragiorgis <>

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

Fix missing things for disable_colors

Signed-off-by: Dimitris Aragiorgis <>

9b69ce64 09/24/2013 10:55 am Dimitris Aragiorgis

Use ip instead of hostname for env.host_string

Signed-off-by: Dimitris Aragiorgis <>

650fd5a4 09/24/2013 10:55 am Dimitris Aragiorgis

Remove custon synnefo_settings for webclient

Signed-off-by: Dimitris Aragiorgis <>

39dd21c2 09/24/2013 10:55 am Christos Stavrakakis

ci: Disable snf-deploy colors

Use --disable-colors option of snf-deploy to disable colors when
running snf-deploy from ci scripts.

02a16a8c 09/24/2013 10:55 am Dimitris Aragiorgis

Allow password-less access from db node in db

Signed-off-by: Dimitris Aragiorgis <>

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

Make networking test raise errors if fail

Add abort=True in try_run()

Signed-off-by: Dimitris Aragiorgis <>

40d11d5f 09/24/2013 10:55 am Dimitris Aragiorgis

Add --no-keys-inject option

This skips key injection in nodes

Signed-off-by: Dimitris Aragiorgis <>

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

Pass key_inject in setup_env

Signed-off-by: Dimitris Aragiorgis <>

7474f035 09/24/2013 10:55 am Dimitris Aragiorgis

Fix db access

Allow password-less access from nodes with webproject.
Allow password-less access from db node.

Signed-off-by: Dimitris Aragiorgis <>

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

0600 mode for ssh keys

Signed-off-by: Dimitris Aragiorgis <>

176829d7 09/24/2013 10:55 am Dimitris Aragiorgis

Try put resolv.conf due to chattr +i

Signed-off-by: Dimitris Aragiorgis <>

383f2efd 09/24/2013 10:55 am Dimitris Aragiorgis

Enforce nodes the given hostnames

This means that hostnames are not important in nodes.conf and
should not reflect to existing infra.

Signed-off-by: Dimitris Aragiorgis <>

5ef0bc03 09/24/2013 10:55 am Dimitris Aragiorgis

Minor fix in setup_hosts (sed -i /etc/hosts)

Signed-off-by: Dimitris Aragiorgis <>

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

ci: Get flavor by name

The option flavor_name support a list of flavors to try.

Refs #4192

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

ci: snf-deploy is now part of Synnefo software

Install snf-deploy from the Synnefo repo
and not from it's old one.

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

ci: Temporary_config supports multiple machines

Use one temporary_config that will contain information
about every machine we have build until now, so we
can go back and use/inspect one of them.

Refs #4199

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

deploy: Add snfdeploy to path to import version

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

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

ci: Specify a flavor_name instead of a flavor_id

Specify a flavor_name (in form of a reg expression) to use.

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

Add snf-deploy tree

Signed-off-by: Dimitris Aragiorgis <>

9a03102b 09/24/2013 10:55 am Dimitris Aragiorgis

Modify devflow for snf-deploy

Signed-off-by: Dimitris Aragiorgis <>

667db9b6 09/24/2013 10:55 am Dimitris Aragiorgis

Remove some files

Signed-off-by: Dimitris Aragiorgis <>

08d90aaa 09/24/2013 10:55 am Dimitris Aragiorgis

Remove README/CHANGLOG from snf-deploy/setup.py

Signed-off-by: Dimitris Aragiorgis <>

18487a37 09/24/2013 10:55 am Christos Stavrakakis

deploy: Alter db owner+access to create

Modify database initiliazation by declaring the database owner, and
giving access to synnefo user to create databases. This options are
needed in order to be able to run tests in postgres db.

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

snf-deploy: Add option (--disable-colors) to disable color printing in terminal

4c09a54a 09/24/2013 10:55 am Dionysis Grigoropoulos

snf-deploy: Update snfdeploy/lib.py to be pep8 compliant