astakos: Cache endpoints in POST /tokens
Since endpoints are rarely altered, we speed up POST /tokens by cachingthem.
astakos: Cache visible resources in GET /quotas
Speed up GET /quotas by caching the list of API visible resources.For consistency, apply the cache in GET /resources, too.
docs: Update admin section about Cyclades backends
snf_django: Propper logging of unexpected errors
Extend logging of unexpected errors, in 'api_method' decorator toinclude the request and the status code in the log record, in order tobe properly displayed by Django's AdminMailHandler.
cyclades: Remove references to snf-ganeti-hook
docs: Fix typos
docs: Update section about IP pool reconciliation
Reconciliation of IP pools has been moved from 'reconcile-networks' to'reconcile-pools' command.
cyclades: Change default value for dhcp
ui: Suspended view regression fixes
ui: IE8 missing Node object fix
cyclades: Fix stale import
cyclades: Use image os property instead of name
Do not display the user defined name of the image. Instead, just displaythe 'OS' property or 'OSFAMILY' of the image.
quotaholder: Reuse holding IDs in set_quota
For efficiency reasons, commit 20c6de3 deletes and recreates holdingsinstead of updating them one by one. In order not to exhaust the IDs, wereuse the deleted ones.
ui: Multiple actions support
- Private networks destroy- IPs detach/destroy- Public keys destroy
ui: Require VM reboot on firewall apply
ui: Minor fixes
ui: Reset network pending actions
when user clicks to connect machines to network
ui: Prevent collection create view from opening
additionally to style update, when no quota are available for the resource
ui: Shutdown action styling update fixes in vm resize ovrelay
docs: Update upgrade notes to v0.15
Add section about converting existing networks to floating IP pools.Also, add tool for converting public IPv4 addresses to floating IPs.
docs: Add prerequisites for upgrade to v0.15
cyclades: Change behaviour of servers fqdn
Change behaviour of 'CYCLADES_SERVERS_FQDN' setting: * If this setting is set to 'None', do not fall back to the public IP address of the machine. * Return the value of the setting even if the machine has no public...
cyclades: Fix bug by wrong indentation
cyclades: Improve messages for default networks
Improve log and exception messages when failing to connect new server todefault and forced server networks.
cyclades: Update Changelog
cyclades: Fix typo in management command
cyclades: Include 'vlmc' and 'archipelago'
Fix image ID for both 'vlmc' and 'archipelago' ext providers.
Merge branch 'master' into develop
Conflicts: ci/schemas/one_node_wheezy/wheezy.conf docs/admin-guide.rst snf-cyclades-app/synnefo/api/actions.py snf-cyclades-app/synnefo/api/servers.py snf-cyclades-app/synnefo/logic/backend.py snf-cyclades-app/synnefo/logic/callbacks.py...
ci: Reduce resources of default flavors
docs: Add ref to Changelog and NEWS for 0.14.10
Bump version to 0.14.10
Add release date for version 0.14.10
snf-deploy: Default packages should be wheezy
docs: Update snf-ganeti version in upgrade notes
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
Revert "docs: Fix typo to upgrade notes"
This reverts commit afa925ddcb83aad59111e5c1ab7157b047093075.
docs: Fix typo to upgrade notes
cyclades: Rename script
cyclades: Rename hotplug to hotplug_if_possible
Use 'hotplug_if_possible' option when adding/removing NICs frominstances. 'hotplug' option will fail if the instance is alreadystopped. Also, pass 'hotplug' option only if it is enabled.
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 script for adding name to NICs
Add migration script for adding a unique name to the NICs of all Ganetiinstances. Also, this script updates the firewall instance tags toinclude the NIC names and not the NIC index.
Bump version to 0.14.10rc3
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.
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.