Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo @ 3170076a

# Date Author Comment
3170076a 02/14/2013 06:05 pm Stratos Psomadakis

Add --uuids option to server-list

f60a6229 02/14/2013 06:04 pm Christos Stavrakakis

Remove stale import

998f872c 02/14/2013 05:21 pm Christos Stavrakakis

Remove 'snf-admin' and 'snf-cloud' tools

688ef794 02/14/2013 05:21 pm Christos Stavrakakis

Remove unused setting file

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

37dd2616 02/14/2013 04:27 pm Kostas Papadimitriou

Override get_owner method for glance model object

to properly handle unknown owner entries

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

8f53cfa3 02/14/2013 04:27 pm Kostas Papadimitriou

Translate image owner uuid -> display name in UI

UI uses the introduced /user_catalog api to translate uuids to display
names when necessary.

6024a05c 02/14/2013 04:27 pm Georgios D. Tsoukalas

minor fix and rename to cyclades-reset-usage

f8955d79 02/14/2013 04:27 pm Georgios D. Tsoukalas

minor fixes and rename to cyclades-usage-verify

d133f624 02/14/2013 04:27 pm Georgios D. Tsoukalas

rename to cyclades-reconcile-commissions

f2cf9c9d 02/14/2013 04:26 pm Kostas Papadimitriou

Synnnefo ui fallback route

include a default route to redirect to index to catch arbitrary url
fragments.

469d0997 02/14/2013 04:26 pm Georgios D. Tsoukalas

ui compatibility: translate uuids to display names

498b2bd0 02/14/2013 04:26 pm Georgios D. Tsoukalas

correct quotaholder exception imports

bda242f9 02/14/2013 04:26 pm Georgios D. Tsoukalas

userquota to handle null request.user

dbecf586 02/14/2013 01:38 pm Christos Stavrakakis

Fix whitespace, Licence

1c11bace 02/14/2013 01:25 pm Christos Stavrakakis

Re-implement select_for_update

Previous implementation of 'select_for_update' method was based on an
attribute of the 'ForUpdateManager'. However, the model manager is shared
between all threads, which lead to race conditions. This commit
reimplements 'select_for_update', by making it return a custom QuerySet...

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.

3bdfc1be 02/14/2013 10:50 am Christos Stavrakakis

Fix bug in PoolTable

Catch correct exception

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

Make server-create work with vmapi and archipelago

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

Fix bug in DummyQuotaholderClient

DummyQuotaholderClient should count only positive commissions.

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

Fix bug in networks create

re-raise the exception after rolling back transaction

5a70b1a3 02/13/2013 05:29 pm Christos Stavrakakis

Add details to OverLimit exception

  • Add details to OverLimit exception, with the values provided by
    kamamaki.clients.quotaholder.exception.CommissionValueException.
  • Fix DummyQuotaholder exceptions
  • Fix DummyQuotaholder checks
8b3e98f8 02/13/2013 05:29 pm Christos Stavrakakis

Handle exceptions when using --filter-by

Handle exceptions in 'filter_results' (management commands helper
functions used to implement --filter-by option).

1ad47ca5 02/12/2013 08:08 pm Christos Stavrakakis

Fix reconciliation for building VMs

Since commit 482c645, a VM exists in the Cyclades DB before the
corresponding job is enqueued in the Ganeti backend. Therefore, there is
a corner case, where Cyclades can not enqueue the job to Ganeti and
Cyclades crashes before deleting the VM from the DB, which results in a...

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

00f67cf6 02/12/2013 05:03 pm Kostas Papadimitriou

Remove unused module

9e20fcee 02/08/2013 11:53 am Christos Stavrakakis

Remove mac2eui64 dependency

Import mac2eui64 code which is already shipped under util/mac2eui64 instead
of shipping it as a seperate script.

c59f7e0f 02/08/2013 11:53 am Christos Stavrakakis

Fix pep8 issues

cc92b70f 02/06/2013 02:18 pm Christos Stavrakakis

Fix pep8 warnings

c2dbc435 02/06/2013 01:01 pm Stratos Psomadakis

Fix string replace in 'weekly stats' js

Fix string replace in 'weekly stats' js to work with both the old stats urls and
the new snf-stats-app urls.

1b9a83e7 02/05/2013 04:42 pm Christos Stavrakakis

Fix bug in network reconciliation

Fix bug in network reconciliation caused by wrong variable scope.

68b952f9 02/01/2013 04:52 pm Christos Stavrakakis

pep8 fixes

b65a3b04 02/01/2013 03:26 pm Christos Stavrakakis

Add disk_template to Flavor name

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.

776d2a3f 01/31/2013 12:58 pm Christos Stavrakakis

Rename ARCHIPELAGOS to ARCHIPELAGO

Rename ARCHIPELAGOS_BACKENDS setting to ARCHIPELAGO_BACKEND.

5d3675bb 01/31/2013 11:39 am Christos Stavrakakis

Filter out deleted vms/networks

Do not count deleted VMs and Networks when getting holdings
from the Cyclades DB.

7f849a28 01/30/2013 12:56 pm Georgios D. Tsoukalas

cyclades: import quotaholder exceptions from kamaki

Because this is where the quotaholder client exceptions come from.

460d9f6a 01/29/2013 04:42 pm Georgios D. Tsoukalas

Merge branch 'feature-projects' into develop

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``
c3bcaeff 01/22/2013 01:43 pm Stratos Psomadakis

plankton: Handle correctly request filters

Make sure that when listing public images plankton verifies that
size_max and size_min req filters are integers, and return a Bad
Request response otherwise.

f659cd15 01/21/2013 03:38 pm Kostas Papadimitriou

Fix progress messages handling

proper handling of missing `messages` key progress messages.

115fc1d6 01/18/2013 03:58 pm Georgios D. Tsoukalas

Merge 'develop' into feature-projects

Needed for building devflow packages from feature-projects.

bed3cd0b 01/18/2013 03:09 pm Christos Stavrakakis

Network field type has been renamed to flavor

2f70b788 01/18/2013 02:33 pm Christos Stavrakakis

Fix typo bug in reconcile ip pools

cab31c74 01/18/2013 01:30 pm Christos Stavrakakis

Add warning message for backend without networks

d1a7ce9c 01/15/2013 09:47 pm Kostas Papadimitriou

Fix footer positioning javsacript handler

52a432c7 01/15/2013 09:47 pm Kostas Papadimitriou

Improve javascript exception handling

Skip 'Script error' exceptions. Those exceptions get raised in
FF/Safari/Chrome from scripts which location violates same-origin-policy
of the document (e.g cloudbar.js).

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

c346aed0 01/14/2013 06:45 pm Christos Stavrakakis

Refactor network reconciliation

77baab80 01/11/2013 04:35 pm Kostas Papadimitriou

Fix public image handling

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

2425992b 01/07/2013 01:41 pm Kostas Papadimitriou

Handle astakos usage response in ui

override the hardcoded quotas if astakos response includes user usage
information.

73e4a52a 01/07/2013 01:41 pm Kostas Papadimitriou

Variable name typo

515b3e04 01/07/2013 01:41 pm Kostas Papadimitriou

Periodic update of user usage quotas

e65291d7 01/07/2013 01:41 pm Kostas Papadimitriou

JS fix

call positionFooter after its definition

3f77e63d 01/07/2013 12:22 pm Christos Stavrakakis

Merge branch 'master' into devel-0.13

Conflicts:
snf-cyclades-app/synnefo/db/models.py
snf-cyclades-app/synnefo/logic/management/commands/backend-modify.py

039e3e61 01/07/2013 11:15 am Christos Stavrakakis

Refactor tests

0816cd46 01/04/2013 11:38 am Christos Stavrakakis

Fix bug about networks and offline backends

Ignore offline backends when computing the state of the network, since
no notification will be received from them. Also, create no
BackendNetwork for an offline backend. This will be created by
reconcilliation, when the backend gets online again.

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

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

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