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
    • Helga Velroyen's avatar
      Utility functions for storage · 59ef0f15
      Helga Velroyen authored
      
      This patch add a couple of utility functions dealing with
      storage types and disk templates.
      
      Signed-off-by: default avatarHelga Velroyen <helgav@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      59ef0f15
  2. Apr 24, 2013
  3. Apr 23, 2013
  4. Apr 22, 2013
  5. Apr 19, 2013
  6. Apr 18, 2013
Loading