Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo @ 70a0afab

# Date Author Comment
cbf1a3f3 07/24/2013 09:15 pm Christos Stavrakakis

cyclades: Add check for link during network create

Add a check when creating IP_LESS_ROUTED networks, that the connectivity
link is not already used by another network.

b47f167a 07/24/2013 09:15 pm Christos Stavrakakis

cyclades: Fixes in network management commands

Merge code from logic/networks.py and network management commands.

12e539f0 07/24/2013 09:15 pm Christos Stavrakakis

cyclades: Exclude FIP pools from IP allocation

Do not include the floating IP pools, to the available public networks
when allocating an IPv4 address, when 'SNF:ANY_PUBLIC' option is used.

b2791a77 07/24/2013 09:15 pm Christos Stavrakakis

cyclades: Set firewall profile per NIC

Set firewall profile per NIC, because since Floating IPs an instance can
have more than one NICs in a public network. Extend the API call to take
the NIC index as argument, and modify the Ganeti instance tags to be
formated with the NIC index.

70a0afab 07/24/2013 09:15 pm Christos Stavrakakis

cyclades-rapi: Add bulk option to GetJobs

449c2d82 07/24/2013 09:15 pm Christos Stavrakakis

cyclades: Fix bug in network-modify command

Fix bug caused by wrong identation level. Modification of network in
Ganeti should be performed only if 'add_reserved_ips' or
'remove_reserved_ips' options are used.

5e5b2476 07/24/2013 09:15 pm Christos Stavrakakis

cyclades: Convert network to floating IP pool

Add '--floating-ip-pool' option to network-modify management command, in
order to convert a network to a floating IP pool. Conversation of a
network to a floating IP pool requires the creation of the network to...

410d2877 07/22/2013 05:58 pm Christos Stavrakakis

cyclades: Add migration file for IPv6 networks

1fb0fdda 07/22/2013 04:53 pm Christos Stavrakakis

cyclades: Display task and task_job_id

Make 'server-show' and 'server-inspect' management command to display
the 'task' and 'task_job_id' fields of the vm.

12cb6933 07/22/2013 04:53 pm Christos Stavrakakis

cyclades: Minor improvements in manage commands

6e9255ab 07/22/2013 04:53 pm Christos Stavrakakis

cyclades: Fix import of renamed settings

48f5b1bc 07/17/2013 02:57 pm Christos Stavrakakis

cyclades: No commission for public networks

Do not issue commission for public networks, since they do not have an
owner.

0129231a 07/17/2013 02:57 pm Christos Stavrakakis

cyclades: Fix exception message

8f2aa316 07/17/2013 02:57 pm Christos Stavrakakis

cyclades: Consider IPv6 only networks in allocator

Backend allocator excludes backends that do not have a free IPv4
address. Since, from now on, not all instances are connected to a public
network, this check is only needed when 'SNF:ANY_PUBIC' network is used.

b88c1549 07/17/2013 02:57 pm Christos Stavrakakis

cyclades: Implement NetworkReconciler class

Refactory network reconciliation. Implement NetworkReconciler class to
hold all reconciliation functions.

89b2b908 07/17/2013 02:57 pm Christos Stavrakakis

cyclades: Move NetworkReconciler to reconciliation

Move NetworkReconciler class from network-create command to
reconciliation module.

be4d8469 07/17/2013 02:57 pm Christos Stavrakakis

cyclades: Add tests for network reconciliation

8d325d4b 07/17/2013 02:57 pm Christos Stavrakakis

cyclades: Simple code refactoring

5aeb4e93 07/17/2013 02:57 pm Christos Stavrakakis

cyclades: Support IPv6 only networks

Make Cyclades support IPv6 only networks. Such networks will have
the 'subnet' attribute set to None, in the same way that IPv4 only
networks have the 'subnet6' attribute set to None.

Because currently Ganeti does not support IPv6 only networks, we create the...

5962d9a6 07/17/2013 02:57 pm Christos Stavrakakis

cyclades: Add tests for IPv6 only networks

Add tests to check creation and usage of IPv6 only networks. Tests also
cover creation of other type of networks.

c75ab92e 07/17/2013 02:57 pm Christos Stavrakakis

cyclades: Refactor code relative to networks

Move code checks from network-create management command to
logic/networks.py.

Also create common decorator for management commands to convert api
faults to command errors.

0208770b 07/17/2013 02:57 pm Christos Stavrakakis

cyclades: Refactor logic tests

Create tests module to hold all tests for logic.

890f3d4c 07/12/2013 01:22 pm Christos Stavrakakis

Merge branch 'hotfix-0.14.2' into develop

Conflicts:
Changelog
snf-astakos-app/astakos/im/messages.py
snf-astakos-app/astakos/im/views/target/__init__.py
snf-cyclades-app/synnefo/logic/backend.py
snf-cyclades-app/synnefo/logic/management/commands/reconcile-servers.py...

a6213c91 07/12/2013 11:51 am Kostas Papadimitriou

cyclades ui: Prefer os meta to identify connection user

How vm connection user gets resolved:

- Use the last user in `users` vm metadata if exists
- Use the last user in `users` vm image metadata if exists
- Use root if vm's image osfamily metadata is Linux...

94537e34 07/11/2013 03:52 pm Christos Stavrakakis

cyclades: Move tests in tests directory

801bc0b3 07/11/2013 03:50 pm Kostas Papadimitriou

cyclades ui: Update OS images names

use libguestfs naming convention

redhat -> rhel
suse -> opensuse (also cloned as sles)

e3f006b0 07/11/2013 02:30 pm Christos Stavrakakis

plankton: Make pithos backend pool size a setting

Make the pool size of the pithos backends a configurable setting,
namely PITHOS_BACKEND_POOL_SIZE.

b2d0830b 07/10/2013 10:55 am Christos Stavrakakis

cyclades: pep8 fixes

0ace35e4 07/10/2013 10:55 am Christos Stavrakakis

cyclades: Add size and free to floating-ip-pools

5d3e597a 07/09/2013 04:43 pm Christos Stavrakakis

cyclades: Fix reconciliation of building vms

When reconciling a building vm, you first have to reconciliation it's
creation and then it's operstate. Otherwise it is possible to end up
having wrong quotas.

4691814d 07/09/2013 04:30 pm Ilias Tsitsimpis

pep8 changes

a1a73b1b 07/08/2013 03:46 pm Kostas Papadimitriou

Merge branch 'develop' into feature-floating_ips_ui

Conflicts:
snf-cyclades-app/synnefo/plankton/backend.py

d632e425 07/08/2013 03:44 pm Kostas Papadimitriou

cyclades ui: Allow destroy action on all vm states

1610b2da 07/08/2013 03:44 pm Kostas Papadimitriou

cycaldes ui: Locally reserve IP address assigned to created vm

in order to avoid conflict errors on repetitive vm creates

4a990147 07/08/2013 03:44 pm Kostas Papadimitriou

Revert "Fixed Image:Remove"

This reverts commit a111b19aa011304f624d649d994086310400fada.

d4d51f2d 07/08/2013 03:44 pm Kostas Papadimitriou

cyclades ui: IP addresses vm creation step fix

Filter out ip addresses which pending for machine connection.

b9748526 07/08/2013 03:44 pm Kostas Papadimitriou

cyclades ui: Conditionally disable connect to vm IP actions

when IP's popup is opened from the vm create view.

7967ac30 07/08/2013 03:44 pm Kostas Papadimitriou

cyclades ui: IP addresses overlay improvements

- Wording improvements
- Icon for the connect to machine action

07602322 07/08/2013 03:05 pm Christos Stavrakakis

cyclades: Fix corner case in snf-dispatcher

Same as commit 0514662, but for servers.

6193628f 07/08/2013 12:04 pm Christos Stavrakakis

cyclades: Fix typo bug in management command

46e8886e 07/08/2013 12:02 pm Christos Stavrakakis

cyclades: Add disk template to flavors fixture

32e4e343 07/07/2013 03:04 pm Christos Stavrakakis

PEP8 fixes

b6bc4afa 07/07/2013 03:04 pm Christos Stavrakakis

cyclades: Common filtering based on changes-since

Add 'filter_modified_since' function in snf_django api utils, for
parsing 'changes-since' HTTP parameter and filter the DB objects that
are updated after that date. Otherwise the deleted objects are returned.

870210e7 07/07/2013 03:04 pm Christos Stavrakakis

cyclades: Fix type bug in network-create cmd

54256e77 07/05/2013 07:33 pm Georgios D. Tsoukalas

Merge branch 'feature-pithos-atomic-api' into develop

3347a30c 07/05/2013 07:31 pm Georgios D. Tsoukalas

cyclades: update plankton to commit pithos backend

The Pithos backend no longer auto-commits after each method invocation,
therefore plankton needs to handle transactions itself with with
pre_exec() and post_exec() methods.

6f7e8ffc 07/05/2013 07:12 pm Georgios D. Tsoukalas

cyclades: fix omitted plankton image properties

527c7a7b 07/05/2013 04:52 pm Christos Stavrakakis

cyclades: Fix type error

Create network may return a list of job IDs.

f05a25af 07/05/2013 04:52 pm Christos Stavrakakis

cyclades: Fix wrong unit of ram

8463208f 07/05/2013 04:51 pm Christos Stavrakakis

cyclades: Fix wrong unit of ram

b050e382 07/05/2013 04:24 pm Christos Stavrakakis

cyclades: Fix type error

Create network may return a list of job IDs.

a111b19a 07/05/2013 04:15 pm Christos Stavrakakis

Fixed Image:Remove

75dc539e 07/05/2013 04:13 pm Christos Stavrakakis

cyclades: Parallel server reconciliation

Major refactor to reconcile-servers management command to make it work
in parallel for each backend. Also, removed all --detect options, and
detect all incosistencies by default.

595bc9b0 07/05/2013 04:13 pm Christos Stavrakakis

cyclades: Add tests for server reconciliation

05146623 07/04/2013 11:24 am Christos Stavrakakis

cyclades: Fix corner case in snf-dispatcher

Delete network from DB when job fails but the action of network is
DESTROY. This case appears when someone tries to remove a network that
has been deleted from Ganeti backend, but not yet from DB.

291c782f 07/03/2013 08:22 pm Christos Stavrakakis

cyclades: Fix misleading message in network-remove

8e440b3a 07/03/2013 06:32 pm Christos Stavrakakis

cyclades: Fix typo in reconciliation

9766a80e 07/03/2013 03:55 pm Christos Stavrakakis

reconciliation: Strip Ganeti IP addresses

Strip spaces from Ganeti IP addresses, since they are not automatically
ignored in newer versions of ipaddr.

3a528c36 07/03/2013 03:05 pm Christos Stavrakakis

plankton: Add 'created_at' when registering image

Add 'PLANKTON:created_at' metadata to Pithos files when registering them
as images to plankton.

82d23461 07/03/2013 02:43 pm Christos Stavrakakis

reconciliation: Get servers from DB ater ganeti

Change server reconciliation, to get the instances from DB after getting
instances from Ganeti, to decrease the possibility for races.

f63196c9 07/03/2013 02:12 pm Kostas Papadimitriou

cyclades ui: Remove development statements

c566f369 07/03/2013 01:21 pm Kostas Papadimitriou

cyclades: Networking step in machine create view

Introduce an additional `machine network setup` step in machine create
overlay. Through this step user can select ip addresses/private networks
the machine will be assigned/connected to.

1d9e9a43 07/03/2013 01:21 pm Kostas Papadimitriou

cyclades ui: Static files cache invalidation

include current synnefo version as a parameter to all static files urls to avoid
browsers from using cached content between different synnefo versions.

1fc7640d 07/03/2013 01:20 pm Kostas Papadimitriou

cyclades: Public IP's overlay in UI

- Introduce a new overlay for IP addresses management (create, remove, connect,
disconnect).
- The overlay is accessible from the UI's options menu.

a3ac649e 07/03/2013 12:38 pm Kostas Papadimitriou

cyclades: Handle introduced ``SNF:task_state`` field

- Use it to identify if machine is in a transitioning state (a previously
executed task is pending to be completed).
- Disable all actions when field.
- Backwards compatible. If no field is set the UI falls back into predicting...

ab3df8df 07/03/2013 12:29 pm Kostas Papadimitriou

cyclades: Integrate machine resize action in UI

- Action gets triggered from edit links which appear next to the cpu/memory
details icon/single machine views.
- Handle inability to perform resize action based on vm state by displaying a
warning when machine is in running state....

259459b0 07/02/2013 04:01 pm Christos Stavrakakis

cyclades: Add migration file

Add migration file for floating IPs and VM task state.

736b9244 07/02/2013 04:00 pm Christos Stavrakakis

cyclades: Fix exception message

Fix exception message when trying to connect an instance to a non-active
public network.

9393d4ee 07/02/2013 03:24 pm Kostas Papadimitriou

plankton: Modular plankton backend class

Enable configurable plankton backend using setting ``PLANKTON_BACKEND_MODULE``.

Add ``synnefo.plankton.backend.JSONFileBackend`` which uses a json file as
the store of returned images. The backend should only be used in development...

952b2a48 07/02/2013 03:00 pm Christos Stavrakakis

cyclades: Wrap diagnostic creation in transaction

Fix bug in snf-dispatcher causing wrong updates of VMs from ganeti.
Creation if instance diagnostics must run inside a transaction, because
otherwise, the lock of the vm (select_for_update) is released too early....

9446e7e5 07/02/2013 01:24 pm Christos Stavrakakis

cyclades: Rename "public" to "SNF:ANY_PUBLIC"

Rename reserved work for automatically choosing a public network from
"public" to "SNF:ANY_PUBLIC". Also add the setting description to conf
files.

660b9f3b 07/02/2013 12:32 pm Christos Stavrakakis

cyclades: Remove PUBLIC_USE_POOL setting

Remove PUBLIC_USE_POOL setting, since in order to use floating IPs, the
cyclades must be responsible for managing all IP pools.

28662998 07/02/2013 12:32 pm Christos Stavrakakis

cyclades: Fix bug in server-create command

Function for creating a server have been moved from api to logic.

0c50c760 07/02/2013 12:32 pm Christos Stavrakakis

cyclades: Check if a NIC is a floating IP.

Extend NetworkInterface model with a property showing if the IPv4
address of the NIC is a floating IP or not. Also, simplify some
relevant code.

78c165cf 07/02/2013 12:32 pm Christos Stavrakakis

cyclades: Export OS-EXT-IPS:type for floating IPs.

Cyclades API should return "floating" for the OS-EXT-IPS:type attribute.

1cbe2522 07/02/2013 12:32 pm Christos Stavrakakis

cyclades: Allowed serializations for floating IPs

816d7588 07/02/2013 12:31 pm Christos Stavrakakis

cyclades: Choose floating-ips when creating server

Extend POST /servers API call, to take an optional attribute
'floating_ips', which is a list of floating IP addresses. The server
will have one NIC for each of this addresses after the
'DEFAULT_INSTANCE_NETWORKS' and before any private networks that the...

9115d567 07/02/2013 12:31 pm Christos Stavrakakis

Distinquish between networks and Floating IP pools

Extend Network model with the 'floating_ip_pool' boolean field, to
indicate whether a Network can be a floating IP pool or not. Networks
that are floating IP pools must exist in all Backends, and so
'snf-manage backend-add' should try to add them....

64cdd31b 07/02/2013 12:31 pm Christos Stavrakakis

cyclades: Add ip pool option to network-create cmd

Add '--floating-ip-pool' option to 'network-create' management command.
Networks that have this option set must be created to all Ganeti
backends.

f8675683 07/02/2013 12:31 pm Christos Stavrakakis

cyclades: Various fixes regarding floating IPs

Fix some issues regarding floating ips introduced by rebasing branch.

2cd55da6 07/02/2013 12:31 pm Christos Stavrakakis

Fixes to tests

ece5581b 07/02/2013 12:31 pm Christos Stavrakakis

cyclades: Separate logic for networks from API

Remove code handling networks from network API views to logic.networks

bc343480 07/02/2013 12:31 pm Christos Stavrakakis

cyclades: Make NIC representation more verbose

e57893cd 07/02/2013 12:31 pm Christos Stavrakakis

cyclades: Do not delete networks with floating IPs

Forbid network deletion in case the network has allocated floating IPs,
no matter whether they are used by instances or not. Update
'allocate_floating_ip' API method, to take exclusive lock on network
before reserving a floating IP, to avoid race condition between deleting...

9e8be4fb 07/02/2013 12:31 pm Christos Stavrakakis

cyclades: Auto allocate a floating IP

Make 'pool' attribute of POST /os-floating-ips request optional. If
attribute is missing, the server will allocate a floating IP from one of
the available public networks.

b407551d 07/02/2013 12:31 pm Christos Stavrakakis

cyclades: Add 'floating-ip-list' management cmd

cb66110b 07/02/2013 12:31 pm Christos Stavrakakis

cyclades: Add network policy at server create

Add 'DEFAULT_INSTANCE_NETWORKS' setting that can be used by the
administrator to define the list of networks that each server that is
created must be connected to. Each created VM will have a NIC connected
to each of these networks. This settings can include a list of network...

a95c82a9 07/02/2013 12:31 pm Christos Stavrakakis

cyclades: Add tests for add/remove Floating IP

a3d99af0 07/02/2013 12:31 pm Christos Stavrakakis

cyclades: Reserve a specific floating IP

Add extra optional 'address' attribute, in POST /os-floating-ips/
request, to allow a user to reserve a specific floating IP. This request
will fail if the user tries to allocate an IP address that is used by
anothers user VM (it will succeed if they address is already used by...

72dea98f 07/02/2013 12:31 pm Christos Stavrakakis

cyclades: Do not release floating IPs

Update 'release_instance_nics' backend function which is called to
process NIC modifications in the Ganeti backend, to not return a
IPv4 address back to pool if this address is a floating IP.

fd22fc77 07/02/2013 12:31 pm Christos Stavrakakis

cyclades: Update reconcilliation for floating IPs

Update network reconcilliation to consider floating IPs reconcilling IP
pools. Floating IPs that are reserved and usused, will appear as
asynced. This commit fixes this, by considering unused floating IPs as...

e7f74e7d 07/02/2013 12:31 pm Christos Stavrakakis

cyclades: Check if network exists in backend

Raise 503 if a user tries to add a floating IP to a VM that resides in a
Ganeti backend that the coressponding network does not exist.

5ec446aa 07/02/2013 12:31 pm Christos Stavrakakis

cyclades: Add and remove networks from backends

Extend 'snf-manage network-modify' command with '--add-to-backend' and
'--remove-from-backend' options, to create and remove an already created
public network from a Ganeti backend.

2c022086 07/02/2013 12:31 pm Christos Stavrakakis

cyclades: Support many NICs when creating vms

Support arbitraty number of NICs when creating Ganeti instances.

c2876228 07/02/2013 12:31 pm Christos Stavrakakis

cyclades: Add FloatingIP model

Add Floating IP model to represent a floating IP that has been reserved
by a user. Each FloatingIP has an owner(UUID), an IPv4 address, the
network(pool) that has reserved from and the date is was reserved. Also,
it may be related to a VirtualMachine, if there is some VM that uses...

8b41683a 07/02/2013 12:31 pm Christos Stavrakakis

cyclades: Make Floating IPs a quotable resource

Add 'cyclades.floating_ip' to quotable resources. Update helper
functions and tests to include this resource.

59183afc 07/02/2013 12:31 pm Christos Stavrakakis

cyclades: Implement /os-floating-ips API

Extend Cyclades API with /os-floating-ips endpoint. The API implements
the following calls:

  • GET /os-floating-ips: List reserved floating IPs
  • POST /os-floating-ips: Allocate a floating IP
  • GET /os-floating-ips/ip_id: Show information about a floating IP...
acda838e 07/02/2013 12:31 pm Christos Stavrakakis

cyclades: Add tests for floating-ips API

7d368e73 07/02/2013 12:31 pm Christos Stavrakakis

cyclades: Implement /floating-ip-pools API

Add Compute OS API extension /floating-ip-pools. This API implements
only the GET /floating-ip-pools, which returns the list of available
Floating IP pools. Currently, these pools are the public networks.

9ba6bb95 07/02/2013 12:31 pm Christos Stavrakakis

cyclades: Extend /servers with floating IP actions

Extend '/servers/action' API endpoint, to support 'addFloatingIP'
and 'removeFloatingIP' actions.