Statistics
| Branch: | Tag: | Revision:

root @ 883c1f94

# Date Author Comment
883c1f94 12/17/2013 05:11 pm Christos Stavrakakis

cyclades: Optimize network related DB queries

Use 'prefetch_related' and 'select_related' to optimize DB queries.

cfc934ff 12/17/2013 04:12 pm Giorgos Korfiatis

quotaholder: Delete holdings of non-accepted users

Users would previously acquire quotas on email verification; this is now
done on user acceptance. We delete holdings for non-moderated and for
rejected users.

b7245b84 12/17/2013 12:40 pm Dimitris Aragiorgis

Add oa2_secret to conf files

This secret is used during registering pithos view in astakos.
Make this setting configurable.

Signed-off-by: Dimitris Aragiorgis <>

e0b9a688 12/17/2013 12:03 pm Dionysis Grigoropoulos

cyclades: Fix bugs in port creation

  • Fix the name of a port not being saved
  • Check the length of the name of a port is within acceptable limits
ba6ad346 12/17/2013 09:58 am Dionysis Grigoropoulos

cyclades: Add a function to check name legnth

  • Add a function logic/utils.py to check the length of a string and
    raise an API fault with the corresponding message.
  • Check the length of the name of servers/ports/networks/subnets
784a3f1e 12/17/2013 09:58 am Dionysis Grigoropoulos

cyclades: Fix a bug in subnet creation

  • Do not allow subnet creation on deleted networks
c62a2729 12/17/2013 09:58 am Dionysis Grigoropoulos

snf-deploy: Typo fixes

236935bb 12/16/2013 09:27 pm Christos Stavrakakis

cyclades: Replace astakos base url with auth url

Remove stale refence to obsolete 'ASTAKOS_BASE_URL' setting. Instead use
'ASTAKOS_AUTH_URL'.

e2b37fb9 12/16/2013 07:52 pm Christos Stavrakakis

cyclades: Fix typo in stats-cyclades cmd

776b42a6 12/16/2013 07:44 pm Christos Stavrakakis

cyclades: Fix resource units

7bfff8a6 12/16/2013 06:55 pm Christos Stavrakakis

cyclades: Update backend only when needed

Make dispatcher ask Ganeti about the enabled/ipolicy disk templates only
after an OP_CLUSTER_SET_PARAMS. Otherwise, dispatcher will be
overwhelmed by gnt-cluster verify jobs.

84813b31 12/16/2013 06:55 pm Christos Stavrakakis

cyclades: Fix bug in network link validation

6be99b24 12/16/2013 06:42 pm Ilias Tsitsimpis

snf-ci: Fix a typo with `network_id'

bbc826ca 12/16/2013 06:00 pm Ilias Tsitsimpis

snf-ci: Search for IPv4 in the private_networks

If the user has specified private_networks get the IPv4 from these
networks. Else get it from the first public network we can find.

f1575211 12/16/2013 05:41 pm Ilias Tsitsimpis

docs: Fix a typo

16c7f032 12/16/2013 05:18 pm Ilias Tsitsimpis

burnin: 'SSHException' has no attribute 'errno'

08f1780b 12/16/2013 03:17 pm Ilias Tsitsimpis

snf-burnin: Better log output

Testsuite ServerTestSuite will not fail if one of the generated
tests fails.

449a1c40 12/16/2013 02:04 pm Ilias Tsitsimpis

snf-burnin: Retry when SSHException

Retry when `SSHException: Error reading SSH protocol banner'.

6a99aca3 12/16/2013 01:10 pm Ilias Tsitsimpis

snf-ci: Don't install kamaki from pypi

26e0d95d 12/16/2013 01:06 pm Ilias Tsitsimpis

snf-burnin: Update kamaki version

01858899 12/16/2013 01:04 pm Christos Stavrakakis

cyclades: Include port in floating-ip-list command

cad9202c 12/16/2013 01:04 pm Christos Stavrakakis

cyclades: Fix error msg when deleting floating IPs

a3acfc5b 12/16/2013 01:04 pm Christos Stavrakakis

cyclades: Disable conflict checks for IPv6 nets

259a5f9a 12/16/2013 01:03 pm Ilias Tsitsimpis

astakosclient: Pep8 fixes

6476ceb7 12/16/2013 12:22 pm Ilias Tsitsimpis

astakosclient: Suppress endpoint failures

Add an option to _fill_endpoints to only query for the oauth2
endpoint if needed. This way we are keeping astakosclient compatible
with the older Astakos versions.

Signed-off-by: Ilias Tsitsimpis <>...

1389fa48 12/16/2013 11:44 am Christos Stavrakakis

Bump version to 0.15rc3

526dad9e 12/12/2013 02:17 pm Olga Brani

astakos: style fix for sortable tables thead

59669f57 12/12/2013 01:13 pm Kostas Papadimitriou

ui: Exempt task_state logic when vm is in ERROR state

do not update machine status from task_state if machine in ERROR state,
excluding the case when task_state is set to DESTROY.

9562bff7 12/12/2013 12:58 pm Kostas Papadimitriou

ui: Resize overlay initialization fix

c2a55260 12/12/2013 12:38 pm Kostas Papadimitriou

ui: Improve handling of ssh key injection in machine wizard

- Remove setting ``UI_SUPPORT_SSH_OS_LIST``
- Always allow ssh key injection unless image os family is included in
``UI_SSH_SUPPORT_OSFAMILY_EXCLUDE_LIST`` setting.

d3e3cba2 12/12/2013 12:38 pm Kostas Papadimitriou

ui: Fix quota limit reached title in create resource buttons

cff6b795 12/11/2013 06:10 pm Vangelis Koukis

Cyclades UI: Minor fixes in wording

0b416fc7 12/11/2013 05:07 pm Kostas Papadimitriou

ui: Error view overlay improvements

additionally display api error message when provided in the error response
object.

681c9851 12/11/2013 04:22 pm Kostas Papadimitriou

ui: Floating ip fixes

- Fix progress indicator display
- Reset model state if attach api call fails

442e88bf 12/11/2013 03:50 pm Kostas Papadimitriou

ui: Private network creation fix

handle network creation when no subnet is requested

bf926504 12/11/2013 03:50 pm Kostas Papadimitriou

ui: Proper display of used floatin ip addresses

warn and allow detach of floating ip address which is connected to a port
with no device assigned to it.

2c2513fc 12/11/2013 12:20 pm Sofia Papagiannaki

pithos: Fix ordering in detailed listing of public objects

Refs: #4727

884aadb8 12/11/2013 11:33 am Christos Stavrakakis

docs: Indentation fixes in Changelog

6e2b07d5 12/10/2013 06:31 pm Christos Stavrakakis

Bump version to 0.15rc2

a012dea3 12/10/2013 06:09 pm Christos Stavrakakis

Update NEWS to reference Changelog until v0.15

NEWS file should contain a reference to Changelog until v0.15 is
relaesed.

0452c7c9 12/10/2013 06:08 pm Sofia Papagiannaki

astakos: More logging fixes

0f6e6e00 12/10/2013 05:59 pm Chrysostomos Nanakos

pithos: Remove get_pithos_usage() call from loop

get_pithos_usage() call is needed only once just before entering
the loop and is used every time afterwards.

7f095784 12/10/2013 05:54 pm Christos Stavrakakis

docs: Small fix to upgrade notes

Rename `client_id` to client `identifier`.

6f65ba13 12/10/2013 05:48 pm Sofia Papagiannaki

Update docs

6c966fb7 12/10/2013 05:48 pm Sofia Papagiannaki

astakos: Fix logging issue

9190b227 12/10/2013 05:19 pm Stavros Sachtouris

Update admin guide to comply with kamaki v0.12+

6ecdb15f 12/10/2013 04:54 pm Constantinos Venetsanopoulos

Minor wording fix in Create Machine wizard

Change the title and subtitle of the Networking tab of the
Create Machine wizard.

5d5d8f19 12/10/2013 04:54 pm Constantinos Venetsanopoulos

Vocabulary fixes: Dettach -> Detach

62232bba 12/10/2013 04:48 pm Christos Stavrakakis

cyclades: Add setting for Ganeti clone providers

Add new 'GANETI_CLONE_PROVIDERS' setting to containg the list of
ExtStorage providers that support cloning. For these providers the
hashmap of the image is passed as an ExtStorage parameter('origin').
Also, since the disk is already filled with data, snf-image performs...

129b94d5 12/10/2013 04:28 pm Christos Stavrakakis

cyclades: Setting for max NICs per Ganeti instance

Add new 'GANETI_MAX_NICS_PER_INSTANCE' setting which represents the
maximum number of NICs that is allowed for each Ganeti instance. The
value of this setting must be less than 'max:nic-count` option of
Ganeti's ipolicy.

00429c48 12/10/2013 04:28 pm Christos Stavrakakis

cyclades: Pass arbitrary params to ext providers

Add 'GANETI_DISK_PROVIDER_KWARGS' setting, which contains a dictionary
of arbitrary parameters for each of Ganeti's ExtStorage providers and
which will be passed to the 'disks' option of CreateInstance Ganeti job.

ec42ea38 12/10/2013 04:26 pm Kostas Papadimitriou

ui: Escape machine name in machines list view

ae73cdc0 12/10/2013 04:22 pm Sofia Papagiannaki

pithos: Fix view issue with unicode paths

ab38ac31 12/10/2013 04:03 pm Kostas Papadimitriou

ui: Improve feedback view submission

exclude nested collections while rendering user data to JSON string

4c69d744 12/10/2013 04:03 pm Kostas Papadimitriou

ui: Proper tab navigation urls

to allow `open in new tab` functionality

7c56ca01 12/10/2013 04:03 pm Kostas Papadimitriou

ui: Reset selected flavor in resize view overlay

74c62d99 12/10/2013 03:20 pm Ilias Tsitsimpis

Print error when fail to resolve Astakos endpoints

Cyclades and Pithos use ASTAKOS_AUTH_URL to access the Astakos service.
To do so the have to access Astakos' endpoints and get the ACCOUNTS and
UI urls.

This patch adds an error message when Cyclades/Pithos fails to retrieve...

6d28ce6a 12/10/2013 02:33 pm Ilias Tsitsimpis

snf-deploy: Update kamaki register command

The --location has to be `pithos://USER_UUID/CONTAINER/PATH'
or `/CONTAINER/PATH'.

7b438672 12/10/2013 02:32 pm Christos Stavrakakis

cyclades: Ignore messages about deleted resources

Ignore messages from Ganeti about servers and networks that have already
been marked as deleted in the Cyclades DB. Processing of these messages
may asynchronize Cyclades with Astakos quotas.

33299f73 12/10/2013 02:25 pm Kostas Papadimitriou

ui: Fix network name resolving

dd21b1c4 12/10/2013 01:52 pm Kostas Papadimitriou

django-lib: redirect option in proxy util

If set to True proxy view will return an http redirect response to the
corresponding target location.

Signed-off-by: Kostas Papadimitriou <>
Signed-off-by: Ilias Tsitsimpis <>

cb47b287 12/10/2013 01:52 pm Kostas Papadimitriou

cyclades: Force redirect instead of proxying for astakos ui views

Signed-off-by: Kostas Papadimitriou <>
Signed-off-by: Ilias Tsitsimpis <>

56bc5d49 12/10/2013 01:52 pm Kostas Papadimitriou

pithos: Force redirect instead of proxying for astakos ui views

Signed-off-by: Kostas Papadimitriou <>
Signed-off-by: Ilias Tsitsimpis <>

efb056c0 12/10/2013 01:52 pm Kostas Papadimitriou

ui: Set default names for unnamed networks

812e72c9 12/10/2013 12:51 pm Christos Stavrakakis

docs: Small fixes to upgrade notes

363538b2 12/10/2013 12:36 pm Kostas Papadimitriou

ui: Public keys quota reached handling

9f678ebf 12/10/2013 12:36 pm Kostas Papadimitriou

ui: Fix header navigation handlers in vm wizard

2c60bfa6 12/10/2013 12:02 pm Ilias Tsitsimpis

burnin: Fix a bug when generated tests fail

When a generated test was failing (in particular the
GeneratedServerTestSuite) burnin couldn't know that this test failed
and wasn't exiting with an error exit status.

Fix this by forcing the test that generated the erroneous test suite to...

e1fab40f 12/09/2013 06:07 pm Christos Stavrakakis

cyclades: Fix locking issue in port create

Lock VM before locking network, because otherwise a deadlock may occur
with code of snf-dispatcher.

1113f89d 12/09/2013 05:53 pm Christos Stavrakakis

cyclades: Order pools by id

f92dffed 12/09/2013 05:53 pm Christos Stavrakakis

docs: Update kamaki image register command

8b7c2fc3 12/09/2013 05:00 pm Christos Stavrakakis

cyclades: Fix typo error

0368716b 12/09/2013 04:54 pm Christos Stavrakakis

ci: Add options for server networking

16a7ced5 12/09/2013 04:54 pm Christos Stavrakakis

cyclades: Remove testing try/exception statement

e9b5ecff 12/09/2013 03:19 pm Christos Stavrakakis

cyclades: Speedup db data migrations

5acb8b8a 12/09/2013 02:37 pm Kostas Papadimitriou

ui: Introduce setting UI_SUPPORT_SSH_OS_FAMILY_LIST

os families list setting for which ui will allow ssh key injection

a98fba9c 12/09/2013 02:37 pm Kostas Papadimitriou

ui: Remove public key view link from vm wizard

e21ac0fa 12/09/2013 02:13 pm Christos Stavrakakis

cyclades: Fix deadlock when releasing floating IPs

e7142db2 12/09/2013 02:12 pm Christos Stavrakakis

cyclades: Fix duplicate constraint in DB

9dc74d37 12/09/2013 01:35 pm Ilias Tsitsimpis

snf-ci: Add delete command

This patch adds the delete command to snf-ci which deletes
ci's created servers. Also it delete the floating IP attached
to the deleted server.

94c89c0e 12/09/2013 01:35 pm Ilias Tsitsimpis

snf-ci: Use the new Network API

Update snf-ci to use the new Synnefo's Network API.
This means that we have to create a floating IP and a
port to attach our server.

7c37ab19 12/09/2013 01:35 pm Ilias Tsitsimpis

burnin: If machine is ERROR we cannot delete ports

If the machine is not in ACTIVE state we cannot delete its ports.
This patch changes burnin so when cleaning up stale servers
(where there is the possibility that the machine is not ACTIVE)
it will not try to disconnect the server from the public network....

036b07b6 12/09/2013 12:55 pm Christos Stavrakakis

cyclades: Fix bug in getting a free floating IP

Fix wrong query which resulted in getting non-floating IPs.

734acd05 12/09/2013 12:24 pm Christos Stavrakakis

cyclades: Only IPv4 addresses in port forwarding

Fix bug that caused calling of port forwarding setting with IPv6
addresses.

8c7f5877 12/09/2013 12:23 pm Christos Stavrakakis

helpdesk: Mock quotaholder in helpdesk tests

17bb60a5 12/09/2013 11:16 am Ilias Tsitsimpis

burnin: Fix a bug with missing method

Method `_disconnect_from_floating_ips' has been removed but
StaleFloatingIPsTestSuite was using it. Replace this method with
`_delete_floating_ips'.

adf766e9 12/08/2013 01:59 pm Christos Stavrakakis

cyclades: Fix division by zero bug

Ganeti reports zero available and total disk if no vg is set. This
caused a division by zero error in the default backend allocator.

d614fa31 12/08/2013 01:59 pm Christos Stavrakakis

cyclades: Get network lock when creating a port

Take the network lock before creating a port in the network. Not taking
the lock may result in a race condition between creating the port and
deleting the network. Also, it can cause a DB deadlock.

40a815f8 12/08/2013 01:59 pm Christos Stavrakakis

cyclades: Fix DB locking issues causing deadlocks

Fix deadlock issues that is caused by Postgresql's locks on foreign
keys. For example, creation of a BackendNetwork row will result in a
shared lock in the 'backend_id' rows. Because updating a VM's NICs
acquired an exclusive lock on the backend that the VM lived, this...

7b1a14eb 12/08/2013 01:59 pm Christos Stavrakakis

docs: Add specs for Ganeti NICs to install guide

2fa6faca 12/08/2013 01:59 pm Christos Stavrakakis

cyclades: Fix typo in log msg

87ad58ca 12/06/2013 06:31 pm Kostas Papadimitriou

ui: Fix windows rdp template

properly set port within the ``full address`` field when set using colon
character

e76bada8 12/06/2013 05:44 pm Kostas Papadimitriou

ui: Remove unused static versioned dir

361be142 12/06/2013 05:16 pm Christos Stavrakakis

cyclades: Fix bug in migration script

Only public IPv4 addresses should be upated to floating IPs.

65044122 12/06/2013 05:16 pm Christos Stavrakakis

cyclades: Fix typo in DB migration file

ce6fb98b 12/06/2013 05:09 pm Kostas Papadimitriou

ui: Remove debug statement

ef5b1547 12/06/2013 05:04 pm Kostas Papadimitriou

ui: Typo fix

731cd907 12/06/2013 04:44 pm Kostas Papadimitriou

helpdesk: Use api.logic.servers methods to in vm start/stop views

bed40567 12/06/2013 04:20 pm Kostas Papadimitriou

helpdesk: Include tablesorter plugin in static dir

f4ee383f 12/06/2013 04:09 pm Kostas Papadimitriou

ui: Fix full report link click handler

bind click handlers for each vm view separately