Statistics
| Branch: | Tag: | Revision:

root @ c77af544

# Date Author Comment
c77af544 03/28/2013 10:57 pm Sofia Papagiannaki

Change pithos backend DEFAULT_PUBLIC_URL_SECURITY

Change value from 8 to 16, to conform with the default
PITHOS_PUBLIC_URL_SECURITY setting.

44f2d10d 03/28/2013 08:13 pm Kostas Papadimitriou

Additional confirm widgets for join/leave actions

Also deny GET requests for those actions

d12e522d 03/28/2013 07:37 pm Kostas Papadimitriou

Deny GET requests for project actions requests

249026ef 03/28/2013 07:37 pm Kostas Papadimitriou

Add a reason parameter in project deny requests

if not set, None is passed

058b6ec7 03/28/2013 07:37 pm Kostas Papadimitriou

Astakos project details user actions improvenets

- Split actions partial in a separate template.
- Convert simple A html links to confirm forms and do action requests
using POST.
- Use a common tempalte tag ``confirm_link`` to prompt user an
additional step of action confirmation....

4a105ce2 03/28/2013 05:21 pm Sofia Papagiannaki

Change pithos public URL implementation

Refs: commit: 56f3c759

Do not include encoded serial in the public URL.

Change PITHOS_PUBLIC_URL_MIN_LENGTH setting to
PITHOS_PUBLIC_URL_SECURITY.

Log public set/unset functions.

7aac6b38 03/28/2013 05:01 pm Giorgos Korfiatis

Let admin see project status just like its owner

Admin is interested in projects `Pending for review'. They appeared
as `Unknown' in the project list before. With the current change,
the status of an admin being a member of a project is hidden,
since we don't present combined project/membership states.

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

UI create vm errors fix

never forget to pass vm create callback arguments

5607fc6c 03/28/2013 10:47 am Christos Stavrakakis

Pep8 fixes

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

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

remove obsolete example code module http_request

56f3c759 03/27/2013 06:51 pm Sofia Papagiannaki

Change pithos public implementation

Public URLs should consist of a random part.
A public URL should be unique and should not be
equal to any deleted public URL.
Finally publishing a public object has no effect.
Therefore, to generate a new public URL for an...

00b501fc 03/27/2013 06:51 pm Sofia Papagiannaki

Fix user-set-initial-quota command

Do not display unnecessary message:
"Please use either `--from-file' or `--set-capacity' options"
while importing quotas from file.

8d15889c 03/27/2013 06:51 pm Sofia Papagiannaki

Fix send mail error handling

  1. Fix send change email error message
  2. Remove double logging
bc1e29f5 03/27/2013 05:56 pm Stratos Psomadakis

Fix verbose_name for network.private resource

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

Display additional vm backend info in helpdesk app

Refs #3452

42732c26 03/26/2013 06:42 pm Giorgos Korfiatis

Preserve owner info when modifying project

An admin can modify a project, i.e. create an application based on
a previous application. We distinguish the initial applicant, called
the `owner', from the user who submitted the current application,
called the `applicant'....

db472f3d 03/26/2013 06:42 pm Giorgos Korfiatis

Impose pending application limit on owner

We used to check the limit on applicant; however we would like to
to control pending applications per the original applicant, i.e the
owner. The check is ignored when the applicant is a project admin.

f30f0170 03/26/2013 06:42 pm Giorgos Korfiatis

Log project actions

984fec93 03/26/2013 05:39 pm Kostas Papadimitriou

Optionally display projects in astakos menu

New ASTAKOS_PROJECTS_VISIBLE setting (defaults to False) added to
control whether the projects menu should be visible in astakos user
views.

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.

2b745492 03/26/2013 01:30 pm Giorgos Korfiatis

Specify reason when denying project application

Add field `response' in ProjectApplication model.
Add option `-m' in project-control command.

Refs #3493

2c7c0756 03/26/2013 11:26 am Giorgos Korfiatis

Change helper function to allow multiple arguments

1c53bc1d 03/22/2013 05:25 pm Stratos Psomadakis

Fix deref before None check in http pool

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.

1fd14d3d 03/22/2013 04:23 pm Giorgos Korfiatis

Return EmptyQuerySet on an EmptyResultSet

Refs #3489

Call to as_sql() raises EmptyResultSet in a couple of occasions,
more importantly when filtering based on an empty list: filter(field__in=[]).

a6a152d6 03/22/2013 03:55 pm Giorgos Korfiatis

Move managers.py in synnefo.lib.db

This makes it easier to maintain, since it is used in multiple applications
(astakos.im and quotaholder_app).

2ef1e2d7 03/22/2013 12:35 pm Giorgos Korfiatis

Change output of astakos-quota --sync

Inform specifically which users, if any, have been synced, instead of
listing the whole diff. The latter can be recovered by giving the
option --verify.

f6950864 03/21/2013 06:04 pm Giorgos Korfiatis

Sync only quotas that differ

Refs #3479

Database stack limit issue was triggered by syncing quotas for
all users. It is much faster to compare quotas locally and send
for sync to quotaholder only those that differ.

2f906450 03/21/2013 05:42 pm Giorgos Korfiatis

Simplify query to avoid hitting db stack limit

Refs #3479

Looking up (entity, resource) pairs created a huge query formula
in disjunctive normal form, which apparently brought the db parser
to its limits.

It has been replaced by selecting the holdings by entity only....

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>

d587329c 03/20/2013 06:09 pm Konstantinos Tompoulidis

Update the quick install admin guide for 0.13

  • Document the Quotas feature
  • Minor fixes and updates
  • pep8 fixes
e5acddf8 03/19/2013 02:01 pm Sofia Papagiannaki

Deactivate pithos disk space usage tests

Pithos usage tests require special setup
since test accounts should be created and configured properly
in astakos and quotaholder components.

Also, these tests should know the server's version accounting policy.
For the time being, pithos server does not return this information....

78348987 03/19/2013 01:24 pm Sofia Papagiannaki

Eliminate mutable default arguments

0a92ff85 03/19/2013 11:22 am Sofia Papagiannaki

Fix pithos purging accounting

Refs: #3442
Refs: #1733

Pithos has two different version accounting
policies:
  • free: do not include object history version size
    to the total account usage
  • debit: include object history version size to
    the total account usage...
3e1b20d6 03/19/2013 11:22 am Sofia Papagiannaki

Integrate Pithos usage listing and reseting,
globally and per-user.

Refs: #3309

Substitute pithos-reset-usage with
pithos-usage management command
and extend it to list also account usage.

7273ee62 03/19/2013 11:22 am Sofia Papagiannaki

Fix pithos get object metadata response headers

X-Object-Modified-By header was accidentally
eliminated in the response

1f0030e6 03/15/2013 06:19 pm Kostas Papadimitriou

Do not replace stdout when running tests

in order to have usable pdb repl

66643114 03/15/2013 02:46 pm Sofia Papagiannaki

Remove pithos logger from pithos settings

Loggers for all synnefo components should be configured in
snf-webproject setting file '10-snf-webproject-logging.conf'.

f5a1e653 03/15/2013 01:53 pm Sofia Papagiannaki

Clear pithos InternalServerError response

Do not include in the InternalServerError response
the actual error.

e3685916 03/13/2013 05:29 pm Giorgos Korfiatis

Fix some (innocuous) object sharing as kwarg default

22848599 03/13/2013 04:50 pm Christos Stavrakakis

Bump version

b9818693 03/13/2013 04:43 pm Christos Stavrakakis

Fix inadvertent use of shared objects

Fix inadvertent use of shared objects in synnefo/lib/astakos.py and
pithos/api/delegate.py, since current use is racy when running multiple
requests under gunicorn. Create a private, per-request copy instead.

3f06280d 03/12/2013 05:40 pm Christos Stavrakakis

Bump version

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

0d4ffc7f 03/12/2013 11:05 am Kostas Papadimitriou

Avoid logout of unauthenticated users

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

d8db7692 03/11/2013 06:41 pm Christos Stavrakakis

Bump version

f3463a00 03/11/2013 06:31 pm Kostas Papadimitriou

Fix shibboleth logging

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

576e059b 03/08/2013 07:00 pm Constantinos Venetsanopoulos

Update the Quick Install Admin Guide

Update the following sections in the guide:

  • Ganeti: Don't build package; use GRNET's until 2.7 is out
  • gevent: Make it a prerequisite on both nodes
379dccfe 03/08/2013 04:27 pm Christos Stavrakakis

Bump version

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

695d94d0 03/08/2013 02:28 pm Christos Stavrakakis

Bump version

e0a81f2e 03/08/2013 12:51 pm Giorgos Korfiatis

Inform user we are working in the background

Print a message about astakos-quota calculating all user quotas,
which on a big system takes some time.

92a8abc9 03/07/2013 07:01 pm Kostas Papadimitriou

Astakos activation fix

Additional check to avoid verified inactive users reactivation

a99a9151 03/07/2013 07:01 pm Kostas Papadimitriou

Classic login form fix

hide prompt for additional login methods if no such methods exist

5df4c364 03/07/2013 07:01 pm Kostas Papadimitriou

Astakos logging fixes

Removed with_logging wrapper which inconsistently extracted user/request
arguments. Logging statements placed explicitly within login/logout
methods.

Fix admin notification logging

a53ee093 03/07/2013 07:01 pm Kostas Papadimitriou

Include auth providers basic logging support

Add logging statements on some important auth providers operations.

Complete auth providers logging support will be merged from the
feature-astakos-authpolicies branch which also includes additional auth
providers improvements.

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.

9e595d7f 03/07/2013 05:03 pm Christos Stavrakakis

Bump version

cb0c401a 03/07/2013 04:52 pm Giorgos Korfiatis

astakos-quota: allow syncing with --user

22a8a5e1 03/07/2013 04:40 pm Dimitris Aragiorgis

snf-deploy doc update

Change the commands. The latest version is:

snf-deploy vcluster image network dhcp create

snf-deploy prepare ns hosts check apt nfs

snf-deploy synnefo

snf-deploy backend create network storage

Signed-off-by: Dimitris Aragiorgis <>

88f4d3b3 03/07/2013 03:14 pm Georgios D. Tsoukalas

Add 'default' capacity to user-set-initial-quota

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

9bd540f5 03/06/2013 08:04 pm Dimitris Aragiorgis

Some renaming in snf-deploy commands

Signed-off-by: Dimitris Aragiorgis <>

0c29b5ba 03/06/2013 08:04 pm Dimitris Aragiorgis

Add apt command in snf-deploy

Signed-off-by: Dimitris Aragiorgis <>

2bbf1544 03/06/2013 05:44 pm Georgios D. Tsoukalas

Fix UUID bug breaking image list and VM creation

latest_uuid(uuid) returned the latest version with the given uuid.
This is called from pithos backend method get_uuid(),
which is called from plankton backend method get_image().

For the use in get_image() the uuid alone is not enough,...

db8cfc97 03/06/2013 04:20 pm Giorgos Korfiatis

List quotas for a specified user

Refs #3389

9efc25a1 03/06/2013 03:26 pm Giorgos Korfiatis

Fix calculation of initial quotas

Also add all_quotas method in AstakosUser

Refs #3388

09a8fb8e 03/06/2013 02:27 pm Giorgos Korfiatis

Merge branch 'tmp-quota-opt2' into release-0.13

Refs #3388

Improve performance of quota operations

ad977592 03/06/2013 02:26 pm Giorgos Korfiatis

Rename option --force to --no-confirm for clarity

bb535968 03/06/2013 11:47 am Constantinos Venetsanopoulos

Major update of the snf-deploy.rst

9b1e6145 03/05/2013 10:22 pm Christos Stavrakakis

FIx bug in snf-burnin

"create_network" function of kamaki client, has default dchp=False.
However, "test_002_connect_to_network", expects to that created NICs
will have an IPv4 address, and "test_003a_setup_interface_A" tries
to configure eth1 to this IP, which fails....

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

Astakos feedback form fixes

- Include uuid in email
- Response redirect after on successful form submission

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

Cyclades feedback email fixes

- Include user uuid and email as user info

95b36b00 03/05/2013 07:01 pm Christos Stavrakakis

Fix typo

0bfeb27e 03/05/2013 06:54 pm Christos Stavrakakis

Fix bug in snf-burnin about flavor names

Since version 0.13 flavors have been renamed in order to include the
disk_template. This commit fixes the corresponding check in snf-burnin.

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.