ui: Create vm snapshot view
- New overlay view to handle vm snapshot creation- Snapshot action available from vm single view
ui: Introduce snapshot image type in vm wizard
cyclades: Delete volumes together with the instance
cyclades: Add dummy management commands for volumes
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: Add migration file for volumes
cyclades: Add SnapshotInstance RAPI method
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: 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
cyclades: Fix typo
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.
cyclades: Fix broken tests
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
cyclades: Add a function to check name legnth
cyclades: Replace astakos base url with auth url
Remove stale refence to obsolete 'ASTAKOS_BASE_URL' setting. Instead use'ASTAKOS_AUTH_URL'.
cyclades: Fix typo in stats-cyclades cmd
cyclades: Fix resource units
cyclades: Update backend only when needed
Make dispatcher ask Ganeti about the enabled/ipolicy disk templates onlyafter an OP_CLUSTER_SET_PARAMS. Otherwise, dispatcher will beoverwhelmed by gnt-cluster verify jobs.
cyclades: Fix bug in network link validation
cyclades: Include port in floating-ip-list command
cyclades: Fix error msg when deleting floating IPs
cyclades: Disable conflict checks for IPv6 nets
ui: Exempt task_state logic when vm is in ERROR state
do not update machine status from task_state if machine in ERROR state,excluding the case when task_state is set to DESTROY.
ui: Resize overlay initialization fix
ui: Improve handling of ssh key injection in machine wizard
- Remove setting ``UI_SUPPORT_SSH_OS_LIST``- Always allow ssh key injection unless image os family is included in ``UI_SSH_SUPPORT_OSFAMILY_EXCLUDE_LIST`` setting.
ui: Fix quota limit reached title in create resource buttons
Cyclades UI: Minor fixes in wording
ui: Error view overlay improvements
additionally display api error message when provided in the error responseobject.
ui: Floating ip fixes
- Fix progress indicator display- Reset model state if attach api call fails
ui: Private network creation fix
handle network creation when no subnet is requested
ui: Proper display of used floatin ip addresses
warn and allow detach of floating ip address which is connected to a portwith no device assigned to it.
Minor wording fix in Create Machine wizard
Change the title and subtitle of the Networking tab of theCreate Machine wizard.
Vocabulary fixes: Dettach -> Detach
cyclades: Add setting for Ganeti clone providers
Add new 'GANETI_CLONE_PROVIDERS' setting to containg the list ofExtStorage providers that support cloning. For these providers thehashmap of the image is passed as an ExtStorage parameter('origin').Also, since the disk is already filled with data, snf-image performs...
cyclades: Setting for max NICs per Ganeti instance
Add new 'GANETI_MAX_NICS_PER_INSTANCE' setting which represents themaximum number of NICs that is allowed for each Ganeti instance. Thevalue of this setting must be less than 'max:nic-count` option ofGaneti's ipolicy.
cyclades: Pass arbitrary params to ext providers
Add 'GANETI_DISK_PROVIDER_KWARGS' setting, which contains a dictionaryof arbitrary parameters for each of Ganeti's ExtStorage providers andwhich will be passed to the 'disks' option of CreateInstance Ganeti job.
ui: Escape machine name in machines list view
ui: Improve feedback view submission
exclude nested collections while rendering user data to JSON string
ui: Proper tab navigation urls
to allow `open in new tab` functionality
ui: Reset selected flavor in resize view overlay
Print error when fail to resolve Astakos endpoints
Cyclades and Pithos use ASTAKOS_AUTH_URL to access the Astakos service.To do so the have to access Astakos' endpoints and get the ACCOUNTS andUI urls.
This patch adds an error message when Cyclades/Pithos fails to retrieve...
cyclades: Ignore messages about deleted resources
Ignore messages from Ganeti about servers and networks that have alreadybeen marked as deleted in the Cyclades DB. Processing of these messagesmay asynchronize Cyclades with Astakos quotas.
ui: Fix network name resolving
cyclades: Force redirect instead of proxying for astakos ui views
Signed-off-by: Kostas Papadimitriou <kpap@grnet.gr>Signed-off-by: Ilias Tsitsimpis <iliastsi@grnet.gr>
ui: Set default names for unnamed networks
ui: Public keys quota reached handling
ui: Fix header navigation handlers in vm wizard
cyclades: Fix locking issue in port create
Lock VM before locking network, because otherwise a deadlock may occurwith code of snf-dispatcher.
cyclades: Order pools by id
cyclades: Fix typo error
cyclades: Remove testing try/exception statement
cyclades: Speedup db data migrations
ui: Introduce setting UI_SUPPORT_SSH_OS_FAMILY_LIST
os families list setting for which ui will allow ssh key injection
ui: Remove public key view link from vm wizard
cyclades: Fix deadlock when releasing floating IPs
cyclades: Fix duplicate constraint in DB
cyclades: Fix bug in getting a free floating IP
Fix wrong query which resulted in getting non-floating IPs.
cyclades: Only IPv4 addresses in port forwarding
Fix bug that caused calling of port forwarding setting with IPv6addresses.
helpdesk: Mock quotaholder in helpdesk tests
cyclades: Fix division by zero bug
Ganeti reports zero available and total disk if no vg is set. Thiscaused a division by zero error in the default backend allocator.
cyclades: Get network lock when creating a port
Take the network lock before creating a port in the network. Not takingthe lock may result in a race condition between creating the port anddeleting the network. Also, it can cause a DB deadlock.
cyclades: Fix DB locking issues causing deadlocks
Fix deadlock issues that is caused by Postgresql's locks on foreignkeys. For example, creation of a BackendNetwork row will result in ashared lock in the 'backend_id' rows. Because updating a VM's NICsacquired an exclusive lock on the backend that the VM lived, this...
cyclades: Fix typo in log msg
ui: Fix windows rdp template
properly set port within the ``full address`` field when set using coloncharacter