Statistics
| Branch: | Tag: | Revision:

root @ c20a9da5

# Date Author Comment
c20a9da5 11/28/2013 01:36 pm Christos Stavrakakis

snf_django: Log all 5xx to 'django.request'

Change api_method decorator to log besides unhandled exceptions, all
5xx API responses to 'django.request'.

2efc2580 11/28/2013 01:30 pm Christos Stavrakakis

helpdesk: Change logging level

Change logging level of messages about unauthorized access to helpdesk.
Info level should be enough.

57374655 11/28/2013 01:30 pm Christos Stavrakakis

cyclades: Change logging level to error

93505a12 11/28/2013 01:30 pm Christos Stavrakakis

snf_django: Log exceptions to 'django.request'

Change api_method decorator to log unhandled exception in
'django.request' handler in order to match with Django's default
behaviour to log unhandled exceptions as 'error' in 'django.request' and
sent mail to admins for such cases.

af4d8c34 11/28/2013 01:13 pm Giorgos Korfiatis

astakos: Cache endpoints in POST /tokens

Since endpoints are rarely altered, we speed up POST /tokens by caching
them.

56bbece7 11/28/2013 01:13 pm Giorgos Korfiatis

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.

edd28bbf 11/28/2013 12:23 pm Christos Stavrakakis

docs: Update admin section about Cyclades backends

aad21b81 11/27/2013 08:12 pm Christos Stavrakakis

snf_django: Propper logging of unexpected errors

Extend logging of unexpected errors, in 'api_method' decorator to
include the request and the status code in the log record, in order to
be properly displayed by Django's AdminMailHandler.

5135245b 11/27/2013 06:19 pm Christos Stavrakakis

cyclades: Remove references to snf-ganeti-hook

6d86f5b3 11/27/2013 06:19 pm Christos Stavrakakis

docs: Fix typos

9a1b6564 11/27/2013 06:19 pm Christos Stavrakakis

docs: Update section about IP pool reconciliation

Reconciliation of IP pools has been moved from 'reconcile-networks' to
'reconcile-pools' command.

ac17f307 11/27/2013 06:15 pm Christos Stavrakakis

cyclades: Change default value for dhcp

46987d1c 11/27/2013 06:12 pm Kostas Papadimitriou

ui: Suspended view regression fixes

74fe3fbc 11/27/2013 06:12 pm Kostas Papadimitriou

ui: IE8 missing Node object fix

c653a1cf 11/27/2013 04:11 pm Christos Stavrakakis

cyclades: Fix stale import

e780930a 11/27/2013 04:11 pm Christos Stavrakakis

cyclades: Use image os property instead of name

Do not display the user defined name of the image. Instead, just display
the 'OS' property or 'OSFAMILY' of the image.

28330325 11/27/2013 03:24 pm Giorgos Korfiatis

quotaholder: Reuse holding IDs in set_quota

For efficiency reasons, commit 20c6de3 deletes and recreates holdings
instead of updating them one by one. In order not to exhaust the IDs, we
reuse the deleted ones.

3c446f85 11/27/2013 03:15 pm Kostas Papadimitriou

ui: Multiple actions support

- Private networks destroy
- IPs detach/destroy
- Public keys destroy

a1e272d0 11/27/2013 03:15 pm Kostas Papadimitriou

ui: Require VM reboot on firewall apply

2392ba6c 11/27/2013 03:15 pm Kostas Papadimitriou

ui: Minor fixes

cfd0f789 11/27/2013 03:15 pm Kostas Papadimitriou

ui: Reset network pending actions

when user clicks to connect machines to network

8a563c7c 11/27/2013 03:15 pm Kostas Papadimitriou

ui: Prevent collection create view from opening

additionally to style update, when no quota are available for the resource

00d6e62e 11/27/2013 03:15 pm Kostas Papadimitriou

ui: Shutdown action styling update fixes in vm resize ovrelay

0136e854 11/27/2013 03:06 pm Christos Stavrakakis

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.

300e9d88 11/27/2013 12:58 pm Christos Stavrakakis

docs: Add prerequisites for upgrade to v0.15

9cec0c17 11/27/2013 12:21 pm Christos Stavrakakis

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...

c32c74d9 11/26/2013 03:27 pm Christos Stavrakakis

cyclades: Fix bug by wrong indentation

e74a5b4b 11/26/2013 03:20 pm Christos Stavrakakis

cyclades: Improve messages for default networks

Improve log and exception messages when failing to connect new server to
default and forced server networks.

ed6959d8 11/26/2013 02:07 pm Christos Stavrakakis

cyclades: Update Changelog

78a37c7f 11/26/2013 01:44 pm Christos Stavrakakis

cyclades: Fix typo in management command

bc4dfc43 11/26/2013 01:29 pm Christos Stavrakakis

cyclades: Include 'vlmc' and 'archipelago'

Fix image ID for both 'vlmc' and 'archipelago' ext providers.

ee995ae2 11/26/2013 01:11 pm Christos Stavrakakis

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...

d288745e 11/26/2013 12:18 pm Giorgos Korfiatis

ci: Reduce resources of default flavors

9a80de55 11/26/2013 11:44 am Christos Stavrakakis

docs: Add ref to Changelog and NEWS for 0.14.10

b15fdd37 11/26/2013 11:05 am Christos Stavrakakis

Bump version to 0.14.10

fd63ffb3 11/26/2013 11:03 am Christos Stavrakakis

Add release date for version 0.14.10

f7d0f914 11/26/2013 11:02 am Christos Stavrakakis

snf-deploy: Default packages should be wheezy

ee802310 11/26/2013 11:01 am Christos Stavrakakis

docs: Update snf-ganeti version in upgrade notes

ddb7229d 11/25/2013 05:20 pm Kostas Papadimitriou

ui: Shutdown functionality in vm resize overlay

c700cb69 11/25/2013 05:20 pm Kostas Papadimitriou

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

530cc539 11/25/2013 05:20 pm Kostas Papadimitriou

ui: Public keys icons

b3aee2e0 11/25/2013 05:20 pm Kostas Papadimitriou

ui: Improve port view progress indicator

when port has an associated vm which is in transitional state

5d213e95 11/25/2013 05:20 pm Kostas Papadimitriou

ui: VM busy indicator in IPs pane

1605639f 11/25/2013 05:20 pm Kostas Papadimitriou

ui: Network creation rollback on subnet creation failure

do a destroy call on created network if associated subnet creation call
fails for some reason.

733f013d 11/25/2013 04:54 pm Giorgos Korfiatis

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.

1709a768 11/25/2013 04:25 pm Dionysis Grigoropoulos

cyclades: Fix a bug in logic/subnets.py

  • Don't allow creation of subnets on a network that is initilized in a
    backend
3131c27d 11/25/2013 03:51 pm Giorgos Korfiatis

Merge branch 'feature-user-create' into develop

1808f7bc 11/25/2013 03:47 pm Giorgos Korfiatis

astakos: Refactor user creation

Provide auth.make_user() as the single way to create a new user. This
function is responsible to set all automatically generated fields, such as
username, uuid, and token. Clean up AstakosUser.save(), that used to
update these fields, and remove AstakosUser.__init__(). Remove trigger...

fa1e77f4 11/25/2013 03:47 pm Giorgos Korfiatis

astakos: Make user uuid field non-null

Set a uuid to any user missing one and set the field null=False.

f6ff3033 11/25/2013 03:47 pm Giorgos Korfiatis

astakos: Lock user in im views

Make sure that views modifying users run in a transaction and lock users
before updating.

ef1fb98b 11/25/2013 03:47 pm Giorgos Korfiatis

astakos: Reset user sign flags when adding new terms

When new terms are added, set has_signed_terms=False for all users, forcing
them to accept the new terms. If there are no terms, a new user is created
with has_signed_terms=True.

With this change we can skip querying the terms when authenticating a user,...

fb619437 11/25/2013 03:47 pm Giorgos Korfiatis

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.

5ae8216a 11/25/2013 03:47 pm Giorgos Korfiatis

astakos: Remove unused user creation forms

InvitedLocalUserCreationForm, InvitedThirdPartyUserCreationForm,
ShibbolethUserCreationForm, and InvitedShibbolethUserCreationForm
were not used.

e066eedb 11/25/2013 03:47 pm Giorgos Korfiatis

astakos: Correct realname splitting

If a realname splits in more than two parts, store the whole value
as last_name. Also use the util function rather than initializing
a temporary AstakosUser, where needed.

135f864e 11/25/2013 03:43 pm Sofia Papagiannaki

pithos: Fix unbound reference

5ccda9de 11/25/2013 02:31 pm Christos Stavrakakis

Revert "docs: Fix typo to upgrade notes"

This reverts commit afa925ddcb83aad59111e5c1ab7157b047093075.

afa925dd 11/25/2013 02:23 pm Christos Stavrakakis

docs: Fix typo to upgrade notes

5313efa9 11/25/2013 01:47 pm Christos Stavrakakis

cyclades: Rename script

b81e0ba5 11/25/2013 01:40 pm Christos Stavrakakis

cyclades: Rename hotplug to hotplug_if_possible

Use 'hotplug_if_possible' option when adding/removing NICs from
instances. 'hotplug' option will fail if the instance is already
stopped. Also, pass 'hotplug' option only if it is enabled.

9f6dc661 11/25/2013 01:13 pm Christos Stavrakakis

Merge branch 'feature-neutron' into develop

57c57b88 11/25/2013 01:13 pm Dionysis Grigoropoulos

cyclades: Typo fixes

c406d7d9 11/25/2013 01:13 pm Dionysis Grigoropoulos

django: Add a RemoveCommand class

  • Add a new class for snf-manage *-remove commands
0f89715b 11/25/2013 01:13 pm Dionysis Grigoropoulos

cyclades: Update some snf-manage commands

  • Update network-remove, server-remove, floating-ip-remove, port-remove
    to extend RemoveCommand class added in commit
    ec15e2ab68f90dcc7310863c9293708055fbfb7d
20fc5c41 11/25/2013 01:13 pm Dionysis Grigoropoulos

cyclades: Update some snf-manage *-remove commands

  • Add support for removal of multiple targets in snf-manage
    port-remove, server-remove, network-remove and floating-ip-remove
    commands
4a769fc0 11/25/2013 01:13 pm Dionysis Grigoropoulos

cyclades: Handle invalid user input in neutron api

  • Try to convert floating-ip/port IDs to integers, in order to catch
    two unhandled exceptions
d27b16cc 11/25/2013 01:13 pm Dionysis Grigoropoulos

cyclades: Verbal fixes on some snf-manage commands

2bd38823 11/25/2013 01:13 pm Dionysis Grigoropoulos

cyclades: More verbal fixes

28ac6e86 11/25/2013 01:13 pm Dionysis Grigoropoulos

cyclades: Update snf-manage network-create

  • Allow the creation of a network without specifying any subnets
91430ce0 11/25/2013 01:13 pm Dionysis Grigoropoulos

cyclades: Better handling of deleted subnets

  • Fix a bug where snf-manage subnet-list printed deleted subnets too
  • Fix a query, that also returned deleted subnets
ef761fe4 11/25/2013 01:13 pm Dionysis Grigoropoulos

cyclades: Update success code on subnet create

406968dc 11/25/2013 01:13 pm Dionysis Grigoropoulos

cyclades: Catch an unhandled exception

eb5f7eb0 11/25/2013 01:13 pm Dionysis Grigoropoulos

cyclades: Fix a bug in logic/subnets.py

  • Fix a potential crash if the gateway IP was the last available IP of
    the subnet
  • Create the corresponding test
83157287 11/25/2013 01:13 pm Dionysis Grigoropoulos

Add a new function to assert success code 201

  • Add assertSuccess201 function
  • Use this new function in test/subnets.py
88d998b9 11/25/2013 01:03 pm Christos Stavrakakis

cyclades: Add script for adding name to NICs

Add migration script for adding a unique name to the NICs of all Ganeti
instances. Also, this script updates the firewall instance tags to
include the NIC names and not the NIC index.

72baf8b9 11/25/2013 01:02 pm Christos Stavrakakis

Bump version to 0.14.10rc3

74267398 11/25/2013 11:33 am Christos Stavrakakis

cyclades: Add shutdown_timeout to RAPI client

Add missing 'shutdown_timeout' option to reboot, shutdown and destroy
methods of Ganeti RAPI client. The Ganeti RAPI daemon will ignore this
options until Ganeti 2.10.

51136096 11/25/2013 11:33 am Christos Stavrakakis

cyclades: Map reboot type to shutdown timeout

Fix handling of reboot type option. If 'hard' reboot type is specified
this is mapped to zero shutdown timeout of OP_INSTANCE_REBOOT Ganeti
job. This is only supported from Ganeti>=2.10 and snf-ganeti. In other...

47ea6978 11/25/2013 11:32 am Sofia Papagiannaki

astakos: Remove stack traceback

2a58c29b 11/24/2013 02:53 pm Christos Stavrakakis

cyclades: Add default owner for port

Consider as default owner for a port the owner of the machine that the
port will be connected to.

edbc1d5a 11/23/2013 07:59 pm Christos Stavrakakis

cyclades: Remove duplicate constants

1cb7846c 11/23/2013 07:52 pm Christos Stavrakakis

cyclades: Fix removal of stale NICs in BUILD state

Until now, NICs that did not exist in the Ganeti backend and were in
BUILD state were removed after a timeout (BUILDING_NIC_TIMEOUT). This
was dangerous, because if an OP_INSTANCE_CONNECT job had been "stuck"...

f8df95f9 11/22/2013 04:51 pm Kostas Papadimitriou

ui: Typo fix

d6316aad 11/22/2013 04:49 pm Kostas Papadimitriou

ui: Remove dependency on vm_hostname_format setting

f21051c8 11/22/2013 04:46 pm Kostas Papadimitriou

ui: Styling improvements

2d92b7ed 11/22/2013 04:46 pm Kostas Papadimitriou

ui: Improve ipv6 connectivity warning styles

30399f59 11/22/2013 04:44 pm Christos Stavrakakis

Merge branch 'feature-resource-defaults' into develop

c94dcec3 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Preserve visibility flags on register

When re-registering an existing resource, do not override the visibility
flags. They may have been modified by the administrator.

Also fix field naming in resource-list.

762d2797 11/22/2013 04:44 pm Giorgos Korfiatis

Document resource and quota changes

Update Changelog and upgrade notes.

38fd3090 11/22/2013 04:44 pm Christos Stavrakakis

snf-deploy: Set quota for existing users

Add new action 'set_user_quota' to set base quota for existing users.

5a0f9d6c 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Enhance quota listing

Enable filtering quota by resource, over limit status, usage and
limit values.

45112d5a 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Modify base quota in bulk

Add option `--all' in command user-modify to support setting base quota
for all users. Exceptions can be specified with `--exclude'.

Also select user for update in user-modify.

d14155e3 11/22/2013 04:44 pm Giorgos Korfiatis

cyclades: Enforce quota

Introduce command enforce-resources-cyclades, which checks for quota
violations and applies actions to enforce the limits. By default, it
operates only on these resources: cpu, ram, floating_ip.

548938f6 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Speed up setting quota for one resource

When registering a new resource or updating base quota for a single
resource, compute and set holdings just for this resource.

46b6a8b4 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Speed up computing initial_quota

Restructure code to avoid an extra join and dict manipulations.

d5421da4 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Revert moderation of non-verified users

Migration 0031 accepted users to whom activation email had been sent, even
if their email had not been verified. This is an inconsistent state. We
set moderated = False for inactive users. If there are any active users in...

d61d6007 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Rename --limit to --default-quota

Use a more descriptive name for this resource-modify option. Also change
resource-list column `limit' to `default_quota'.

f72ba65d 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Preserve existing quota on default change

View the resource defaults as a skeleton to be consulted when accepting
a new user. All users keep their quota in AstakosUserQuota.

Operate resource-modify in bulk, in order to avoiding updating the
quotaholder separately for each resource.

2dc27ac1 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Add resource visibility flags

Rename flag `allow_in_projects' to `ui_visible'. Add flag `api_visible'.
The former entails the latter.

85ae5a4c 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Restrict resource access in API

Make available in the API only resources with api_visible=True.

a69ad12b 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Split quota commands

Introduce quota-list and quota-verify.