cyclades: Update snf-manage network-create
cyclades: Better handling of deleted subnets
cyclades: Update success code on subnet create
cyclades: Catch an unhandled exception
cyclades: Add shutdown_timeout to RAPI client
Add missing 'shutdown_timeout' option to reboot, shutdown and destroymethods of Ganeti RAPI client. The Ganeti RAPI daemon will ignore thisoptions until Ganeti 2.10.
cyclades: Map reboot type to shutdown timeout
Fix handling of reboot type option. If 'hard' reboot type is specifiedthis is mapped to zero shutdown timeout of OP_INSTANCE_REBOOT Ganetijob. This is only supported from Ganeti>=2.10 and snf-ganeti. In other...
cyclades: Add default owner for port
Consider as default owner for a port the owner of the machine that theport will be connected to.
cyclades: Remove duplicate constants
cyclades: Fix removal of stale NICs in BUILD state
Until now, NICs that did not exist in the Ganeti backend and were inBUILD state were removed after a timeout (BUILDING_NIC_TIMEOUT). Thiswas dangerous, because if an OP_INSTANCE_CONNECT job had been "stuck"...
ui: Typo fix
ui: Remove dependency on vm_hostname_format setting
ui: Styling improvements
ui: Improve ipv6 connectivity warning styles
cyclades: Enforce quota
Introduce command enforce-resources-cyclades, which checks for quotaviolations and applies actions to enforce the limits. By default, itoperates only on these resources: cpu, ram, floating_ip.
astakos: Add resource visibility flags
Rename flag `allow_in_projects' to `ui_visible'. Add flag `api_visible'.The former entails the latter.
Remove resource import/export commands
They have been subsumed by the respective service import/export commands.
cyclades: Small fixes to server-import command
ui: Proper initialization of port progress indicator
in icon view vm ips
ui: Remove snapshots specific patch
ui: Update image details title styles
ui: Avoid image name double escaping in vm wizard
ui: Snapshot action indicator icon
ui: IPs icons
ui: Handle port_forward vm info when available
display corresponding connect info in vm connect overlay
ui: Remove debug statement
ui: Warn user when vm has no public ip v4
in vm connect overlay
ui: Skip snapshot action confirmation step
ui: Network/IPs/Public keys action indicators
ui: Truncate model names in several cases
ui: Avoid double escaping of image name
ui: Additional vm name truncates
ui: Remove UI_VM_HOSTNAME_FORMAT setting
no longer needed since compute api responses contain the fqdn vm attribute.
Setting ``UI_NO_FQDN_MESSAGE`` setting added. Setting value will be displayedwhen fqdn vm attribute is empty.
ui: Remove categories list in vm wizard view
ui: IPs icon subview alignment fixes
ui: Fix network ports toggling overflow issues
ui: Disconnect action in vm ips icon subview
ui: Improve inactive vm actions handling
ui: Hide public network connect action border
cyclades: Command to export Cyclades statistics
Add new 'snf-manage stats-cyclades' management command to export basicstatistics about Cyclades, like number of servers, network and resourceutilization. The command can either export the statistics either in JSON...
cyclades: Export Cyclades detailed stats from API
Add '/admin/stats/detail' API endpoint to export basic statistics aboutCyclades. Access to this view is only allowed to the users that belongto specific Astakos groups, as specified in the new setting'ADMIN_STATS_PERMITTED_GROUPS.' Also, added the new 'user_in_groups' API...
cyclades: Delete stale NICs before migration
Extend migration file to delete NICs that belong to VMs that havealready been deleted. Such NICs may exist due to a bug in previous versionsof Synnefo, and are totally useless. Also, they must be removed because...
cyclades: Fix bugs relative with quotas
cyclades: Update firewall_profile field to None
Migration value of 'firewall_profile' attribute from '' to None.
ui: Update firewall profile API calls
using port ids in action parameters
ui: Fix resolving of vm hostname
ui: Remove deprecated floating IPs API calls
cyclades: Catch exception in verify_personality
The verify_personality function assumes that the contents of apersonality is encoded in base64 and tries to decode them. But if theclient didn't encode them a TypeError `Incorrect padding' will beraised. Catch this exception and raise a BadRequest.
ui: Display connections instead of machines
in networks view
ui: Trigger window resize when needed
ui: Networks/IPs updates and fixes
ui: Floating ip creating progress styles
ui: Floating ip destroying style
ui: Improve floating IP status display
ui: VM ip addresses subview improvements
ui: Improve floating ip status display
ui: Several ips/networks fixes and improvements
ui: Enable automatic quota handling in collection views
ui: Disable language select menu
ui: SSH create view. Focus on name input by default
gtools: Fix Ganeti allocation parameters
When retrying a failed job, remove 'pnode' and 'snode' fields if theywere implicitly set by Ganeti iallocator. Ganeti will fail if bothiallocator and node are specified in the job.
ui: Remove options menu from header
ui: Public networks fixes
- 'Internet' instead of 'Public'- Common prefix 'Internet' for both IPv4 IPv6 network names in vm wizard- Loading indicator when creating a new floating ip from vm wizard
ui: Hide empty private network list
helpdesk: Support quering history of public IPs
Add basic support for quering a public IP address. All uses of this IPaddress are returned which are currently rendered to a dummy template.
helpdesk: Order IPs by allocation time
helpdesk: Fix css and html for IP queries
cyclades: Fix reference to QuotaLimit
Rename 'cpu' and 'ram' resources
Rename CPU and RAM relative resources to avoid data migrations.Specifically, the resources that are renamed are the following:
cyclades: Rename FloatingIP to IPAddress
FloatingIP table has been removed. Instead floating IPs are stored inthe IPAddress table and are distinguished from other IP addresses bythe 'floating_ip' attribute.
cyclades: Generalize issue_and_accept_commission
Use issue_and_accept_commission for any action where one needs toautomatically accept the commission after issuing and committing.
cyclades: Handle qh errors in a context manager
Replace decorator handle_astakosclient_error with a more flexiblecontext manager, AstakosClientExceptionHandler.
cyclades: Change function params indentation
cyclades: Simplify issue_and_accept_commission
Simplify the 'issue_and_accept_commission' function that handledcommissions that should be auto-accepted. Also do not 'reject' theserial, since the resource that corresponds to this serial has alreadybeen committed to DB. Finally, refactor 'floating_ip' code that used this...
cyclades: Issue commission based on action
Make issue_commission() the single point where provisions are computedand the appropriate astakosclient call is issued.
cyclades: Resolve undecided serial in force mode
Reject a serial with pending=True only when we need to force a newcommission on a given resource.
Also improve handling of serial state: make sure pending is set to Falsewhen we decide whether to accept or reject a serial. Mark a serial to...
cyclades: Pass action params in server_command
Commission to be issued depends on extra parameters for some actions,e.g., on the flavor when resizing a vm.
cyclades: Fix commission parameter passing
Propagate `force' and `auto_accept' of handle_resource_commissiondown to issue_commission.
cyclades: Allow deletion of ports from public nets
Move check about deleting a port from a public network. This check isonly enforced in the API, but is allowed in logic layer, e.g. snf-managecommands.
cyclades: Add '--active' filter to ip-list cmd
Add filter to display only IPs that are currently active.
cyclades: Rename attribute to 'router:external'
Rename 'external_router' attribute of network to 'router:external' asdefined in the API.
cyclades: Small bug fix in IP Pools
cyclades: Update subnet-inspect
cyclades: Fix a bug in api/subnets.py
cyclades: Fix location of 'ip-list' command
cyclades: Fix and rename snf-command
Replace snf-manage floating-ip-history with ip-listsnf-manage ip-list (--address <ip_address>) (--server <server-id>)This is a normal ListCommand so it can take other options like--filter-by.
Merge branch 'hotfix-0.14.10' into develop
Conflicts: Changelog snf-cyclades-app/synnefo/api/servers.py snf-cyclades-app/synnefo/logic/backend.py snf-cyclades-app/synnefo/logic/callbacks.py snf-cyclades-app/synnefo/logic/management/commands/reconcile-networks.py...
cyclades: Update disk_templates if empty
Make backend_allocator to refresh the available disk templates of abackend if there are empty.
cyclades: Rename option
Rename '--allocation-pools' option to '--allocation-pool'.
cyclades: Check drained only if not destroying
Check drained flag only if network actions is not destroy. When networkis being destroyed the network is automatically marked as drained toexclude it from IP allocations.
cyclades: Check for all finalized states
cyclades: Fix broken tests
Fix some tests that broke because of recent changes in astakosclient.The 'token' argument has been removed, so all mocking arguments areshifted by one.
cyclades: Fix floating_ip resource counting
cyclades: sed 's/astakos_url/astakos_auth_url/g'
ui: Floating IP connect vm overlay fix
pass collection instead of array in show_vms call
ui: Improve dynamic model attributes handling
ui: Avoid floating ip disconnect on busy vms
cyclades: Handle snf-ganeti bug
Create IPv6 only networks as /29 because snf-ganeti can not create /30networks.
cyclades: Replace ASTAKOS_BASE_URL
Replace ASTAKOS_BASE_URL with ASTAKOS_AUTH_URL.