History | View | Annotate | Download (18.9 kB)
deploy: Fix vncauthproxy
Add users files.
TODO: use vncauthproxy-passwd with correct conf settings
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
More pep8 fixes related to snf-deploy
Those fixes concern errors that are introduced in latestpep8 version (and not the wheezy's one).
pep8 fixes related to snf-deploy refactor
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: Typo fixes
snf_deploy: Setup oa2 app
snf-deploy: Add stats support
snf-deploy: Set quota for existing users
Add new action 'set_user_quota' to set base quota for existing users.
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...
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....
deploy: just move fabfile into python module
This prepares the refactor that will take place in the following ones.
deploy: Install vncauthproxy before cyclades
Install snf-vncauthproxy beforing installing Cyclades, because Cycladesdepends on vncauthproxy.
snf-deploy: fix snf-deploy ganeti
A typo and explicitely install drbd8-utils package for ganeti.
deploy: Exit with message and not with code
snf-deploy: Exit when fab command fails
The previous approach (using the return value fromos.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.
snf-deploy: Return the correct exit code
snf-deploy uses os.system to execute it's fabfile. We haveto use sys.exit() for the python script to return with thesame exit code as the one returned by fabric script.
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...
snf-deploy: some minor fixes and typos
snf-deploy: Remove ssh keys
Remove ssh keys from snf-deploy package.We can now generate new keys running `snf-deploy keygen'.
deploy: Fix importing services to astakos
Use snf-manage service-export and service-import management commands toimport services and corresponding resources to astakos. Also, remove oldtemporary files that were used for this procedure.
Add --no-keys-inject option
This skips key injection in nodes
Pass key_inject in setup_env
Fix missing things for disable_colors
Add snf-deploy tree
snf-deploy: Add option (--disable-colors) to disable color printing in terminal