Skip to content
Snippets Groups Projects
  1. Dec 27, 2012
  2. 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
  3. Dec 21, 2012
  4. Dec 20, 2012
  5. Dec 19, 2012
  6. Dec 18, 2012
  7. Dec 17, 2012
  8. Dec 13, 2012
  9. Dec 12, 2012
  10. Dec 11, 2012
  11. Dec 07, 2012
  12. Dec 06, 2012
  13. Dec 05, 2012
  14. Dec 04, 2012
  15. Dec 03, 2012
  16. Nov 30, 2012
  17. Nov 29, 2012
    • 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
  18. Nov 28, 2012
  19. Nov 27, 2012
  20. Nov 26, 2012
  21. Nov 23, 2012
    • Michael Hanselmann's avatar
      Add new lock level for node allocations · 8716b1db
      Michael Hanselmann authored
      
      The new lock is similar to the BGL in the sense that it has its own
      level and there is only one. It is called “node allocation lock”.
      Logical units will use it to synchronize with instance creations, which
      in turn will start using opportunistic locks on nodes.
      
      Additionally, an assertion in GanetiLockManager gained a message.
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      8716b1db
    • Iustin Pop's avatar
      Introduce a TMaybe combinator · fd9f58fd
      Iustin Pop authored
      
      We have many cases in the code where we write TOr(TNone, a), so let's
      introduce a combinator that simplifies this case.
      
      Beside replacing the above with TMaybe(a), I did a few other parameter
      fixes:
      
      - noop change TOr(TNone, TDict) to TMaybeDict
      - noop change TOr(TNone, TNonEmptyString) to TMaybeString
      - OpClusterSetParams, change master netmask from any integer to a
        non-negative integer
      
      (I can move the last one to a separate patch if desired)
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      fd9f58fd
Loading