1. 23 Mar, 2010 1 commit
  2. 17 Mar, 2010 1 commit
  3. 15 Mar, 2010 2 commits
  4. 12 Mar, 2010 2 commits
    • Michael Hanselmann's avatar
      utils.CreateBackup: Use human-readable instead of seconds since Epoch · 1d466a4f
      Michael Hanselmann authored
      
      
      Seconds since the Epoch are not easily readable by a human. Using a
      formatted timestamp makes it easier (e.g.
      “….backup-2010-03-12_14_02_43.…”). This patch also makes OS logfiles use
      this formatted timestamp.
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      1d466a4f
    • Iustin Pop's avatar
      Improve cluster verify with hypervisor errors · 0cf5e7f5
      Iustin Pop authored
      
      
      In case the hypervisor has issues on one node, currently
      backend.VerifyNode will exit via an exception (two exit paths possible,
      one via HypervisorError from hypervisor.Verify(), and one via RPCFail
      from GetInstanceList). This is bad as it invalidates all other checks of
      that node.
      
      This patch catches these two errors and allows the rest of the
      VerifyNode function to run. This leads to a more complete verify cluster
      run, for example now only real missing LVs are reported, not all of
      them.
      
      The cluster verify is not perfect as it will skip some tests even if it
      has data, but this will require a more complete rewrite (see issue 90).
      
      Also, the patch fixes and improves some error messages in cmdlib.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      0cf5e7f5
  5. 09 Mar, 2010 1 commit
  6. 08 Mar, 2010 8 commits
  7. 22 Feb, 2010 2 commits
  8. 03 Feb, 2010 1 commit
  9. 01 Feb, 2010 1 commit
  10. 25 Jan, 2010 1 commit
  11. 04 Jan, 2010 4 commits
  12. 28 Dec, 2009 1 commit
  13. 14 Dec, 2009 2 commits
  14. 30 Nov, 2009 1 commit
  15. 25 Nov, 2009 1 commit
  16. 11 Nov, 2009 1 commit
  17. 06 Nov, 2009 1 commit
    • Iustin Pop's avatar
      Fix pylint 'E' (error) codes · 6c881c52
      Iustin Pop authored
      
      
      This patch adds some silences and tweaks the code slightly so that
      “pylint --rcfile pylintrc -e ganeti” doesn't give any errors.
      
      The biggest change is in jqueue.py, the move of _RequireOpenQueue out of
      the JobQueue class. Since that is actually a function and not a method
      (never used as such) this makes sense, and also silences two pylint
      errors.
      
      Another real code change is in utils.py, where FieldSet.Matches will
      return None instead of False for failure; this still works with the way
      this class/method is used, and makes more sense (it resembles more
      closely the re.match return values).
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      6c881c52
  18. 05 Nov, 2009 1 commit
    • Michael Hanselmann's avatar
      Add new “daemon-util” script to start/stop Ganeti daemons · f154a7a3
      Michael Hanselmann authored
      
      
      Until now, Ganeti started and stopped its own daemons using custom functions.
      To start, the daemon was just executed and then sent the appropriate signals to
      stop it again. Init scripts would have to pay attention to the PID file and
      other things.
      
      With this patch, a new script is added (“daemon-util”, installed in
      $prefix/lib/ganeti/), centralizing the starting and stopping of daemons. The
      provided example init script is adjusted to use this new script. Ganeti's code
      no longer calls its own init script.
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      f154a7a3
  19. 04 Nov, 2009 1 commit
  20. 03 Nov, 2009 4 commits
  21. 02 Nov, 2009 2 commits
  22. 22 Oct, 2009 1 commit