1. 11 Apr, 2013 2 commits
  2. 02 Apr, 2013 1 commit
  3. 21 Mar, 2013 1 commit
  4. 06 Mar, 2013 2 commits
  5. 25 Feb, 2013 1 commit
  6. 19 Feb, 2013 1 commit
  7. 15 Feb, 2013 1 commit
  8. 12 Feb, 2013 1 commit
  9. 11 Feb, 2013 1 commit
  10. 30 Jan, 2013 2 commits
  11. 07 Jan, 2013 1 commit
  12. 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>
      b954f097
  13. 21 Dec, 2012 1 commit
  14. 19 Dec, 2012 2 commits
  15. 17 Dec, 2012 1 commit
    • Iustin Pop's avatar
      Add optional formatting for OP_DSC_FIELD · 8bc17ebb
      Iustin Pop authored
      
      
      For some opcodes, the output is not "stable", and depends on the exact
      input values; this makes it harder to check consistency against
      Haskell code.
      
      To compensate for this, we add a way to override the formatting of the
      OP_DSC_FIELD; by default, this is always "%s", but if the
      OP_DSC_FORMATTER is defined (must be a callable), it is used to format
      the actual value.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      8bc17ebb
  16. 12 Dec, 2012 1 commit
    • Constantinos Venetsanopoulos's avatar
      Remove checks wrt IDISK_PARAMS from OpCode level · 3e3ddbf0
      Constantinos Venetsanopoulos authored
      
      
      Change the "--disks" option validation, to just check the format
      of the dict and do not check whether the keys are included in the
      IDISK_PARAMS constant at OpCode level. This allows the passing of
      arbitrary parameters at the CLI, which will then be logically
      checked at LU level (inside CheckArguments).
      
      Currently, the check wrt to IDISK_PARAMS already happens in all
      related LUs (InstanceSetParams, InstanceCreate, InstanceRecreateDisks),
      with the use of ForceDictType(), so there is no need for additional
      checking code.
      Signed-off-by: default avatarConstantinos Venetsanopoulos <cven@grnet.gr>
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      [iustin@google.com: fixed a unittest that needed adjustement]
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      3e3ddbf0
  17. 07 Dec, 2012 1 commit
  18. 04 Dec, 2012 1 commit
  19. 03 Dec, 2012 1 commit
  20. 30 Nov, 2012 6 commits
  21. 29 Nov, 2012 1 commit
    • Michael Hanselmann's avatar
      Fix type descriptions in RAPI documentation · 16091a6e
      Michael Hanselmann authored
      
      
      This patch adds descriptors to the “_CheckCIDR*” functions in opcodes
      and improves the descriptions generated by “ht.TInstanceOf”, thereby
      indirectly fixing bad type descriptions in the RAPI documentation.
      
      Before this patch:
      - (String and (<function _CheckCIDRAddrNotation at 0x2f…>))
      - (Instance of (<class 'ganeti.opcodes.OpInstanceCreate'>))
      
      After this patch:
      - (String and (IPv4 address))
      - (Instance of (ganeti.opcodes.OpInstanceCreate))
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
      16091a6e
  22. 23 Nov, 2012 3 commits
  23. 21 Nov, 2012 2 commits
  24. 20 Nov, 2012 5 commits