Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app @ 6a439d95

# Date Author Comment
6a439d95 01/21/2014 11:38 am Dionysis Grigoropoulos

cyclades: Update snf-manage subnet-* commands

  • Update snf-manage commands to use the new userid and public fields
    introduced in commit bdedfd9d79be7f1c00764b5d56a326d30b30b474
a8817717 01/20/2014 06:34 pm Christos Stavrakakis

cyclades: Fix broken tests

Fix tests that were broken by commit #7ef05bd.

1b3f1792 01/20/2014 05:06 pm Christos Stavrakakis

cyclades: Fix quota bug in snf-dispatcher

Clear the 'vm.serial' field after processing a job that was not
expected. When processing such a job, we reject the pending commission
and issue a new one that reflects the unexpected job. However, since we
reject the commission that is associated with the 'vm.task_job_id' job,...

e1f3c814 01/20/2014 04:07 pm Kostas Papadimitriou

ui: Fix super method call

7ef05bd4 01/20/2014 03:52 pm Christos Stavrakakis

cyclades: Fix corner case in reconciliation

Do not perform reconciliation for building servers that the
OP_INSTANCE_CREATE job is completed after quering Ganeti about the state
of servers.

49e3c862 01/20/2014 03:31 pm Christos Stavrakakis

cyclades: Display IPs in stats-cyclades

Display free and total public IPv4 addresses when pretty-printing
Cyclades stats.

7219c7a3 01/20/2014 01:39 pm Christos Stavrakakis

cyclades: Add deleted attribute for changes-since

Extend API response for servers, networks, subnets and floating IPs,
to support HTTP 'changes-since' queries.

d56fa78c 01/17/2014 04:59 pm Giorgos Korfiatis

Catch EOF in astakos/quota commands

Abort operation when raw_input raises an EOFError.

d9a7f0bb 01/17/2014 04:57 pm Giorgos Korfiatis

Fix stdout/stderr write in astakos/quota commands

Write actual command output and user prompts to stdout; error and progress
messages to stderr.

0c66520a 01/14/2014 11:36 am Kostas Papadimitriou

ui: Styling for vms in error state in ips/network list view

a2b39c54 01/14/2014 11:05 am Kostas Papadimitriou

ui: Improve recurrent api calls throttling

do not trigger faster recurrent intervals when api endpoint does not support
incremental updates (changes-since parameter).

62ebf1c3 01/13/2014 05:53 pm Kostas Papadimitriou

ui: Disable port toggling when no ports available in network view

0dcbd685 01/13/2014 05:53 pm Kostas Papadimitriou

ui: Hide firewall view in private network ports

c915a198 01/13/2014 04:55 pm Giorgos Korfiatis

cyclades: Fix passing arg shutdown_timeout in logic

29e3919d 01/13/2014 04:55 pm Giorgos Korfiatis

cyclades: Set shutdown timeout when enforcing quota

Provide option `--shutdown-timeout' in management command to force a VM
shutdown.

d1892661 01/10/2014 06:08 pm Kostas Papadimitriou

ui: Suspended vm feedback overlay description fix

a3e25d12 01/10/2014 06:03 pm Kostas Papadimitriou

ui: Disable suspended vm actions

10f8b7ca 01/10/2014 06:01 pm Kostas Papadimitriou

ui: Conditionally disable suggested flavors in create wizard

based on user quota limits

a973ffb4 01/10/2014 06:01 pm Kostas Papadimitriou

helpdesk: Exempt csrf check from helpdesk action views

custom csrf handling is already applied in those views.

Fixes action errors when cyclades are installed along with astakos app which
enables csrf protection middleware.

43708a0a 01/10/2014 06:01 pm Kostas Papadimitriou

helpdesk: Handle vm action errors

02990794 01/10/2014 06:01 pm Kostas Papadimitriou

userdata: Log create/update/delete actions

6368ca5d 01/10/2014 06:01 pm Kostas Papadimitriou

ui: Optionally group public networks by name

If setting ``UI_GROUP_PUBLIC_NETWORKS`` is set to True, public networks will
be grouped by their name in networks view.

ee61780c 01/10/2014 06:01 pm Kostas Papadimitriou

ui: Networks view improvements

- Improve network status styling
- Include status styling for drained networks

c397dbce 01/10/2014 05:52 pm Christos Stavrakakis

cyclades: Add shutdown_timeout to server commands

Add support for specifying a timeout when stopping, rebooting or
destroying a server.

702b2fe6 01/10/2014 04:48 pm Christos Stavrakakis

Fix error msg

aa9feeee 01/09/2014 04:12 pm Dionysis Grigoropoulos

UI: Typo fix in VM diagnostics

Fix an off-by-one-error in VM diagnostics

ed91737b 01/08/2014 06:43 pm Kostas Papadimitriou

ui: Public key content styling improvements

24f54995 01/08/2014 05:58 pm Kostas Papadimitriou

userdata: Settings description update

bf18a788 01/08/2014 05:46 pm Kostas Papadimitriou

userdata: Improve public key submission

- Validate key submission content size. Maximum allowed content size is
configurable in userdata settings (USERDATA_SSH_KEY_MAX_CONTENT_LENGTH).
- Return 422 status code on submission validation errors.

a9d34f3b 01/08/2014 05:46 pm Kostas Papadimitriou

userdata: Update unit tests

624f0d07 01/08/2014 04:13 pm Dionysis Grigoropoulos

cyclades: Fix a bug in subnet creation

Since commit ba6ad3460931223d262badebcecbb4124ac136d8 subnets were
always created with an empty name field due to a bug.

b6f688dd 01/08/2014 04:13 pm Dionysis Grigoropoulos

cyclades: Fix a bug in check_name_length

Function check_name_length would crash if the input was a unicode
string.

986bcfe4 01/07/2014 04:16 pm Kostas Papadimitriou

ui: Minor error overlay fixes

set missing overlay titles

54625a34 01/07/2014 04:15 pm Kostas Papadimitriou

ui: Remove needless paragraph from feedback overlay

45ead074 12/20/2013 01:59 pm Christos Stavrakakis

cyclades: Lock objects in reconciliation

Make reconciliation mechanism take an exclusive lock on objects before
issuing messages for reconciliation events. This will make
reconciliation mechanism more slow, but will ensure correct quotas when
reconciliation is run while the service is online.

3af1fb4b 12/20/2013 01:59 pm Christos Stavrakakis

cyclades: Fixes causing unsynced quotas

  • clear QuotaHolderSerial objects when resolving pending commissions.
  • Fix wrong name of Ganeti opcodes.
  • Do not update vm's flavor before issuing new commission
aff81af3 12/19/2013 06:05 pm Christos Stavrakakis

cyclades: Fix typo

02c6595b 12/19/2013 05:27 pm Kostas Papadimitriou

ui: Removed feedback form description

no longer needed since feedback overlay is not manualy triggered any more.

ce2cf379 12/19/2013 05:26 pm Christos Stavrakakis

cyclades: Fix typo

bdedfd9d 12/19/2013 05:22 pm Christos Stavrakakis

cyclades: Add 'userid' and 'public' to subnets

Extend 'Subnet' model with 'userid' and 'public' attributes. This is
required in order to avoid an expensive join when listing subnets. This
commit also includes a database migration for existing subnets.

5920f82c 12/19/2013 05:22 pm Christos Stavrakakis

cyclades: Add 'ipversion' to IPAddress model

40576cf5 12/19/2013 05:22 pm Christos Stavrakakis

cyclades: Optimize dispatcher DB queries

b6ac9768 12/19/2013 05:09 pm Kostas Papadimitriou

ui: Do not enforce vm quota decrease on vm removal

eda4d8d0 12/19/2013 05:09 pm Kostas Papadimitriou

ui: Match IP's pane/hover titles

bf58eed3 12/19/2013 04:36 pm Dionysis Grigoropoulos

cyclades: Set detail=True by default

  • Set detail=True by default for networks and ports
  • Update subnets to support /detail
01def7a4 12/19/2013 04:36 pm Dionysis Grigoropoulos

cyclades: Properly handle subnet/floating_ip IDs

  • Propery handle IDs that weren't an integer
689d7a07 12/19/2013 04:36 pm Dionysis Grigoropoulos

cyclades: Update help msg on snf-manage commands

12e8c717 12/19/2013 04:22 pm Giorgos Korfiatis

cyclades: Exclude users from quota enforcement

6aa9924d 12/19/2013 04:08 pm Giorgos Korfiatis

cyclades: Limit quota enforcement operations

Add option in enforce-resources-cyclades to specify the maximum number of
operations to perform per backend.

Also ensure that quota are always checked in the same order.

744dced3 12/18/2013 07:17 pm Christos Stavrakakis

cyclades: Fix broken tests

Fix default values for DB model factories.

03d430b5 12/18/2013 07:17 pm Christos Stavrakakis

cyclades: Comment out unused tests

Security groups are not working yet. Comment out relevant tests.

371ab004 12/18/2013 07:17 pm Christos Stavrakakis

cyclades: Allow deletion of ports from deleted VMs

Fix corner case where a port seems to be still attached to a VM although
the VM has already been deleted.

bf0cd43a 12/18/2013 07:17 pm Christos Stavrakakis

cyclades: Fix migration file

Fix migration that caused creation of Subnet for networks that did not
had enabled the 'dhcp' option.

b7e79bf3 12/18/2013 11:51 am Christos Stavrakakis

cyclades: Do not prefetch related in get()

fd74cfd3 12/17/2013 05:16 pm Christos Stavrakakis

cyclades: Add datetime fields to Subnet model

Add 'created' and 'updated' datetime fields in Subnet model.

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.

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