1. 11 Jun, 2013 1 commit
  2. 26 Apr, 2013 2 commits
    • Helga Velroyen's avatar
      Make DEFAULT_ENABLED_DISK_TEMPLATES a list · decf86f9
      Helga Velroyen authored
      This patch makes the constant DEFAULT_ENABLED_DISK_TEMPLATES
      a list instead of a set, because the order of the elements actually matters
      as the first one is planned to be the default disk template for instance
      creation. Also, this constant is always used like a list and thus providing it
      as a set complicates the code that uses it.
      Signed-off-by: default avatarHelga Velroyen <helgav@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      decf86f9
    • 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
  3. 24 Apr, 2013 3 commits
  4. 11 Apr, 2013 4 commits
  5. 04 Apr, 2013 1 commit
  6. 27 Mar, 2013 2 commits
  7. 26 Mar, 2013 1 commit
  8. 21 Mar, 2013 3 commits
  9. 20 Dec, 2012 1 commit
    • Constantinos Venetsanopoulos's avatar
      Implement the External Storage Interface · 376631d1
      Constantinos Venetsanopoulos authored
      With this commit we introduce the External Storage Interface
      to Ganeti, abbreviated: ExtStorage Interface.
      
      The ExtStorage Interface provides Ganeti with the ability to interact
      with externally connected shared storage pools, visible by all
      VM-capable nodes. This means that Ganeti is able to handle VM disks
      that reside inside a NAS/SAN or any distributed block storage provider.
      
      The ExtStorage Interface provides a clear API, heavily inspired by the
      gnt-os-interface API, that can be used by storage vendors or sysadmins
      to write simple ExtStorage Providers (correlated to gnt-os-interface's
      OS Definitions). Those Providers will glue externally attached shared
      storage with Ganeti, without the need of preprovisioned block devices
      on Ganeti VM-capable nodes as confined be the current `blockdev' disk
      template.
      
      To do so, we implement a new disk template called `ext' (of type
      DTS_EXT_MIRROR) that passes control to externally provided scripts
      (the ExtStorage Provider) for the template's basic functions:
      
       create / attach / detach / remove / grow
      
      The scripts reside under ES_SEARCH_PATH (correlated to OS_SEARCH_PATH)
      and only one ExtStorage Provider is supported called `ext'.
      
      The disk's logical id is the tuple ('ext', UUID.ext.diskX), where UUID
      is generated as in disk template `plain' and X is the disk's index.
      Signed-off-by: default avatarConstantinos Venetsanopoulos <cven@grnet.gr>
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      [iustin@google.com: small simplification in bdev code, pylint fixes]
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      376631d1
  10. 12 Dec, 2012 1 commit
  11. 04 Dec, 2012 1 commit
  12. 15 Nov, 2012 1 commit
  13. 29 Oct, 2012 1 commit
  14. 26 Oct, 2012 1 commit
  15. 11 Oct, 2012 2 commits
  16. 10 Oct, 2012 2 commits
  17. 28 Sep, 2012 1 commit
  18. 18 Sep, 2012 1 commit
  19. 03 Sep, 2012 1 commit
  20. 28 Aug, 2012 1 commit
  21. 23 Aug, 2012 1 commit
    • Iustin Pop's avatar
      Bump pep8 version to 1.2 · 5ae4945a
      Iustin Pop authored
      Debian Wheezy will ship with this version, and it has many improved checks compared to 0.6, so let's:
      
      - bump version in the docs
      - silence some new checks that are wrong due to our indent=2 instead of 4
      - fix lots of errors in the code where the indentation was wrong by 1
        or 2 spaces
      - fix a few cases of == True, False, None and replace with 'is'
      - re-indent some cases where the code is OK, but pep8 complains
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      5ae4945a
  22. 22 May, 2012 1 commit
  23. 15 May, 2012 1 commit
  24. 11 May, 2012 2 commits
  25. 18 Apr, 2012 1 commit
  26. 17 Apr, 2012 1 commit
  27. 12 Apr, 2012 1 commit
  28. 19 Mar, 2012 1 commit