Skip to content
Snippets Groups Projects
  1. Mar 31, 2011
  2. Jan 11, 2011
  3. Sep 03, 2010
  4. Aug 25, 2010
  5. Aug 20, 2010
  6. Aug 19, 2010
  7. Aug 10, 2010
  8. May 10, 2010
  9. May 07, 2010
  10. Apr 22, 2010
  11. Mar 08, 2010
  12. Feb 22, 2010
  13. Feb 18, 2010
    • Iustin Pop's avatar
      Fix ssh host key checking with no-key-check · e66d9f1a
      Iustin Pop authored
      
      In case we add a node with “--no-ssh-key-check”, this should override
      any default yes/ask values in the system-wide (or user) ssh key check.
      
      Currently this only works in batch mode, whereas in non-batch we only
      override a 'no'. The patch fixes SshRunner such that in non-batch mode
      we enforce the value of StrictHostKeyChecking in all cases.
      
      Bug found and initial investigation by Theo Van Dinter.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      e66d9f1a
  14. Dec 16, 2009
    • Iustin Pop's avatar
      Pass --fqdn to ssh hostname checks · 8b2df5f6
      Iustin Pop authored
      
      The cluster verify checks for fqdn are done via address lookups, and
      there we actually use the FQDN. However, for the ssh hostname check
      which is done at node add time, we rely on the default of the “hostname”
      command. And Debian for example recently changed the default to return
      the shortname unless one passes ‘--fqdn’.
      
      This patch is imported from the Debian packaging.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      8b2df5f6
  15. Nov 03, 2009
  16. Sep 25, 2009
    • Iustin Pop's avatar
      Fix the confusing ssh/hostname message in node add · 31821208
      Iustin Pop authored
      
      Before, it used to say:
      
        ssh/hostname verification failed node1.example.com -> hostname mismatch, got
        node2
      
      Now it says for wrong hostnames (maybe too verbose):
      
        ssh/hostname verification failed (checking from node1.example.com): hostname
        mismatch, expected node2.example.com but got node3
      
      And for non-FQDN hostnames:
      
        ssh/hostname verification failed (checking from node1.example.com): hostname
        not FQDN: expected node2.example.com but got node2
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      31821208
  17. Jul 07, 2009
  18. Feb 03, 2009
  19. Dec 14, 2008
  20. Dec 11, 2008
    • Iustin Pop's avatar
      Fix epydoc format warnings · c41eea6e
      Iustin Pop authored
      This patch should fix all outstanding epydoc parsing errors; as such, we
      switch epydoc into verbose mode so that any new errors will be visible.
      
      Reviewed-by: imsnah
      c41eea6e
  21. Oct 20, 2008
  22. Oct 06, 2008
    • Iustin Pop's avatar
      Change SshRunner usage · 56bece1f
      Iustin Pop authored
      Currently the SshRunner uses a SimpleConfigReader instance, however this
      is not best. We change it to use the cluster name directly (and its
      constructor now takes this as parameter, instead of SCR), and its
      callers are change to pass the name directly.
      
      As a consequence, we can now remove the initialization of SCR in
      gnt-cluster (copyfile and command), and instead we query the master for
      the cluster name).
      
      Reviewed-by: imsnah
      56bece1f
  23. Oct 01, 2008
  24. Aug 15, 2008
  25. Aug 13, 2008
    • Michael Hanselmann's avatar
      Fix adding pristine nodes · 51144e33
      Michael Hanselmann authored
      If a node hasn't been part of the cluster before being added it'll not
      have the cluster's SSH key. This patch makes sure to accept those by
      not aliasing the machine name to the cluster name.
      
      Reviewed-by: ultrotter
      51144e33
  26. Apr 01, 2008
  27. Mar 18, 2008
  28. Oct 19, 2007
  29. Oct 16, 2007
    • Iustin Pop's avatar
      Replace more ssh paths with proper constants · 70d9e3d8
      Iustin Pop authored
      The node's ssh keys filenames are now provided as constants; this should
      allow easier customization.
      
      Also, the user's ssh key computing has been abstracted into ssh.py
      
      Reviewed-by: imsnah
      70d9e3d8
Loading