1. 06 Jul, 2015 7 commits
  2. 03 Jul, 2015 1 commit
  3. 30 Jun, 2015 1 commit
  4. 29 Jun, 2015 2 commits
  5. 22 Jun, 2015 1 commit
  6. 19 Jun, 2015 2 commits
  7. 01 Jun, 2015 3 commits
  8. 29 May, 2015 1 commit
    • Klaus Aehlig's avatar
      Allow unconditional failovers off offline nodes · 4ca31587
      Klaus Aehlig authored
      Normally, we should not place instances on nodes that do
      not have enough disks. However, there is one exception: if
      we failover an instance from an offline node, that node can
      well be secondary of that instance---the fact that it is currently
      primary proves it has enough disks space. The reason why we have
      to handle that case special is that if a node is offline, we sometimes
      cannot determine the amount of disk available, hence the conservative
      estimation is 0.
      Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
      Reviewed-by: default avatarHrvoje Ribicic <riba@google.com>
  9. 18 May, 2015 3 commits
  10. 07 May, 2015 1 commit
    • Hrvoje Ribicic's avatar
      Modify UDS server startup to set permissions for sockets · c7c42554
      Hrvoje Ribicic authored
      When opening domain sockets for communication, the Haskell daemons did
      not set any permissions for the sockets, defaulting to 0700. This was
      fine when all of them ran as root, but was bound to cause trouble in a
      split-user setup. The first issue is RAPI access after master-failover,
      where RAPI could not send make any inquiries until the watcher restored
      the desired permissions of the socket.
      This patch modifies Luxid to use a g+rw socket, and leaves other servers
      to their default of 0600.
      Signed-off-by: default avatarHrvoje Ribicic <riba@google.com>
      Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
  11. 04 May, 2015 2 commits
  12. 22 Apr, 2015 3 commits
  13. 17 Apr, 2015 1 commit
    • Petr Pudlak's avatar
      Fix the computation of the list of reserved IP addresses · 2a050e19
      Petr Pudlak authored
      After refactoring the code for network addresses to Haskell, a
      regression appeared that added 30 to all IP addresses in the generated
      list. Since the code for generating the list used just 'show' and look
      for 0s and 1s in the string (and treating anything else as 0), it turned
      out that after adding a separate type for address pools, the strings
          "AddressPool {apReservations = ...}"
      and the initial part of the string was exactly the mysterious 30
      This fix replaces this by switching to correct types and iterating over
      the bits in BitArray.
      Fixes #1068.
      Signed-off-by: default avatarPetr Pudlak <pudlak@google.com>
      Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
  14. 10 Apr, 2015 3 commits
  15. 31 Mar, 2015 2 commits
  16. 26 Mar, 2015 1 commit
  17. 24 Mar, 2015 6 commits