Statistics
| Branch: | Tag: | Revision:

root @ 548938f6

# Date Author Comment
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.

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

astakos: Make limits possibly infinite

Register new resources with unlimited quota.

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.

90e7da53 11/22/2013 04:44 pm Giorgos Korfiatis

Remove resource import/export commands

They have been subsumed by the respective service import/export commands.

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

astakos: Avoid multiple user lookups in quota sync

Also, remove unneeded param of astakos_users_quotas.

20c6de35 11/22/2013 04:44 pm Giorgos Korfiatis

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.

30edd93d 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Recompute quota when updating a resource

Avoid stateful update of holdings when a resource limit changes; rather
recompute and set all affected users' quota.

41e92ef2 11/22/2013 04:44 pm Giorgos Korfiatis

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.

3c98e3a5 11/22/2013 04:44 pm Giorgos Korfiatis

common: Support parsing, printing inf numbers

By convention, infinite is represented by 2**63-1, the max value for
a signed 64 bit field.

72313b77 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: pep8 fixes

2945e7ed 11/22/2013 04:35 pm Christos Stavrakakis

ci: Add --name option to override server name

c2e41963 11/22/2013 01:16 pm Christos Stavrakakis

cyclades: Small fixes to server-import command

4c657887 11/22/2013 10:55 am Giorgos Korfiatis

astakos: Include astakos_admin in helper script

90fbedb6 11/21/2013 08:37 pm Kostas Papadimitriou

ui: Proper initialization of port progress indicator

in icon view vm ips

93c25f8d 11/21/2013 08:33 pm Kostas Papadimitriou

ui: Remove snapshots specific patch

37353119 11/21/2013 08:31 pm Kostas Papadimitriou

ui: Update image details title styles

8626b696 11/21/2013 08:31 pm Kostas Papadimitriou

ui: Avoid image name double escaping in vm wizard

de0693f8 11/21/2013 08:31 pm Kostas Papadimitriou

ui: Snapshot action indicator icon

d9128cf3 11/21/2013 08:31 pm Kostas Papadimitriou

ui: IPs icons

74831b0d 11/21/2013 08:31 pm Kostas Papadimitriou

ui: Handle port_forward vm info when available

display corresponding connect info in vm connect overlay

43b53ee7 11/21/2013 08:28 pm Kostas Papadimitriou

ui: Remove debug statement

3cac4a52 11/21/2013 08:27 pm Kostas Papadimitriou

ui: Warn user when vm has no public ip v4

in vm connect overlay

d6d1f049 11/21/2013 08:27 pm Kostas Papadimitriou

ui: Skip snapshot action confirmation step

bfb11987 11/21/2013 08:27 pm Kostas Papadimitriou

ui: Network/IPs/Public keys action indicators

807a0305 11/21/2013 08:27 pm Kostas Papadimitriou

ui: Truncate model names in several cases

b502f75d 11/21/2013 08:27 pm Kostas Papadimitriou

ui: Avoid double escaping of image name

deeeb954 11/21/2013 08:27 pm Kostas Papadimitriou

ui: Additional vm name truncates

6fe8c2ca 11/21/2013 08:27 pm Kostas Papadimitriou

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 displayed
when fqdn vm attribute is empty.

45ff73d0 11/21/2013 08:27 pm Kostas Papadimitriou

ui: Remove categories list in vm wizard view

8d874572 11/21/2013 08:27 pm Kostas Papadimitriou

ui: IPs icon subview alignment fixes

9db70e60 11/21/2013 08:27 pm Kostas Papadimitriou

ui: Fix network ports toggling overflow issues

9145aad9 11/21/2013 08:27 pm Kostas Papadimitriou

ui: Disconnect action in vm ips icon subview

2b516a38 11/21/2013 08:27 pm Kostas Papadimitriou

ui: Improve inactive vm actions handling

796d9069 11/21/2013 08:27 pm Kostas Papadimitriou

ui: Hide public network connect action border

da83b041 11/21/2013 06:01 pm Dimitris Aragiorgis

Get the latest ganeti packages from wheezy repo

Signed-off-by: Dimitris Aragiorgis <>

045591f2 11/21/2013 03:22 pm Christos Stavrakakis

Merge branch 'feature-export-stats' into develop

4fad2b3f 11/21/2013 03:21 pm Christos Stavrakakis

cyclades: Update Changelog about exported stats

c8a38c0e 11/21/2013 02:10 pm Christos Stavrakakis

cyclades: Export Astakos detailed stats from API

Add new 'astakos_admin' service to export basic statistics about Astakos
service. 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...

d9f2a9e1 11/21/2013 01:28 pm Christos Stavrakakis

cyclades: Command to export Cyclades statistics

Add new 'snf-manage stats-cyclades' management command to export basic
statistics about Cyclades, like number of servers, network and resource
utilization. The command can either export the statistics either in JSON...

79f67df6 11/21/2013 01:28 pm Christos Stavrakakis

astakos: Command to export Astakos statistics

Add new 'snf-manage stats-astakos' management command to export basic
statistics about Astakos, like number of total, active and verified users per
authentication mechanism, together with resource usage for each resource. The...

bda47e03 11/21/2013 01:28 pm Christos Stavrakakis

cyclades: Export Cyclades detailed stats from API

Add '/admin/stats/detail' API endpoint to export basic statistics about
Cyclades. Access to this view is only allowed to the users that belong
to specific Astakos groups, as specified in the new setting
'ADMIN_STATS_PERMITTED_GROUPS.' Also, added the new 'user_in_groups' API...

e897b073 11/20/2013 10:10 pm Christos Stavrakakis

cyclades: Delete stale NICs before migration

Extend migration file to delete NICs that belong to VMs that have
already been deleted. Such NICs may exist due to a bug in previous versions
of Synnefo, and are totally useless. Also, they must be removed because...

1fdd8d69 11/20/2013 08:08 pm Christos Stavrakakis

cyclades: Fix bugs relative with quotas

  • Reject previous unaccepted serials if action is 'DESTROY'. This is
    required because multiple DESTROY actions may be pending for the same
    resource (e.g. VM). The one who succeeds will be accepted, while all
    others will be rejected. This isn't optimal since it causes circular...
d1a71346 11/20/2013 07:52 pm Christos Stavrakakis

cyclades: Update firewall_profile field to None

Migration value of 'firewall_profile' attribute from '' to None.

44cc2a6a 11/20/2013 06:27 pm Constantinos Venetsanopoulos

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 old
Archipelago section from the Admin guide.

5573e1ea 11/20/2013 06:16 pm Constantinos Venetsanopoulos

docs: Remove sample design doc from index page

Now that we have the first design documents there is no need for
a link to the sample file. We keep it though under the design/ dir
for anyone that wants to use it as a reference.

e4330db2 11/20/2013 12:43 pm Kostas Papadimitriou

ui: Update firewall profile API calls

using port ids in action parameters

3e323ae8 11/20/2013 12:43 pm Kostas Papadimitriou

ui: Fix resolving of vm hostname

488209a5 11/20/2013 12:43 pm Kostas Papadimitriou

ui: Remove deprecated floating IPs API calls

7bbe4333 11/20/2013 12:05 pm Ilias Tsitsimpis

cyclades: Catch exception in verify_personality

The verify_personality function assumes that the contents of a
personality is encoded in base64 and tries to decode them. But if the
client didn't encode them a TypeError `Incorrect padding' will be
raised. Catch this exception and raise a BadRequest.

0b4268c8 11/20/2013 12:54 am Kostas Papadimitriou

ui: Display connections instead of machines

in networks view

375a9cb5 11/20/2013 12:41 am Kostas Papadimitriou

ui: Trigger window resize when needed

69dac1ba 11/20/2013 12:41 am Kostas Papadimitriou

ui: Networks/IPs updates and fixes

58685fb3 11/19/2013 05:09 pm Constantinos Venetsanopoulos

docs: Update Synnefo overview figure on index page

Update the figure to reflect cloning/snapshotting
functionality and also update to Synnefo branding.

7a8e156f 11/19/2013 03:00 pm Ilias Tsitsimpis

snf-ci: Fix a typo

f784d324 11/18/2013 07:03 pm Kostas Papadimitriou

ui: Floating ip creating progress styles

5bfb38cf 11/18/2013 07:03 pm Kostas Papadimitriou

ui: Floating ip destroying style

176921aa 11/18/2013 07:03 pm Kostas Papadimitriou

ui: Improve floating IP status display

af32efaa 11/18/2013 07:03 pm Kostas Papadimitriou

ui: VM ip addresses subview improvements

5475c563 11/18/2013 07:03 pm Kostas Papadimitriou

ui: Improve floating ip status display

d647cc0b 11/18/2013 07:03 pm Kostas Papadimitriou

ui: Remove debug statement

e6a4b75c 11/18/2013 07:03 pm Kostas Papadimitriou

ui: Several ips/networks fixes and improvements

8e13afa9 11/18/2013 07:03 pm Kostas Papadimitriou

ui: Enable automatic quota handling in collection views

b9add257 11/18/2013 07:03 pm Kostas Papadimitriou

ui: Disable language select menu

a45b4f10 11/18/2013 07:03 pm Kostas Papadimitriou

ui: SSH create view. Focus on name input by default

111adca0 11/18/2013 06:39 pm Giorgos Korfiatis

docs: Add resource defaults design

73517357 11/18/2013 12:48 pm Christos Stavrakakis

gtools: Fix Ganeti allocation parameters

When retrying a failed job, remove 'pnode' and 'snode' fields if they
were implicitly set by Ganeti iallocator. Ganeti will fail if both
iallocator and node are specified in the job.

7c132ef3 11/15/2013 04:46 pm Kostas Papadimitriou

ui: Remove options menu from header

213a8396 11/15/2013 04:46 pm Kostas Papadimitriou

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

eab078ee 11/15/2013 04:46 pm Kostas Papadimitriou

ui: Hide empty private network list

043bbaf0 11/15/2013 03:06 pm Christos Stavrakakis

Merge branch 'feature-helpdesk-ips' into develop

bbea0414 11/15/2013 03:06 pm Christos Stavrakakis

helpdesk: Support quering history of public IPs

Add basic support for quering a public IP address. All uses of this IP
address are returned which are currently rendered to a dummy template.

4a71827c 11/15/2013 03:06 pm Christos Stavrakakis

helpdesk: Order IPs by allocation time

2152dd3f 11/15/2013 03:06 pm Olga Brani

helpdesk: Fix css and html for IP queries

87726194 11/15/2013 02:55 pm Giorgos Korfiatis

cyclades: Fix reference to QuotaLimit

5083fc47 11/15/2013 02:13 pm Christos Stavrakakis

Rename 'cpu' and 'ram' resources

Rename CPU and RAM relative resources to avoid data migrations.
Specifically, the resources that are renamed are the following:

  • cpu -> total_cpu
  • ram -> total_ram
  • active_cpu -> cpu
  • active_ram -> ram
31f9f14a 11/15/2013 02:12 pm Christos Stavrakakis

Merge branch 'feature-cyclades-commission-refactor' into develop

44183264 11/15/2013 02:08 pm Christos Stavrakakis

cyclades: Rename FloatingIP to IPAddress

FloatingIP table has been removed. Instead floating IPs are stored in
the IPAddress table and are distinguished from other IP addresses by
the 'floating_ip' attribute.

368d879e 11/15/2013 01:38 pm Giorgos Korfiatis

cyclades: Generalize issue_and_accept_commission

Use issue_and_accept_commission for any action where one needs to
automatically accept the commission after issuing and committing.

0dc4b304 11/15/2013 01:38 pm Giorgos Korfiatis

cyclades: Handle qh errors in a context manager

Replace decorator handle_astakosclient_error with a more flexible
context manager, AstakosClientExceptionHandler.

4fb643b3 11/15/2013 01:35 pm Giorgos Korfiatis

cyclades: Change function params indentation

21eb7404 11/15/2013 01:35 pm Christos Stavrakakis

cyclades: Simplify issue_and_accept_commission

Simplify the 'issue_and_accept_commission' function that handled
commissions that should be auto-accepted. Also do not 'reject' the
serial, since the resource that corresponds to this serial has already
been committed to DB. Finally, refactor 'floating_ip' code that used this...

16b959ce 11/15/2013 01:33 pm Giorgos Korfiatis

cyclades: Issue commission based on action

Make issue_commission() the single point where provisions are computed
and the appropriate astakosclient call is issued.

fb540e3a 11/15/2013 01:32 pm Giorgos Korfiatis

cyclades: Resolve undecided serial in force mode

Reject a serial with pending=True only when we need to force a new
commission on a given resource.

Also improve handling of serial state: make sure pending is set to False
when we decide whether to accept or reject a serial. Mark a serial to...

64bca363 11/15/2013 01:32 pm Giorgos Korfiatis

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.

02afb932 11/15/2013 01:32 pm Giorgos Korfiatis

cyclades: Fix commission parameter passing

Propagate `force' and `auto_accept' of handle_resource_commission
down to issue_commission.

78c79ac7 11/14/2013 06:17 pm Giorgos Korfiatis

snf_django: Impose ordering on operator parsing

Turn the dict of operators to a list to make sure a certain ordering is
preserved.

67ef560b 11/14/2013 02:05 pm Giorgos Korfiatis

astakos: Speed up POST /tokens

Prefetch endpoint entries to avoid multiple queries.

6e73f499 11/14/2013 12:14 pm Christos Stavrakakis

cyclades: Allow deletion of ports from public nets

Move check about deleting a port from a public network. This check is
only enforced in the API, but is allowed in logic layer, e.g. snf-manage
commands.

a5a15eba 11/14/2013 12:14 pm Christos Stavrakakis

cyclades: Add '--active' filter to ip-list cmd

Add filter to display only IPs that are currently active.

64209939 11/14/2013 12:14 pm Christos Stavrakakis

cyclades: Rename attribute to 'router:external'

Rename 'external_router' attribute of network to 'router:external' as
defined in the API.

03f01e0d 11/14/2013 09:52 am Dimitris Aragiorgis

deploy: update ganeti and nfqueue packages

Use latest custom 2.8.2 ganeti which consists of ganeti-haskell,
ganeti-htools, snf-ganeti.

nfqueue-bindings-python is replaced by python-nfqueue in
wheezy. Use our custom package which supports an extra method...

a19cbc67 11/14/2013 09:44 am Christos Stavrakakis

docs: Add design doc for Cyclades networking

Add design document describing the basic concets of Cyclades networking
and the exposed API. Also, add a reference to this design from the
'Network Service' document.