snf-deploy: Typo fixes
snf-deploy: Update kamaki register command
The --location has to be `pithos://USER_UUID/CONTAINER/PATH'or `/CONTAINER/PATH'.
docs: Update kamaki image register command
snf-deploy: Fix Ganeti specs to allow zero nics
snf_deploy: Setup oa2 app
snf-deploy: Add stats support
snf-deploy: Fix for vncauthproxy>1.4
snf-deploy: Support newer version of kamaki CLI
Command Line Interface of kamaki has changed the way it handlespithos containers. A new command `container' has been created.
This commit changes the command snf-deploy is using the createa new container from...
snf-deploy: Set quota for existing users
Add new action 'set_user_quota' to set base quota for existing users.
astakos: Rename --limit to --default-quota
Use a more descriptive name for this resource-modify option. Also changeresource-list column `limit' to `default_quota'.
Rename 'cpu' and 'ram' resources
Rename CPU and RAM relative resources to avoid data migrations.Specifically, the resources that are renamed are the following:
deploy: update ganeti and nfqueue packages
Use latest custom 2.8.2 ganeti which consists of ganeti-haskell,ganeti-htools, snf-ganeti.
nfqueue-bindings-python is replaced by python-nfqueue inwheezy. Use our custom package which supports an extra method...
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...
Trim trailing slash from ASTAKOS_AUTH_URL
Endpoints no more end in slash.
snf-deploy: Use the new AstakosClient
deploy: chown root.www-data /var/log/gunicorn
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
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: Remove packages.conf
This is not needed any more because we have squeeze and wheezy ones
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...
deploy: Support both wheezy and squeeze packages
snf-deploy: some minor fixes and typos
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: 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.
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
Pass key_inject in setup_env
snf-deploy: Update snfdeploy/lib.py to be pep8 compliant
Fix missing things for disable_colors
Add snf-deploy tree
snf-deploy: Add option (--disable-colors) to disable color printing in terminal