Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / api @ d2b8ec7b

# Date Author Comment
d2b8ec7b 04/08/2013 11:07 am Christos Stavrakakis

Move common test code to snf_django.lib.testing

05d401cf 04/08/2013 11:06 am Christos Stavrakakis

Remove VM/Network DeletedError and BuildingError

Handle these errors explicitly in the code instead of the "api_method"
decorator.

f6ff4b40 04/08/2013 11:06 am Christos Stavrakakis

Remove ImageBackend NotAllowedError

Refs #3359

b3fd98ae 04/08/2013 11:06 am Christos Stavrakakis

Use common 'api_method' decorator to cyclades api

Update Cyclades API methods to use the new common 'api_method'
decorator. Also, update all the relevant tests.

9dcb5b8a 04/08/2013 11:06 am Christos Stavrakakis

Remove dead code

bd40abfa 04/08/2013 11:06 am Christos Stavrakakis

Move cloud faults to 'snf_django.lib.api.faults'

Gather all faults from all synnefo projects into common
'snf_django.lib.api.faults'.

27d564ba 04/07/2013 01:33 pm Christos Stavrakakis

Fix typo in network-list command

28578e52 04/02/2013 01:49 pm Christos Stavrakakis

Use pprint_table in server-show command

4e1133ab 04/02/2013 01:49 pm Christos Stavrakakis

Make 'type' parameter for network-create mandatory

Do not use a default value (was "MAC_FILTERED") for "type" parameter of
"network_create" API method. The client must explicitly choose the
network type.

f13aab5d 04/02/2013 01:49 pm Christos Stavrakakis

Delete Image without deleting file from Pithos

Until now, deleting an image resulted in deletion of the corresponding
file from Pithos. Plankton Images are files in Pithos with special
metadata on the 'plankton' metadata domain. Adding an Image to plankton...

f770d29f 04/02/2013 12:56 pm Kostas Papadimitriou

Merge branch 'release-0.13' into develop

Conflicts:
snf-astakos-app/astakos/im/messages.py
snf-astakos-app/astakos/im/views.py
version

878d9cf3 04/02/2013 08:49 am Kostas Papadimitriou

Merge branch 'tmp-common-email-recipients' into develop

354b9b6f 04/01/2013 07:02 pm Kostas Papadimitriou

Merge branch 'feature-astakos-authpolicies' into develop

Conflicts:
snf-cyclades-app/synnefo/api/management/commands/flavor-create.py
version

5af5920c 03/27/2013 09:08 pm Kostas Papadimitriou

Delegate cyclades ui feedback calls to astakos

Mimic pithos app/ui feedback handling to avoid duplicating boilerplate
code.

New settings:
CYCLADES_USER_FEEDBACK_URL

Deprecated (removed) settings:
FEEDBACK_CONTACTS
FEEDBACK_EMAIL_FROM

4ab1af1a 03/27/2013 06:59 pm Georgios D. Tsoukalas

pool context manager, http pool AssertionError fix

Refs #3492

- Introduce a generic PooledObject class to act both
as a context manager for getting and putting back
an object from a pool.

- Implement a class PooledHTTPConnection(PooledObject)
as a sublcass of the one in (1)...

939d71dd 03/21/2013 05:05 pm Christos Stavrakakis

Create public NIC when creating VM

Until now, a server's public NetworkInterface was not created in the DB
until the arrival of the message from Ganeti hooks. However, the IPv4
address of the NIC is reserved before sending the OP_INSTANCE_CREATE
job to Ganeti....

cc7312b1 03/21/2013 03:51 pm Christos Stavrakakis

flavor-create: warn if flavor is deleted

76a13815 03/20/2013 07:42 pm Christos Stavrakakis

Move UserCache from cyclades.common to lib.astakos

Move UserCache from synnefo.management.common to synnefo.lib.astakos.
Also, update ListCommand with 'astakos_url' and 'astakos_token' class
attributes, which must be declared only when 'user_uuid_field' is used.

92f20714 03/14/2013 03:58 pm Christos Stavrakakis

Use --deleted=True|False in flavor-modify

d09a166e 03/14/2013 03:58 pm Christos Stavrakakis

Add --dry-run option to snf-manage network-create

225cea18 03/14/2013 03:58 pm Christos Stavrakakis

Move common code for mngmt commands to webproject

Move cyclades functions that are useful for all managament commands, like
pprint_table or parse_filters, to snf-webproject.

b0e7f310 03/14/2013 03:58 pm Christos Stavrakakis

Add ListCommand to be used for all *-list commands

Create a generic ListCommand to be user for all *-list management
commands. ListCommand handles must tasks that are common to all
management commands, like retrieving objects from db, filtering
results and formating output to a pretty table, json or csv....

7edb6d06 03/11/2013 06:31 pm Christos Stavrakakis

Add --dry-run option to flavor-create

Add --dry-run option to flavor-create management command. Also, do not
crash if flavor already exists.

Refs #3366

cf1984d8 03/11/2013 05:17 pm Christos Stavrakakis

Add --dry-run option to flavor-create

Add --dry-run option to flavor-create management command. Also, do not
crash if flavor already exists.

Refs #3366

d25cd9dd 03/08/2013 02:29 pm Christos Stavrakakis

Merge branch 'release-0.13' into develop

Conflicts:
version

d443e1dd 03/07/2013 06:21 pm Stratos Psomadakis

Fix bugs in UserCache

Fix an infinite loop bug in UserCache.fetch_names(), and correct the
*-list commands to only call fetch_names(), when invoked with the
--displayname option.

e6c4bd78 03/07/2013 05:10 pm Christos Stavrakakis

Merge branch 'release-0.13' into develop

Conflicts:
snf-cyclades-app/synnefo/api/management/commands/cyclades-export-quota.py
snf-cyclades-app/synnefo/api/management/commands/network-list.py
snf-cyclades-app/synnefo/api/management/commands/server-inspect.py...

60c67b41 03/07/2013 02:07 pm Stratos Psomadakis

Fix log string format

2b1e7b83 03/07/2013 02:03 pm Stratos Psomadakis

Add negative caching in ImageCache

Refs #3375

4500650c 03/07/2013 02:03 pm Stratos Psomadakis

Improve server-list usability

Refs #3375

8283d6c1 03/07/2013 02:03 pm Stratos Psomadakis

Improve perf for snf-manage cyclades commands

When the snf-manage {server, network}-list commands are invoked with the
--displayname option, batch the UUID-to-displayname requests to astakos,
instead of issuing a request for each (unique) UUID.

Refs #3375

7856a37a 03/07/2013 02:03 pm Stratos Psomadakis

pep8 fixes

4dcfe1c4 02/28/2013 07:01 pm Georgios D. Tsoukalas

fix and better document quota export/import

cd8d886d 02/26/2013 09:53 am Christos Stavrakakis

Merge branch 'release-0.13' into develop

Conflicts:
version

9ae613af 02/22/2013 04:38 pm Christos Stavrakakis

Validate all network-create parameters

d368ec0c 02/20/2013 06:54 pm Christos Stavrakakis

Fix bug: Detect malformed network subnet

Fix bug in Cyclades network API. API should raise BadRequest if
specified network subnet is invalid. Also, do not allow subnets with
host bits set (like 10.0.0.1/28).

9621c777 02/18/2013 01:48 pm Christos Stavrakakis

pep8 convension to cyclades management commands

920af09f 02/15/2013 06:00 pm Christos Stavrakakis

Fix testcase-mock

Mocked get_image_dict should contain checksum, needed by archipelago

dccd42eb 02/15/2013 02:52 pm Christos Stavrakakis

Remove unused function delete_to_login_service

e440e835 02/15/2013 02:52 pm Christos Stavrakakis

pep8 fixes

c51f3a08 02/14/2013 06:05 pm Stratos Psomadakis

Add --uuids option to snf-manage cmds

8814e07c 02/14/2013 06:05 pm Christos Stavrakakis

Fixes relave to --uuids option

3170076a 02/14/2013 06:05 pm Stratos Psomadakis

Add --uuids option to server-list

3fa01ebd 02/14/2013 06:05 pm Stratos Psomadakis

Move exception handling in get_user()

ec0c9d21 02/14/2013 04:28 pm Kostas Papadimitriou

Cyclades astakos migration command fixes

- Rename to cyclades-astakos-migrate-013
- Handle invalid uuids
- Some code cleanup

11bb4341 02/14/2013 04:27 pm Kostas Papadimitriou

Delegate astakos user catalog call in cyclades

cyclades now serve a delegate view for the astakos /user_catalog api
call. Cyclades UI app should use this endpoint to translate user uuids
to display names.

Astakos endpoint is configurable from the CYCALDES_USER_CATALOG_URL...

8528b8ac 02/14/2013 11:03 am Christos Stavrakakis

Totally remove password from create_instance

Never pass password as an 'osparam' to Ganeti. Always use the vmapi,
even for VMs created with server-create management command.

030eb609 02/13/2013 05:29 pm Christos Stavrakakis

Make server-create work with vmapi and archipelago

e7a8d451 02/13/2013 05:29 pm Christos Stavrakakis

Fix bug in networks create

re-raise the exception after rolling back transaction

482c6454 02/12/2013 07:50 pm Christos Stavrakakis

Fix transaction handling when creating server

Better handling of transactions when creating a server. Commit the
creation of VM in DB, before enqueuing the job to the Ganeti backend.
If communication with Ganeti fails, then the VM is deleted from the DB....

f35081af 01/31/2013 03:51 pm Christos Stavrakakis

Add command for exporting cyclades quota

Add 'cyclades-export-quota' management command, for exporting to a file
VMS_PER_USER and NETWORKS_PER_USER settings, in a format expected by the
astakos management command 'user-set-initial-quota'.

d4993f77 01/31/2013 03:24 pm Christos Stavrakakis

Handle transaction manually when creating network

When creating private networks, commit the transaction before sending
the job to all Ganeti backends. If communication with all Ganeti
backends is included in the transaction, notifications from backends
may be received before the Network entry is created in the DB.

2cb812be 01/31/2013 01:43 pm Christos Stavrakakis

Fix image 'backend_id' for archipelago

Archipelago needs as disk origin, the hashmap of the image
instead of its url in the backend.

2a7276e7 01/24/2013 02:47 pm Sofia Papagiannaki

Expose /user_catalogs service api call

Change migration scripts to use this instead of the user api call

890c2065 01/23/2013 06:51 pm Sofia Papagiannaki

Change feedback & user_catalogs astakos && pithos api calls

  • Substitute ``username`` with ``displayname``
db6865fc 01/15/2013 05:01 pm Georgios D. Tsoukalas

Merge branch 'latest-quota' into develop

bring quotas, projects, astakos logins, pithos/RADOS
into the new synnefo development workflow

55f562a4 01/11/2013 04:35 pm Kostas Papadimitriou

Helper api method to retrieve existing userids

a682eaea 01/11/2013 04:35 pm Kostas Papadimitriou

Cyclades astakos migration helper command

ff10da48 01/08/2013 03:49 pm Christos Stavrakakis

Remove unused imports from tests

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

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.

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

Refactor some test code

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

8c165b27 12/14/2012 03:08 pm Sofia Papagiannaki

Merge branch 'devel-0.13' into latest-quota

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

e5d15648 12/14/2012 11:42 am Stratos Psomadakis

Use img['checksum'] as origin disk param.

Use the img['checksum'], instead of img['backend_id'] as the origin disk
paramater, as neede by the new archipelago code (and drop support for the old
one).

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

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

Fix metatada and personality of vmapi

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

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

598071fc 11/28/2012 02:16 pm Kostas Papadimitriou

Fix variable scope

8e5067d9 11/28/2012 12:02 pm Kostas Papadimitriou

Fix handling of firewallProfile action

Refs #3097

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

b3a77863 11/26/2012 03:07 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.

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

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

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

Handle Pithos NotAllowedError

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.

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

Rename nodeapi to vmapi

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

vmapi improvements

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.

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

Add function for pretty printing tables

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

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

cd2b0bf5 11/12/2012 04:59 pm Christos Stavrakakis

Sort all API list_* responses

b10aa469 11/09/2012 06:15 pm Christos Stavrakakis

Use the per-user network limit setting

b84ed662 11/09/2012 05:32 pm Christos Stavrakakis

Refactor code in management commands

39a6388d 11/09/2012 01:08 pm Christos Stavrakakis

Improve management commands

824bbd37 11/09/2012 12:32 pm Kostas Papadimitriou

Enrich servers-list to list only suspended servers

add new option `--suspended` in servers-list command to filter output suspended
servers

6639a243 11/08/2012 06:19 pm Christos Stavrakakis

Merge branch 'master' into devel-0.12

Conflicts:
snf-cyclades-app/synnefo/api/management/commands/flavor-list.py
snf-cyclades-app/synnefo/api/management/commands/server-list.py
snf-cyclades-app/synnefo/api/networks.py
snf-cyclades-app/synnefo/logic/rapi.py

53b9ba10 11/08/2012 03:58 pm Christos Stavrakakis

Import snf-manage network-modify command

Add extra support for changing link and mac_prefix. Also support
reserving and releasing IPs.

17600d55 11/08/2012 12:02 pm Christos Stavrakakis

Forbid creation of non enabled networks

7f2dbcad 11/07/2012 12:52 pm Christos Stavrakakis

Use select_for_update for VirtualMachines

Use select_for_update method when accessing VM objects to prevent
race conditions. Also move start_action from logic to api.