Skip to content
Snippets Groups Projects
  1. Jan 20, 2008
    • Iustin Pop's avatar
      Allow use of 'diskless' disk template in burnin · bd249e2f
      Iustin Pop authored
      Even if this doesn't have any practical use for actually creating
      instances, it can be used for very fast burnin and testing just the
      add/start/stop/remove functionality.
      
      This has also revealed a bug in export/import related to diskless
      instances, so it's educational value is proved.
      
      Reviewed-by: ultrotter
      bd249e2f
    • Iustin Pop's avatar
      Fix run directory for the fake hypervisor · 1ed70996
      Iustin Pop authored
      Currently the fake hypervisor has hardcoded ‘/var/run’ as a base
      directory for its store. This patch adds a constant RUN_DIR that is used
      for both the fake hypervisor and for BDEV_CACHE_DIR.
      
      Reviewed-by: ultrotter
      1ed70996
    • Iustin Pop's avatar
      Fix the init.d script · e71d6323
      Iustin Pop authored
      The script (which is geared towards Debian) is actually not fully
      compliant, as lintian generates a warning on it - the S runlevel is not
      a valid one in the "Stop" stanza. This patch removes "S" from the stop
      list.
      
      Reviewed-by: imsnah
      e71d6323
  2. Jan 18, 2008
    • Iustin Pop's avatar
      Fix the make dist rule · b6f2e47f
      Iustin Pop authored
      In revision 459 I added a bug in the make dist rule in the sense that
      the archive will include *all* of test/data directory, including the
      .svn directory if it exists.
      
      This patch fixes that problem and adds a distcheck hook that tests for
      such errors in the future (files/directories matching the .svn and .git
      patterns).
      
      It also fixes a typo in the NEWS file.
      
      Reviewed-by: imsnah
      b6f2e47f
    • Iustin Pop's avatar
      Bump version numbers for the 1.2.1 release · 31b9055c
      Iustin Pop authored
      This a merge to trunk of revision 494.
      
      Reviewed-by: imsnah
      31b9055c
  3. Jan 16, 2008
  4. Jan 14, 2008
    • Guido Trotter's avatar
      Make instance start/stop skippable at burnin time · d4844f0f
      Guido Trotter authored
      Even though burnin was born just to do that test it now contains a lot more
      things one might try, so it makes sense to make instance start/stop optional
      too.
      
      This creates a burnin that at the bare minimum tests instance create and
      remove, if all the --no options are specified, but usually does a lot more.
      
      Reviewed-by: iustinp
      
      d4844f0f
    • Guido Trotter's avatar
      Do instance export and import during burnin · bd5e77f9
      Guido Trotter authored
      Instances get exported to a remote node, then removed and imported back to
      their original nodes. This should be an idempotent option from the instance
      point of view, and help making sure ImportExport is kept up to date.
      
      It will also help making burnin take a lot longer, which is nice to take a nap.
      "...but I'm doing a cluster burnin...". Unfortunately this subfeature is a bit
      jeopardized by the fact that the new code can be skipped with the
      --no-importexport option, but nobody needs to know that, do they?
      
      Reviewed-by: iustinp
      bd5e77f9
    • Iustin Pop's avatar
      Allow burnin to take "-t plain" as an option · 4aa036ab
      Iustin Pop authored
      The burnin code deals with "-t plain", but the command line parser
      doesn't allow that as an option. This patch fixes this issue.
      
      Reviewed-by: ultrotter
      4aa036ab
    • Iustin Pop's avatar
      Fix some misspellings · ba4b62cf
      Iustin Pop authored
      This patch fixes two name typos and a style issue (which makes pylint
      complain).
      
      Reviewed-by: ultrotter
      ba4b62cf
    • Guido Trotter's avatar
      Fix CreateInstance new optional parameters · 40ed12dd
      Guido Trotter authored
      Some new paramenters of the CreateInstance opcode are optional (namely
      kernel_path, initrd_path and hvm_boot_order) but their absence makes the code
      crash. Fix this by initializing them to a default value if they're not present.
      
      Reviewed-by: iustinp
      40ed12dd
    • 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
  5. Jan 11, 2008
  6. Jan 10, 2008
  7. Jan 09, 2008
  8. Jan 08, 2008
  9. Jan 07, 2008
    • Iustin Pop's avatar
      Fix a typo in the ‘gnt-instance’ manpage · 61854511
      Iustin Pop authored
      Reviewed-by: schreiberal
      61854511
    • Iustin Pop's avatar
      Fix ‘make distcheck’ breakage introduced in r455 · 6634816b
      Iustin Pop authored
      This patch fixes the ‘make distcheck’ breakage caused by missing test data in
      the archive and missing handling of builddir!=srcdir case.
      
      Reviewed-by: schreiberal
      6634816b
    • 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
    • Iustin Pop's avatar
      Activate logical volumes at Assemble() time · 5574047a
      Iustin Pop authored
      This patch changes the Assemble() method for logical volumes from a noop
      to do a `lvchange -ay` on the logical volume; this ensures that if the
      logical volume is not active, we are able to activate and use it.
      
      Reviewed-by: imsnah
      5574047a
    • Iustin Pop's avatar
      Improve speed of activating block devs · be1ba2bd
      Iustin Pop authored
      This patch fixes the double attach operation in bdev.AttachOrAssemble,
      which was an indentation mistake in the first place.
      
      Reviewed-by: imsnah
      be1ba2bd
    • Iustin Pop's avatar
      Add unittest for DRBD8 drdbsetup show parser · 3840729d
      Iustin Pop authored
      This patch changes the bdev.DRBD8._GetDevInfo to take a string instead
      of a minor, separates the `drbdsetup show` invocation into a new
      separate method (bdev.DRBD8._GetShowData) and modifies the rest of the
      DRBD8 class to make the appropriate calls.
      
      It also adds a unittest script and data files for testing various cases
      of device output.
      
      Reviewed-by: imsnah
      3840729d
  10. Dec 28, 2007
  11. Dec 27, 2007
  12. Dec 21, 2007
  13. Dec 20, 2007
Loading