Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app @ 039e3e61

# Date Author Comment
039e3e61 01/07/2013 11:15 am Christos Stavrakakis

Refactor tests

b66e4833 12/20/2012 05:29 pm Christos Stavrakakis

Add more tests for db, logic and api

fcf2479a 12/20/2012 05:22 pm Christos Stavrakakis

Fix wrong count of reserved pool entries

Padding should not be considered when counting unavailable entries.

5480daec 12/20/2012 05:22 pm Christos Stavrakakis

Remove dummy function

499010bc 12/19/2012 05:32 pm Christos Stavrakakis

Fix bug in images API

Use image_backend context manager to ensure that ImageBackend is always
closed. list_images method did not close the ImageBackend, which
resulted in depletion of the Pithos backend connection pool.

cc964746 12/19/2012 05:32 pm Christos Stavrakakis

Properly configure plankton as an app

All django apps need a models.py file

37f87d98 12/19/2012 05:32 pm Christos Stavrakakis

Add basic tests for plankton

ce9abd26 12/19/2012 05:32 pm Christos Stavrakakis

Fix bugs in models methods

c8908e51 12/19/2012 05:32 pm Christos Stavrakakis

Add more tests for db and logic

52194c77 12/19/2012 05:32 pm Christos Stavrakakis

Refactor some test code

e6f6627c 12/14/2012 06:22 pm Christos Stavrakakis

Misc minor bug fixes

672db045 12/14/2012 06:22 pm Christos Stavrakakis

Add object factories for most db models

Use 'factory_boy' library for creating Django ORM objects as test data.
These factories can be used as fixtures replacement since they are
easier to write and maintain.

35e2f2d4 12/14/2012 06:22 pm Christos Stavrakakis

Include Pool tests to Django testsuite

47eeffa9 12/14/2012 06:22 pm Christos Stavrakakis

Fix current db, logic and api tests

b7f21824 12/14/2012 06:20 pm Kostas Papadimitriou

Fix handling of firewallProfile action

Refs #3097

04a95cf3 12/14/2012 06:20 pm Kostas Papadimitriou

Fix variable scope

f45a7ac4 12/12/2012 02:05 pm Christos Stavrakakis

Fix variable scope bug in process_net_status

21c9042c 12/12/2012 11:12 am Christos Stavrakakis

Do not allow creation of more than one pools

Do not allow creation of more than one Bridge or MacPrefix pool, since
we can not handle them yet.

c414bc87 12/10/2012 04:14 pm Christos Stavrakakis

Add backend-id option to reconcile-servers

Make reconcile-servers perform reconciliation only for the specified
backend.

6dbd90c0 12/10/2012 01:14 pm Christos Stavrakakis

Import quotaholder settings only if needed

6a7c88d7 12/10/2012 12:40 pm Christos Stavrakakis

Import by default the quotas settings

c6ad2f2d 12/06/2012 02:02 pm Christos Stavrakakis

reconciliation:avoid double asking Ganeti

Modify reconcile-servers to not communicate 2 times with Ganeti
to get the operstate and the NICs of the VMs. Merge this two one
call.

f83ebc98 12/05/2012 02:33 pm Christos Stavrakakis

Modify backend-modify --drained and --offline args

Make backend-modify drained argument as --drained=True|False instead
of --drained and --no-drained. The same for offline.

88b8f176 12/05/2012 02:08 pm Christos Stavrakakis

Mark as drained newly added backends

cc3c59b3 12/05/2012 01:33 pm Christos Stavrakakis

Rename reconcile command to reconcile-servers

Rename `snf-manage reconcile` management command to `snf-manage
reconcile-servers`, to be consistent with `snf-manage
reconcile-networks`. Also, treat '--detect-all' option as default
when no other '--detect-*' is specified.

b7d38981 12/04/2012 04:51 pm Dimitris Aragiorgis

Introduce network flavors to replace network types

Add tags and mode to network db model. Replace existing type with
flavor. Introduce 4 different flavors. Each flavor has mode, link,
mac_prefix, tags. Supported flavors are CUSTOM, IP_LESS_ROUTED,
MAC_FILTERED, PHYSICAL_VLAN and are hardcoded in db models....

1ef9dac4 12/04/2012 04:51 pm Dimitris Aragiorgis

Migration files for network types

600a3d4d 12/03/2012 02:59 pm Christos Stavrakakis

Implement quotas-init and quotas-verify

Implement quotas-init and quotas-verify management commands.
- quotas-init sets quotas of Quotaholder to the state of quotas in
Cyclades DB
- quotas-verify detects incosistencies between quotas in Quotaholder and...

2a7e6762 12/03/2012 12:06 pm Kostas Papadimitriou

Merge branch 'ui-0.13' into devel-0.13

97f9c50c 12/01/2012 04:36 pm root

Fix metatada and personality of vmapi

718a601d 12/01/2012 04:35 pm root

Fix renamed setting

287a6408 11/30/2012 03:10 pm Christos Stavrakakis

Fix quotaholder settings

2e1e6844 11/30/2012 02:47 pm Christos Stavrakakis

Temporary fix for allocating archipelagos VMs

45855947 11/30/2012 02:43 pm Georgios D. Tsoukalas

cyclades: authenticate to quotaholder with token

- initialize quotaholder client with the token from
setting CYCLADES_QUOTAHOLDER_TOKEN

- rename setting USE_QUOTAHOLDER to CYCLADES_USE_QUOTAHOLDER

006c6249 11/30/2012 12:49 pm Christos Stavrakakis

Fix typos

2a599282 11/30/2012 12:20 pm Christos Stavrakakis

Merge handling of ext_<provider> disk templates

6ec4694f 11/30/2012 11:44 am Christos Stavrakakis

Use helper function for verifying personalities

7ced3e6b 11/29/2012 04:29 pm Christos Stavrakakis

Use CYCLADES_QUOTAHOLDER_URL

33050118 11/29/2012 03:55 pm Georgios D. Tsoukalas

Merge branch 'origin/devel-0.13' into quota

Conflicts:
snf-cyclades-app/synnefo/api/servers.py

e16cf080 11/27/2012 06:01 pm Georgios D. Tsoukalas

set quotaholder urls

- quotaholder base url is of the form 'http://host/quotaholder/v/'
- cyclades setting name set to CYCLADES_QUOTAHOLDER_URL

74459c12 11/27/2012 04:13 pm Christos Stavrakakis

Fix wrong setting

PUBLIC_ROUTED_USE_POOL has been renamed to PUBLIC_USE_POOL

e3187d7a 11/27/2012 04:13 pm Christos Stavrakakis

Fix bugs from merging

b14f55b5 11/27/2012 04:13 pm Christos Stavrakakis

Add USE_QUOTAHOLDER setting

Add setting indicating whether to use the Quotaholder service or
use the static limits.

dba149f6 11/26/2012 06:22 pm Christos Stavrakakis

Fix imports relative to quotas

b8b676a1 11/26/2012 05:58 pm Christos Stavrakakis

Add migration file for quotaholderserial

b2f94a0c 11/26/2012 02:20 pm Christos Stavrakakis

Make Plankton API return all available images

Modify Plankton API, such that GET to /images/ retrieves a list of
available images that the authenticated user has access to. This
includes images owned by the user, images shared with the user and
public images.

45f19863 11/26/2012 02:14 pm Christos Stavrakakis

Update management command to display user images

d0e8984d 11/26/2012 12:51 pm Christos Stavrakakis

Merge branch 'devel-0.12' into devel-0.13

Conflicts:
snf-cyclades-app/synnefo/plankton/backend.py

cb4eee84 11/26/2012 12:40 pm Christos Stavrakakis

Issue commission when deleting VM/Network

Issue commission to the Quotaholder when being notified from the Ganeti
backend that a VM/Network has been deleted. Although the resource has
already been deleting, we are interacting with the quotaholder in a
two step phase: issue commission and accept commission. It would be...

e8f2d02d 11/26/2012 12:40 pm Christos Stavrakakis

Fix quotaholder exception handling

Currently, QuotaholderHTTP returns CallError, with the call_error
attribute indicating the error.

11a54cb9 11/26/2012 12:40 pm Christos Stavrakakis

Implement reconciliation for pending quotas

10de1102 11/26/2012 12:40 pm Christos Stavrakakis

Remove transaction from update_network_state

Remove transaction decorator from update_network_state function, since
this function is only called from process_network_status, which already runs
inside a transaction.

4ac68aaf 11/26/2012 12:40 pm Christos Stavrakakis

Allocate resources from cyclades entity

Also fix commissioning key

5805fbb1 11/26/2012 12:40 pm Christos Stavrakakis

Convert resource sizes in bytes

900a9fc3 11/26/2012 12:40 pm Christos Stavrakakis

Rename disk to disk_size

457a8ada 11/26/2012 12:40 pm Christos Stavrakakis

Revert "Rename disk to disk_size"

This reverts commit 2d017fc046194d8316096c56d4a32cdf81ce5fcd.

3a334cab 11/26/2012 12:40 pm Georgios D. Tsoukalas

update to use new quotaholder packaging api

77f45438 11/26/2012 12:38 pm Christos Stavrakakis

Issue commissions when creating server/networks

Issue commissions to the Quotaholder when creating a VM or a Network.
The VM/Network that is associated with the corresponding serial in DB.
Also, the serial is marked as accepted because at the end of the
transaction the resource will be present in the DB. Even in case the...

dca7553e 11/26/2012 12:36 pm Christos Stavrakakis

Refactor some code to API create_server method

bfe7ba3c 11/26/2012 12:36 pm Christos Stavrakakis

Create quotas module

Create quotas module, containing functions for interacting with
the Quotaholder service.

048fab1e 11/26/2012 12:32 pm Christos Stavrakakis

Reorder code

3416e629 11/26/2012 12:32 pm Christos Stavrakakis

Create QuotaHolderSerial table

004967e4 11/26/2012 12:32 pm Christos Stavrakakis

Add QuotaHolderSerial column to VM and Network

Correlate the VirtualMachine and Network models with a QuotaHolderSerial
entry, holding the serial number returned by the QuotaHolder for the
last allocation for these resources.

4d5d0b9c 11/26/2012 12:31 pm Christos Stavrakakis

Do not automatically update network state

Each modification in a BackendNetwork object, triggers an update
to the corresponding Network object. Until now this was done by
the BackendNetwork save() method. Now it is explicitly done
from the backend pross_network_status.

2db7d9df 11/26/2012 12:22 pm Christos Stavrakakis

Handle Pithos NotAllowedError

d7841399 11/23/2012 03:13 pm Christos Stavrakakis

Remove IGNORE_FLAVOR_DISK_SIZES setting

79b7dbb7 11/23/2012 01:50 pm Christos Stavrakakis

Use vmapi when creating servers

Use the vmapi when creating servers. Creete instance RAPI call takes the
configuration url instead all the image parametere. The id and format
of the image are still passed, just for readability and debugging.

Also renamed params_url to config-url.

4861c546 11/23/2012 01:14 pm Christos Stavrakakis

Fix vmapi BASE_URL

0e1ad162 11/23/2012 01:01 pm Christos Stavrakakis

Remove nodeapi from app_settings

It survived from wrong merge conflict resolving.

0485b71a 11/22/2012 04:55 pm Kostas Papadimitriou

Propen window.open use in ui

window.open method accepts specs in string format instead of object
which is not supported by all browsers. This fixes console window to
display scrollbars using IE in small resolutions.

027e437a 11/22/2012 02:15 pm Kostas Papadimitriou

Rename nodeapi to vmapi

a9e5e76a 11/22/2012 02:15 pm Kostas Papadimitriou

vmapi improvements

724e17a6 11/22/2012 02:14 pm Kostas Papadimitriou

Initial commit of the nodeapi application

Additional synnefo api to be used by internal synnefo services such as
snf-image/ganeti etc.

80b91e9f 11/22/2012 02:14 pm Kostas Papadimitriou

Border fix for public network view

regression appeared from the grouped public network support.

07b73be0 11/22/2012 02:14 pm Kostas Papadimitriou

VM creation signal

`synnefo.api.servers.server_created` signal has been created. The signal
is send for each created server. The signal sender is the created vm and
one argument named `created_vm_params` is passed to the connected
callback functions.

b578d9e7 11/22/2012 01:26 pm Christos Stavrakakis

snf-dispatcher: Update NICs only when needed

Do not remove and recreate the NICs of a VM when NICs have not changed.

3e7c63f8 11/22/2012 01:26 pm Christos Stavrakakis

Implement resizing of pools

Extend PoolManager to support extending and shrinking of Pools. Also
add extra option '--size' to pool-modify command.

7a0aa449 11/22/2012 01:26 pm Christos Stavrakakis

Add function for pretty printing tables

29490fca 11/22/2012 01:26 pm Christos Stavrakakis

Fix white space

aed77afe 11/22/2012 01:26 pm Christos Stavrakakis

Extend Plankton API with shared-images

Extend Plankton API, to support listing all non-public images that
are available to the user. This can be done by issuing a GET to
shared-images/ and shared-images/detail.

b344501e 11/22/2012 01:25 pm Christos Stavrakakis

Implement server-import management command

Implement management command for importing an existing Ganeti instance
into Synnefo. The owner, flavor and image are specified by command line
arguments. Importing will fail if the instance has NICs connected to...

a8858945 11/22/2012 01:24 pm Christos Stavrakakis

Make amqp_puka get logger as argument

b03dda4a 11/21/2012 02:48 pm Kostas Papadimitriou

UI metadata view fix

proper check of existing meta keys

9ada7c23 11/19/2012 03:25 pm Kostas Papadimitriou

Merge branch 'ui-0.11' into devel-0.12

a020e99e 11/19/2012 02:45 pm Kostas Papadimitriou

Force confirmation of untrusted image selection

ensure that user notes the untrusted image risks before he continues to
flavor selection.

580c3b9b 11/19/2012 01:35 pm Kostas Papadimitriou

Handle empty images list in vm creation view

2ee94f4c 11/19/2012 01:35 pm Kostas Papadimitriou

Prompt custom image guide reference if no images available

f5e97e7f 11/16/2012 07:41 pm Kostas Papadimitriou

Handle unavailable hostname information in ui

fallback to ip address

5d9ac244 11/16/2012 07:32 pm Kostas Papadimitriou

SSH personality keys ownership fix

also send mode/owner/group for each user's authorized_keys

2333a2c4 11/16/2012 02:54 pm Christos Stavrakakis

Check clustername when modifying backend

f7759b2d 11/16/2012 12:55 pm Christos Stavrakakis

Add check for clustername when adding backend

d4be7102 11/16/2012 12:24 pm Christos Stavrakakis

Fix lectical in pool-modify

d00b5f2d 11/15/2012 06:38 pm Kostas Papadimitriou

Merge branch 'ui-0.11' into devel-0.12

842c1c70 11/15/2012 06:28 pm Kostas Papadimitriou

Lay styling stress on connect view warning message

fcd31170 11/15/2012 06:23 pm Kostas Papadimitriou

Avoid double escaping of image metadata

image model get_meta already takes care of escaping the meta value

bdfb089f 11/15/2012 06:16 pm Kostas Papadimitriou

Support multiple image users in js models

methods that used to return user specific information modified to return
arrays of objects based on identified image users. Image space delimited
`users` metadata key is now the primary point to identify existing image...

fc6f43c3 11/15/2012 05:13 pm Kostas Papadimitriou

VM creation view improvement, Refs #3012

warn user against untrustworthy image owners

9140f602 11/15/2012 04:28 pm Kostas Papadimitriou

VM create view styles fix

fix max height and spacing of public keys list view

57986639 11/15/2012 03:20 pm Christos Stavrakakis

Fix HTTP code when adding NIC to inactive network

bad9404c 11/13/2012 05:54 pm Christos Stavrakakis

Add --filter-by option to *-list commands

Add --filter-by option to server-list, network-list and flavor-list
management commands. The value of this option is a comma-seperated list
of key 'cond' val pairs and, when used, only the DB entries that satisfy all of...