1. 25 Nov, 2009 1 commit
  2. 16 Nov, 2009 1 commit
  3. 06 Nov, 2009 2 commits
  4. 04 Nov, 2009 1 commit
  5. 02 Nov, 2009 2 commits
    • Iustin Pop's avatar
      Some improvements to gnt-node repair-storage · 7e9c6a78
      Iustin Pop authored
      Currently the repair storage has two issues:
      - down instances are aborting the operation, even though they should be
        ignored (it's not technically possible to know their disk status
        unless we would activate their disks)
      - if the VG is so broken that disks cannot be activated via gnt-instance
        activate-disks or gnt-instance startup, it's not possible to repair
        the VG at all
      The patch makes the opcode skip down instances and also introduces an
      ``--ignore-consistency`` flag for forcing the execution of the LU.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
    • Iustin Pop's avatar
      Unify the query fields for the storage framework · 620a85fd
      Iustin Pop authored
      This patch unifies the query fields in the storage framework for all
      types. Note that the information is still computed on-demand, so if e.g.
      the used disk space is not requested for the ‘file’ type, it won't be
      computed on nodes.
      Summary of changes:
      - improve the LVM storage type to support multiple lvm fields in the
        LIST_FIELDS declaration and constant (not-computed via lvm commands)
      - rename utils.GetFilesystemFreeSpace to utils.GetFilesystemStats
        returning tuple of (total, free)
      - add used and free as valid fields for lvm-vg (use being computed as
      - make allocatable accepted for all types (ones which are always
        allocatable always return True)
      - add a new list field ‘type’ that gives the current selected type; not
        much useful today (except for understanding what the default output
        is) but in the future might help if we want to list multiple types
      - add type, size and allocatable to the default output field list
      - update the man page with details on how, for file storage, size ≠ used
        + free for non-mountpoint cases
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
  6. 28 Oct, 2009 2 commits
    • Iustin Pop's avatar
      Documentation updates · c71a1a3d
      Iustin Pop authored
      Our admin guide was very very trivial. This patch updates it to contain
      advice on when to use which commands, removes the instance
      administration part from the installation guide (moved to the admin
      guide), and adds a walkthrough document that should be useable as a
      starting point for new admins.
      The patch also adds emacs variables to the documents, and rewraps some
      which were not already at 72 chars.
      The doc updates also show backwards-compatible commands for Ganeti 2.0,
      as we don't have a good up-to-date 2.0 document and people might refer
      to this set of documentation even when running that.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
    • Iustin Pop's avatar
      Rename the node storage commands · 9b94905f
      Iustin Pop authored
      To reduce confusion, the following gnt-node commands are renamed:
      - physical-volumes → list-storage
      - modify-volume → modify-storage
      - repair-volume → repair-storage
      The NEWS file is update accordingly and it also gets emacs local
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
  7. 22 Oct, 2009 3 commits
  8. 13 Oct, 2009 2 commits
  9. 09 Oct, 2009 1 commit
  10. 05 Oct, 2009 1 commit
  11. 25 Sep, 2009 1 commit
  12. 24 Sep, 2009 2 commits
  13. 15 Sep, 2009 1 commit
  14. 14 Sep, 2009 1 commit
  15. 07 Sep, 2009 1 commit
  16. 04 Sep, 2009 1 commit
  17. 26 Aug, 2009 1 commit
  18. 24 Aug, 2009 1 commit
  19. 17 Aug, 2009 2 commits
  20. 14 Aug, 2009 1 commit
  21. 13 Aug, 2009 1 commit
  22. 05 Aug, 2009 1 commit
    • Iustin Pop's avatar
      export: add meaningful exit code · 084f05a5
      Iustin Pop authored
      Currently ‘gnt-backup export’ always returns exit code zero, even in the
      face of complete failure during backup (only failure to stop/start the
      instance will cause job failure and thus non-zero exit code). This is
      bad, since one cannot script the backup.
      This patch adds some simple results from the LU so that the command line
      script can return good exit code. It will:
        - return zero for full success (snapshot removal errors are ignored
        - return one for full failure (finalize export failure or all disks
        - return two for partial failure (some disks backed up, some not)
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
  23. 04 Aug, 2009 4 commits
  24. 03 Aug, 2009 2 commits
  25. 29 Jul, 2009 1 commit
  26. 24 Jul, 2009 1 commit
  27. 19 Jul, 2009 1 commit
  28. 16 Jul, 2009 1 commit