Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app @ d222936b

# Date Author Comment
d222936b 01/30/2014 10:37 am Christos Stavrakakis

cyclades: Make snf-dispatcher handle EINTR

snf-dispatcher supressed almost all exceptions and continued to process
new messages. However, this caused snf-dispatcher to ignore Ctl+C when
running in debug mode. This commit fixes this be exiting the retry loop...

b4329a33 01/30/2014 10:30 am Christos Stavrakakis

ui: Check `is_snapshot` image attribute to identify snapshot images

3a3dea88 01/30/2014 10:28 am Christos Stavrakakis

cyclades: Fix typo

Snapshot "uuid" has been replaced with "id" to match with images.

c449760f 01/29/2014 03:58 pm Christos Stavrakakis

cyclades: Merge handling of images and snapshots

Also, rename 'checksum' to 'mapfile'.

11d4d283 01/29/2014 03:58 pm Christos Stavrakakis

cyclades: Process progress of snapshots

Update status of snapshots based on notifications about the progress of
Ganeti OP_INSTANCE_SNAPSHOT job. Extend snf-ganeti-eventd and
snf-dispatcher to create and handle such notifications. Currently, we
store the snapshot_id, in a hacky way as a reason in the...

58194535 01/29/2014 03:57 pm Christos Stavrakakis

cyclades: Add 'disk_template' to Volumes

Also check GANETI_CLONE_PROVIDERS

a868c831 01/29/2014 03:57 pm Christos Stavrakakis

cyclades: volume-modify and various fixes

5d805533 01/29/2014 03:57 pm Christos Stavrakakis

cyclades: Create servers with volumes

Extend Cyclades POST /servers API endpoint to support specifying volumes
when creating a server. The call is extended with the
'block_device_mapping_v2' field that contains a list of dictionaries,
each of which contains the following information about the devices that...

1040b85b 01/29/2014 03:53 pm Christos Stavrakakis

cyclades: Implement volume-import command

Implement management command to import an existing Ganeti disk (that has
been created directly in the Ganeti backend) to Cyclades, as a new
Cyclades Volume.

c19ad1e9 01/29/2014 03:53 pm Christos Stavrakakis

cyclades: Implement server actions for volumes

Implement 'attach_volume' and 'detach_volume' server actions. Also, add
'GANETI_MAX_DISKS_PER_INSTANCE' setting, to force a hard limit on the
maximum number of disks a server can have.

910d960d 01/29/2014 03:53 pm Christos Stavrakakis

cyclades: Implement API for volume attachments

Extend /servers API with 'os-volume_attachments' endpoint, containing
API calls for attaching and detaching volumes to servers, and
listing/showing the volumes of a server.

3768eb67 01/29/2014 03:53 pm Christos Stavrakakis

cyclades: Update tests

ac6a221f 01/29/2014 03:53 pm Christos Stavrakakis

cyclades: Add management commands for volumes

c583d487 01/29/2014 03:53 pm Christos Stavrakakis

cyclades: Make snf-dispatcher handle volumes

Update snf-dispatcher to handle messages from snf-ganeti-eventd about
the instance disks(volumes). Handling of disks is done almost exactly as
with NICs.

ef0839e9 01/29/2014 03:53 pm Christos Stavrakakis

cyclades: Implement reconciliation for volumes

Extend 'reconcile-servers' management command, to reconcile the state of
Cyclades Volumes with the corresponding disks of instances in the Ganeti
backends.

5f90e24c 01/29/2014 03:53 pm Christos Stavrakakis

cyclades: Various fixes relative for volumes

  • Do not store source_{volume_id, image_id, snapshot_id} as seperate
    fields. Instead store them in the 'source' field, with a special prefix
    to indicate the source type.
  • Add 'origin' field to Volume model to contain the origin that will be...
18ca395d 01/29/2014 03:53 pm Christos Stavrakakis

cyclades: Various fixes for snapshots

  • Rename 'name' and 'description' to 'display_name' and
    'display_description' in the API.
  • Small refactoring in snapshots methods
fad9d098 01/29/2014 03:53 pm Christos Stavrakakis

cyclades: Update volume unittests

e6a2a646 01/29/2014 03:53 pm Christos Stavrakakis

cyclades: Make 'volume' an app

Add 'models.py' to make 'volume' a Django app.

ff77b897 01/29/2014 03:53 pm Christos Stavrakakis

cyclades: Handle keybord interrupt in dispatcher

63338c2d 01/29/2014 03:53 pm Christos Stavrakakis

cyclades: Fix exception for missing snapshots

a45b30a7 01/29/2014 03:53 pm Chrysostomos Nanakos

ui: Fixes for volumes and snapshots

64fec398 01/29/2014 03:53 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
fb6094c5 01/29/2014 03:53 pm Kostas Papadimitriou

ui: Include snapshot action in vm icon view

db82ea7a 01/29/2014 03:53 pm Kostas Papadimitriou

ui: Introduce snapshot image type in vm wizard

059a01b9 01/29/2014 03:53 pm Kostas Papadimitriou

ui: Update images collection every time user opens vm wizard

d27cf869 01/29/2014 03:53 pm Kostas Papadimitriou

ui: Properly set snapshot OS attribute

if not already set

d303b582 01/29/2014 03:53 pm Kostas Papadimitriou

ui: Snapshot image icon

b872a653 01/29/2014 03:53 pm Kostas Papadimitriou

ui: Implement snapshot create api call

1316db51 01/29/2014 03:53 pm Christos

cyclades: Add SnapshotInstance RAPI method

bec591bd 01/29/2014 03:53 pm Christos Stavrakakis

cyclades: Delete volumes together with the instance

ae835e3b 01/29/2014 03:53 pm Christos Stavrakakis

cyclades: Check that image fits into disk

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

f518210b 01/29/2014 03:53 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_*.

4b902a1e 01/29/2014 03:53 pm Kostas Papadimitriou

ui: Create vm snapshot view

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

e7953d63 01/29/2014 03:53 pm Christos Stavrakakis

cyclades: Various fixes for volumes and snapshots

862afc75 01/29/2014 03:53 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.

c970e0d2 01/29/2014 03:52 pm Christos Stavrakakis

cyclades: Initialize 'volume' app

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

d4617818 01/29/2014 03:52 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.

0f55b744 01/29/2014 03:52 pm Christos Stavrakakis

cyclades: Add urls for volume API

dec501fa 01/29/2014 03:52 pm Christos Stavrakakis

cyclades: Implementat volumes and snapshots

178eabbf 01/29/2014 03:52 pm Christos Stavrakakis

cyclades: Add tests for volumes

caf6cb1f 01/29/2014 03:46 pm Christos Stavrakakis

Merge branch 'release-0.15' into develop

Conflicts:
snf-deploy/snfdeploy/__init__.py
version

606837c6 01/29/2014 03:43 pm Christos Stavrakakis

plankton: Fix wrong import

s/lib/util

78fa9134 01/29/2014 03:24 pm Christos Stavrakakis

plankton: Validate parameters and catch assertions

d58ea30a 01/29/2014 01:41 pm Christos Stavrakakis

plankton: Fix storing of image properties

Image properties where stored all together as one metadata (JSON dumped
string). This caused problems with the maximum allowed length of for a
metadata value. This commit fixes this by storing each property as a
separate metadata which is prefixed with the 'PROPERTY_PREFIX'.

0efb43cd 01/29/2014 01:41 pm Christos Stavrakakis

plankton: Validate meta key/value length

Fail with BadRequest if length of metadata key or value is not valid.

1a9aa726 01/28/2014 03:43 pm Dionysis Grigoropoulos

cyclades: Check if the name of an image is null

491d2a31 01/28/2014 12:30 pm Christos Stavrakakis

cyclades: Stats per backend from API

Extend Cyclades stats API endpoint with the ability to return stats
only for a backend. Also, add option to include image stats or not.

72224dd6 01/28/2014 11:59 am Christos Stavrakakis

plankton: Check that object is an image

Fix bug that caused Plankton to return Pithos files that were not
registered as images. Plankton did not checked that the requested Pithos
object (UUID or URL) was an Image. This was caused because
'get_object_meta' call of PithosBackend returns the common metadata for...

182b2e2a 01/28/2014 11:21 am Dionysis Grigoropoulos

cyclades: Fix typo in tests/networks.py

6faf3c78 01/27/2014 03:35 pm Dionysis Grigoropoulos

cyclades: Typo fix in api/networks.py

  • Fix a typo that made responses report all networks as "deleted=True"
3d870b05 01/27/2014 02:17 pm Dionysis Grigoropoulos

cyclades: Update api/networks.py and typo fixes

  • Update api/networks.py to use the updated get_attribute from commit
    14402edcf6d19fc42a64ef93da3d66ef7969327b.
  • Add corresponding test case
  • Typo fix in an error message in api/subnets.py

Refs #4979

14402edc 01/24/2014 07:12 pm Christos Stavrakakis

cyclades: Validate fields of API requests

Make sure that all fields of a request (user input) have a valid type.
This commit validates 'ports', 'servers' and 'floating_ips' APIs.

Refs #4979

ba777b02 01/23/2014 03:44 pm Giorgos Korfiatis

cyclades: Detach serial from resource when resolved

0f4c5b34 01/23/2014 03:43 pm Giorgos Korfiatis

cyclades: Delete unused quota code

f4d624c6 01/23/2014 03:43 pm Giorgos Korfiatis

cyclades: Update serial only if actually resolved

909dab08 01/22/2014 02:16 pm Giorgos Korfiatis

cyclades: Fix typo

62b76f38 01/22/2014 12:50 pm Christos Stavrakakis

cyclades: Extend flavors with 'allow_create' field

  • Add 'allow_create' field to Flavor DB model and the corresponding
    migration.
  • Extend API for flavors to return the 'SNF:allow_create' attribute
  • Update POST /servers API call to check that the flavor that is...
56591392 01/21/2014 04:43 pm Kostas Papadimitriou

ui: Disable content editing in public key list view

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

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