Statistics
| Branch: | Tag: | Revision:

root / snf-deploy @ b3adfb20

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

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.

508d6d51 09/30/2013 04:04 pm Ilias Tsitsimpis

snf-deploy: Remove misplaced `raise'

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.

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.

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.

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.

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

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

7d6fed3a 08/20/2013 08:33 am Dionysis Grigoropoulos

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

b570ce97 08/20/2013 08:33 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
5f1ac457 08/20/2013 08:33 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 <>

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

38f77381 08/20/2013 08:33 am Dimitris Aragiorgis

Modify devflow for snf-deploy

Signed-off-by: Dimitris Aragiorgis <>

00cff1cf 08/20/2013 08:33 am Dimitris Aragiorgis

Remove some files

Signed-off-by: Dimitris Aragiorgis <>

87cac384 08/20/2013 08:33 am Dimitris Aragiorgis

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

Signed-off-by: Dimitris Aragiorgis <>

30761818 08/20/2013 08:33 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.

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

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