Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo @ 19b2c29d

# Date Author Comment
47d4891c 01/09/2014 02:23 pm Chrysostomos Nanakos

ui: Fixes for volumes and snapshots

f12466e5 01/09/2014 02:23 pm Kostas Papadimitriou

ui: Create vm snapshot view

- New overlay view to handle vm snapshot creation
- Snapshot action available from vm single view

Conflicts:

snf-cyclades-app/synnefo/ui/templates/partials/machines.html
snf-cyclades-app/synnefo/ui/templates/partials/machines_single.html
19b2c29d 01/09/2014 02:23 pm Kostas Papadimitriou

ui: Include snapshot action in vm icon view

aedcb7f3 01/09/2014 02:23 pm Kostas Papadimitriou

ui: Properly set snapshot OS attribute

if not already set

9af71a4f 01/09/2014 02:23 pm Kostas Papadimitriou

ui: Snapshot image icon

93a33f09 01/09/2014 02:23 pm Kostas Papadimitriou

ui: Implement snapshot create api call

8a6915df 01/09/2014 02:23 pm Kostas Papadimitriou

ui: Create vm snapshot view

- New overlay view to handle vm snapshot creation
- Snapshot action available from vm single view

5ae6706e 01/09/2014 02:23 pm Kostas Papadimitriou

ui: Introduce snapshot image type in vm wizard

45363ab3 01/09/2014 02:23 pm Kostas Papadimitriou

ui: Update images collection every time user opens vm wizard

33ef7782 01/09/2014 02:23 pm Christos Stavrakakis

cyclades: Delete volumes together with the instance

d109fd34 01/09/2014 02:23 pm Christos Stavrakakis

cyclades: Add dummy management commands for volumes

18cb3999 01/09/2014 02:23 pm Christos Stavrakakis

cyclades: Check that image fits into disk

Check that the disk size is big enough to fit the image.

8e057ed0 01/09/2014 02:23 pm Christos Stavrakakis

cyclades: Allow snapshots only for ext_ template

Do not allow taking a snapshot from a volume, if the disk template is
not ext_*.

49776400 01/09/2014 02:23 pm Christos Stavrakakis

cyclades: Add migration file for volumes

c465e496 01/09/2014 02:23 pm Christos

cyclades: Add SnapshotInstance RAPI method

4944a1f8 01/09/2014 02:23 pm Christos Stavrakakis

cyclades: Various fixes for volumes and snapshots

7661abcc 01/09/2014 02:22 pm Christos Stavrakakis

cyclades: Make plankton aware of snapshots

Add 'is_snapshot' attribute to plankton images. Also add methods for
getting or deleting a snapshot.

6c291f42 01/09/2014 02:22 pm Christos Stavrakakis

cyclades: Initialize 'volume' app

Initialize new 'volume' app, which will implement the block storage API
of Cyclades.

01e9dcaf 01/09/2014 02:22 pm Christos Stavrakakis

cyclades: Create DB models for 'volume' app

Create new database models for 'volume' app:
  • Volume
  • Snapshot
  • VolumeMetadata
  • SnapshotMetadata

Also add VolumeFactory and SnapshotFactory models factories.

52275074 01/09/2014 02:22 pm Christos Stavrakakis

cyclades: Add urls for volume API

79a1e9bd 01/09/2014 02:22 pm Christos Stavrakakis

cyclades: Implementat volumes and snapshots

0a83201b 01/09/2014 02:22 pm Christos Stavrakakis

cyclades: Add tests for volumes

680dd4b8 01/09/2014 01:18 pm Ilias Tsitsimpis

Merge branch 'release-0.15' into develop

Conflicts:
ci/utils.py
version

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

48bac1b6 12/23/2013 02:59 pm Chrysostomos Nanakos

cyclades: Fix typo in vm state

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

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.