Statistics
| Branch: | Tag: | Revision:

root / logic / backend.py @ 583bfaa0

History | View | Annotate | Download (9.9 kB)

# Date Author Comment
cf0e4232 07/01/2011 05:42 pm Vangelis Koukis

Development: Allocate a 14GB disk for Windows VMs

2469a9ce 07/01/2011 12:45 pm Vangelis Koukis

Merge branch 'api-current' into ui-0.5

2da5f785 07/01/2011 12:43 pm Giorgos Verigakis

Make the dispatcher refresh on tag updates

Make a dummy ModifyInstance call when changing instance
tags in order to force process_net_status to be called on
the dispatcher.

d1387ed7 06/30/2011 06:36 pm Christos Psaltis

Merge remote-tracking branch 'origin/api-current' into ui-0.5

Conflicts:
api/util.py
logic/backend.py

658a825a 06/30/2011 06:25 pm Giorgos Verigakis

Use a default firewall profile on public networks

Uses settings.DEFAULT_FIREWALL_PROFILE in case an instance has no firewall tags defined.

Refs #659

ace4bd5d 06/30/2011 06:24 pm Giorgos Gousios

License headers for various files

refs #581

3e65ce89 06/30/2011 06:06 pm Giorgos Verigakis

Merge branch 'api-current' of https://code.grnet.gr/git/synnefo into api-current

9b5b718a 06/30/2011 05:04 pm Giorgos Verigakis

Use a default firewall profile on public networks

Uses settings.DEFAULT_FIREWALL_PROFILE in case an instance has no firewall tags defined.

Refs #659

37ca953f 06/30/2011 04:24 pm Christos Psaltis

Merge remote-tracking branch 'origin/api-current' into ui-0.5

Conflicts:
logic/backend.py

77184fa1 06/30/2011 04:19 pm Giorgos Gousios

Merge branch 'logging' into api-current

Conflicts:
logic/backend.py

efff6193 06/30/2011 04:14 pm Giorgos Verigakis

Update firewall profile in the callback

Refs #527

746c6bf4 06/30/2011 03:41 pm Vangelis Koukis

Extend net notifications to include IPv6 addresses

Include support for autogenerated public IPv6 addresses,
extend the logic layer accordingly:

  • Extend the Synnefo Ganeti hook to include autogenerated
    IPv6 addresses in ganeti-net-status notifications over AMQP....
f040c416 06/30/2011 03:41 pm Vangelis Koukis

Use iallocator for CreateInstance() RAPI call

Do not specify the Ganeti node in CreateInstance() RAPI calls,
allow Ganeti to use an iallocator to determine instance placement.
Also make minor PEP8-related fixes to logic/callbacks.py.

c4367587 06/30/2011 03:30 pm Vangelis Koukis

Use iallocator for CreateInstance() RAPI call

Do not specify the Ganeti node in CreateInstance() RAPI calls,
allow Ganeti to use an iallocator to determine instance placement.
Also make minor PEP8-related fixes to logic/callbacks.py.

9cb903f9 06/29/2011 01:15 pm Vangelis Koukis

Extend net notifications to include IPv6 addresses

Include support for autogenerated public IPv6 addresses,
extend the logic layer accordingly:

  • Extend the Synnefo Ganeti hook to include autogenerated
    IPv6 addresses in ganeti-net-status notifications over AMQP....
26563957 06/24/2011 06:10 pm Giorgos Verigakis

Add a PROTECTED firewall profile

Refs #659

a191bd4d 06/21/2011 01:07 pm Giorgos Verigakis

Merge branch 'master' of https://code.grnet.gr/git/synnefo into api-current

Conflicts:
api/images.py
api/networks.py
contrib/ganeti-hooks/kvm-vif-bridge
db/fixtures/images.json
db/models.py
logic/backend.py
logic/tests.py
settings.py.dist
tools/cloud

91826390 06/20/2011 03:32 pm Giorgos Verigakis

Add initial support for firewall profiles

Refs #659

48130e66 06/17/2011 01:10 pm Giorgos Gousios

License headers for various files

refs #581

adee02b8 06/17/2011 12:48 am Giorgos Verigakis

Add proper license headers

f533f224 06/03/2011 04:35 pm Vangelis Koukis

Merge branches api-current and ui-0.4, minor fixes

Merge branches api-current and ui-0.4: * Fix merge conflicts * Fix minor bug in reconciliation mgmt command * Add comments in settings.py.dist * minor PEP8 fixes

e1cb42fe 06/03/2011 02:51 pm Vangelis Koukis

Merge branch 'images-0.4'

db7a3230 06/03/2011 02:46 pm Vangelis Koukis

Merge branch 'reconcilation'

a1dccf43 06/01/2011 06:42 pm Vangelis Koukis

Improve handling of ganeti-net-status messages

Improve construction and processing of ganeti-net-status notifications.
Fail with an informative exception if an invalid link value is specified
in a ganeti-net-status notification.

This shouldn't happen normally. It is usually the result of an administrator...

06a16b24 06/01/2011 02:08 pm Giorgos Verigakis

Use snf_null as the default link

ca792e04 05/31/2011 08:33 pm Giorgos Verigakis

Optimize disconnect to be performed in one action

a3992827 05/31/2011 07:23 pm Giorgos Verigakis

Make Network and NetworkLink relation explicit

DB migration needed.

620501cc 05/31/2011 06:20 pm Giorgos Verigakis

Fix typo

207b70d5 05/31/2011 05:06 pm Giorgos Verigakis

Network improvements

  • Make backend functions transactional.
  • Only one network can be public and it has the id 'public'.
  • The public network can not be deleted or modified.
  • firewallProfile is optional
64938cb0 05/29/2011 04:37 pm Giorgos Verigakis

Connect networks API with the Ganeti

  • Create Ganeti network link when creating a network.
  • Delete the link when deleting the network.
  • Use a pool of GANETI_MAX_LINK_NUMBER network links.
  • Adding or removing a server from a network requires reboot.

A database migration is needed....

03a9ac0f 05/25/2011 06:52 pm Giorgos Verigakis

Merge branch 'master' of https://code.grnet.gr/git/synnefo into api-current

d44c236b 05/25/2011 06:23 pm Giorgos Verigakis

Refactor networks

  • VirtualMachines can have a number of nics that are attached to networks.
  • Networks can also be public
  • VirtualMachines can be attached to public networks that they don't own.
  • There is a special public network (id 1) that can't be deleted....
b7d29d41 05/25/2011 02:40 pm Constantinos Venetsanopoulos

Add initial support for different Image formats

Initial support for choosing between different Image formats:

  • New field in Image model (migration needed)
  • New lvm Image in fixtures
  • Minor fixes
604b2bf8 05/25/2011 09:22 am Giorgos Gousios

Dispatcher configuration for reconciliation

23cb706d 05/24/2011 10:24 am Constantinos Venetsanopoulos

Merge branch 'master' into images-0.4

ac63eb4f 05/23/2011 07:45 pm Vangelis Koukis

Fix bug with servers in UNKNOWN API state

Fix bug with servers appearing in UNKNOWN state, in the
API response of GET /servers/detail.

The logic layer mishandled reception of a Ganeti-op-status message
when an OP_INSTANCE_QUERY_DATA operation was initiated by the Ganeti...

1ef58e5b 05/13/2011 07:09 pm Constantinos Venetsanopoulos

Initial commit for Image Support in Synnefo

Add Image Support in Synnefo, more specifically: * Add fixtures for 4 actual images * Add two more fields in Image model (backend_id, format) * Commit South migration for Image model * Modify create_instance() in logic/backend.py to pass OS parameters...

03805fc8 05/11/2011 04:06 pm Vangelis Koukis

Fix PostgreSQL backend exception for empty IPv4

Fix exception is thrown in logic/backend.py:process_net_status()
if the NIC configuration notification contains an empty IPv4
field, and Django uses the PostgreSQL backend.

This only happens with the PostgreSQL backend, because it has a...

26fef2b9 05/10/2011 02:08 pm Vangelis Koukis

Ignore uknown Ganeti opcodes in dispatcher

Have the backend notification handler ignore unknown Ganeti opcodes,
such as OP_INSTANCE_QUERY_DATA and OP_INSTANCE_SET_PARAMS.

ad2d6807 05/09/2011 06:43 pm Vangelis Koukis

Handle ganeti-net-status notifications

Implement handling of "ganeti-net-status" notifications in the
logic layer. For the time being, use the IPv4 address of NIC 0
to update the relevant field in the VirtualMachine model.

30f3b5e5 04/19/2011 04:13 pm Vangelis Koukis

Allow destroying machines being built

5231a38a 04/15/2011 07:08 pm Giorgos Verigakis

Raise if vm is deleted or being built

Fixes #351

12fd6446 04/15/2011 02:24 pm Giorgos Verigakis

Fix debugging hardcoded value

529178b1 04/15/2011 02:13 pm Giorgos Verigakis

Code clean up

  • Moved rapi related stuff in logic
  • Added messages to all raised Faults
  • Updated console format
  • Removed unused fixture
  • Better imports
  • Docstring bugfixes
685b219e 04/02/2011 11:55 am Vangelis Koukis

Improve handling of server deletions

Improve handling of server deletions. * Have the API return a server's state as DELETED when
the deleted flag has been set in the VirtualMachine model.
This makes the server immediately invisible, instead of waiting...

234f8b07 03/31/2011 01:43 pm Vangelis Koukis

Fix breakage caused by the logic-refactoring merge

This commit fixes some breakage caused by the recent merge of
the logic-refactoring branch, mainly related to db/db_controller.py.

The main reason was the different value of import path, fixed by
making sure all imports are rooted in synnefo....

dfd19c2d 03/30/2011 09:47 pm Vassilios Karakoidas

All VirtualMachine fields are now pubic

  • Update VirtualMachine reference in all modules
  • Updated fixtures accordingly (and tests)
22e52ede 03/22/2011 07:39 pm Vassilios Karakoidas

Internal method calculate_cost moved to utils.py

02feca11 03/22/2011 07:21 pm Vassilios Karakoidas

Move process_backend_msg to beckend.py

e3a99a08 03/22/2011 06:57 pm Vassilios Karakoidas

Moved id_from_instance_name static method to utils.py