« Previous | Next » 

Revision 482c6454


Added by Christos Stavrakakis over 10 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.


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences