Statistics
| Branch: | Tag: | Revision:

root / snf-deploy / snfdeploy / __init__.py @ d4f28d8f

History | View | Annotate | Download (18.8 kB)

# Date Author Comment
d4f28d8f 01/08/2014 08:25 pm Dimitris Aragiorgis

pep8 fixes related to snf-deploy refactor

Signed-off-by: Dimitris Aragiorgis <>

3c3bccab 01/08/2014 05:08 pm Dimitris Aragiorgis

Huuuuge snf-deploy refactor

Introduce the concept of Roles and Components.

Roles are ns, mq, db, nfs, astakos, cyclades, pithos, cms, stats,
ganeti, master, and client.

Each role consists of various SynnefoComponents which should define:

  • commands to check installation prerequisites (check)...
c62a2729 12/17/2013 09:58 am Dionysis Grigoropoulos

snf-deploy: Typo fixes

952a28c0 12/04/2013 03:49 pm Sofia Papagiannaki

snf_deploy: Setup oa2 app

0cfa5e03 12/03/2013 12:40 am Stratos Psomadakis

snf-deploy: Add stats support

38fd3090 11/22/2013 04:44 pm Christos Stavrakakis

snf-deploy: Set quota for existing users

Add new action 'set_user_quota' to set base quota for existing users.

a1dae38d 11/12/2013 01:34 pm Christos Stavrakakis

Merge branch 'feature-cyclades-networks' into develop

Conflicts:
snf-cyclades-app/synnefo/api/management/commands/server-inspect.py
snf-cyclades-app/synnefo/app_settings/urls.py
snf-cyclades-app/synnefo/logic/backend.py
snf-cyclades-app/synnefo/logic/backend_allocator.py...

ca1de37b 10/22/2013 05:47 pm Ilias Tsitsimpis

snf-deploy: pep8 fixes

3bae85da 10/22/2013 04:37 pm Dimitris Aragiorgis

deploy: use execute() instead of fab

This way we have a unique execution environment between
snf-deploy script and fabfile. Arguments and options
are handled way more easily. Get rid of the twisted code
that was passing command line arguments to fabric.
...

dcce60bd 10/22/2013 04:33 pm Dimitris Aragiorgis

deploy: just move fabfile into python module

This prepares the refactor that will take place in the following ones.

Signed-off-by: Dimitris Aragiorgis <>

59d1ee86 10/09/2013 11:40 am Christos Stavrakakis

deploy: Install vncauthproxy before cyclades

Install snf-vncauthproxy beforing installing Cyclades, because Cyclades
depends on vncauthproxy.

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

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.

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.

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

fea067c8 09/20/2013 09:50 am Dimitris Aragiorgis

snf-deploy: some minor fixes and typos

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

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.

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

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

Fix missing things for disable_colors

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