Skip to content
Snippets Groups Projects
  1. Apr 26, 2013
    • Helga Velroyen's avatar
      gnt-cluster modify/init: deprecate --no-lvm-storage · 912737ba
      Helga Velroyen authored
      
      This patch does three things:
      
      1. It deprecates the option '--no-lvm-storage' of 'gnt-cluster modify'
      and 'gnt-cluster init'. Technically, it is not fully removed, but kept in order
      to warn the user that it is no longer supported and that she should use
      --enabled-disk-templates instead.
      
      2. The consistency check between '--no-lvm-storage' and '--vg-name' is replaced
      by checks between '--enabled-disk-templates' and '--vg-name'. There are these
      cases:
      - vg name, lvm disk template enabled = ok
      - no vg name, lvm disk template enabled = error
      - vg name, no lvm enabled = warning
      - no vg name, no lvm enabled = ok
      I added quite a lot of tests for all these and the transitions from each case
      to another to the QA.
      
      3. The check whether or not the volume group is available on all nodes is now
      done only in these cases:
      - the volume group name gets set and lvm is already enabled
      - lvm is getting enabled and the volume group was set before
      
      Signed-off-by: default avatarHelga Velroyen <helgav@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      912737ba
  2. Apr 22, 2013
  3. Apr 18, 2013
  4. Apr 17, 2013
  5. Apr 14, 2013
  6. Apr 11, 2013
  7. Apr 10, 2013
  8. Apr 09, 2013
  9. Apr 08, 2013
  10. Apr 07, 2013
  11. Apr 04, 2013
  12. Apr 02, 2013
  13. Mar 27, 2013
  14. Mar 26, 2013
  15. Mar 21, 2013
    • Helga Velroyen's avatar
      QA: Extend cluster QA wrt enabled storage types · dacd8ba4
      Helga Velroyen authored
      
      This extends the QA scripts to test the changes in 'gnt-cluster init',
      'gnt-cluster info', and 'gnt-cluster modify' with respect to enabled
      storage types.
      
      Signed-off-by: default avatarHelga Velroyen <helgav@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      dacd8ba4
    • 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>
      33c730a2
  16. Mar 12, 2013
  17. Mar 11, 2013
  18. Mar 04, 2013
  19. Feb 28, 2013
Loading