Skip to content
Snippets Groups Projects
  1. May 10, 2012
  2. May 09, 2012
    • Iustin Pop's avatar
      Allow clock skews in certificate verification · f97a7ada
      Iustin Pop authored
      
      Currently we allow for up to NODE_MAX_CLOCK_SKEW time difference
      between nodes in some operations, but not everywhere: SSL certificate
      verification (import/export, both intra and inter-cluster) has a zero
      limit (downwards), and a week upwards. This can cause even
      intra-cluster backup problems, if the source node has a time even two
      seconds in the future.
      
      To fix this, when we verify certificates compare with a time offset
      with the max skew, which fixes the lower bound and reduces the upper
      bound by an insignificant amount (0.04%).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      f97a7ada
  3. May 08, 2012
    • Iustin Pop's avatar
      Correct capitalisation of two Luxi calls · 83c046a2
      Iustin Pop authored
      
      Two Luxi calls have inconsistent an name/value mapping (in the Python
      code):
      
      - REQ_AUTOARCHIVE_JOBS versus AutoArchiveJobs (versus AutoarchiveJobs)
      - REQ_QUEUE_SET_DRAIN_FLAG versus SetDrainFlag (no Queue)
      
      While these are only a consistency issue, let's fix them so that the
      Haskell code (which uses the auto-generated camel-case form) doesn't
      need to handle them case specially, and looks more like the Python
      code (hah, joke!).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      83c046a2
  4. May 04, 2012
  5. Apr 27, 2012
  6. Apr 26, 2012
  7. Apr 19, 2012
  8. Apr 16, 2012
  9. Mar 30, 2012
  10. Mar 28, 2012
  11. Mar 26, 2012
    • Iustin Pop's avatar
      Add trivial tests for gnt-* cli · 30f2802f
      Iustin Pop authored
      
      While testing some other stuff, I realised that the gnt-* commands
      could be broken (as in, the script fails with syntax errors), but make
      check doesn't detect it. Since we have shelltest, we can now add
      trivial tests for this case.
      
      One downside is that starting the scripts seems to be much slower
      than the htools binaries, so we can't add as many tests.
      
      The other downside is that shelltest is now required for all
      development work, but I think this is a small disadvantage compared to
      the increased testing possibilities.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      30f2802f
  12. Mar 22, 2012
  13. Mar 15, 2012
  14. Mar 09, 2012
  15. Mar 07, 2012
  16. Feb 21, 2012
  17. Feb 20, 2012
  18. Feb 17, 2012
Loading