Statistics
| Branch: | Tag: | Revision:

root @ 2cd55da6

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

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.

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

cyclades: refactor reconciliation

Refactor reconciliation code to use namedtuples and improve performance
for retrieving info from database.

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

cyclades: reconciliation for resizing VMs

218de705 07/02/2013 12:31 pm Christos Stavrakakis

cyclades: Mark serial as resolved if auto_accept

Modify 'issue_commission' function to mark the QuotaHolderSerial object
as resolved, if auto_accept option is used.

1cfd5d4d 07/02/2013 12:31 pm Christos Stavrakakis

cyclades: Remove custom init method from VM model

41a7fae7 07/02/2013 12:31 pm Christos Stavrakakis

cyclades: Major refactor to api and logic apps

Major refactor to cyclades api and logic apps that removes most code
from the api views and moves it to logic app, so that the same logic
code can be used by different apps (e.g. EC2 API). Code is moved into...

34c03a51 07/02/2013 12:31 pm Christos Stavrakakis

cyclades: Handle 'EmptyPool' in util method

Refactor cyclades code to handle 'EmptyPool' exception in
'get_network_free_address' function.

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

snf_django: Fix bug in BaseAPITest

Include 202 in success responses.

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

snf_django: Mock quotaholder to BaseAPITest

Mock quotaholder in all of BaseAPITest calls.

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

cyclades: Add backend function for resizing vm

Add 'resize_instance' backend function for resizing a vm. This command
issues an OP_INSTANCE_MODIFY job with the specified beparams, which
currently are vcpus, minmem and maxmem.

Refs #3870

1af851fd 07/02/2013 12:31 pm Christos Stavrakakis

cyclades: Implement resize action API call

Implement resize API call, which is a POST at
/servers/<server_id>/action' with body: {"resize": {"flavorRef": <flavor_id>}}

The resize can only be performed if the disk size and disk template of
the new flavor are the same with the old one, and if the VM is in...

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

gtools: Make eventd send beparams and result

Update 'snf-ganeti-eventd' daemon to send the requested beparams in
case of 'OP_INSTANCE_SET_PARAMS' opcodes. Also, if the opcode is
in success state, send the 'result' attribute of Ganeti jobs.

Refs #3870

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

cyclades: Handle Ganeti msgs for resized VMs

Handle 'OP_INSTANCE_SET_PARAMS' notifications from Ganeti that have
'beparams' attribute, which corresponds to resized VMs. In such
case, the corresponding flavor is found an the VM in DB is updated to
have this flavor....

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

cyclades: Make flavor representation more verbose

37c5b1b3 07/02/2013 12:31 pm Christos Stavrakakis

Update .gitignore file

10d9cd27 07/02/2013 12:31 pm Christos Stavrakakis

cyclades: Fix assertion on mocked client

a50f99a3 07/02/2013 11:37 am Sofia Papagiannaki

astakos: Change default region value in POST /tokens

Refs: 4086

8cd117e8 07/02/2013 10:25 am Olga Brani

astakos: Different image on login page

A different image is shown in the login page when the main
login method is 'local' and its form is already expanded.

28a890d3 07/01/2013 07:49 pm Kostas Papadimitriou

astakos: Update tests

fix pithos:// redirect params extraction

40df79ac 07/01/2013 07:18 pm Christos Stavrakakis

astakos: Rename Region to region

Refs #4086

563b0658 07/01/2013 06:36 pm Sofia Papagiannaki

astakos: Return default region in POST /tokens

Update api call to return a default region for compatibility
with the keystone api.

8bb3a316 06/28/2013 09:44 pm Christos Stavrakakis

cyclades: Fix bug in testcase

ce264c16 06/28/2013 09:27 pm Christos Stavrakakis

Merge branch 'hotfix-0.14.2' into develop

Conflicts:
snf-astakos-app/astakos/im/views/projects.py
snf-cyclades-app/synnefo/logic/backend.py
snf-django-lib/snf_django/lib/astakos.py
version

5e903a58 06/28/2013 09:15 pm Christos Stavrakakis

snf-django: Add retry option to AstakosClient

API method decorator should initialize the AstakosClient with the retry
argument set, in order to avoid errors caused by getting an old
connection from pool.

0ac01cf8 06/28/2013 09:15 pm Christos Stavrakakis

Add release dates for version 0.14

9ea101d3 06/28/2013 09:15 pm Christos Stavrakakis

Update NEWS for Synnefo 0.14

abe6915b 06/28/2013 09:12 pm Christos Stavrakakis

Merge branch 'release-0.14' into develop

Conflicts:
snf-astakos-app/astakos/im/views/target/redirect.py
snf-cyclades-app/synnefo/logic/backend.py
version

a68c2667 06/28/2013 08:51 pm Kostas Papadimitriou

docs: Update 0.14 upgrade guide

include reference to the update email configuration guide

e77a29ab 06/28/2013 08:45 pm Christos Stavrakakis

cyclades: Fixes relative to reconciliation

Get available backends once and work only with them, since available
backends may change during reconciliation. Also temporary remove support
for communicating with each backend in a separate process.

387eee94 06/28/2013 05:41 pm Kostas Papadimitriou

astakos: Update tests

caabf67f 06/28/2013 05:30 pm Giorgos Korfiatis

astakos: Fix call of helper function

34244dfa 06/28/2013 03:16 pm Giorgos Korfiatis

astakos: Disallow join/leave for non-alive projects

8c8f856b 06/28/2013 01:34 pm Olga Brani

astakos: Correct plural in 1 pending membership

d895de37 06/28/2013 01:34 pm Giorgos Korfiatis

astakos: Fix listing of approved members

Include leave requested and suspended members in the list of approved.

2ea2e173 06/28/2013 01:11 pm Stratos Psomadakis

Add proper logging for UserCache

83a3723e 06/28/2013 12:28 pm Sofia Papagiannaki

pithos: fix empty account usage computation

Usage computation for empty accounts used to fail with:
TypeError: 'NoneType' object is unsubscriptable

f7c3c4c4 06/28/2013 12:27 pm Sofia Papagiannaki

astakos: return uuid in weblogin

The weblogin used to return the user uuid.
However, this in 0.14 version had been removed since the uuid
can be retrieved using the POST /tokens authentication method.
However, the old pithos clients have no other way
to get the uuid, so we restore it temporarily.

7736e11a 06/28/2013 12:20 pm Sofia Papagiannaki

pithos: improve performance of get_domain_list

Before it used to query the database
for all the objects having the specific domain
and finally filtered out the objects to which the user had no access.
Now gets first the allowed_paths for the user and then...

05c1b849 06/28/2013 11:35 am Giorgos Korfiatis

astakos: Force usage registration during migration

Register usage for astakos.pending_app even if limit is exceeded.

40d4f27d 06/28/2013 11:05 am Christos Stavrakakis

cyclades: Fix --image-name option in server-list

15c05cb7 06/28/2013 11:05 am Stratos Psomadakis

Fix regressions in snf-manage list commands

3730b433 06/28/2013 11:05 am Christos Stavrakakis

Bump version to 0.14.2

adc82764 06/28/2013 10:38 am Christos Stavrakakis

cyclades: Fix --image-name option in server-list

c4b059b1 06/28/2013 09:47 am Stratos Psomadakis

Fix regressions in snf-manage list commands

584bdc72 06/26/2013 01:28 pm Sofia Papagiannaki

pithos: compatibility code for django greater than 1.2

Change condition for being compatible with django 1.2 or greater

4d244f4a 06/25/2013 08:20 pm Sofia Papagiannaki

pithos: Fix partial content responses

Refs: #4063

f089ffca 06/25/2013 03:24 pm Christos Stavrakakis

snf-django: Add retry option to AstakosClient

API method decorator should initialize the AstakosClient with the retry
argument set, in order to avoid errors caused by getting an old
connection from pool.

b12ab2d0 06/25/2013 03:23 pm Christos Stavrakakis

Revert "cyclades: Speed up reconciliation"

This reverts commit cf2241c45a22dac71e31dbf32f4700c475804c12.

3a2a3c37 06/25/2013 03:22 pm Christos Stavrakakis

Bump version to 0.14.1

e7391395 06/25/2013 02:26 pm Christos Stavrakakis

cyclades: Fix bug in setup.py

muliprocessing is included in python 2.6

ee566497 06/25/2013 02:26 pm Christos Stavrakakis

Update NEWS for Synnefo 0.14

2d6acde1 06/25/2013 02:26 pm Christos Stavrakakis

Add release dates for version 0.14

8b8aa361 06/25/2013 01:18 pm Christos Stavrakakis

Merge branch 'release-0.14'

Conflicts:
version

7dd63e07 06/25/2013 12:00 pm Kostas Papadimitriou

docs: Update 0.14 upgrade guide

include reference to the update email configuration guide

5bc9cbb2 06/25/2013 11:40 am Christos Stavrakakis

Bump version to 0.14rc6

cf2241c4 06/25/2013 11:36 am Christos Stavrakakis

cyclades: Speed up reconciliation

Speed up reconciliation by using mulitprocessing to get in parallel
the instances from all Ganeti backends.

bb013297 06/25/2013 11:32 am Giorgos Korfiatis

docs: Mention UI URL change in upgrade

If some BASE_URL has changed, the UI URL needs to be updated.

c4f9764f 06/25/2013 03:45 am Vangelis Koukis

Fix check for snf-manage in ci/tests.sh

43cdd0c4 06/25/2013 02:35 am Vangelis Koukis

Report failure to find snf-manage in test runner

e8aa2f64 06/21/2013 05:42 pm Christos Stavrakakis

cyclades: Fix bug in allocating archipelago VMs

This commit fixes a bug that caused backend allocator to send
archipelago VMs backends to backends not in ARCHIPELAGO_BACKENDS
setting. The flavor disk template is parsed before the backend
allocation, so the disk_template at this point is ext and not ext_vlmc,...

79f65825 06/21/2013 01:40 pm Christos Stavrakakis

cyclades: Handle errors when using multiprocessing

Check the process exitcode to determine if a process finished
successfully.

d986cb32 06/21/2013 12:54 pm Christos Stavrakakis

cyclades: Speed up reconciliation

Speed up reconciliation by using mulitprocessing to get in parallel
the instances from all Ganeti backends.

dec3cb70 06/20/2013 02:50 pm Kostas Papadimitriou

Update gitignore

exclude .coverage

89af2bbd 06/20/2013 01:50 pm Ilias Tsitsimpis

burnin: Set CONNECTION_RETRY_LIMIT=2 on all kamaki clients

e6ec7e85 06/20/2013 01:50 pm Ilias Tsitsimpis

burnin: Add new bash script to run burnin

184f551f 06/19/2013 06:46 pm Georgios D. Tsoukalas

astakos: REDIRECT_ALLOWED_SCHEMES hidden setting

95d49da0 06/19/2013 06:32 pm Sofia Papagiannaki

astakos: fix reset password confirmation url

a92289d3 06/19/2013 06:27 pm Georgios D. Tsoukalas

astakos: remove URL-distorting full stops in emails

f1be16bf 06/19/2013 06:12 pm Giorgos Korfiatis

docs: Note that kamaki is not needed in 0.14

e17fc76f 06/19/2013 05:50 pm Georgios D. Tsoukalas

docs: remove PITHOS_UI_LOGIN_URL/FEEDBACK_URL refs

e332c1fd 06/19/2013 05:46 pm Stratos Psomadakis

Change Ganeti doc URLs to point to 2.6

139eae46 06/19/2013 05:38 pm Kostas Papadimitriou

astakos: Fix third party creation form kwargs handling

view always passes request argument. Avoid propagating it to ModelForm
constructor.

ae6e8a65 06/19/2013 05:33 pm Olga Brani

cyclades: Fix VMs console incorrect background

1c13522f 06/19/2013 05:31 pm Sofia Papagiannaki

astakos: modifications in redirect view

  • If there is no next request parameter, the view fails with 400
    (BadRequest) response status.
  • ``pithosdev`` added in allowed schemes for the next parameter
657f8ad7 06/19/2013 05:28 pm Kostas Papadimitriou

docs: Additional email configuration instructions

in quick-install-admin-guide.rst

e7726e14 06/19/2013 04:09 pm Kostas Papadimitriou

astakos: Fix regression in signup view

when recpatcha is enabled in astakos settings

f9662798 06/19/2013 04:09 pm Kostas Papadimitriou

django-lib: Use requested default serialization

a86a4433 06/19/2013 03:36 pm Georgios D. Tsoukalas

cyclades: remove VMAPI_BASE_URL references