Statistics
| Branch: | Tag: | Revision:

root / snf-deploy / fabfile.py @ fde2c1f7

History | View | Annotate | Download (41.8 kB)

# Date Author Comment
04660f63 10/08/2013 04:02 pm Dimitris Aragiorgis

snf-deploy: fix snf-deploy ganeti

A typo and explicitely install drbd8-utils package for ganeti.

Signed-off-by: Dimitris Aragiorgis <>

2242394d 10/08/2013 04:02 pm Dimitris Aragiorgis

snf-deploy: fix strange behaviour of openssl

When used remotely via ssh it produces a strange (stdin)= before
the real output.

Signed-off-by: Dimitris Aragiorgis <>

093d25d8 10/08/2013 04:02 pm Dimitris Aragiorgis

snf-deploy: Fix image_dir setup

Signed-off-by: Dimitris Aragiorgis <>

b2334d13 10/08/2013 04:02 pm Dimitris Aragiorgis

snf-deploy: fix case of local binary package

ganeti-htools is a binary package that ends with amd64.deb
Thus we should not not search only for *all.deb

Signed-off-by: Dimitris Aragiorgis <>

09ab7b18 10/04/2013 05:26 pm Christos Stavrakakis

Revert "snf-deploy: Make public network a FIP pool"

This reverts commit d25a778a0d7890cefc354a1860f8996a0eb1fcaa.

d25a778a 10/04/2013 04:46 pm Christos Stavrakakis

snf-deploy: Make public network a FIP pool

c3139cfd 10/04/2013 04:46 pm Christos Stavrakakis

deploy: Set default quota for floating IPs

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.

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.

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

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'

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.

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.

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.

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

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.

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

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

snf-deploy: add flavor options in synnefo.conf

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

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

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

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

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

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.

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

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

snf-deploy: add flavor options in synnefo.conf

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

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

34e315ac 08/20/2013 08:33 am Dimitris Aragiorgis

Allow password-less access from db node in db

Signed-off-by: Dimitris Aragiorgis <>

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

Make networking test raise errors if fail

Add abort=True in try_run()

Signed-off-by: Dimitris Aragiorgis <>

8f5ea521 08/20/2013 08:33 am Dimitris Aragiorgis

Add --no-keys-inject option

This skips key injection in nodes

Signed-off-by: Dimitris Aragiorgis <>

8780d2fa 08/20/2013 08:33 am Dimitris Aragiorgis

Pass key_inject in setup_env

Signed-off-by: Dimitris Aragiorgis <>

108fbde6 08/20/2013 08:33 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 <>

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

0600 mode for ssh keys

Signed-off-by: Dimitris Aragiorgis <>

511edaaa 08/20/2013 08:33 am Dimitris Aragiorgis

Fix missing things for disable_colors

Signed-off-by: Dimitris Aragiorgis <>

1d8cf97d 08/20/2013 08:33 am Dimitris Aragiorgis

Use ip instead of hostname for env.host_string

Signed-off-by: Dimitris Aragiorgis <>

542d8129 08/20/2013 08:33 am Dimitris Aragiorgis

Remove custon synnefo_settings for webclient

Signed-off-by: Dimitris Aragiorgis <>

0ac84a9a 08/20/2013 08:33 am Dimitris Aragiorgis

Add snf-deploy tree

Signed-off-by: Dimitris Aragiorgis <>

1bc6d467 08/20/2013 08:33 am Dionysis Grigoropoulos

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