cyclades: Make 'volume' an app
Add 'models.py' to make 'volume' a Django app.
cyclades: Handle keybord interrupt in dispatcher
cyclades: Fix exception for missing snapshots
ui: Fixes for volumes and snapshots
ui: Create vm snapshot view
- New overlay view to handle vm snapshot creation- Snapshot action available from vm single view
Conflicts:
snf-cyclades-app/synnefo/ui/templates/partials/machines.html snf-cyclades-app/synnefo/ui/templates/partials/machines_single.html
ui: Include snapshot action in vm icon view
ui: Introduce snapshot image type in vm wizard
ui: Update images collection every time user opens vm wizard
ui: Properly set snapshot OS attribute
if not already set
ui: Snapshot image icon
ui: Implement snapshot create api call
cyclades: Add SnapshotInstance RAPI method
cyclades: Delete volumes together with the instance
cyclades: Check that image fits into disk
Check that the disk size is big enough to fit the image.
cyclades: Allow snapshots only for ext_ template
Do not allow taking a snapshot from a volume, if the disk template isnot ext_*.
cyclades: Various fixes for volumes and snapshots
cyclades: Make plankton aware of snapshots
Add 'is_snapshot' attribute to plankton images. Also add methods forgetting or deleting a snapshot.
cyclades: Initialize 'volume' app
Initialize new 'volume' app, which will implement the block storage APIof Cyclades.
cyclades: Create DB models for 'volume' app
Also add VolumeFactory and SnapshotFactory models factories.
cyclades: Add urls for volume API
cyclades: Implementat volumes and snapshots
cyclades: Add tests for volumes
Merge branch 'release-0.15' into develop
Conflicts: snf-deploy/snfdeploy/__init__.py version
plankton: Fix wrong import
s/lib/util
plankton: Validate parameters and catch assertions
plankton: Fix storing of image properties
Image properties where stored all together as one metadata (JSON dumpedstring). This caused problems with the maximum allowed length of for ametadata value. This commit fixes this by storing each property as aseparate metadata which is prefixed with the 'PROPERTY_PREFIX'.
plankton: Validate meta key/value length
Fail with BadRequest if length of metadata key or value is not valid.
cyclades: Check if the name of an image is null
cyclades: Stats per backend from API
Extend Cyclades stats API endpoint with the ability to return statsonly for a backend. Also, add option to include image stats or not.
plankton: Check that object is an image
Fix bug that caused Plankton to return Pithos files that were notregistered as images. Plankton did not checked that the requested Pithosobject (UUID or URL) was an Image. This was caused because'get_object_meta' call of PithosBackend returns the common metadata for...
cyclades: Fix typo in tests/networks.py
cyclades: Typo fix in api/networks.py
cyclades: Update api/networks.py and typo fixes
Refs #4979
cyclades: Validate fields of API requests
Make sure that all fields of a request (user input) have a valid type.This commit validates 'ports', 'servers' and 'floating_ips' APIs.
cyclades: Detach serial from resource when resolved
cyclades: Delete unused quota code
cyclades: Update serial only if actually resolved
cyclades: Fix typo
cyclades: Extend flavors with 'allow_create' field
ui: Disable content editing in public key list view
cyclades: Update snf-manage subnet-* commands
cyclades: Fix broken tests
Fix tests that were broken by commit #7ef05bd.
cyclades: Fix quota bug in snf-dispatcher
Clear the 'vm.serial' field after processing a job that was notexpected. When processing such a job, we reject the pending commissionand issue a new one that reflects the unexpected job. However, since wereject the commission that is associated with the 'vm.task_job_id' job,...
ui: Fix super method call
cyclades: Fix corner case in reconciliation
Do not perform reconciliation for building servers that theOP_INSTANCE_CREATE job is completed after quering Ganeti about the stateof servers.
cyclades: Display IPs in stats-cyclades
Display free and total public IPv4 addresses when pretty-printingCyclades stats.
cyclades: Add deleted attribute for changes-since
Extend API response for servers, networks, subnets and floating IPs,to support HTTP 'changes-since' queries.
Catch EOF in astakos/quota commands
Abort operation when raw_input raises an EOFError.
Fix stdout/stderr write in astakos/quota commands
Write actual command output and user prompts to stdout; error and progressmessages to stderr.
ui: Styling for vms in error state in ips/network list view
ui: Improve recurrent api calls throttling
do not trigger faster recurrent intervals when api endpoint does not supportincremental updates (changes-since parameter).
ui: Disable port toggling when no ports available in network view
ui: Hide firewall view in private network ports
cyclades: Fix passing arg shutdown_timeout in logic
cyclades: Set shutdown timeout when enforcing quota
Provide option `--shutdown-timeout' in management command to force a VMshutdown.
ui: Suspended vm feedback overlay description fix
ui: Disable suspended vm actions
ui: Conditionally disable suggested flavors in create wizard
based on user quota limits
helpdesk: Exempt csrf check from helpdesk action views
custom csrf handling is already applied in those views.
Fixes action errors when cyclades are installed along with astakos app whichenables csrf protection middleware.
helpdesk: Handle vm action errors
userdata: Log create/update/delete actions
ui: Optionally group public networks by name
If setting ``UI_GROUP_PUBLIC_NETWORKS`` is set to True, public networks willbe grouped by their name in networks view.
ui: Networks view improvements
- Improve network status styling- Include status styling for drained networks
cyclades: Add shutdown_timeout to server commands
Add support for specifying a timeout when stopping, rebooting ordestroying a server.
Fix error msg
UI: Typo fix in VM diagnostics
Fix an off-by-one-error in VM diagnostics
Conflicts: ci/utils.py version
ui: Public key content styling improvements
userdata: Settings description update
userdata: Improve public key submission
- Validate key submission content size. Maximum allowed content size is configurable in userdata settings (USERDATA_SSH_KEY_MAX_CONTENT_LENGTH).- Return 422 status code on submission validation errors.
userdata: Update unit tests
cyclades: Fix a bug in subnet creation
Since commit ba6ad3460931223d262badebcecbb4124ac136d8 subnets werealways created with an empty name field due to a bug.
cyclades: Fix a bug in check_name_length
Function check_name_length would crash if the input was a unicodestring.
ui: Minor error overlay fixes
set missing overlay titles
ui: Remove needless paragraph from feedback overlay
cyclades: Fix typo in vm state
cyclades: Lock objects in reconciliation
Make reconciliation mechanism take an exclusive lock on objects beforeissuing messages for reconciliation events. This will makereconciliation mechanism more slow, but will ensure correct quotas whenreconciliation is run while the service is online.
cyclades: Fixes causing unsynced quotas
ui: Removed feedback form description
no longer needed since feedback overlay is not manualy triggered any more.
cyclades: Add 'userid' and 'public' to subnets
Extend 'Subnet' model with 'userid' and 'public' attributes. This isrequired in order to avoid an expensive join when listing subnets. Thiscommit also includes a database migration for existing subnets.
cyclades: Add 'ipversion' to IPAddress model
cyclades: Optimize dispatcher DB queries
ui: Do not enforce vm quota decrease on vm removal
ui: Match IP's pane/hover titles
cyclades: Set detail=True by default
cyclades: Properly handle subnet/floating_ip IDs
cyclades: Update help msg on snf-manage commands
cyclades: Exclude users from quota enforcement
cyclades: Limit quota enforcement operations
Add option in enforce-resources-cyclades to specify the maximum number ofoperations to perform per backend.
Also ensure that quota are always checked in the same order.
Fix default values for DB model factories.
cyclades: Comment out unused tests
Security groups are not working yet. Comment out relevant tests.
cyclades: Allow deletion of ports from deleted VMs
Fix corner case where a port seems to be still attached to a VM althoughthe VM has already been deleted.
cyclades: Fix migration file
Fix migration that caused creation of Subnet for networks that did nothad enabled the 'dhcp' option.
cyclades: Do not prefetch related in get()
cyclades: Add datetime fields to Subnet model
Add 'created' and 'updated' datetime fields in Subnet model.
cyclades: Optimize network related DB queries
Use 'prefetch_related' and 'select_related' to optimize DB queries.
cyclades: Fix bugs in port creation