Skip to content
Snippets Groups Projects
  1. May 03, 2013
  2. Apr 29, 2013
  3. Apr 24, 2013
  4. Apr 22, 2013
  5. Apr 11, 2013
  6. Apr 04, 2013
  7. Apr 02, 2013
  8. Mar 27, 2013
  9. Mar 26, 2013
  10. Mar 21, 2013
  11. Feb 22, 2013
    • 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
      well.
      
      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>
      055d6ac0
  12. Feb 19, 2013
  13. Feb 11, 2013
  14. Dec 22, 2012
    • 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>
      b954f097
  15. Dec 21, 2012
  16. Dec 19, 2012
  17. Dec 04, 2012
  18. Nov 20, 2012
  19. Nov 15, 2012
  20. Nov 05, 2012
    • Dato Simó's avatar
      cli.py: use None as name for tag operations on the cluster · bcd35e09
      Dato Simó authored
      
      This change is mostly cosmetic. Previously, the literal "cluster" was
      used for the 'name' field of tag operations on the cluster (as opposed
      to a node or an instance). Since this field has a type of TMaybeString
      specifically for the case of the cluster, it seems more correct to use
      None, rather than an arbitrary string (that is not used by the callee).
      
      Additionally: note in opcodes.py that groups also expect a name; the
      previous comment only referred to nodes and instances.
      
      Signed-off-by: default avatarDato Simó <dato@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      bcd35e09
  21. Oct 25, 2012
  22. Oct 17, 2012
  23. Oct 11, 2012
  24. Oct 02, 2012
    • Michael Hanselmann's avatar
      cli: Exit with status 0 for --help · d971402f
      Michael Hanselmann authored
      
      This patch is somewhat longer than was anticipated. Before, commands like
      “gnt-instance --help” would exit with the status code 1 (failure). With
      this patch, those commands exits with 0 (success) while unknown commands
      still print the usage screen and exit with status 1.
      
      To achieve this goal without too much ugly code some refactoring on
      cli._ParseArgs was necessary. Printing the version and usage screen was
      separated. At the same time this allows for some unit testing.
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarBernardo Dal Seno <bdalseno@google.com>
      d971402f
Loading