History | View | Annotate | Download (42.2 kB)
astakos: Refactor resource-modify
Remove interactive operations, rename default-quota to base-default.
Merge branch 'release-0.15' into develop
Conflicts: snf-deploy/snfdeploy/__init__.py version
deploy: workaround for java console Issue
Java VncViewer class has an issue with self-signed certificates.With existing deployment it does not work if UI_MEDIA_URL usesFQDN. Use the node's IP instead.
NOTE: In a linux (Debian) client add the following in...
snf-deploy: Stamp pithos most recent database migration
This is necessary so that future migrations know where to start upgrading.
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:
deploy: Factor out utils from fabfile
Setup pithos with oa2 secret of conf files
This was forgotten when we removed the hard-coded secret.
Add oa2_secret to conf files
This secret is used during registering pithos view in astakos.Make this setting configurable.
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
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.