1. 11 Apr, 2013 2 commits
  2. 27 Mar, 2013 1 commit
  3. 21 Mar, 2013 3 commits
    • Helga Velroyen's avatar
      Upgrade configuration wrt enabled storage types · c66d8987
      Helga Velroyen authored
      This implements an online update of the configuration for when a configuration
      is loaded that does not yet contain the 'enabled_storage_types' attribute.
      Note that this will require more changes as dis/enabling of (shared) file
      storage at configure time will be removed.
      This patch includes adding a mapping from disk templates to storage types. While
      I was on it, I also reordered the disk template and storage type parameters
      alphabetically, to make dealing with those easier.
      Also, this mentions the configuration change in the NEWS file.
      Signed-off-by: default avatarHelga Velroyen <helgav@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
    • Helga Velroyen's avatar
      Add constants for storage types to constants.py · 33c730a2
      Helga Velroyen authored
      This patch adds the currently known and used storage methods to the
      constants.py file. Note that storage types are different from disk
      templates. For example both disk templates, drbd and plain, use lvm
      storage types.
      The rapi documentation asserts that valid storage types are limited
      to lvm and file. With the extension of storage types, this is not true
      anymore, but the implementation of listing storage units is not
      implemented for the new types. We disable the assert for now, adding
      a fixme to extend it once the listing of storage units is extended
      for the new types as well.
      'gnt-node list-storage' currently does not support any other storage
      type than 'lvm' and 'file'. We limit the QA to storage types that are
      currently implemented for this operation.
      Signed-off-by: default avatarHelga Velroyen <helgav@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
    • Michele Tartara's avatar
      Add the core of the monitoring daemon · 13cc7b84
      Michele Tartara authored
      This commit adds the core infrastructure of the monitoring daemon,
      and integrates it in the build and test systems.
      The actual functionality of the monitoring daemon is still completely
      Signed-off-by: default avatarMichele Tartara <mtartara@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
  4. 13 Mar, 2013 3 commits
  5. 12 Mar, 2013 1 commit
  6. 11 Mar, 2013 1 commit
  7. 25 Feb, 2013 2 commits
  8. 22 Feb, 2013 1 commit
    • Iustin Pop's avatar
      Add option to redirect luxi socket for debugging · 055d6ac0
      Iustin Pop authored
      Currently, the choice between masterd and conf/queryd is made
      statically, based on whether a query is converted or not and whether
      split queries are enabled. This makes it hard to test and develop
      these new queries, so this patch adds an override for the socket.
      The choice for going with two hardcoded strings and arbitrary socket
      fallback is done so that it's easy to use this in virtual clusters as
      Additionally, the patch improves the error message on failed connects
      when we use arbitrary sockets; before, it always "blamed" confd for
      non-master sockets.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
  9. 19 Feb, 2013 2 commits
  10. 18 Feb, 2013 1 commit
  11. 12 Feb, 2013 1 commit
  12. 11 Feb, 2013 3 commits
  13. 05 Feb, 2013 1 commit
  14. 23 Jan, 2013 1 commit
  15. 21 Jan, 2013 1 commit
  16. 16 Jan, 2013 8 commits
  17. 14 Jan, 2013 7 commits
  18. 22 Dec, 2012 1 commit
    • Constantinos Venetsanopoulos's avatar
      Add the gnt-storage client · b954f097
      Constantinos Venetsanopoulos authored
      Add a new client called 'gnt-storage'.
      The client interacts with the ExtStorage interface, similarly to
      the way gnt-os interacts with the OS interface.
      For now, only two commands are supported: 'info' and 'diagnose'.
      'diagnose' calculates the node status of each provider on each node,
      similarly to gnt-os diagnose. Furthermore, for every provider, it
      calculates it's nodegroup validity for each nodegroup. This is done
      inside the LU and not the client (marked as 'TODO' for the  global
      validity of gnt-os diagnose).
      In the future, gnt-storage can be used to manage storage pools,
      or even be extended to diagnose other storage types supported by
      Ganeti, such as lvm, drbd (INT_MIRROR) or rbd (EXT_MIRROR).
      Signed-off-by: default avatarConstantinos Venetsanopoulos <cven@grnet.gr>
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      [iustin@google.com: fixed Haskell compatibility and style fixes]
      Reviewed-by: default avatarIustin Pop <iustin@google.com>