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
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: Add check for link during network create
Add a check when creating IP_LESS_ROUTED networks, that the connectivitylink is not already used by another network.
cyclades: Fixes in network management commands
Merge code from logic/networks.py and network management commands.
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
cyclades: Fix bug in network-modify command
Fix bug caused by wrong identation level. Modification of network inGaneti should be performed only if 'add_reserved_ips' or'remove_reserved_ips' options are used.
cyclades: Convert network to floating IP pool
Add '--floating-ip-pool' option to network-modify management command, inorder to convert a network to a floating IP pool. Conversation of anetwork to a floating IP pool requires the creation of the network to...
pithos: Pass full path of the next parameter in view redirect
pithos: Do not report size change in move object operation
Refs: #4154
Update Changelog
Replace regexp in cleanse middleware
Replace the regexp in mail_admins_safe() with manual parsing of the message.
Revert "pithos: manage_accounts support for both sqlalchemy and sqlite"
This reverts commit 8414859f4895e4c67ff0bb13a8d7078c1851596a.
This commit with the current backend implementationhas broken the command for sqlalchemy module.
pithos: Fix line continuation format
pithos: Fix reconcile-resource-pithos command
Conflicts: snf-pithos-app/pithos/api/management/commands/reconcile-resources-pithos.py snf-pithos-backend/pithos/backends/lib/sqlite/node.py
cyclades: Add migration file for IPv6 networks
Signed-off-by: Christos Stavrakakis <cstavr@grnet.gr>
webproject: Fix typo
cyclades: Display task and task_job_id
Make 'server-show' and 'server-inspect' management command to displaythe 'task' and 'task_job_id' fields of the vm.
cyclades: Minor improvements in manage commands
cyclades: Fix import of renamed settings
common: Parameterize DB test settings
Consult environment variables in order to connect to the database.
astakos: Update cyclades services in helper script
Add greenlet tracing code in snf-common
Add greenlet tracing code in snf-common, useful for debugging stuckgevent gunicorn workers.
If the environmental variable SYNNEFO_TRACE is set to a non-emptystring, the tracing code will install a SIGTRAP signal handler for the...
cyclades ui: Enable RDP clipboard sharing by default
in default RDP connection profile served by synnefo
pithos: Update view_method decorator
pithos: Fix tests
pithos: Write tests for the weblogin view
snf-branding: Expose contact email through branding mechanism
although CONTACT_EMAIL is not a branding setting, we use the branding mechanismto expose it to brandable templates for practical reasons.
This also fixes the missing contact email from all project related emails.
astakos: Use api_method_not_allowed in quota API
astakos: Resume a deactivated project upon approval
When approving a modification, automatically set the project to active,if it has been deactivated.
pithos: Revert pep8 changes from sqlalchemy ClauseElements
pep8 complains for comparison with boolean in sqlalchemy.sql.expression.ClauseElementwith "E712 comparison to True should be 'if cond is True:' or 'if cond:'" but sqlalchemy does not understand it otherwise.
Merge branch 'feature-ipv6-networks' into develop
cyclades: No commission for public networks
Do not issue commission for public networks, since they do not have anowner.
cyclades: Fix exception message
cyclades: Consider IPv6 only networks in allocator
Backend allocator excludes backends that do not have a free IPv4address. Since, from now on, not all instances are connected to a publicnetwork, this check is only needed when 'SNF:ANY_PUBIC' network is used.
cyclades: Implement NetworkReconciler class
Refactory network reconciliation. Implement NetworkReconciler class tohold all reconciliation functions.
cyclades: Move NetworkReconciler to reconciliation
Move NetworkReconciler class from network-create command toreconciliation module.
cyclades: Add tests for network reconciliation
cyclades: Simple code refactoring
cyclades: Support IPv6 only networks
Make Cyclades support IPv6 only networks. Such networks will havethe 'subnet' attribute set to None, in the same way that IPv4 onlynetworks have the 'subnet6' attribute set to None.
Because currently Ganeti does not support IPv6 only networks, we create the...
cyclades: Add tests for IPv6 only networks
Add tests to check creation and usage of IPv6 only networks. Tests alsocover creation of other type of networks.
cyclades: Refactor code relative to networks
Move code checks from network-create management command tologic/networks.py.
Also create common decorator for management commands to convert apifaults to command errors.
cyclades: Refactor logic tests
Create tests module to hold all tests for logic.
astakos: Fix quota API test
Sort list before comparing, since ordering in the response data isnot specified. Triggered when run with postgres.
pithos: Update/extend tests
pithos: Fix migrations
Some data migrations require to import pithos app settings.These migrations used to fail in nodes where snf-pithos-appis not installed.Disable these migrations if they fail to import the necessary settings.
pithos backend: Introduce debug_method decorator
Substitute debug statements with a backend method decoratorwhich registers the method execution arguments, the return valuesand the exceptions occured.
pithos: pep8 fixes
Cyclades: Fix typo in conf file
astakos: Fix arg passing in messages
pithos: Add missing blocksize attribute to blocker.
Blocksize was undefined for the blocker that combines files and rados objecsts.Define it, according to the block parameters.
Bump version to 0.14.3
burnin: Fix a bug with image metadatas
Plankton returns properties whereas Cyclades returnsmetadata for the images.
burnin: add --system-images-user flag
With this flag one can specify the owner of thesystem images.Currently one has to specify owner's uuid.This options is mandatory.
Merge branch 'hotfix-0.14.2' into develop
Conflicts: Changelog snf-astakos-app/astakos/im/messages.py snf-astakos-app/astakos/im/views/target/__init__.py snf-cyclades-app/synnefo/logic/backend.py snf-cyclades-app/synnefo/logic/management/commands/reconcile-servers.py...