Statistics
| Branch: | Tag: | Revision:

root @ c346aed0

# Date Author Comment
c346aed0 01/14/2013 06:45 pm Christos Stavrakakis

Refactor network reconciliation

bf9b12b8 01/11/2013 09:12 am Dimitris Aragiorgis

Remove "lo" from autopkg.sh

Signed-off-by: Dimitris Aragiorgis <>

dfcfb46e 01/09/2013 06:27 pm Christos Stavrakakis

Check that repo is not dirty

autopkg.sh must run only on clean repositories!

60a99180 01/09/2013 06:03 pm Christos Stavrakakis

Fix git version compatibility issue

92c25aba 01/09/2013 04:45 pm Dimitris Aragiorgis

Add snf-quotaholder-app in autopkg.conf

Signed-off-by: Dimitris Aragiorgis <>

52468c16 01/09/2013 03:16 pm Christos Stavrakakis

Merge branch 'devel-0.13' into develop

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

e399faa2 01/09/2013 03:12 pm Christos Stavrakakis

Merge branch 'master' into develop

Conflicts:
snf-webproject/synnefo/webproject/manage.py

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

Remove unused imports from tests

c9284fad 01/07/2013 02:39 pm Christos Stavrakakis

Fix bug in encoding stdout

Propagate attribute access to original sys.stdout. Also fix corner case where
sys.stdout does not have encoding attribute.

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

23ded2df 01/04/2013 02:43 pm Christos Stavrakakis

Fix typo

95663bf4 01/04/2013 02:42 pm Christos Stavrakakis

Avoid the use of sys__stdout__

65e4e685 01/04/2013 02:20 pm Christos Stavrakakis

Fix typo

21ce46e9 01/04/2013 02:09 pm Christos Stavrakakis

Avoid the use of sys__stdout__

e44de63f 01/04/2013 01:58 pm Christos Stavrakakis

Fix UnicodeError when writing to sys.stdout

Due to a bug the was fixed in Python-2.7, in Python-2.6 unicode strings
that are written to sys.stdout (using sys.stdout.write) are not
converted to bytestrings using the file.encoding. Instead
sys.stdout.encoding is set to None, and the default encoding is used. We...

67c08a61 01/04/2013 01:58 pm 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.

c5e3f1f6 01/04/2013 01:55 pm Dimitris Aragiorgis

Add setup.cfg for gtools.

setup.py installs console scripts in /usr/bin/. snf-ganeti-hook,
snf-dispatcher, snf-ganeti-eventd scripts should be in /usr/sbin.
Add setup.cfg in snf-cyclades-gtools to change install-scripts option.

Signed-off-by: Dimitris Aragiorgis <>

a45fc1ae 01/04/2013 01:28 pm Christos Stavrakakis

Fix UnicodeError when writing to sys.stdout

Due to a bug the was fixed in Python-2.7, in Python-2.6 unicode strings
that are written to sys.stdout (using sys.stdout.write) are not
converted to bytestrings using the file.encoding. Instead
sys.stdout.encoding is set to None, and the default encoding is used. We...

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.

6de5850a 12/14/2012 06:22 pm Christos Stavrakakis

Fix test settings

LOGGING has been renamed to LOGGING_SETUP

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

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

68fde58b 12/14/2012 11:15 am Dimitris Aragiorgis

Support use of local debian branch

If desired you can pass local debian branch as first argument
in autopkg.sh script. If not passed then the one in conf file
will be used.

Signed-off-by: Dimitris Aragiorgis <>

4ec8c043 12/13/2012 05:53 pm Giorgos Korfiatis

add_quota API call

81b92b0f 12/12/2012 09:52 pm Dimitris Aragiorgis

Add test section in installation overview

Signed-off-by: Dimitris Aragiorgis <>

81a53400 12/12/2012 09:32 pm Dimitris Aragiorgis

Add autopkg.conf and some fixes

The script sources the conf file in order to get build options.

In case building procedure fails, it cleans up the mess and returns
HEAD to initial state.

If it succeeds, it checks if your local branch is up-to-date with the...

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.

67543a93 12/12/2012 01:07 am Dimitris Aragiorgis

Ensure autopkg not to mess up local repo

Use add_cleanup, add_checkpoint (based on git reflog) and cleanup
handler upon exit so that local src repo preserves its state after
trying to build packages no matter if build process succeeds or not.

Signed-off-by: Dimitris Aragiorgis <>

22ab4278 12/11/2012 08:11 pm Vangelis Koukis

Make autopkg.sh hopefully more user-friendly

Make autopkg.sh hopefully more user-friendly,
have the whole build procedure run in a directory under /tmp.

48130d8d 12/11/2012 07:31 pm Vangelis Koukis

Move fabfile under devtools/

7260959d 12/11/2012 07:29 pm Vangelis Koukis

Remove obsolete files from the integration branch

d26d8b71 12/11/2012 05:55 pm Dimitris Aragiorgis

Add script for auto pkg generation

Prerequisites:
- existing dirs: ~/build-area, ~/packages, ~/backup
- available commiter's gpg key commiter
- git-buildpackage

Suggested workflow:

git checkout --track origin/develop
git pull origin develop
git checkout -b local...

081adb75 12/11/2012 04:23 pm Constantinos Venetsanopoulos

Update docs theme to match synnefo.org

6d20b7f3 12/11/2012 02:17 pm Vangelis Koukis

Migrate default settings to files under conf/

Migrate default settings to files under conf/ for every
Synnefo component.

TODO: Obliterate snf-cyclades-app/synnefo/appt_settings/default/*
and similar files. Make import of synnefo settings common throughout...

34a6b2c9 12/11/2012 02:09 pm Vangelis Koukis

Merge branch 'pithos-master'

Conflicts:
.gitignore
fabfile.py

Signed-off-by: Dimitris Aragiorgis <>
Signed-off-by: Vangelis Koukis <>

27e3526a 12/11/2012 01:57 pm Vangelis Koukis

Merge branch 'astakos-master'

Conflicts:
.gitignore

Signed-off-by: Dimitris Aragiorgis <>
Signed-off-by: Vangelis Koukis <>

007ba2b4 12/11/2012 11:22 am Giorgos Korfiatis

Replace commit_on_success with commit_manually.
The callpoint takes care of committing.

eeba67ab 12/10/2012 07:34 pm Giorgos Korfiatis

Make side-effecting quotaholder API calls fail completely,
if part of the request is rejected.

If such a call returns a non-empty list, this means that
the entire call failed due to the actions mentioned in the list.

ac2b8a61 12/10/2012 06:22 pm Sofia Papagiannaki

Fix conf

090e5bfa 12/10/2012 06:16 pm Dimitris Aragiorgis

Re-rename installation guide on two nodes

Signed-off-by: Dimitris Aragiorgis <>

c5e6a4b6 12/10/2012 06:10 pm Dimitris Aragiorgis

Undrain backend once added

Signed-off-by: Dimitris Aragiorgis <>

5d996aea 12/10/2012 05:58 pm Giorgos Korfiatis

select_for_update for quotaholder

76db6d5e 12/10/2012 05:21 pm Dimitris Aragiorgis

Add 0.13 support and note role-coexistance issues

Signed-off-by: Dimitris Aragiorgis <>

e36a8c21 12/10/2012 05:17 pm Giorgos Korfiatis

Simplify set_quota implementation

0caece02 12/10/2012 05:17 pm Giorgos Korfiatis

Keep the DB but flush it at start up of testing

8f93a57a 12/10/2012 05:17 pm Giorgos Korfiatis

Use a postgres DB for testing

f7dd3d17 12/10/2012 05:17 pm Giorgos Korfiatis

Check list_entities on sorted output

4eb170f3 12/10/2012 05:17 pm Giorgos Korfiatis

Disallow commission when source == target

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.

0167faa4 12/10/2012 02:31 pm Constantinos Venetsanopoulos

Wording fix in quick install guide wrt greenlets

4e3e3d24 12/10/2012 02:19 pm Constantinos Venetsanopoulos

Add Pooling and Greenlets section in docs

Add the Pooling and Greenlets section in the Quick Installation
Guide. Also make some minor adjustments concerning Astakos
default configuration values.

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

Import quotaholder settings only if needed

3c833282 12/10/2012 12:44 pm Christos Stavrakakis

install-guide: increate node1 workers to 8

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

Import by default the quotas settings

30765b9b 12/07/2012 04:00 pm Christos Stavrakakis

admin-guide: Add missing image

6928da52 12/07/2012 12:01 pm Dimitris Aragiorgis

New installation overview/guide

In the future quick-admin-installation-guide will be for one node
only.

Signed-off-by: Dimitris Aragiorgis <>

7df5a742 12/07/2012 11:59 am Christos Stavrakakis

install-guide: add ntp as synnefo prerequisite

43e2d0f0 12/06/2012 02:28 pm Christos Stavrakakis

Merge branch 'admin-guide'

9b659162 12/06/2012 02:27 pm Christos Stavrakakis

Update admin-guide about RabbitMQ

13e7284e 12/06/2012 02:27 pm Christos Stavrakakis

Ganeti clustername

9492387a 12/06/2012 02:27 pm Christos Stavrakakis

Update admin-guide about managing VMs

a653c059 12/06/2012 02:27 pm Christos Stavrakakis

Update admin-guide with section about Networks

c84d78c8 12/06/2012 02:27 pm Christos Stavrakakis

Update admin-quide with links to quick-admin

a1c707c9 12/06/2012 02:27 pm Constantinos Venetsanopoulos

Fixes regarding the Admin Guide

46ccbcb9 12/06/2012 02:27 pm Christos Stavrakakis

More fixes to Admin Guide

48f0d8e5 12/06/2012 02:27 pm Dimitris Aragiorgis

Changes in networks doc

Signed-off-by: Dimitris Aragiorgis <>

026b4844 12/06/2012 02:27 pm Christos Stavrakakis

Fixes concerinng Network in admin-guide

f30db88d 12/06/2012 02:27 pm Constantinos Venetsanopoulos

Verbal fixes in networks.rst

06e23415 12/06/2012 02:26 pm Christos Stavrakakis

Improve reconciliation section in admin guide

0768a1df 12/06/2012 02:26 pm Christos Stavrakakis

Update docs with Ganeti backend handling

b9fd8ed3 12/06/2012 02:26 pm Christos Stavrakakis

Update docs about Cyclades-Ganeti communication

9c98c6fc 12/06/2012 02:26 pm Christos Stavrakakis

Update docs about bridge/mac-prefix pools

4be65f1f 12/06/2012 02:26 pm Christos Stavrakakis

Update logging section in admin-guide

90c74332 12/06/2012 02:26 pm Christos Stavrakakis

Sphinx fixes

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.

8a904c14 12/05/2012 11:33 am Giorgos Korfiatis

Merge two tests for quotaholder api

3c877c34 12/04/2012 06:36 pm Giorgos Korfiatis

Add quotaholder token for tests

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

c05b0cbe 12/04/2012 03:22 pm Giorgos Korfiatis

Better version of the bug fix 39cefb25

39cefb25 12/04/2012 02:36 pm Georgios D. Tsoukalas

fix obscure bug in callpoint class that triggered db integrity errors

Callpoint class had a placeholder attribute original_calls
which was initialized as an empty dictionary,
and thus was usable. Class init() code did not initialize
original_calls as it should but because the placeholder was...