astakos: pep8 fix
astakos: Simplify project schema
Applications now point to a project (rather than an extra model Chain).A Project is created upon submitting an application; it always points toa single `reference' application.
Model Chain is kept as a sequence to generate project ids.
astakos: Remove precursor_application field
Submit a project modification by specifying a project id rather thanan application
astakos: Change project membership schema
Replace ProjectMembershipHistory with ProjectMembershipLog, whichrecords every state transition. Never delete any ProjectMembershipentry; set it instead to an appropriate state.
astakos: Adapt UI to new project schema
Base tables on projects rather than applications; update templates.
astakos: Omit project_id in membership operations
Identify a membership by its id only.
astakos: Lock project rather than chain
astakos: Cleanup checks for membership actions
astakos: Set project-wise resource limit in new app
astakos: Return membership when joining project
astakos: Catch exceptions in submit app views
Ignore exceptions in custom _create_object and _update_object;let the views handle exceptions and specify commit strategy.
astakos: Raise project-specific exceptions on failure
Replace IOError and PermissionDenied with project-specific exceptions.
astakos: Define permission levels for project actions
astakos: Refactor membership checks for conciseness
astakos: Add log info in membership actions
Record user who performed the action and optional reason.
astakos: Adapt tests to the new project schema
astakos: Fix sqlite-related migration issues
As per 63bcab0, do not attempt to delete index when run on sqlite.
Fix Changelog order of entries
Fix order in Changelog between version 0.14.5 and 0.14next that has beencreated by merging and automatic conflict resolution.
Also fix tpo in admin guide.
Merge branch 'hotfix-0.14.5' into develop
Conflicts: snf-pithos-backend/pithos/backends/modular.py version
Changelog, NEWS and release dates for 0.14.5
cyclades: Fix bug in servers tests
Import settings from django.conf instead of synnefo.
Merge branch 'feature-servers-api-access' into develop
cyclades: PEP8 fixes to tests module
cyclades: extend VM info with 'port_forwarding'
Extend servers info API response with 'SNF:port_forwarding' attribute,describing port fowarding rules (DNAT) that are applied to vms. Thedescription of such rules is done via the new CYCLADES_PORT_FORWARDING...
cyclades: Import settings from django.conf
cyclades: init dispatcher with DJANGO_SETINGS_MODULE
cyclades: Extend servers info with fqdn attribute
Extend the servers info API response with the 'SNF:fqdn' attribute,containg the vm's domain name in a DNS. This attribue is configurable bythe 'CYCLADES_SERVERS_FQDN' setting. If this setting is set to None,...
cyclades: add tests for 'fqdn'
cyclades ui: Improve available quota handling
handle the case where available resource quota is less than thecorresponding active quota (for cpu, mem and disk resources).
Bump version to 0.14.5
cyclades: Fix typo
cyclades ui: Fix typo in VM resize
ci: Specify a flavor_name instead of a flavor_id
Specify a flavor_name (in form of a reg expression) to use.
stats: Fix python dependency from rrdtool
setup.py should contain the name of the python module for rrdtool, whichis py-rrdtool. It's the debian file that should change this topython-rrdtool.
cyclades: Fix bugs in modifying network to IP pool
cyclades ui: Handle empty floating ip pools
prevent user from allocating new ip addresses if no available pools exist
cyclades: Fix condition for network netmask size
cyclades: Check that IPv6 network netmask is /64
Check that IPv6 network netmask is /64, because this is imposed by the'mac2eui64' utility that generates EUI-64 addresses from 48-bit MACaddresses.
Refs #4201
cyclades: Move code for validating network values
Move code for network parameters validation from 'api' module to 'logic'.
ci: pep8 fixes
ci: Use -c as sort version of --conf
Follow kamaki convention where -c should mean --confand not --cloud.
ci: turn system_uuid option into a hardcoded one
User doesn't need to specify the UUID of the owner ofsystem images (it's usually hard to find it).
Instead save the uuids for these users for our production andtesting deployments inside a list (DEFAULT_SYSTEM_IMAGES_UUID) and...
ci: Redirect logging to stdout/stderr
Use stdout for info/debug messages and stderr forwarning/error messages.
ci: Add --ssh-keys command line option
Using this option one can specify a file containingssh authentication keys to be uploaded and installedon the newly created server.
ci: Add support for downloading ssh_keys file
Currently support http, https and ftp protocolsusing the wget utility.
pithos: Fix access object version data/metadata
snf-django: PEP8 fixes
astakosclient: PEP8 fixes
This commit makes astakosclient PEP8 compliant.
Fix stale import statements
Commit 7cfc0ce moved code from webproject to snf_django. This commitfixes some stale imports that skipped renaming.
cyclades: Remove assumptions from tests
Remove some hard-coded IDs from tests.
common: Make tests use postgresql
Modify default settings for tests to use postgresql by default.
snf-django: Move ListCommand to snf-django
snf-webproject contained the generic ListCommand, and because of this ithad a dependency from snf-django-lib. This commit moves this command fromsnf-webproject to snf-django-lib and removes this dependency. Also,...
ci: Add --noinput option to tests
Modify tests script to pass the --noinput option to snf-manage testcommand, so that Django will promt user for any input.
astakos: Catch unexpected request body in user_catalogs
The request expects a json formatted dictionary.Raise 400 (BadRequest) otherwise.
pithos: Fix TypeError when trying to retrieve invalid object version
ci: s/mail/email in git config
ci: Create version files before building docs
Run 'devflow-update-version' to create all the version files, beforetrying to build the docs.
Merge branch 'feature-ci-deploy3' into develop
ci: Add option to build and fetch documentation
ci: Specify directory to fetch packages to
ci: Parse branch from repository
Guess the branch to build, based on the current branch of therepository. Also track all remote branches when cloning Synnefo, becauseit is needed by devflow.
ci: Remove 'deploy_on_io' option
Remove the 'deploy_on_io' option. Instead check if you will need tocompute manually the ssh port by the domain of the cyclades url.
ci: Helper script to run ci commands
Make 'snf-ci' python script to run CI commands.
ci: Make some options optional
Make 'ssh_keys' and 'accept_ssh_from' optional, since there are notmandatory for ci to work.
ci: Add option to override configuration file
Add 'config_file' argument to SynnefoCI in order to use a differentconfiguration file. Also, added the corresponding option to 'snf-ci'scirpt.
ci: Merge 'fetch_packages.py' to snf-ci script
Add '--fetch-packages' option to snf-ci script, in order to download thecreated debian packages.
ci: Add option to override schema
Update South dependency to >=0.7.3
ci: Install south from squeeze-backports
ci: Fixes to ci code
ci: Copy ssh keys
Add option for copying ssh keys to the created vm.
ci: Get credentials by kamakirc
Get credentials for deployment from .kamakirc instead of config file.Also, add option in config file indicating which cloud for kamaki touse. Finally, add option in SynnefoCI to override the cloud from config.
Refs #4193
ci: Option to override image and flavor
Add option to use a custom image_id and flavor_id instead of gettingthem from config file.
pithos: Add test for restoring object's version
pithos: Catch malformed X-Object-Source
Raise 400 (Bad Request) if the server fails to parse it.
pithos: Add test for updating an object from version
Merge branch 'hotfix-0.14.4' into develop
Conflicts: Changelog version
Merge branch 'hotfix-0.14.4'
Relase dates for version 0.14.4
ci: Include commands between $()
ci: Fix some typos in utils.py
ci: Redesign CI scripts
Spawn VM to use as builder-slave.Build packages inside this VM.Deploy Synnefo using snf-deploy.Run unit tests.Run functional tests using burnin.
Docs: Add `design' section in index.rst
Also create the corresponding directory docs/design/. Allnew design docs should be placed under this directory, witha corresponding reference in the index page.
cyclades: Create network in all backends
Add option in snf-manage network-create command to create network in allbackends.
pithos: Fix pithos test views
pithos: Fix reconcile resources command
cyclades: More verbose models representation
Make unicode method of VirtualMachine, Network and FloatingIP models moreverbose.
cyclades: Add 'name' to all commissions.
Make all quotaholder commissions to have a name. Since, Cyclades doesnot store the association of a commission with a resource, we includethe resource in the commission name.
Bump version to 0.14.4
snf-stats-app: Change setup.py dep for rrdtool
cyclades: Add network to multiple backends
Update snf-manage network-create command to take a list of commaseperated backend IDs to create the network to.
Merge branch 'hotfix-0.14.3' into develop
Conflicts: Changelog snf-astakos-app/astakos/im/messages.py snf-pithos-app/pithos/api/manage_accounts/__init__.py snf-pithos-app/pithos/api/management/commands/reconcile-resources-pithos.py snf-pithos-app/pithos/api/settings.py...
Merge branch 'hotfix-0.14.3'
Release dates for version 0.14.3
cyclades: Exclude FIP pools from IP allocation
Do not include the floating IP pools, to the available public networkswhen allocating an IPv4 address, when 'SNF:ANY_PUBLIC' option is used.
cyclades: Set firewall profile per NIC
Set firewall profile per NIC, because since Floating IPs an instance canhave more than one NICs in a public network. Extend the API call to takethe NIC index as argument, and modify the Ganeti instance tags to beformated with the NIC index.
cyclades-rapi: Add bulk option to GetJobs
cyclades: Reconciliation for pending vm tasks
Extend reconciliation mechanism, to detect instances with stale pendingtasks, by looking if the corresponding job, 'vm.task_job_id', is stillrunning in the Ganeti backend.
Also refactor code that performed reconciliation for buildign vms, to...
cyclades: Remove wrong model attribute