Statistics
| Branch: | Tag: | Revision:

root @ fe4000a3

# Date Author Comment
b5780d85 02/13/2014 04:20 pm Giorgos Korfiatis

cyclades: Add field project in models

Add field `project' and initialize it to `userid' for all VMs, networks and
floating IPs. This means that all resources are assigned to the owner's base
project.

da9bcceb 02/13/2014 04:20 pm Giorgos Korfiatis

astakosclient: Hide provision complexity

Both issue_one_commission and the new call issue_commission_generic act
as wrappers on top of _issue_commission. They create the appropriate
project-level provisions, based on the original ones provided by the
astakosclient user.

1f4a46dd 02/13/2014 04:20 pm Giorgos Korfiatis

astakosclient: Support resource reassignment

Add issue_commission wrapper for assigning resources to a new project.

47c27955 02/13/2014 04:20 pm Giorgos Korfiatis

cyclades: Assign new resources to a project

Add optional parameter `project' in API calls that create VMs, networks,
and floating IPs. If missing, user's base project is assumed (same uuid
as the user).

13f1e2ff 02/13/2014 04:20 pm Giorgos Korfiatis

cyclades: Inspect qh NotFound response

Since a user can now specify the project where a resource is assigned,
user-provided data do reach the quotaholder. A NotFound response is
thus not necessarily an internal error; the user may just not be a
member of the input project. Query the quotaholder to find out whether...

5dc97d69 02/13/2014 04:20 pm Giorgos Korfiatis

astakos: Add command project-modify

Add a management command that directly modifies an initialized project.

fe4000a3 02/13/2014 04:20 pm Giorgos Korfiatis

quotaholder: Do not check provision integrity

The API is responsible to provide valid data to the backend.

a53ec93b 02/13/2014 04:20 pm Giorgos Korfiatis

astakos: Sync project-based quota

Update quota code to take into account the differentiated sources.
There is no more need to lock the user when updating quota; locking
the project is now adequate.

Update quota listing in management commands; introduce option --quota in...

44d950c6 02/13/2014 04:20 pm Giorgos Korfiatis

astakos: Improve printing in quota-verify

Also add option to delete project and user holdings that do not correspond
to actual astakos entities.

64a43a9a 02/13/2014 04:20 pm Giorgos Korfiatis

astakos: Disable setting user base quota

Remove functionality from management commands `quota' and `user-modify'
for setting base quota. They will now be handled through projects.

362dadaa 02/13/2014 03:19 pm Giorgos Korfiatis

astakos: Adapt to new project/app scheme

c3763b39 02/13/2014 03:19 pm Giorgos Korfiatis

astakos: Make ProjectResourceGrant fields non null

Field project_capacity now requires a value; field project_application
was mistakenly set nullable.

2c1a5a15 02/13/2014 03:19 pm Giorgos Korfiatis

astakos: Introduce base projects

Every user is associated with a special-purpose `base' project. Its
mission is to manage the user's base quota.

2c960473 02/13/2014 03:19 pm Giorgos Korfiatis

astakos: Make base project when creating user

Make base project along with the user with the same uuid. Enable the
project upon user acceptance.

d1c95ad9 02/13/2014 03:19 pm Giorgos Korfiatis

astakos: Mark project membership as initialized

Add flag `initialized' on ProjectMembership. It is set to true once a user
is accepted. It is used to distinguish users that have registered
project quota (but may have been removed since then).

508e13e3 02/13/2014 03:19 pm Giorgos Korfiatis

quotaholder: Migrate holdings for pool projects

Recreate quota holdings for all initialized projects and memberships.

552df4cd 02/12/2014 06:48 pm Giorgos Korfiatis

astakos: Fill grants' project_capacity

Each resource grant that a project provides is now also associated with
a project-level limit. This is set by consulting the existing user-level
limit and the max members allowed. If the latter limit is not set, we
consider the project's current number of active members.

5e3c112a 02/12/2014 06:48 pm Giorgos Korfiatis

astakos: Add project default in resources

Add field `project_default' in resources. This will serve as a skeleton to
fill project quota (both project-level and member-level limits) for
resources not specified by the application.

The field is initialized by consulting the default base quota (field...

8af74daf 02/12/2014 06:48 pm Giorgos Korfiatis

astakos: Make limit_on_members_number a bigint

We need bigint in order to represent infinite as 2**63-1.

11922155 02/12/2014 06:48 pm Giorgos Korfiatis

astakos: Replace application None values

None will from now on denote a missing field of the application. Use empty
string for missing string and the conventional max int (2**63-1) for a
missing limit.

2ffe077d 02/12/2014 06:48 pm Giorgos Korfiatis

astakos: Store all project info on the project model

A project entry will contain all information needed to operate a project.
An application will store just the information provided by the applicant.

88f5242e 02/12/2014 06:47 pm Giorgos Korfiatis

astakos: Identify projects with a uuid

Introduce field `uuid'; use it to refer to projects in the API and the
management commands.

9255938e 02/10/2014 02:40 pm Kostas Papadimitriou

astakos: Typo fix

7f3bbafa 02/10/2014 02:40 pm Giorgos Korfiatis

astakos: Reduce import clutter in functions.py

84498bca 02/10/2014 02:40 pm Giorgos Korfiatis

astakos: Refactor notification code

Introduce generic notify functions that consult a dict for a given action.

74c9dfca 02/10/2014 02:40 pm Giorgos Korfiatis

astakos: Remove unneeded argument

62d30634 02/10/2014 02:40 pm Giorgos Korfiatis

astakos: Introduce private projects

A private project can only be accessed by its owner and its members.
No user can join the project; but the owner can enroll members.

4398adc9 02/10/2014 02:36 pm Giorgos Korfiatis

docs: New project design wrt applications

b10f66b9 02/10/2014 01:36 pm Giorgos Korfiatis

common: Do not encode key paths as string

Handle explicitly key paths as lists of keys. This allows the key
to be any python object, as is the case in python dicts.

Provide utility unpack() to convert from a string representation to
a list of keys. It assumes that a key is either a string or an integer...

cd7282a1 02/07/2014 05:10 pm Ilias Tsitsimpis

snf-ci: Fix the branch name for pithos webclient

When cloning the pithos webclient, snf-ci tries to checkout a branch
with the same name as the synnefo one (if such branch exists). To do so
it gets the list of all branches using the 'git branch' command. But...

f507ab25 02/03/2014 03:29 pm Dimitris Aragiorgis

deploy: Fix snf-ganeti-eventd setup

Enable eventd during prepare() so that after restarting it, init
script will not fail.

Signed-off-by: Dimitris Aragiorgis <>

6e382d5a 02/03/2014 02:50 pm Christos Stavrakakis

Merge branch 'release-0.15' into develop

1a720e84 02/03/2014 02:38 pm Christos Stavrakakis

Tests should succeed even if tearing down DB fails

92428559 02/01/2014 11:28 am Sofia Papagiannaki

pithos: Fix TypeError in listing shared & public by me.

fd95755f 01/31/2014 12:01 pm Ilias Tsitsimpis

burnin: Delete ports attached to floating IPs

This patch fixes a problem with burnin where burnin couldn't delete a
floating IP if it was attached to a port, by destroying the port first.

27e51b28 01/30/2014 04:48 pm Olga Brani

astakos: Change contact form textarea size

9dc95427 01/30/2014 03:17 pm Giorgos Korfiatis

Merge branch 'release-0.15' into develop

Conflicts:
snf-deploy/snfdeploy/__init__.py
version

54d26a27 01/30/2014 12:13 pm Dionysis Grigoropoulos

cyclades: Fix numerous bugs in plankton views

  • Check if the user specified an invalid disk/container format when
    registering an image.
  • Check if the user provided a valid disk/container format when
    updating a registered image.
  • Check if the user provided an image ID when registering/updating an...
c91e3687 01/29/2014 04:10 pm Dionysis Grigoropoulos

docs: Fix typos in image api guide

606837c6 01/29/2014 03:43 pm Christos Stavrakakis

plankton: Fix wrong import

s/lib/util

78fa9134 01/29/2014 03:24 pm Christos Stavrakakis

plankton: Validate parameters and catch assertions

d58ea30a 01/29/2014 01:41 pm Christos Stavrakakis

plankton: Fix storing of image properties

Image properties where stored all together as one metadata (JSON dumped
string). This caused problems with the maximum allowed length of for a
metadata value. This commit fixes this by storing each property as a
separate metadata which is prefixed with the 'PROPERTY_PREFIX'.

73c37386 01/29/2014 01:41 pm Sofia Papagiannaki

pithos: Database data migration for the plankton properties.

0efb43cd 01/29/2014 01:41 pm Christos Stavrakakis

plankton: Validate meta key/value length

Fail with BadRequest if length of metadata key or value is not valid.

c0aaf871 01/29/2014 08:34 am Ilias Tsitsimpis

snf-deploy: Fix ASTAKOS_AUTH_URL for cyclades.conf

Add the '/astakos' prefix to the ASTAKOS_AUTH_URL path.

0efc6bb7 01/29/2014 08:28 am Dimitris Aragiorgis

Add missing dhcp_queue option in nfdhcpd template

Since 0.12.0 nfdhcpd serves DHCPv6 requests in order to supply DNS
related info. So we have to define a new NFQUEUE to mangle the
corresponding packets.

Signed-off-by: Dimitris Aragiorgis <>

de1dcc91 01/29/2014 08:09 am Dimitris Aragiorgis

deploy: Fix cyclades configure()

CYCLADES_NODE_IP is needed for customizing cyclades.conf
template for UI_MEDIA_URL.

Signed-off-by: Dimitris Aragiorgis <>

8d693406 01/29/2014 08:08 am Dimitris Aragiorgis

deploy: workaround for java console Issue

Java VncViewer class has an issue with self-signed certificates.
With existing deployment it does not work if UI_MEDIA_URL uses
FQDN. Use the node's IP instead.

NOTE: In a linux (Debian) client add the following in...

080880d9 01/29/2014 08:03 am Dimitris Aragiorgis

deploy: workaround for java console Issue

Java VncViewer class has an issue with self-signed certificates.
With existing deployment it does not work if UI_MEDIA_URL uses
FQDN. Use the node's IP instead.

NOTE: In a linux (Debian) client add the following in...

394f5d2a 01/28/2014 06:13 pm Dionysis Grigoropoulos

docs: Update image api guide

  • Update response code for image not found
  • Remove unwanted whitespace at the end of lines
1a9aa726 01/28/2014 03:43 pm Dionysis Grigoropoulos

cyclades: Check if the name of an image is null

491d2a31 01/28/2014 12:30 pm Christos Stavrakakis

cyclades: Stats per backend from API

Extend Cyclades stats API endpoint with the ability to return stats
only for a backend. Also, add option to include image stats or not.

72224dd6 01/28/2014 11:59 am Christos Stavrakakis

plankton: Check that object is an image

Fix bug that caused Plankton to return Pithos files that were not
registered as images. Plankton did not checked that the requested Pithos
object (UUID or URL) was an Image. This was caused because
'get_object_meta' call of PithosBackend returns the common metadata for...

182b2e2a 01/28/2014 11:21 am Dionysis Grigoropoulos

cyclades: Fix typo in tests/networks.py

18405a2c 01/28/2014 11:20 am Dionysis Grigoropoulos

snf-deploy: Fix ownership of snf_pithos database

3de93ef3 01/27/2014 05:48 pm Dimitris Aragiorgis

Add missing dhcp_queue option in nfdhcpd template

Since 0.12.0 nfdhcpd serves DHCPv6 requests in order to supply DNS
related info. So we have to define a new NFQUEUE to mangle the
corresponding packets.

Signed-off-by: Dimitris Aragiorgis <>

9a48ef23 01/27/2014 05:36 pm Dimitris Aragiorgis

deploy: add missing ganeti collectd setup

Signed-off-by: Dimitris Aragiorgis <>

6faf3c78 01/27/2014 03:35 pm Dionysis Grigoropoulos

cyclades: Typo fix in api/networks.py

  • Fix a typo that made responses report all networks as "deleted=True"
3d870b05 01/27/2014 02:17 pm Dionysis Grigoropoulos

cyclades: Update api/networks.py and typo fixes

  • Update api/networks.py to use the updated get_attribute from commit
    14402edcf6d19fc42a64ef93da3d66ef7969327b.
  • Add corresponding test case
  • Typo fix in an error message in api/subnets.py

Refs #4979

14402edc 01/24/2014 07:12 pm Christos Stavrakakis

cyclades: Validate fields of API requests

Make sure that all fields of a request (user input) have a valid type.
This commit validates 'ports', 'servers' and 'floating_ips' APIs.

Refs #4979

ba777b02 01/23/2014 03:44 pm Giorgos Korfiatis

cyclades: Detach serial from resource when resolved

0f4c5b34 01/23/2014 03:43 pm Giorgos Korfiatis

cyclades: Delete unused quota code

f4d624c6 01/23/2014 03:43 pm Giorgos Korfiatis

cyclades: Update serial only if actually resolved

9dd66900 01/23/2014 02:28 pm Kostas Papadimitriou

astakos: Display auth provider identifier in user-show command

4845dfaa 01/23/2014 11:02 am Christos Stavrakakis

snf_django: Fix bug in list commands

Fix bug in Synnefo ListCommand where you could not select to print only
the user email columnd ('-o user.email').

68122bae 01/22/2014 06:41 pm Sofia Papagiannaki

astakos oa2: Fix request authorisation code failures due to unicode issue

If the object to be urlencoded has its own urlencode() method,
use this instead.

Refs: #4971

8a0d8997 01/22/2014 05:56 pm Giorgos Korfiatis

Remove remnants of django-oa2-client

30b1d10d 01/22/2014 05:52 pm Giorgos Korfiatis

docs: Mention enforce quota output

db34e6ad 01/22/2014 03:33 pm Kostas Papadimitriou

astakos: Prevent erroneus race conditions in simultaneous signups

Refs: #4966

909dab08 01/22/2014 02:16 pm Giorgos Korfiatis

cyclades: Fix typo

62b76f38 01/22/2014 12:50 pm Christos Stavrakakis

cyclades: Extend flavors with 'allow_create' field

  • Add 'allow_create' field to Flavor DB model and the corresponding
    migration.
  • Extend API for flavors to return the 'SNF:allow_create' attribute
  • Update POST /servers API call to check that the flavor that is...
3d6d8464 01/22/2014 12:11 pm Christos Stavrakakis

cyclades: Improvements to Astakos stats

Improve the exposed stats from the Astakos API and the way they are
displayed in 'stats-astakos' management command.

56591392 01/21/2014 04:43 pm Kostas Papadimitriou

ui: Disable content editing in public key list view

68269100 01/21/2014 04:40 pm Giorgos Korfiatis

snf-deploy: Stamp pithos most recent database migration

This is necessary so that future migrations know where to start upgrading.

6a439d95 01/21/2014 11:38 am Dionysis Grigoropoulos

cyclades: Update snf-manage subnet-* commands

  • Update snf-manage commands to use the new userid and public fields
    introduced in commit bdedfd9d79be7f1c00764b5d56a326d30b30b474
a8817717 01/20/2014 06:34 pm Christos Stavrakakis

cyclades: Fix broken tests

Fix tests that were broken by commit #7ef05bd.

96160b2f 01/20/2014 05:16 pm Ilias Tsitsimpis

snf-deploy: Fix ASTAKOS_AUTH_URL for cyclades.conf

Add the '/astakos' prefix to the ASTAKOS_AUTH_URL path.

1b3f1792 01/20/2014 05:06 pm Christos Stavrakakis

cyclades: Fix quota bug in snf-dispatcher

Clear the 'vm.serial' field after processing a job that was not
expected. When processing such a job, we reject the pending commission
and issue a new one that reflects the unexpected job. However, since we
reject the commission that is associated with the 'vm.task_job_id' job,...

e1f3c814 01/20/2014 04:07 pm Kostas Papadimitriou

ui: Fix super method call

28456640 01/20/2014 04:07 pm Kostas Papadimitriou

astakos: Handle pending third party provider validation issues

skip validation errors and reset invalid field values for received user
metadata.

03dcc758 01/20/2014 04:07 pm Kostas Papadimitriou

Update Changelog

7ef05bd4 01/20/2014 03:52 pm Christos Stavrakakis

cyclades: Fix corner case in reconciliation

Do not perform reconciliation for building servers that the
OP_INSTANCE_CREATE job is completed after quering Ganeti about the state
of servers.

49e3c862 01/20/2014 03:31 pm Christos Stavrakakis

cyclades: Display IPs in stats-cyclades

Display free and total public IPv4 addresses when pretty-printing
Cyclades stats.

f9d665e4 01/20/2014 01:39 pm Christos Stavrakakis

astakos: Fix bug in Astakos stats view

'ASTAKOS_AUTH_URL' setting is not present in Astakos node.

7219c7a3 01/20/2014 01:39 pm Christos Stavrakakis

cyclades: Add deleted attribute for changes-since

Extend API response for servers, networks, subnets and floating IPs,
to support HTTP 'changes-since' queries.

d56fa78c 01/17/2014 04:59 pm Giorgos Korfiatis

Catch EOF in astakos/quota commands

Abort operation when raw_input raises an EOFError.

d9a7f0bb 01/17/2014 04:57 pm Giorgos Korfiatis

Fix stdout/stderr write in astakos/quota commands

Write actual command output and user prompts to stdout; error and progress
messages to stderr.

38cfb0c3 01/16/2014 12:48 pm Sofia Papagiannaki

snf-deploy: Stamp pithos most recent database migration

This is necessary so that future migrations know where to start upgrading.

0fcb1b3e 01/16/2014 10:46 am Ilias Tsitsimpis

Fix a typo in documentation

The correct filename is 20-cyclades-app-api.conf.

600b4ca0 01/16/2014 10:46 am Ilias Tsitsimpis

Bump version to 0.15rc5

c985de5c 01/15/2014 12:13 pm Sofia Papagiannaki

astakos oa2: Improve tests

cb618cc0 01/14/2014 05:46 pm Sofia Papagiannaki

astakos oa2: Restrict redirect URI length during client registration.

Apply the check in the oauth2-client-add snf-manage command.

Refs: #4804

0d573e18 01/14/2014 05:46 pm Sofia Papagiannaki

pithos: Reduce database interactions for access control.

Each frontend method calls several backend methods.
Each backend method checks whether the user has permission to access the
specific path.
This results to several identical queries to the database....

2b7d26bb 01/14/2014 03:40 pm Sofia Papagiannaki

Merge branch 'feature-pithos-listing-performance' into develop

ebdbac7a 01/14/2014 03:39 pm Sofia Papagiannaki

pithos: Reduce database interactions for access control.

Each frontend method calls several backend methods.
Each backend method checks whether the user has permission to access the
specific path.
This results to several identical queries to the database....

36fea6f9 01/14/2014 03:35 pm Dionysis Grigoropoulos

docs: Typo fix in quick install admin guide

0c66520a 01/14/2014 11:36 am Kostas Papadimitriou

ui: Styling for vms in error state in ips/network list view

a2b39c54 01/14/2014 11:05 am Kostas Papadimitriou

ui: Improve recurrent api calls throttling

do not trigger faster recurrent intervals when api endpoint does not support
incremental updates (changes-since parameter).

62ebf1c3 01/13/2014 05:53 pm Kostas Papadimitriou

ui: Disable port toggling when no ports available in network view

0dcbd685 01/13/2014 05:53 pm Kostas Papadimitriou

ui: Hide firewall view in private network ports