Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app @ 72bf812d

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

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

Simple tests for synnefo.quotas

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

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

Fix plankton ItemNotFound exception

Plankton backend raised AssertionError when an Image was not found.
Change this to raise faults.ItemNotFound error. Temporary commit
until common API decorator is implemented.

Refs #3356

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

cc5c8608 04/02/2013 10:29 am Kostas Papadimitriou

Allow helpdesk users to shutdown/start vms

Include an additional action to helpdesk view. Based on the current
status of the virtual machine helpdesk user is allowed to start it or
shut it down.

This comes handy since in most cases vm suspension needs to be...

24906909 04/02/2013 09:08 am Kostas Papadimitriou

Remove ui debug statement

51718b22 04/02/2013 09:05 am Kostas Papadimitriou

Update cyclades webproject settings

remove deprecated admin app entries

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

e3c026e7 03/29/2013 03:33 pm Kostas Papadimitriou

UI auth module typo fix

fix get_username to return user uuid instead of user token. The change
fix the resolving of image ownership of the current ui user.

3eea2bc3 03/29/2013 01:21 pm Constantinos Venetsanopoulos

Update setup.py for every snf-* component

ee5d26fc 03/28/2013 03:11 pm Kostas Papadimitriou

UI create vm errors fix

never forget to pass vm create callback arguments

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

8896e2aa 03/26/2013 08:20 pm Kostas Papadimitriou

Display additional vm backend info in helpdesk app

Refs #3452

475e8578 03/26/2013 05:38 pm Kostas Papadimitriou

Typo fix

b14e3b9e 03/26/2013 03:27 pm Kostas Papadimitriou

Trigger user quota updates on sepcific ui api calls

- We force user quota information to be updated after the completion of
vm/network create/destroy actions.

642c426e 03/22/2013 05:19 pm Christos Stavrakakis

Fix bug in uses_commission decorator

Distinquish between exceptions in the decorated function and exceptions
in accepting/rejecting the commissions. The first one determines whether
serials should be accepted or rejected, while the second one is an error...

c58ae966 03/22/2013 05:12 pm Stratos Psomadakis

Fix plankton shared_from image listing

Commit 469d099 introduced a typo which caused /plankton/shared_images/
to raise an UnboundLocalError.

ef54eee4 03/22/2013 02:19 pm Christos Stavrakakis

Fix NIC's default state

Use "ACTIVE" as NIC's default state, to avoid addding a data migration.

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

2d35cfcd 03/21/2013 03:54 pm Kostas Papadimitriou

Fix available ram options in vm create view

typo fix that caused unavailable ram options due to user quota limits to
still be shown as selectable values.

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

flavor-create: warn if flavor is deleted

94ad2d07 03/21/2013 03:11 pm Christos Stavrakakis

Improve performance of cyclades-usage-verify

Get quotaholder holdings for all users in one call, to speed up
execution of 'snf-manage cyclades-usage-verify'.

336ddd59 03/20/2013 10:45 pm Kostas Papadimitriou

UI loading view improvements

Refs #3396
Refs #3397

- Use separate loading messages for each action to avoid confusion
caused due to aynchronous progress
- Enforce resolving of unknown machine image ids before the main view
gets rendered.

2d815668 03/20/2013 10:13 pm Kostas Papadimitriou

UI auth client fix

Fix early check for existing cookie contents

afe9ca75 03/20/2013 09:47 pm Kostas Papadimitriou

UI. Always extract user info from current cookie contents

Refs #3460

Token value set in api action/request is always retrieved from the
current cookie contents. When cookie contents change is detected ui
redirects user to log in.

Cookie changes are detected each time the app tries to use the user...

505a121e 03/20/2013 08:56 pm Kostas Papadimitriou

Helpdesk tests update

- Include suspend/release suspension tests
- Mock astakos displayname/uuid resolving methods
- Update fixtures with user uuids
- Test vmid lookup

4edee820 03/20/2013 08:56 pm Kostas Papadimitriou

Helpdesk logging improvements

Refs #3454

ba8ff608 03/20/2013 08:23 pm Kostas Papadimitriou

Allow user to search by vm id in helpdesk app

Refs #3453

VM lookup is triggered when search query matches the following patterns

- vm<id>
- vm-<id>

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.

84e01b4f 03/20/2013 07:12 pm Christos Stavrakakis

Remove obsolete cyclades.admin

ff7fc140 03/20/2013 03:54 pm Olga Brani

Remove alpha from logo & copyright period correction

0252fb8b 03/15/2013 02:30 pm Christos Stavrakakis

snf-manage: Accept Ganeti server/network names

Make management commands relevant with servers and networks to accept
as arguments their Ganeti names, besides their database ID.

For example if BACKEND_PREFIX_ID='snf-', they following two commands are
both valid:...

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

3b463c5a 03/12/2013 04:36 pm Kostas Papadimitriou

UI create machine improvements

- Display remaining resources
- Predefined flavors display fix

7ac49c2e 03/12/2013 03:31 pm Kostas Papadimitriou

Disable flavor options that exceed user quota

respect current user quota in flavor options display

f7e51fc5 03/12/2013 01:39 pm Kostas Papadimitriou

New ui quota helper class

also updated ui views to use the new class

367f2916 03/12/2013 01:36 pm Kostas Papadimitriou

Improve ui userquota response

include all available information as retrieved from astakos response

fb7e2d64 03/12/2013 11:05 am Kostas Papadimitriou

Cyclades UI machine create view improvement

- widen up view
- prettier (no scroll) compact flavor list style, when flavor options
are too many to display in a single row

426e4bda 03/11/2013 06:45 pm Christos Stavrakakis

Merge branch 'release-0.13' into develop

Conflicts:
version

6653db48 03/11/2013 06:31 pm Kostas Papadimitriou

Improve memory choices display in vm create view

Apply human readable (MB, GB) conversion

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

b336e6fa 03/11/2013 06:18 pm Georgios D. Tsoukalas

Fix+move HTTP quotaholder client in synnefo.lib

Allow per-service configuration of the (http) quotaholder client.
Kamaki is no longer needed in service (or ganeti) nodes,
because the client has been moved to snf-common.

Also fix the default quotaholder settings for pithos backend to be disabled...

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

e18c1749 03/08/2013 04:22 pm Christos Stavrakakis

Bypass commissioning for orphan networks

Cyclades public networks do not have an owner, and since can not use
the commissioning system. Also, make snf-dispatcher instead of failing
for networks without userid to just a log a warning. This does not apply for...

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

5a5a1f65 03/07/2013 02:03 pm Stratos Psomadakis

Fix print alignment for snf-mange cmds

pprint_table misbehaved when handling unicode 'strings', breaking the
alignment of the output of several snf-manage cmds, and raising a
unicode encode exception, when printing non 'ascii' unicode strings.

Calculate correctly the max column width by applying len() directly to...

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

f4366b6c 03/07/2013 02:03 pm Stratos Psomadakis

Correctly instantiate pithos backend pool

Plankton should explicitly pass quotaholder related args to the pithos
backend pool constructor (after the feature of deregistering images
without deleting them is implemented, plankton should only pass
quotaholder_enable=false to the constructor)....

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

pep8 fixes

f76c5e52 03/05/2013 07:45 pm Kostas Papadimitriou

Cyclades feedback email fixes

- Include user uuid and email as user info

6c45fa84 03/05/2013 06:09 pm Kostas Papadimitriou

Helpdesk app fixes

- Do not use autocomplete feature (usernames are now stored in astakos
db)
- Translate provided username to retrieve user uuid
- UI: Display network operstate in as badge. Hide deleted vms in nics
lists.

7d36f85e 03/05/2013 05:09 pm Christos Stavrakakis

Add type assertions in pprint_table args

Add assertions about the types of "table" and "headers" arguments.

Refs #3365

da0b2fcf 03/05/2013 05:02 pm Georgios D. Tsoukalas

Fix default example urls in deb config files

db4873f8 03/05/2013 04:56 pm Christos Stavrakakis

Fix TypeError in pprint_table

Convert all fields of table and headers to strings before counting their
length or right-aligning them.

Refs #3365

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

fix and better document quota export/import

59f2e0be 02/27/2013 02:25 pm Stratos Psomadakis

Merge branch 'feature-docs-devflow' into release-0.13

693bebea 02/26/2013 02:11 pm Stratos Psomadakis

Make docs (devflow) version-'aware'

02f0cf8a 02/26/2013 01:12 pm Kostas Papadimitriou

Update cyclades api settings and conf files

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

Merge branch 'release-0.13' into develop

Conflicts:
version

9521d937 02/22/2013 04:38 pm Georgios D. Tsoukalas

Rename synnefo.local -> example.synnefo.org

As determined by a spontaneous committee, based on

- .local is used

- 'example' strongly hints to configuration action

- synnefo.org is under control.

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

Validate all network-create parameters

8b71fc91 02/21/2013 01:31 pm Christos Stavrakakis

reconciliation: handle missing network from db

Continue reconciliation even if an orphan network is missing from DB.

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

be1dca04 02/18/2013 07:06 pm Christos Stavrakakis

Fix typo

c4e45b57 02/18/2013 02:25 pm Christos Stavrakakis

pep8 convension

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

bb8fb9af 02/15/2013 05:14 pm Christos Stavrakakis

Fix BridgePoolTable testcase

450a6d2b 02/15/2013 05:08 pm Christos Stavrakakis

Add plankton test

Add test for malformed filter when listing images.

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

f1ffc695 02/15/2013 12:59 pm Stratos Psomadakis

Don't use CYCLADES_USER_CATALOG_URL in snf-manage

Replace CYCLADES_USER_CATALOG_URL with ASTAKOS_URL.replace() in
snf-manage cmds that use it. CYCLADES_ASTAKOS_SERVICE_TOKEN
(/user_catalogs) cannot be used with CYCLADES_ASTAKOS_SERVICE_TOKEN.
/service/api/user_catalogs should be used instead.

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

5112da27 02/14/2013 06:05 pm Christos Stavrakakis

Pep8 fixes

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

2d30ccdd 02/14/2013 06:05 pm Stratos Psomadakis

Fix a pep8 error

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

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