History | View | Annotate | Download (10.6 kB)
pep8 fixes related to snf-deploy refactor
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
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:
snf-deploy: pep8 fixes
deploy: use execute() instead of fab
This way we have a unique execution environment betweensnf-deploy script and fabfile. Arguments and optionsare handled way more easily. Get rid of the twisted codethat was passing command line arguments to fabric....
snf-deploy: Remove packages.conf
This is not needed any more because we have squeeze and wheezy ones
deploy: Support both wheezy and squeeze packages
Add os per node
This is needed for heterogeneous setups.Depending on os the corresponding sources file is addedand the proper synnefo packages are installed (~wheezy or ~squeeze)
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 thusmove them from nodes.conf to vcluster.conf.
snf-deploy: fix a bug in --disable-colors option
deploy: Performance tune for postgresql
Turn off fsync, synchronous_commit and full_pages_writer to speed uppostgresql. DB is not no longer crash-safe, but this is no needed fortests.
Also, introduce 'testing_vm' setting to distinquish between the type of...
Add --no-keys-inject option
This skips key injection in nodes
snf-deploy: Update snfdeploy/lib.py to be pep8 compliant
Add snf-deploy tree
snf-deploy: Add option (--disable-colors) to disable color printing in terminal