Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo @ 784a3f1e

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

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

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.

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

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

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

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

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

ui: Set default names for unnamed networks

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

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

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

cyclades: Fix typo error

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

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

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

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

2c239b28 12/06/2013 03:54 pm Kostas Papadimitriou

ui: Disable resize overlay if vm is in error state

5be51d4f 12/06/2013 03:35 pm Kostas Papadimitriou

ui: Do not toggle disabled ips subview in single view

ac5a4134 12/06/2013 03:14 pm Kostas Papadimitriou

ui: Fix unavailable disk sizes handling

in vm create wizard

5a5ca502 12/06/2013 03:02 pm Kostas Papadimitriou

ui: Typo fix

5ba38e8a 12/06/2013 02:24 pm Kostas Papadimitriou

ui: Absolute resolve of ui login url

avoid resolving login url from the astakos proxy endpoints. User should be
redirected to login view under astakos domain in order for all static files to
be properly loaded from the user's browser.

dce3fc8b 12/04/2013 01:13 pm Christos Stavrakakis

cyclades: Require subnet for IP_LESS_ROUTED nets

7fccf095 12/04/2013 01:07 pm Christos Stavrakakis

cyclades: Fix default values

e4def9d6 12/04/2013 01:07 pm Christos Stavrakakis

cyclades: Remove DEFAULT_ROUTING_TABLE setting

Do not have a default value from 'link' attribute of IP_LESS_ROUTED
networks. Instead if the admin does not specify a value in
network-create command, uniquely name the networks by with the
BACKEND_PREFIX_ID and network id, e.g. snf-link-42.

d193a5c8 12/04/2013 11:46 am Christos Stavrakakis

cyclades: Add --drained option to network-create

3fc7fd80 12/03/2013 09:43 pm Kostas Papadimitriou

astakos: oa2 app

1229a55f 12/03/2013 03:21 pm Christos Stavrakakis

cyclades: Some verbla fixes to snf-manage commands

2aba7764 12/03/2013 02:44 pm Sofia Papagiannaki

snf_django: Change error status code if request method is not valid

Return 405 (NotAllowed) instead of 400 (BadRequest)
Add Allow header in the response containing the list of valid methods

2052c40e 12/02/2013 04:52 pm Christos Stavrakakis

cyclades: Optimize server-list command

Optimize server-list command by prefetching related fields if needed.

4e0e9d53 12/02/2013 04:50 pm Stratos Psomadakis

cyclades: pep8 fix

f3c5f1df 12/02/2013 04:03 pm Stratos Psomadakis

Add support for snf-vncauthproxy >= 1.5

bd16bf3e 12/02/2013 04:03 pm Stratos Psomadakis

Encrypt instance ids in the stats URLs

f27e976b 12/02/2013 03:17 pm Kostas Papadimitriou

ui: Fix hotplug enabled/disabled checks

6176e251 12/02/2013 12:51 pm Christos Stavrakakis

cyclades: Fix wrong state of deleted networks

Before deleting a network, the network is marked as drained to be
excluded from automatic IP allocation. The state of the network that is
exposed in the API is always 'SNF:DRAINED' if the drained flag is set....

417bd7d4 11/29/2013 06:14 pm Kostas Papadimitriou

ui: Fix infinite quota display in create wizard

09092536 11/29/2013 05:55 pm Kostas Papadimitriou

ui: Fix image ordering in create view

avoid parsing image id as int

12d01aa2 11/29/2013 05:41 pm Kostas Papadimitriou

ui: Configurable fonts base url

80bb2140 11/29/2013 05:41 pm Kostas Papadimitriou

ui: Resize view improvements

- Display grayed out start button if no available quota to start the
corresponding vm
- Open resize overlay instead of start confirmation for the above cases
- Allow overlimit resizing of inactive machines
- Minor styling fixes

ef19e96e 11/29/2013 05:41 pm Kostas Papadimitriou

ui: Hotplug aware ip/network actions

disable port/network connect/disconnect on active vms when ganeti hotplug
is disabled

2e19e7dc 11/29/2013 05:08 pm Christos Stavrakakis

cyclades: Fix broken unittest

1bf69a52 11/29/2013 04:10 pm Giorgos Korfiatis

cyclades: Lock objects in modifying commands

475d4a85 11/29/2013 04:00 pm Christos Stavrakakis

cyclades: Move all management commands to logic

Move all management commands from 'api/management/commands' to
'logic/management/commands'.

afc3e62b 11/29/2013 03:52 pm Christos Stavrakakis

cyclades: Fix bug in IP pools migration

Since the size of IP pools is not automatically computed by the size
of corresponding subnet, the data migration must add sizes to all
existing IP pools.

91884d63 11/29/2013 02:26 pm Giorgos Korfiatis

Add some missing Copyright notices

Also add 2013 in package COPYRIGHT files.

7c1319f0 11/28/2013 05:49 pm Christos Stavrakakis

cyclades: Change default value for default nets

Change default value for default server networks to be an IPv4 public
network.

1fee361d 11/28/2013 05:24 pm Kostas Papadimitriou

ui: Prevent connecting of suspended vms to private networks

d05c0547 11/28/2013 05:24 pm Kostas Papadimitriou

ui: Handle shutdown action errors from resize view

c451f1c4 11/28/2013 05:24 pm Kostas Papadimitriou

ui: Prevent duplicate machine create calls

6b52c29c 11/28/2013 05:24 pm Kostas Papadimitriou

ui: Networks view fix

2efc2580 11/28/2013 01:30 pm Christos Stavrakakis

helpdesk: Change logging level

Change logging level of messages about unauthorized access to helpdesk.
Info level should be enough.

57374655 11/28/2013 01:30 pm Christos Stavrakakis

cyclades: Change logging level to error

ac17f307 11/27/2013 06:15 pm Christos Stavrakakis

cyclades: Change default value for dhcp

46987d1c 11/27/2013 06:12 pm Kostas Papadimitriou

ui: Suspended view regression fixes

74fe3fbc 11/27/2013 06:12 pm Kostas Papadimitriou

ui: IE8 missing Node object fix

c653a1cf 11/27/2013 04:11 pm Christos Stavrakakis

cyclades: Fix stale import

e780930a 11/27/2013 04:11 pm Christos Stavrakakis

cyclades: Use image os property instead of name

Do not display the user defined name of the image. Instead, just display
the 'OS' property or 'OSFAMILY' of the image.