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.
pep8 changes
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...
Remove duplicate entry 'South' from setup.py
ci: Fix tests script
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.
cyclades ui: IP addresses overlay improvements
- Wording improvements- Icon for the connect to machine action
cyclades: Fix typo bug in management command
PEP8 fixes
cyclades: Common filtering based on changes-since
Add 'filter_modified_since' function in snf_django api utils, forparsing 'changes-since' HTTP parameter and filter the DB objects thatare updated after that date. Otherwise the deleted objects are returned.
cyclades: Fix type bug in network-create cmd
Merge branch 'feature-pithos-atomic-api' into develop
pithos: don't crash in sqlite backend pools
pithos: backend.util pep8 fixes
Changelog: pithos tests, atomic API, domain speedup
cyclades: update plankton to commit pithos backend
The Pithos backend no longer auto-commits after each method invocation,therefore plankton needs to handle transactions itself with withpre_exec() and post_exec() methods.
pithos: Fix test configuration
cyclades: fix omitted plankton image properties
support both pithos and cyclades in tests.sh
pithos: Cleanup api_method code
pithos: Restore sqlite backend module
pithos: Optionally deactivate backend pooling
This is useful because the ``pithos.backends.lib.sqlite``backend module is not compatible with pooling.
astakos: Fix api tests (remove obsolete)
cyclades: Fix type error
Create network may return a list of job IDs.
cyclades: Fix wrong unit of ram
pithos: Fix tests (missing module)
pithos: Fix tests
Fixed Image:Remove
Merge branch 'feature-parallel-reconciliation' into develop
cyclades: Parallel server reconciliation
Major refactor to reconcile-servers management command to make it workin parallel for each backend. Also, removed all --detect options, anddetect all incosistencies by default.
cyclades: Add tests for server reconciliation
pithos: Fix & update tests (premature commit)
pithos: Update get objects in a specific domain
Improve performance
Refs: #3510
astakos: pep8 fixes
pithos: fix syntax in sqlite backend
astakosclient: Don't retry when response is 413
Merge branch 'tmp-pithos-tests' into feature-pithos-atomic-api
Conflicts: snf-pithos-app/pithos/api/util.py
pithos: Fix updated object size
If the updated object exceeded the size of the original objectthe object size was not computed correctly.
pithos: Fix tests challenging ETag
pithos: return always etag
Refs: #3554
If update md5 is deactivated Pithos does not return an etag header.Pithos in that case should return the merkle hash as etag
cyclades: Fix typo in reconciliation
reconciliation: Strip Ganeti IP addresses
Strip spaces from Ganeti IP addresses, since they are not automaticallyignored in newer versions of ipaddr.
plankton: Add 'created_at' when registering image
Add 'PLANKTON:created_at' metadata to Pithos files when registering themas images to plankton.
stats: Fix urlpattern and fault handling
Improve urlpattern handling and use snf-django-lib api faults /decorator.
cyclades ui: Remove development statements
cyclades: Networking step in machine create view
Introduce an additional `machine network setup` step in machine createoverlay. Through this step user can select ip addresses/private networksthe machine will be assigned/connected to.
cyclades ui: Static files cache invalidation
include current synnefo version as a parameter to all static files urls to avoidbrowsers from using cached content between different synnefo versions.
cyclades: Public IP's overlay in UI
- Introduce a new overlay for IP addresses management (create, remove, connect, disconnect).- The overlay is accessible from the UI's options menu.
cyclades: Handle introduced ``SNF:task_state`` field
- Use it to identify if machine is in a transitioning state (a previously executed task is pending to be completed).- Disable all actions when field.- Backwards compatible. If no field is set the UI falls back into predicting...
cyclades: Integrate machine resize action in UI
- Action gets triggered from edit links which appear next to the cpu/memory details icon/single machine views.- Handle inability to perform resize action based on vm state by displaying a warning when machine is in running state....
pithos: Restore communication with openstack clients
Refs: #4092
Merge branch 'tmp-pithos-tests' of https://code.grnet.gr/git/synnefo into tmp-pithos-tests
Conflicts: snf-astakos-app/astakos/api/tokens.py snf-astakos-app/astakos/im/tests/api.py snf-common/synnefo/settings/test.py snf-django-lib/snf_django/lib/api/__init__.py...
pithos: update tests
pithos: Change block size by configuration
This is useful for testing corner cases efficiently.
pithos: Fix control for satisfiable range
pithos: move transaction managment and quotaholder sync in frontend
Remove backend_method decorator and move logic in the pithos api method
pithos: remove hardcoded urls in tests
pithos api: Adjustable max number of items listed
Openstack storage api sets to 10000 the maximum number ofitems returned by the listing functions.However to test this behaviour is time consuming.Change this threadhold to be adjustable via the settings...
docs: minor fix in pithos api guide
pithos: WIP - rewrite pithos tests
astakos: modifications in POST /tokens (authenticate) api call
cyclades: Add migration file
Add migration file for floating IPs and VM task state.
cyclades: Fix exception message
Fix exception message when trying to connect an instance to a non-activepublic network.
burnin: Don't register images as public
plankton: Modular plankton backend class
Enable configurable plankton backend using setting ``PLANKTON_BACKEND_MODULE``.
Add ``synnefo.plankton.backend.JSONFileBackend`` which uses a json file asthe store of returned images. The backend should only be used in development...
Merge branch 'feature-floating_ips+resize' into develop
cyclades: Rename "public" to "SNF:ANY_PUBLIC"
Rename reserved work for automatically choosing a public network from"public" to "SNF:ANY_PUBLIC". Also add the setting description to conffiles.
cyclades: Remove PUBLIC_USE_POOL setting
Remove PUBLIC_USE_POOL setting, since in order to use floating IPs, thecyclades must be responsible for managing all IP pools.
cyclades: Fix bug in server-create command
Function for creating a server have been moved from api to logic.
cyclades: Check if a NIC is a floating IP.
Extend NetworkInterface model with a property showing if the IPv4address of the NIC is a floating IP or not. Also, simplify somerelevant code.
cyclades: Export OS-EXT-IPS:type for floating IPs.
Cyclades API should return "floating" for the OS-EXT-IPS:type attribute.
cyclades: Allowed serializations for floating IPs
cyclades: Choose floating-ips when creating server
Extend POST /servers API call, to take an optional attribute'floating_ips', which is a list of floating IP addresses. The serverwill have one NIC for each of this addresses after the'DEFAULT_INSTANCE_NETWORKS' and before any private networks that the...
Distinquish between networks and Floating IP pools
Extend Network model with the 'floating_ip_pool' boolean field, toindicate whether a Network can be a floating IP pool or not. Networksthat are floating IP pools must exist in all Backends, and so'snf-manage backend-add' should try to add them....
cyclades: Add ip pool option to network-create cmd
Add '--floating-ip-pool' option to 'network-create' management command.Networks that have this option set must be created to all Ganetibackends.
cyclades: Various fixes regarding floating IPs
Fix some issues regarding floating ips introduced by rebasing branch.
Fixes to tests
cyclades: Separate logic for networks from API
Remove code handling networks from network API views to logic.networks
cyclades: Make NIC representation more verbose
cyclades: Do not delete networks with floating IPs
Forbid network deletion in case the network has allocated floating IPs,no matter whether they are used by instances or not. Update'allocate_floating_ip' API method, to take exclusive lock on networkbefore reserving a floating IP, to avoid race condition between deleting...
cyclades: Auto allocate a floating IP
Make 'pool' attribute of POST /os-floating-ips request optional. Ifattribute is missing, the server will allocate a floating IP from one ofthe available public networks.
cyclades: Add 'floating-ip-list' management cmd
cyclades: Add network policy at server create
Add 'DEFAULT_INSTANCE_NETWORKS' setting that can be used by theadministrator to define the list of networks that each server that iscreated must be connected to. Each created VM will have a NIC connectedto each of these networks. This settings can include a list of network...
cyclades: Add tests for add/remove Floating IP
cyclades: Reserve a specific floating IP
Add extra optional 'address' attribute, in POST /os-floating-ips/request, to allow a user to reserve a specific floating IP. This requestwill fail if the user tries to allocate an IP address that is used byanothers user VM (it will succeed if they address is already used by...
cyclades: Do not release floating IPs
Update 'release_instance_nics' backend function which is called toprocess NIC modifications in the Ganeti backend, to not return aIPv4 address back to pool if this address is a floating IP.
cyclades: Update reconcilliation for floating IPs
Update network reconcilliation to consider floating IPs reconcilling IPpools. Floating IPs that are reserved and usused, will appear asasynced. This commit fixes this, by considering unused floating IPs as...
cyclades: Check if network exists in backend
Raise 503 if a user tries to add a floating IP to a VM that resides in aGaneti backend that the coressponding network does not exist.
cyclades: Add and remove networks from backends
Extend 'snf-manage network-modify' command with '--add-to-backend' and'--remove-from-backend' options, to create and remove an already createdpublic network from a Ganeti backend.
cyclades: Support many NICs when creating vms
Support arbitraty number of NICs when creating Ganeti instances.