History | View | Annotate | Download (4.1 kB)
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 IPv4field, and Django uses the PostgreSQL backend.
This only happens with the PostgreSQL backend, because it has a...
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.
Handle ganeti-net-status notifications
Implement handling of "ganeti-net-status" notifications in thelogic layer. For the time being, use the IPv4 address of NIC 0to update the relevant field in the VirtualMachine model.
Allow destroying machines being built
Raise if vm is deleted or being built
Fixes #351
Fix debugging hardcoded value
Code clean up
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...
Fix breakage caused by the logic-refactoring merge
This commit fixes some breakage caused by the recent merge ofthe logic-refactoring branch, mainly related to db/db_controller.py.
The main reason was the different value of import path, fixed bymaking sure all imports are rooted in synnefo....
All VirtualMachine fields are now pubic
Internal method calculate_cost moved to utils.py
Move process_backend_msg to beckend.py
Moved id_from_instance_name static method to utils.py