Skip to content
Snippets Groups Projects
  1. Apr 04, 2008
    • Iustin Pop's avatar
      Add a simple gnt-job script · 7a1ecaed
      Iustin Pop authored
      This patch adds a very basic gnt-job script that allows job querying.
      This goes on top of the previous master daemon patches.
      
      Currently, because of the not-changed cmd lock, you can't query the jobs
      as long as a job is running - you have to rm the cmd lock and then you
      can query the jobs.
      
      Reviewed-by: imsnah
      7a1ecaed
  2. Apr 01, 2008
    • Guido Trotter's avatar
      Fix gnt-instance failover help message · 99e2be3b
      Guido Trotter authored
      The message used to misleadingly say that failover just works with remote_raid1
      instances, while of course it works for drbd as well. Since remote_raid1 has
      been removed from the main development branch only drbd will be shown.  Thanks
      to Jesus Climent who spotted the bug.
      
      Reviewed-by: imsnah
      99e2be3b
    • Iustin Pop's avatar
      Add a gnt-debug tool · fd3ee040
      Iustin Pop authored
      This patch adds a script which submits a job consisting of the
      OpTestDelay opcode. This can be helpful for debugging and can be
      extended to execute other 'debug'-like tasks.
      
      Reviewed-by: ultrotter
      fd3ee040
  3. Mar 31, 2008
  4. Mar 27, 2008
  5. Mar 25, 2008
  6. Mar 19, 2008
  7. Mar 06, 2008
    • Guido Trotter's avatar
      Fix gnt-instance replace-disks online help · 457697bc
      Guido Trotter authored
      The "quick" online help just reported the option to change secondary node. Add
      the ones to just replace the disk locally on-primary or on-secondary. It is of
      course impossible to espress in one line everything needed to use this command,
      but at least now the most common options are spelled out immediately.
      
      Reviewed-by: iustinp, imsnah
      457697bc
  8. Mar 05, 2008
  9. Feb 28, 2008
  10. Feb 20, 2008
  11. Feb 18, 2008
  12. Feb 14, 2008
    • 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. Jan 30, 2008
  14. Jan 28, 2008
    • Alexander Schreiber's avatar
      tiny typo fix · f2e9e0e8
      Alexander Schreiber authored
      Reviewed-by: iustinp
      
      f2e9e0e8
    • 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
    • Iustin Pop's avatar
      Add option for the number of VCPUs in instance listing · d6d415e8
      Iustin Pop authored
      Reviewed-by: ultrotter
      d6d415e8
  15. Jan 27, 2008
  16. Jan 21, 2008
    • Guido Trotter's avatar
      Add a few aliases for startup/shutdown · 536fda25
      Guido Trotter authored
      These aliases are widely used to think of these operations and save some typing
      too. Even though there is some thought to make start/stop the default operation
      name I don't think this should happen for 1.2, for now adding it as an alias is
      fine.
      
      Reviewed-by: iustinp
      
      536fda25
    • Guido Trotter's avatar
      Add the first command alias · dbfd89dd
      Guido Trotter authored
      Alias activate_block_devs to activate-disks, for ganeti 1.1 compatibility.
      
      Reviewed-by: iustinp
      
      dbfd89dd
    • Guido Trotter's avatar
      Check that we have a valid export list · 461f0538
      Guido Trotter authored
      Before iterating over the list of exports present on a node, check that what
      ganeti returned is actually a list. This solves the case when one of the nodes
      is down, and an error value is returned.
      
      This fixes issue 21
      
      Reviewed-by: imsnah
      461f0538
  17. Jan 16, 2008
  18. Jan 14, 2008
    • Guido Trotter's avatar
      Add mac="auto" at import time · c19dfc03
      Guido Trotter authored
      Mac is now a mandatory option for OpCreateInstance. Add it when we call this
      opcode at import time too. This is a quick fix for the code, but probably more
      work needs to be done to integrate mac addresses with the import/export
      functionality in a nice way.
      
      Reviewed-by: iustinp
      c19dfc03
  19. Jan 11, 2008
  20. Jan 10, 2008
    • Guido Trotter's avatar
      Fix gnt-backup import -s option · d5687e89
      Guido Trotter authored
      Update gnt-backup import to be in line with gnt-instance add about the os disk
      size option. Thanks to Gunnar Wagenknecht for spotting the issue.
      
      Reviewed-by: imsnah
      d5687e89
  21. Jan 08, 2008
  22. Jan 07, 2008
    • Iustin Pop's avatar
      Improve verify-disks: broken/missing LV detection · b63ed789
      Iustin Pop authored
      This patch improves the ‘gnt-cluster verify-disks’ command by adding
      support for detecting broken volume groups and missing logical volume
      names.
      
      As such, we don't try anymore to activate disks for instances that are
      not likely to succeed anyway, and instead report them.
      
      Reviewed-by: schreiberal
      b63ed789
  23. Dec 27, 2007
  24. Dec 20, 2007
  25. Dec 17, 2007
  26. Dec 12, 2007
    • Iustin Pop's avatar
      Add the ‘gnt-cluster verify-disks’ command · f4d4e184
      Iustin Pop authored
      This patch adds the OpVerifyDisks handling in mcpu.py and the
      verify-disks command in the gnt-cluster script, which for every instance
      computed by LUVerifyDisks submits a new OpActivateInstanceDisks request.
      
      Reviewed-by: imsnah
      f4d4e184
  27. Dec 03, 2007
Loading