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).
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.
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
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