1. 19 Jun, 2008 1 commit
  2. 17 Jun, 2008 1 commit
  3. 06 Jun, 2008 2 commits
  4. 31 May, 2008 1 commit
  5. 29 May, 2008 1 commit
  6. 15 May, 2008 1 commit
  7. 05 May, 2008 2 commits
    • Iustin Pop's avatar
      Minor doc/help update · 872c949f
      Iustin Pop authored
      This shortens the help output in gnt-node so that the output looks
      nicer, and improves the manual page for gnt-instance with the new
      'status' field.
      
      Reviewed-by: ultrotter
      872c949f
    • Iustin Pop's avatar
      Improve the gnt-* list field selection · 48c4dfa8
      Iustin Pop authored
      This patch allows the '-o' option to the list subcommands to add more
      fields to the default list instead of replacing the default list by
      prefixing the fields list with '+'.
      
      The patch also moves the listing (in the help output) of the default
      field list from hardcoded to built at runtime from the actual list.
      
      Reviewed-by: ultrotter
      48c4dfa8
  8. 29 Apr, 2008 1 commit
  9. 27 Mar, 2008 1 commit
  10. 25 Mar, 2008 2 commits
    • Iustin Pop's avatar
      Remove the option to create md/drbd7 instances · f9193417
      Iustin Pop authored
      This patch removes the options that allow to create local_raid1 or
      remote_raid1 instances. It also modifies the documentation and removes
      these disk templates from burnin and from qa.
      
      Reviewed-by: imsnah
      f9193417
    • Iustin Pop's avatar
      Remove the add/remove mirror operations · 249069a1
      Iustin Pop authored
      These two operations are related to md/drbd7 code (remote_raid1). Remove
      them as part of the md/drbd7 removal.
      
      Reviewed-by: imsnah
      249069a1
  11. 11 Mar, 2008 1 commit
  12. 14 Feb, 2008 1 commit
    • Iustin Pop's avatar
      Modify the default output of gnt-instance list · d8052456
      Iustin Pop authored
      This patch adds a new field available for selection in gnt-instance list
      names "status" which represents the combined value of "admin_state" and
      "oper_state". Since this is much easier to parse (e.g. gnt-instance list
      |grep ERROR), we also modify the default field list to use this instead
      of the admin/oper state fields.
      
      Reviewed-by: imsnah
      d8052456
  13. 28 Jan, 2008 1 commit
    • Iustin Pop's avatar
      Improve the documentation of query output fields · d8a4b51d
      Iustin Pop authored
      The gnt-node and gnt-instance list commands have a customizable list of
      output fields, but the list is not up to date (in the man page) and not
      easily understandable from the ‘--help’ output.
      
      This patch updates the man pages and adds the available fields and
      default fields in the ‘--help’ output, as part of the description.
      
      Example:
      Usage
      =====
        gnt-node list
      
      Lists the nodes in the cluster. The available fields are (see the man page for
      details): name, pinst_cnt, pinst_list, sinst_cnt, sinst_list, pip, sip,
      dtotal, dfree, mtotal, mnode, mfree, bootid. The default field list is (in
      order): name, dtotal, dfree, mtotal, mnode, mfree, pinst_cnt, sinst_cnt.
      
      Reviewed-by: imsnah,ultrotter
      d8a4b51d
  14. 11 Jan, 2008 1 commit
  15. 08 Jan, 2008 1 commit
  16. 07 Jan, 2008 1 commit
  17. 28 Dec, 2007 1 commit
  18. 20 Nov, 2007 1 commit
  19. 10 Nov, 2007 2 commits
  20. 07 Nov, 2007 1 commit
  21. 31 Oct, 2007 4 commits
    • Iustin Pop's avatar
      Revert "Implement multi-failover options" · 80de0e3f
      Iustin Pop authored
      This reverts commit 289, as the node failover functionality was already
      implemented in gnt-node (as opposed to gnt-instance). My mistake.
      
      Reviewed-by: ultrotter
      80de0e3f
    • Iustin Pop's avatar
      Small improvements to multi-instance selections · bcee9cb4
      Iustin Pop authored
      This patch fixes the documentation in a few cases and adds handling of
      the situation where no instance is selected due to too restrictive
      options given.
      
      Reviewed-by: imsnah
      bcee9cb4
    • Iustin Pop's avatar
      Implement multi-failover options · 36c87212
      Iustin Pop authored
      This patch adds the same style of multi-instance selection as in
      shutdown/startup to the failover subcommand, with the exception that we
      cannot failover with --node or --all (it doesn't make sense).
      
      Reviewed-by: imsnah
      36c87212
    • Iustin Pop's avatar
      More sane handling of errors during failover · 24a40d57
      Iustin Pop authored
      Currently we ignore errors on instance shutdown (on the source node)
      during instance failover. We should do this only if the user gave a
      command line options allowing this, as it's a dangerous thing to do.
      
      This patch fixes this by using the same "--ignore-consistency" option
      for deciding whether to continue or abort. It also expands a bit the man
      page.
      
      Reviewed-by: imsnah
      24a40d57
  22. 18 Oct, 2007 1 commit
    • Alexander Schreiber's avatar
      Patch series for reboot feature, part 3 · 579d4337
      Alexander Schreiber authored
      This patch series implements the reboot command for gnt-instance. It
      supports three types of reboot: soft (hypervisor reboot), hard (instance
      config rebuild and reboot) and full (full instance shutdown and startup
      again).
      
      This patch contains the gnt-instance script and the man page for it.
      
      Reviewed-by: iustinp
      
      579d4337
  23. 16 Oct, 2007 2 commits
    • Alexander Schreiber's avatar
      tiny typing fixup · 86b8c6ae
      Alexander Schreiber authored
      Reviewed-by: imsnah
      
      86b8c6ae
    • Iustin Pop's avatar
      Allow force removal of instances · 1d67656e
      Iustin Pop authored
      This patch adds a new option to the instance removal command
      "--ignore-failures" that forces the removal of the instance from the
      configuration even if the removal process encounters errors.
      
      In order to be able to do this when the remote node(s) is(are) down, we
      need to restrict the execution of the instance removal hook to the
      master only. I think this is a reasonable trade-off (but I'm not sure).
      
      Reviewed-by: imsnah
      1d67656e
  24. 08 Oct, 2007 2 commits
  25. 17 Sep, 2007 2 commits
    • Iustin Pop's avatar
      Implement instance rename operation · decd5f45
      Iustin Pop authored
      This patch adds support for instance rename operation at all remaining
      layers: RPC, OpCode/LU and CLI.
      
      Reviewed-by: imsnah
      decd5f45
    • Iustin Pop's avatar
      Allow start/stop of multiple instances at once · 312ac745
      Iustin Pop authored
      This is an initial version of the multi-instance start/stop, which
      allows the gnt-instance startup and shutdown subcommands to work on
      multiple instances at once.
      
      The available selections are:
        - "gnt-instance startup --instance name..." which is the default, and
          if passed only one argument it behaves like the original command)
        - "gnt-instance startup --node name..." will work on all instances
          having either primary or secondary one of the passed names
        - "gnt-instance startup --primary name..." will work on all instances
          having primary node one of the passed names
        - "gnt-instance startup --secondary name..." will work on all
          instances having as secondary node one of the passed names
        - "gnt-instance startup --all" will work on all instances
      
      This allows a simple cluster-wide shutdown or node shutdown (or
      startup).
      
      Note that this version stops at the first error - it will not try to
      start the 2nd instance selected if there is a critical error with the
      1st one.
      
      Also note that this version is not faster than simply running manually
      "gnt-instance shutdown NAME", because it doesn't parallelize the
      shutdown/startup actions.
      
      Reviewed-by: imsnah,roman.marxer
      312ac745
  26. 30 Aug, 2007 1 commit
    • Iustin Pop's avatar
      Fix the manpage gnt-instance w.r.t. units · b9ac33e9
      Iustin Pop authored
      The manpage wrongly states that the default unit for disk sizes is
      gibibytes, whereas currently it's mebibytes. Fix that and also update
      the '--help' output to display the default unit.
      
      Reviewed-by: roman.marxer
      b9ac33e9
  27. 27 Jul, 2007 1 commit
  28. 23 Jul, 2007 1 commit
  29. 16 Jul, 2007 1 commit