« Previous | Next » 

Revision 482c6454

ID482c6454e0ee090ec88d273a53d71295b44341cc

Added by Christos Stavrakakis about 11 years ago

Fix transaction handling when creating server

Better handling of transactions when creating a server. Commit the
creation of VM in DB, before enqueuing the job to the Ganeti backend.
If communication with Ganeti fails, then the VM is deleted from the DB.
If the servers crashes before deleting the VM, the stale VM will be
removed by the reconciliation mechanism.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences