ci: Reduce resources of default flavors
ui: Shutdown functionality in vm resize overlay
ui: Several ui fixes
- Order ports by id- Deleted port subview html element when port gets disconnected in ips view- Update pending action class in networks view
ui: Public keys icons
ui: Improve port view progress indicator
when port has an associated vm which is in transitional state
ui: VM busy indicator in IPs pane
ui: Network creation rollback on subnet creation failure
do a destroy call on created network if associated subnet creation callfails for some reason.
astakos: Associate only accepted users with projects
Allow project enrollment and ownership only for users that are accepted,not just email_verified.
Also change base quota only for accepted users.
cyclades: Fix a bug in logic/subnets.py
Merge branch 'feature-user-create' into develop
astakos: Refactor user creation
Provide auth.make_user() as the single way to create a new user. Thisfunction is responsible to set all automatically generated fields, such asusername, uuid, and token. Clean up AstakosUser.save(), that used toupdate these fields, and remove AstakosUser.__init__(). Remove trigger...
astakos: Make user uuid field non-null
Set a uuid to any user missing one and set the field null=False.
astakos: Lock user in im views
Make sure that views modifying users run in a transaction and lock usersbefore updating.
astakos: Reset user sign flags when adding new terms
When new terms are added, set has_signed_terms=False for all users, forcingthem to accept the new terms. If there are no terms, a new user is createdwith has_signed_terms=True.
With this change we can skip querying the terms when authenticating a user,...
astakos: Use TestCase instead of TransactionTestCase
We need to be sure that code runs in a transaction (provided by TestCase).If we need in some case to test the transactional behavior itself,we could there use TransactionTestCase.
astakos: Remove unused user creation forms
InvitedLocalUserCreationForm, InvitedThirdPartyUserCreationForm,ShibbolethUserCreationForm, and InvitedShibbolethUserCreationFormwere not used.
astakos: Correct realname splitting
If a realname splits in more than two parts, store the whole valueas last_name. Also use the util function rather than initializinga temporary AstakosUser, where needed.
pithos: Fix unbound reference
Merge branch 'feature-neutron' into develop
cyclades: Typo fixes
django: Add a RemoveCommand class
cyclades: Update some snf-manage commands
cyclades: Update some snf-manage *-remove commands
cyclades: Handle invalid user input in neutron api
cyclades: Verbal fixes on some snf-manage commands
cyclades: More verbal fixes
cyclades: Update snf-manage network-create
cyclades: Better handling of deleted subnets
cyclades: Update success code on subnet create
cyclades: Catch an unhandled exception
Add a new function to assert success code 201
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...
astakos: Remove stack traceback
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
Merge branch 'feature-resource-defaults' into develop
astakos: Preserve visibility flags on register
When re-registering an existing resource, do not override the visibilityflags. They may have been modified by the administrator.
Also fix field naming in resource-list.
Document resource and quota changes
Update Changelog and upgrade notes.
snf-deploy: Set quota for existing users
Add new action 'set_user_quota' to set base quota for existing users.
astakos: Enhance quota listing
Enable filtering quota by resource, over limit status, usage andlimit values.
astakos: Modify base quota in bulk
Add option `--all' in command user-modify to support setting base quotafor all users. Exceptions can be specified with `--exclude'.
Also select user for update in user-modify.
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: Speed up setting quota for one resource
When registering a new resource or updating base quota for a singleresource, compute and set holdings just for this resource.
astakos: Speed up computing initial_quota
Restructure code to avoid an extra join and dict manipulations.
astakos: Revert moderation of non-verified users
Migration 0031 accepted users to whom activation email had been sent, evenif their email had not been verified. This is an inconsistent state. Weset moderated = False for inactive users. If there are any active users in...
astakos: Make limits possibly infinite
Register new resources with unlimited quota.
astakos: Rename --limit to --default-quota
Use a more descriptive name for this resource-modify option. Also changeresource-list column `limit' to `default_quota'.
astakos: Preserve existing quota on default change
View the resource defaults as a skeleton to be consulted when acceptinga new user. All users keep their quota in AstakosUserQuota.
Operate resource-modify in bulk, in order to avoiding updating thequotaholder separately for each resource.
astakos: Add resource visibility flags
Rename flag `allow_in_projects' to `ui_visible'. Add flag `api_visible'.The former entails the latter.
astakos: Restrict resource access in API
Make available in the API only resources with api_visible=True.
astakos: Split quota commands
Introduce quota-list and quota-verify.
Remove resource import/export commands
They have been subsumed by the respective service import/export commands.
astakos: Avoid multiple user lookups in quota sync
Also, remove unneeded param of astakos_users_quotas.
quotaholder: Speed up set_quota with bulk_create
Instead of updating every single holding, delete all after loading them,then reinsert them updated with bulk_create.
astakos: Recompute quota when updating a resource
Avoid stateful update of holdings when a resource limit changes; ratherrecompute and set all affected users' quota.
astakos: Replace decimal field with bigint
Any values that happen to be greater than the new max (2**63-1)are reduced to this value.
common: Support parsing, printing inf numbers
By convention, infinite is represented by 2**63-1, the max value fora signed 64 bit field.
astakos: pep8 fixes
ci: Add --name option to override server name
cyclades: Small fixes to server-import command
astakos: Include astakos_admin in helper script
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
Get the latest ganeti packages from wheezy repo
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Merge branch 'feature-export-stats' into develop
cyclades: Update Changelog about exported stats
cyclades: Export Astakos detailed stats from API
Add new 'astakos_admin' service to export basic statistics about Astakosservice. The stats are exported via the '/admin/stats/detail' API endpoint.Access to this view is only allowed to the users that belong to specific...
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...
astakos: Command to export Astakos statistics
Add new 'snf-manage stats-astakos' management command to export basicstatistics about Astakos, like number of total, active and verified users perauthentication mechanism, together with resource usage for each resource. The...
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.
docs: Remove Archipelago section from Admin guide
Archipelago has its own, new, separate documentation:http://www.synnefo.org/docs/archipelago/latest/which is independent from Synnefo. Thus, remove the oldArchipelago section from the Admin guide.