Statistics
| Branch: | Tag: | Revision:

root / logic / backend.py @ 35079ab2

History | View | Annotate | Download (4.1 kB)

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