1. 10 Dec, 2013 19 commits
  2. 09 Dec, 2013 18 commits
  3. 08 Dec, 2013 3 commits
    • Christos Stavrakakis's avatar
      cyclades: Fix DB locking issues causing deadlocks · ff5ac50a
      Christos Stavrakakis authored
      Fix deadlock issues that is caused by Postgresql's locks on foreign
      keys. For example, creation of a BackendNetwork row will result in a
      shared lock in the 'backend_id' rows. Because updating a VM's NICs
      acquired an exclusive lock on the backend that the VM lived, this
      resulted in a deadlock.
    • Christos Stavrakakis's avatar
      cyclades: Get network lock when creating a port · a902290a
      Christos Stavrakakis authored
      Take the network lock before creating a port in the network. Not taking
      the lock may result in a race condition between creating the port and
      deleting the network. Also, it can cause a DB deadlock.
    • Christos Stavrakakis's avatar
      cyclades: Fix division by zero bug · 141066f8
      Christos Stavrakakis authored
      Ganeti reports zero available and total disk if no vg is set. This
      caused a division by zero error in the default backend allocator.