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...
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...
Merge branch 'hotfix-0.14.2'
Add release date for version 0.14.2
Add upgrade notes and update admin guide
astakos: Fix arg in terminate function
cyclades ui: Prefer os meta to identify connection user
How vm connection user gets resolved:
- Use the last user in `users` vm metadata if exists- Use the last user in `users` vm image metadata if exists- Use root if vm's image osfamily metadata is Linux...
astakos: Add region value in POST /tokens
Add hardcoded 'default' value in region attribute.
Refs #4086
docs: More updates on quick install guide
pithos: Fix attribute copy
The newly created attributed used to point in the source nodeinstead of the destination
Refs: 3510
astakos: Shibboleth wording improvements
- Customized logout success message- Customized add prompt message
docs: Update quick install guide
cyclades: Move tests in tests directory
cyclades ui: Update OS images names
use libguestfs naming convention
redhat -> rhelsuse -> opensuse (also cloned as sles)
pithos: fix typo
plankton: Make pithos backend pool size a setting
Make the pool size of the pithos backends a configurable setting,namely PITHOS_BACKEND_POOL_SIZE.
pithos backend: Extend list domain objects method
This method optionally accepts a user paramter and used to returnthe objects shared to the user and having a specific domain.This commit extends this functionality and returns also the objectsowned by the user and having the specific domain...
pithos: Update get objects in a specific domain
Improve performance
Refs: #3510
pithos: improve performance of get_domain_list
Before it used to query the databasefor all the objects having the specific domainand finally filtered out the objects to which the user had no access.Now gets first the allowed_paths for the user and then...
pithos: Handle backend transaction management
In commit 9f135224edf6e50386dc29e0a35806a92c56a50cthe transaction management has been movedfrom the pithos backend to pithos frontend.This commit updates all modules use pithos backendto handle transactions manually.
Remove misput questionmarks from plankton api docs
Revert "astakos: Improve invalid login handling"
This reverts commit 02c1f22a0f7396a7b2211677db78247586e10805.
cyclades: pep8 fixes
cyclades: Add size and free to floating-ip-pools
pithos: Fix tests to run with sqlalchemy backend/sqlite engine
snf_django: Fix type error
cyclades: Fix reconciliation of building vms
When reconciling a building vm, you first have to reconciliation it'screation and then it's operstate. Otherwise it is possible to end uphaving wrong quotas.
astakos: Prevent empty passwords in profile form
pep8 changes
Remove duplicate entry 'South' from setup.py
ci: Fix tests script
astakos: Improve invalid login handling
avoid redirecting user to signup view. Notify user the login credentials wasinvalid instead.
astakos: Shibboleth improvements
- include shibboleth headers in provider_details- display eppn instead of identifier in profile
Merge branch 'develop' into feature-floating_ips_ui
Conflicts: snf-cyclades-app/synnefo/plankton/backend.py
cyclades ui: Allow destroy action on all vm states
cycaldes ui: Locally reserve IP address assigned to created vm
in order to avoid conflict errors on repetitive vm creates
Revert "Fixed Image:Remove"
This reverts commit a111b19aa011304f624d649d994086310400fada.
cyclades ui: IP addresses vm creation step fix
Filter out ip addresses which pending for machine connection.
cyclades ui: Conditionally disable connect to vm IP actions
when IP's popup is opened from the vm create view.