Do not automatically update network state
Each modification in a BackendNetwork object, triggers an updateto the corresponding Network object. Until now this was done bythe BackendNetwork save() method. Now it is explicitly donefrom the backend pross_network_status.
snf-dispatcher: Update NICs only when needed
Do not remove and recreate the NICs of a VM when NICs have not changed.
Implement resizing of pools
Extend PoolManager to support extending and shrinking of Pools. Alsoadd extra option '--size' to pool-modify command.
Add function for pretty printing tables
Fix white space
Extend Plankton API with shared-images
Extend Plankton API, to support listing all non-public images thatare available to the user. This can be done by issuing a GET toshared-images/ and shared-images/detail.
Implement server-import management command
Implement management command for importing an existing Ganeti instanceinto Synnefo. The owner, flavor and image are specified by command linearguments. Importing will fail if the instance has NICs connected to...
Make amqp_puka get logger as argument
Merge branch 'ui-0.11' into devel-0.12
Force confirmation of untrusted image selection
ensure that user notes the untrusted image risks before he continues toflavor selection.
Handle empty images list in vm creation view
Prompt custom image guide reference if no images available
Handle unavailable hostname information in ui
fallback to ip address
SSH personality keys ownership fix
also send mode/owner/group for each user's authorized_keys
Check clustername when modifying backend
Add check for clustername when adding backend
Fix lectical in pool-modify
Lay styling stress on connect view warning message
Avoid double escaping of image metadata
image model get_meta already takes care of escaping the meta value
Support multiple image users in js models
methods that used to return user specific information modified to returnarrays of objects based on identified image users. Image space delimited`users` metadata key is now the primary point to identify existing image...
VM creation view improvement, Refs #3012
warn user against untrustworthy image owners
VM create view styles fix
fix max height and spacing of public keys list view
Fix HTTP code when adding NIC to inactive network
Add --filter-by option to *-list commands
Add --filter-by option to server-list, network-list and flavor-listmanagement commands. The value of this option is a comma-seperated listof key 'cond' val pairs and, when used, only the DB entries that satisfy all of...
Fix typo
Sort all API list_* responses
Use the per-user network limit setting
Refactor code in management commands
Add indexes to VirtualMachine and Network
Add indexes to VirtualMachine userid and deleted columnsAdd indexes to Network userid, deleted and public columns
Improve management commands
Enrich servers-list to list only suspended servers
add new option `--suspended` in servers-list command to filter output suspendedservers
Merge branch 'devel-0.12' into ui-0.11
Handle suspended VM's in ui
UI now displays notice for vm's flagged as suspended. User may click onsuspended notice to contact support.
Network view actions fixes
- Reset network status after a failed destroy action- Fix multiple network actions (Refs #2298)- Reset button visibility after nic disconnect
Merge branch 'master' into devel-0.12
Conflicts: snf-cyclades-app/synnefo/api/management/commands/flavor-list.py snf-cyclades-app/synnefo/api/management/commands/server-list.py snf-cyclades-app/synnefo/api/networks.py snf-cyclades-app/synnefo/logic/rapi.py
Import snf-manage network-modify command
Add extra support for changing link and mac_prefix. Also supportreserving and releasing IPs.
Improve ui personal images ui view
include reference to custom image creation guide if available.Reference url can be configured by setting the UI_CUSTOM_IMAGE_HELP_URLsetting.
Dynamically set user quota url in ui
Automatic private networks subnet assignment in ui
Automatically choose a subnet that doesn't already exists in user'sprivate networks if 'Auto' subnet option is selected.
JS networks collection fix
filter out unexisting deleted networks
Fix dispatcher logging
Forbid creation of non enabled networks
Additional user notification in vm connect view
notify users that although connection information appears, vm may not beavailable to connect to if it was just restarted/created.
UI quota limit handling
ui inititalization process now includes a call to the introduced`ui.views.userquota` view which returns a json representation of available userquota limits. Quota information is used across ui to prevent user from theeffort of trying to allocate additional resources.
Update single menu vm entry on each vm name change
Console view IE fixes
VM console view style fix
UI vm connection improvements
- add configurable vm hostname template- allow override of vm connect messages- replace ip by hostname in vm connection messages- configurable ssh message template- optional setting to append extra content in windows rdp files
Minor js models improvements
Proper image ssh support identification
additionally check osfamily image tag. If tag set to linux enable sshkeys support.
Change grouped public network name setting
UI_GROUPED_NETWORK_NAME -> UI_GROUPED_PUBLIC_NETWORK_NAME
Use select_for_update for VirtualMachines
Use select_for_update method when accessing VM objects to preventrace conditions. Also move start_action from logic to api.
Search for jobs if server does not exist
Process OP_NETWORK_SET_PARAMS Ganeti jobs
Modify snf-ganeti-eventd and snf-dispatcher to handle jobs withOP_NETWORK_SET_PARAMS opcode. Handling of these jobs is neededto update the IP Pool of network, when reserving and releasingIPs directly from the Ganeti backend.
Fix nic add/remove handling
apply nic network state changes only after successful api calls.
Fix nic in network identification
Fix expanded grouped public left border styles
Merge commit '3b7fef3' into ui-0.11
Fix UI setting for mac filtered networks
Rename PRIVATE_FILTERED to correct PRIVATE_MAC_FILTERED.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
PUBLIC_ROUTED minor changes
Do not allow api to create public networks and type otherthan PRIVATE_MAC_FILTERED/PRIVATE_PHYSICAL_VLAN.
Rename PUBLIC_ROUTED_USE_POOL setting to PUBLIC_USE_POOL.
Let synnefo do IP pool management only if network is private or...
Configurable grouped public network view name
Add conflicts_check option in network rapi calls
Ganeti by default checks for conflicting IPs when creating/connectingnetworks. This feature can be bypassed for private networks. We donot care for IP uniqueness in case of private networks as long as they...
Update rapi client
Get rapi client from snf-ganeti. Add depends argument (for chain jobs)where needed.
Argument tags must be a list of strings and arguments add_reserved_ips andremove_reserved_ips must be None or a list of strings.
Minor backend fixes in networks
Add conflicts_check option when creating and add network. Check onlyif a network is public.
Let tags argument in rapi calls be a list.
Fix HTTP response code when refusing action
Return Forbidden(403) instead of Unauthorized(401) when refusing arequested action, because the VM is suspended or the resource is public.Unauthorized should be used only when authentication is required and has...
Order output of *-list management commands by id
Implement image-list and image-show commands
Implement two new management commands for plankton.- image-list: lists public images or all images availableto a user- image-show: displays information about a public image
Also, this commit fixes a bug in server-show, when trying...
Delete BackendNetworks when deleting a Backend
Return the VM!
Display VM build percentage in management commands
Allow custom link, mac_prefix in network-create
Add extra command line arguments, to allow the user specify thelink and mac_prefix of the new network if needed.
Implement server-create management command
Introduce per-user allocation of VMs to backends
Add BACKEND_PER_USER setting, a mapping from users to backends. This settingcan by used in order to bypass the default backend allocation process, andallocate all the new VMs of a specific user to a specific Backend.
Reset subselections in private network creation view
Do reset network subnet selection each time user toggles dhcp choice.
Expand empty private networks
to make connect to vm button that appears at the bottom of the privatenetwork nics list be accessible even on empty networks.
Do not allow any API action on suspended VMs
Do not allow any modification of any administratively suspended VM through theAPI.
Helpdesk suspend actions
Revert dummy images from commit 9555268a
Include deleted networks in get_flavor_info
Do not allow actions to deleted networks
Remove depricated settings and update migrations
Optionally group public nics in one network view in ui
Fix stray divs
Html fix
Return ServiceUnavailable when pools are depleted
Return ServiceUnavailable, instead of OverLimit, when pools of bridges,mac-prefixes or IPs run out of resources.
Merge remote-tracking branch 'origin/devel-0.12' into ui-0.11
Make management commands list non-deleted entries
Modify snf-manage {server, network, flavor}-list to list by default onlynon-deleted entries. The `--deleted` flag can be used to also includedeleted ones.
Conflicts: snf-cyclades-app/setup.py
Plankton raise HttpResponseForbidden in case of NotAllowedError
Fix compatibility issues with python-bitarray
Reapply diagnostics migrations
Implement queue-retry management command
Implement a new command which consumes all the messages from thedead-letter queues and re-sends the messages back to the snf-dispatcherin order to handle them again.
Messages are annotated with "from-dead-letter" field in order to detect...