1. 29 Nov, 2007 2 commits
    • Iustin Pop's avatar
      Replace hardcoded lock dir · 3aecd2c7
      Iustin Pop authored
      This patch replaces the hardcoded ‘/var/lock/’ directory with one based on
      LOCALSTATEDIR.
      
      Reviewed-by: imsnah
      3aecd2c7
    • Iustin Pop's avatar
      Make utils.RunCmd log failures when using debug · f362096f
      Iustin Pop authored
      This patch adds logging of command failures to the debug log in case the
      user either started the command (gnt-*) or the node daemon with the
      debug flag.
      
      Reviewed-by: imsnah
      f362096f
  2. 28 Nov, 2007 2 commits
  3. 27 Nov, 2007 2 commits
    • Iustin Pop's avatar
      Fix logging of some checks in LUClusterVerify · 8522ceeb
      Iustin Pop authored
      Currently, the results of ConfigWriter.VerifyConfig() are lost. Make
      sure we log them too in cluster verify.
      
      Reviewed-by: ultrotter
      8522ceeb
    • Iustin Pop's avatar
      Update install.sgml with the name of the example OS · 5736852e
      Iustin Pop authored
      We want the name of the example OS to be nicer for packagers, so update
      the install documentation accordingly.
      
      Also, put in a notice about using the latest release OS version, so if
      we forget to update this doc, we are not completely wrong.
      
      Reviewed-by: schreiberal
      5736852e
  4. 26 Nov, 2007 6 commits
    • Iustin Pop's avatar
      Revert "Remove extra docdir variable from Makefile.am" · 1d91c392
      Iustin Pop authored
      This reverts commit 397, as the support in autoconf for docdir is
      present since 2.59c, and this is too new for some distributions.
      
      Reviewed-by: imsnah
      1d91c392
    • Iustin Pop's avatar
      Add checking of python modules at ./configure time · 6e06b36c
      Iustin Pop authored
      This patch adds checking for our external python modules at the
      ./configure stage, as it's better to check than rely on documentation.
      
      The patch adds one autoconf macro from the autoconf macro archive
      (http://autoconf-archive.cryp.to)
      
      Reviewed-by: imsnah
      6e06b36c
    • Iustin Pop's avatar
      Drop the Rename method of DRBD8 devices · a70f34d1
      Iustin Pop authored
      Since we now do changes of remote peers in two steps (Attach with no
      network information and then Attach with the new peer's data), we don't
      need this operation anymore.
      
      Reviewed-by: imsnah
      a70f34d1
    • Iustin Pop's avatar
      Split the change of peer in secondary replace in two operations · 642445d9
      Iustin Pop authored
      This patch splits the single operation of replace peer into two distinct
      phases, in order to make a single change to the instance configuration:
        - detach from network
        - if at least one drbd device succeeded, make one change to the
          instance, pointing all disks to the new peer
        - attach to the new peer
      
      This should eliminate the case when a failure in the second reattach can
      leave the instance with two secondaries.
      
      Reviewed-by: imsnah
      642445d9
    • Iustin Pop's avatar
      Relax even more the identification of DRBD8 devices · 9cdbe77f
      Iustin Pop authored
      This patch adds a new success condition for identifying DRBD8 devices:
      if the local device is correct, but the network peer is not, we shutdown
      the network and attach to the correct one (this also handles going to
      standalone mode).
      
      This new check (and its actions) is based on the fact that we don't pass
      incorrect data from the master to the node (otherwise we could start
      syncing with an incorrect peer.
      
      Reviewed-by: imsnah
      9cdbe77f
    • Iustin Pop's avatar
      Add support for DRBD8 devices to work standalone · 52857176
      Iustin Pop authored
      This patch adds a check in _AssembleNet so that if we are passed None
      value in the unique_id, we instead switch to standalone mode.
      
      Reviewed-by: imsnah
      52857176
  5. 22 Nov, 2007 7 commits
  6. 21 Nov, 2007 9 commits
  7. 20 Nov, 2007 3 commits
  8. 19 Nov, 2007 1 commit
  9. 16 Nov, 2007 4 commits
  10. 15 Nov, 2007 2 commits
  11. 14 Nov, 2007 2 commits
    • Guido Trotter's avatar
      When an assembly error occurs log it too · 20a0c9ef
      Guido Trotter authored
      Right now an assembly error produces an exception but not a log message. This
      is bad because the exception suggests looking at the log, but the log itself
      has a lot of errors which are not really a problem and only some which really
      is. In order to make it clear where in the log the problem occurred we log a
      message too, before raising the exception.
      
      Reviewed-by: iustinp
      20a0c9ef
    • Michael Hanselmann's avatar
      Use setUp/tearDown for tests using temporary files. · ebe8ef17
      Michael Hanselmann authored
      Reviewed-by: schreiberal
      ebe8ef17