Statistics
| Branch: | Tag: | Revision:

root / snf-deploy @ ed0dd751

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

7f857fcc 10/02/2013 02:17 pm Ilias Tsitsimpis

deploy: Exit with message and not with code

d38bdeb7 10/02/2013 02:06 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.

09aa843b 10/02/2013 12:50 pm Christos Stavrakakis

deploy: Add python-django to wheezy conf files

0500dae6 10/02/2013 12:21 pm Christos Stavrakakis

snf-deploy: Manually install django

Manually install python-django in order to get the correct version.

7435e91f 10/01/2013 06:59 pm Christos Stavrakakis

deploy: python-django squeeze-backports

0a70d2c5 10/01/2013 06:16 pm Christos Stavrakakis

Merge branch 'hotfix-0.14.8' into develop

Merge hotfix-0.14.8 which ports Synnefo to wheezy and Django 1.4.5

Conflicts:
ci/ci_squeeze.conf
ci/ci_wheezy.conf
ci/schemas/one_node_squeeze/packages.conf
ci/schemas/one_node_squeeze/squeeze.conf
ci/schemas/one_node_squeeze/wheezy.conf...

b3adfb20 10/01/2013 04:44 pm Christos Stavrakakis

deploy: Fix parsing of the service token

eb765213 10/01/2013 02:56 pm Giorgos Korfiatis

astakos: Store base URL in component

Deployer should provide it when adding a new component. Service endpoints
originating from a component are expected to match its base URL; otherwise,
a warning is issued during service registration. Re-registration with...

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.

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.

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

snf-deploy: Remove misplaced `raise'

508d6d51 09/30/2013 04:04 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.

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.

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

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.

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

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.

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.

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

ci: Fix database engine

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.

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

deploy: Don't use hardcoded version of postgresql

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

deploy: Don't use hardcoded version of postgresql

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.

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.

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.

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

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

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

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

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

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.

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

snf-deploy: add flavor options in 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 <>

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

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

deploy: Add snfdeploy to path to import version

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

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

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

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

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

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.

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.

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.

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

eaae0a32 09/13/2013 10:28 pm Erethon

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

6c51153a 09/12/2013 05:01 pm Dionysis Grigoropoulos

snf-deploy: add flavor options in synnefo.conf

6947964f 08/28/2013 10:49 pm 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.

bd9b6f21 08/27/2013 11:25 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...

561d42ec 08/21/2013 12:12 pm Christos Stavrakakis

deploy: Fix bug introduced by escape character

61aedf5a 08/21/2013 11:43 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.

d6719b00 08/21/2013 09:23 am Christos Stavrakakis

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

5bd5d561 08/20/2013 04:50 pm Christos Stavrakakis

deploy: Add snfdeploy to path to import version

703d78d6 08/20/2013 08:33 am Dimitris Aragiorgis

Try put resolv.conf due to chattr +i

Signed-off-by: Dimitris Aragiorgis <>

6e0e55ba 08/20/2013 08:33 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 <>

8665d8b6 08/20/2013 08:33 am Dimitris Aragiorgis

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

Signed-off-by: Dimitris Aragiorgis <>

c61f4b8c 08/20/2013 08:33 am Dimitris Aragiorgis

0600 mode for ssh keys

Signed-off-by: Dimitris Aragiorgis <>