Skip to content
  • Christos Stavrakakis's avatar
    Fix transaction handling when creating server · ae6964c7
    Christos Stavrakakis authored
    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.
    ae6964c7