Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo @ 71ec054d

# Date Author Comment
aa8230bd 10/30/2012 12:49 pm Christos Stavrakakis

Include deleted networks in get_flavor_info

22a9959d 10/30/2012 12:49 pm Christos Stavrakakis

Do not allow actions to deleted networks

71ec054d 10/30/2012 12:49 pm Christos Stavrakakis

Allow custom link, mac_prefix in network-create

Add extra command line arguments, to allow the user specify the
link and mac_prefix of the new network if needed.

ab419f67 10/30/2012 12:49 pm Christos Stavrakakis

Remove depricated settings and update migrations

5e1d07d4 10/29/2012 05:14 pm Christos Stavrakakis

Return ServiceUnavailable when pools are depleted

Return ServiceUnavailable, instead of OverLimit, when pools of bridges,
mac-prefixes or IPs run out of resources.

af88de58 10/29/2012 01:12 pm Christos Stavrakakis

Make management commands list non-deleted entries

Modify snf-manage {server, network, flavor}-list to list by default only
non-deleted entries. The `--deleted` flag can be used to also include
deleted ones.

ed275428 10/24/2012 01:27 pm Christos Stavrakakis

Merge branch 'master' into devel-0.12

Conflicts:
snf-cyclades-app/setup.py

1f478427 10/24/2012 01:13 pm Sofia Papagiannaki

Plankton raise HttpResponseForbidden in case of NotAllowedError

698306b8 10/23/2012 05:24 pm Christos Stavrakakis

Fix compatibility issues with python-bitarray

67619fd7 10/23/2012 04:19 pm Christos Stavrakakis

Implement queue-retry management command

Implement a new command which consumes all the messages from the
dead-letter queues and re-sends the messages back to the snf-dispatcher
in order to handle them again.

Messages are annotated with "from-dead-letter" field in order to detect...

40ef487d 10/23/2012 03:50 pm Christos Stavrakakis

Fix bug, UI not updating NICs

Dummy-save the Network when processing messages from Ganeti hooks
about a VM NICs. This is needed, because the UI uses the HTTP changes-sinces
when requesting VMs and Networks, and combines the result in order to show
the new NICs. Not updating the Network object, resulted in VMs IPv4...

659de616 10/23/2012 03:07 pm Christos Stavrakakis

Declare dead-letter exchanges and queues

Modify snf-dispatcher in order to declare the dead-letter exchanges and
queues

b9d91e62 10/23/2012 03:07 pm Christos Stavrakakis

Use basic_reject in snf-dispatcher callbacks

Modify snf-dispatcher callbacks in order to reject messages that caused
an unknown exception. Because a dead-letter-exchange is associated
with the queues that snf-dispatcher is using, these messages will be
transfered to the dead-letter-exchange.

1e28ba40 10/19/2012 04:34 pm Christos Stavrakakis

Remove trailing whitespace

fc1fb924 10/19/2012 04:34 pm Christos Stavrakakis

Cache images in server-list

Use cache in order to speed-up the output of server-list

0e3d0ff0 10/19/2012 04:34 pm Christos Stavrakakis

Reverse --deleted option in server-list

7784ab88 10/19/2012 04:33 pm Christos Stavrakakis

Pool connections to snf-pithos-backend

37db18f3 10/19/2012 12:06 pm Christos Stavrakakis

Add mac2eui64 to snf-cyclades-app

Copy mac2eui64 from snf-network to snf-cyclades-app, since it is
now used in the reconciliation process to caclculate the IPv6
address of the VMs.

b1bb9251 10/18/2012 06:24 pm Christos Stavrakakis

Reconnect to different Broker if idle for too long

Modify snf-dispatcher and add a timeout option to basic_wait method. If
timeout is reached, the connection to the current RabbitMQ broker is
closed and dispatcher tries to connect to a different one.

This commit is supplementary of 6d27ead, which detects connection...

6d27eadd 10/18/2012 05:16 pm Christos Stavrakakis

Detect and handle connection problems in amqp_puka

Use the TCP keepalive feature in amqp_puka in order to detect connection
errors to the RabbitMQ broker, and retry to a different one. Also setup
the keepalive parameters to relative small values, to detect failures...

4b8e03e5 10/17/2012 04:17 pm Christos Stavrakakis

Handle every exception in manually transactions

ecabca41 10/17/2012 12:53 pm Christos Stavrakakis

Do not create bridge for public network

3308a83f 10/17/2012 11:58 am Christos Stavrakakis

Fix bug in reconcile-networks

When only detecting, reconciliation can not continue, if the
BackendNetwork object does not exist.

dd2689f9 10/17/2012 11:37 am Christos Stavrakakis

Bridge indexes must start from 1

3718c0f1 10/17/2012 10:55 am Christos Stavrakakis

Restore IP Pool creation for corner cases

941992c4 10/16/2012 11:30 pm Christos Stavrakakis

Create IPPool when creating Network

Create the IPPool associated with each Network, when creating it. Until
now, IPPools were created on first demand. However, because the Network
object is not accessed in exclusive mode, concurrent access to the
Network model resulted in a race condition. More than one workers may...

54e31bb3 10/16/2012 10:21 pm Christos Stavrakakis

Fix default private networks in UI

c2d969cb 10/16/2012 10:20 pm Christos Stavrakakis

Fix typo

87920bc3 10/16/2012 08:50 pm Christos Stavrakakis

Do not give IPs to networks without dhcp

dab038a2 10/16/2012 01:38 pm Christos Stavrakakis

Fix typos

c7cbb6f3 10/16/2012 12:47 pm Christos Stavrakakis

Use - instead of _ in backend-update-status

1dda8c54 10/16/2012 12:07 pm Christos Stavrakakis

Merge branch 'devel-0.11'

122c4019 10/15/2012 12:56 pm Christos Stavrakakis

Fix bug in reconcile-networks

Fix bug when connecting a network to a nodegroup in network
reconciliation. Use connect_network instead of obsolete
connect_network_group method. Also fix job dependency handling in this
method.

e97288bc 10/15/2012 12:55 pm Christos Stavrakakis

Refactor process op and network status callbacks

69033a7a 10/15/2012 11:32 am Christos Stavrakakis

Block create instance api call with deleted flavor

Do not allow creation of instances with deleted flavors
Refs #2481

d3406fbc 10/15/2012 10:29 am Christos Stavrakakis

Fix GET networks API response for public networks

25a7762e 10/12/2012 01:57 pm Vangelis Koukis

Fix default UI settings import synnefo settings

Fix default UI settings import synnefo settings,
remove import and have the administrator set FEEDBACK_EMAIL_FROM
specifically.

336cfa15 10/11/2012 06:58 pm Vangelis Koukis

Merge branch 'devel-0.11'

260147b1 10/11/2012 05:43 pm Christos Stavrakakis

Log 5xx API faults

ae562340 10/11/2012 05:43 pm Christos Stavrakakis

Improve exception message when no backends

3e316e90 10/11/2012 12:07 pm Christos Stavrakakis

Catch OverLimit error in network create

d01cd522 10/10/2012 03:19 pm Christos Stavrakakis

Various fixes about logging

Fix logging from snf-manage commands. Modify snf-manage implementation
in order to setup the loggers for all snf-manage commands. Configuration
is based on SNF_MANAGE_LOGGING_SETUP setting from snf-common or on
basicConfig if that setting is missing....

e60b4630 10/10/2012 01:36 pm Christos Stavrakakis

Fix bug when synchronously creating networks

3e5675f0 10/10/2012 01:05 pm Christos Stavrakakis

Release mac_prefix only if network is MAC_FILTERED

fa454545 10/10/2012 01:05 pm Christos Stavrakakis

Release address only if a NIC has an IP

6f011a2d 10/10/2012 01:02 pm Christos Stavrakakis

Change and fix migration files

Change network migration, so that it does not allocate a new bridge to
existing network. Instead it keeps the bridges from the old NetworkLink
pool.

Remove network_mac_prefix migration because there are no networks with
mac prefixes....

0cd83e6c 10/10/2012 01:01 pm Christos Stavrakakis

Give more weight to cpu_ratio

Change how scores are computed in default_allocator so that vcpu
ratio has more importance the free memory and disk ratio

7b2ce6b4 10/09/2012 05:08 pm Vangelis Koukis

Merge branch 'devel-0.11'

2ef10562 10/08/2012 02:30 pm Christos Stavrakakis

Change eventd and dispatcher AMQP retries

Set unlimited connection retries to AMQP hosts for snf-ganeti-eventd,
since death of snf-ganeti-eventd results in loss of events.
Also increase retries of snf-dispatcher.

4216cd83 10/04/2012 06:18 pm Christos Stavrakakis

Fix bug about RAPI client pooling

Modify the pooled_rapi_client context manager to handle exceptions
and release the client in any case. Also modify uses of reconciliation
to handle exceptions inside the scope of the context manager

6cc3a31c 10/04/2012 03:23 pm Christos Stavrakakis

Add missing ipv6 arguments to create_network

2cea7f38 10/04/2012 01:42 pm Christos Stavrakakis

Fix wrong call in VirtualMachine get_client

cc50e51a 10/04/2012 01:39 pm Christos Stavrakakis

Add missing arguments in Backend's get_client

6de6677b 10/04/2012 01:36 pm Christos Stavrakakis

Fix bug when hidding image password

Use deepcopy instead of copy, since the dictionary
is nested

fbb72608 10/04/2012 01:17 pm Christos Stavrakakis

Put synnefo logger of snf-dispatcher to INFO level

c4ce868e 10/04/2012 01:17 pm Christos Stavrakakis

Fix bug in snf-dispatcher about ignored messages

Update backendtime only for jobs that have been successfully completed,
since only those jobs update the state of the VM. Else a "race
condition" may occur when a successful job (e.g. OP_INSTANCE_REMOVE)
completes before an error job for the same VM and messages arrive in...

cfd70896 10/03/2012 04:04 pm Christos Stavrakakis

Remove user provided names from models unicode

Remove user provided names from models representation, as the user
may provide a value that can affect the admin terminal. Fix suggested
by vkoukis.

6afeb85d 10/03/2012 03:58 pm Christos Stavrakakis

Hide image password from log file

ec0b5e5b 10/03/2012 03:58 pm Christos Stavrakakis

Fix bug when not using pool for public networks

0c37a721 10/03/2012 01:39 pm Christos Stavrakakis

Change logging levels

ffa7f6f6 10/03/2012 01:09 pm Christos Stavrakakis

Garbage collect GanetiRapiClient pools

Modify the rapi_pool to delete unused GanetiRapiClient pools. This
clients become unused when the credentials of a backend change.

bf5c82dc 10/03/2012 01:09 pm Christos Stavrakakis

Add extra logging

9cf4a3c0 10/03/2012 01:08 pm Christos Stavrakakis

Refresh backends in locked mode

3524241a 10/03/2012 12:22 pm Christos Stavrakakis

Pool Ganeti RAPI clients

- Move Ganeti RAPI client from snf-common to snf-cyclades-app/logic.
- Create GanetiRapiClientPool for pooling GanetiRapiClient objects
- Create context manager in db.models for pool handling
- Update code using the RAPI client

fbb74fff 10/01/2012 11:15 am Christos Stavrakakis

Do not print public networks when adding backend

56359f67 10/01/2012 11:15 am Christos Stavrakakis

Fix white space

27d6d48d 10/01/2012 11:13 am Stratos Psomadakis

Add support for Archipelagos/extstorage COW images

f96f60fd 09/28/2012 03:32 pm Christos Stavrakakis

Move check for free IP to backend_allocator

Filter out the backends that do no have a free IP in BackendAllocator
instead of the default_allocator, in order to remove imports from
synnefo in the allocation strategy.

6883dcf3 09/28/2012 01:21 pm Christos Stavrakakis

Fix bugs in reconcile-networks

Perform logical and instead of or, when merging backend ip maps, since
now the maps are inverted. Also do not report as stale backend networks
that are already deleted.

bb80a8d7 09/28/2012 01:21 pm Christos Stavrakakis

Take care for messages without timestamp

Catch exception produced in snf-dispatcher when receiving messages without
proper timestamp.

adc46059 09/28/2012 12:19 pm Christos Stavrakakis

Perform allocations in separate transactions

Add ForUpdateManager to the Backend model, in order to guarantee
exclusive order when allocating a VM.

Use manual transactions when allocating Backend and public IP for a new
VM, since these allocations need exclusive access (SELECT..FOR UPDATE)...

5706f527 09/28/2012 12:19 pm Christos Stavrakakis

Fix typo

b123630d 09/28/2012 11:10 am Christos Stavrakakis

Merge branch 'public_networks' into devel-0.11

Conflicts:
snf-cyclades-app/synnefo/logic/dispatcher.py

5da13d77 09/27/2012 04:42 pm Vangelis Koukis

Close DB conn in dispatcher before every message

Have the dispatcher close the Django DB connection before processing
an incoming message. This allows the actual, underlying DBAPI connection
to return to the DB connection pool, if used, and enables the dispatcher...

3f018af1 09/27/2012 03:59 pm Christos Stavrakakis

Make snf-dispatcher work with gevent

Remove workers from snf-dispatcher in order to make it compatible with gevent
and specifically the green, monkey patched version of psycopg2
(synnefo.lib.db.psyco_gevent). Also after daemonizing, gevent must be
reinitialized because the deamon context forks.

7f9f3018 09/27/2012 03:59 pm Christos Stavrakakis

Add pool-create and pool-remove commands

6c9c95d8 09/27/2012 03:59 pm Christos Stavrakakis

Change process title to simplify 'ps' display

Use python-setproctitle to change the process title of the running
daemon. Make it appear as a native executable to simplify
administration. Only set executable name, because cannot set individual
values for arguments.

5e1a5f9b 09/27/2012 03:59 pm Christos Stavrakakis

Fix presentation of pools

1ed2557d 09/27/2012 03:59 pm Christos Stavrakakis

Remove unnecessary locking

Selecting FOR_UPDATE on network object is not any more required, since
the IP Pool have been moved to the IPPoolTable. Selecting FOR_UPDATE is
needed there.

ec22dfc4 09/27/2012 03:59 pm Christos Stavrakakis

Fix two bugs in network reconciliation

d2e73c0c 09/27/2012 03:59 pm Christos Stavrakakis

Fix race conditions when updating network objects

Use for_update() object manager in order to exclude race conditions
when updating network objects.

8ec69269 09/27/2012 03:59 pm Christos Stavrakakis

Fix double logging of dispatcher

Dispatcher had as default handlers the console and the file handler.
However, when daemonizing, we redirect the stdout and stderr to the file
handler, which resulted in the log messages to be printed twice. So we
remove the console handler from the dict configuration, and we only add...

24683dda 09/27/2012 03:59 pm Christos Stavrakakis

Fix typos

e64e7ade 09/27/2012 03:59 pm Christos Stavrakakis

Catch corner case in reconciliation

Catch error produced when the DB entry for an orphan VM in Ganeti does
not exist. This may happen because either an entry from DB was removed
or because a VM in Ganeti with the synnefo prefix was created.

e32d0966 09/26/2012 12:29 pm Vangelis Koukis

Rename Cyclades management commands for uniformity

Rename Cyclades management commands for uniformity.

1dc821c9 09/21/2012 04:28 pm Christos Stavrakakis

Change process title to simplify 'ps' display

Use python-setproctitle to change the process title of the running
daemon. Make it appear as a native executable to simplify
administration. Only set executable name, because cannot set individual
values for arguments.

47d1d754 09/21/2012 11:23 am Christos Stavrakakis

Add some logging to backend allocator

4936f2e2 09/21/2012 10:42 am Christos Stavrakakis

Make snf-dispatcher work with gevent

Remove workers from snf-dispatcher in order to make it compatible with gevent
and specifically the green, monkey patched version of psycopg2
(synnefo.lib.db.psyco_gevent). Also after daemonizing, gevent must be
reinitialized because the deamon context forks.

fdc94944 09/20/2012 12:14 pm Christos Stavrakakis

Refactor IP pools

Treat IP pool the same way as bridge and mac-prefix pools. The pool is
removed from the Network table and moved to an IPPoolTable containing the
IP pools for all networks. Also added support for external reservations.

Migration files for transfering the pool to the new tables are included....

2dbe7563 09/20/2012 12:14 pm Christos Stavrakakis

Add tests for PoolManager(s)

121c7507 09/20/2012 12:14 pm Christos Stavrakakis

Fix bugs in IPPool

- Do not always reserve gateway
- Initial reservations must be in reserved map

9727ac2f 09/20/2012 12:14 pm Christos Stavrakakis

Handle case of no pools in reconcile-pools

99a74636 09/19/2012 01:16 pm Christos Stavrakakis

Catch error in removing nic

0eed6cf8 09/19/2012 01:16 pm Christos Stavrakakis

Management commands for pools

Create three new management commands for listing, showing and modifying
a pool.

af6a3bc5 09/19/2012 01:16 pm Christos Stavrakakis

Unique mac-prefix only for mac-filtered networks

b533e9b2 09/19/2012 01:16 pm Christos Stavrakakis

Add logging to synefo.db.models

03992c72 09/19/2012 01:16 pm Christos Stavrakakis

Refactor bridge and mac-prefix pool tables

Redesign the implementation of pools and map mac-prefix and bridge pools
to that design.

Each pool type is mapped to a table in the database, and each row of
that table is a pool of that type. All pool tables must contain the...

4a37a0be 09/19/2012 11:34 am Christos Stavrakakis

Fix bug in server-inspect

56543400 09/19/2012 11:21 am Christos Stavrakakis

Fix bug in snf-manage network-remove

b7e74f05 09/19/2012 11:21 am Christos Stavrakakis

Wrap network-create command in transaction