Skip to content
Snippets Groups Projects
  1. Apr 27, 2012
    • Iustin Pop's avatar
      Silence Paramiko deprecation warnings · 3ec10f0d
      Iustin Pop authored
      This works around a problem in Paramiko, but which looks like it's a
      Ganeti problem:
      
      [cluster] root@node4:~# gnt-node add --readd node3
      /usr/lib/python2.6/dist-packages/Crypto/Util/randpool.py:40:
      RandomPool_DeprecationWarning: This application uses RandomPool, which
      is BROKEN in older releases.  See http://www.pycrypto.org/randpool-broken
      
      
        RandomPool_DeprecationWarning)
      
      To silence this, we do an ugly thing (since Python 2.4 doesn't support
      context managers): manually reset the warnings filter, which resets
      any -W command line flags (hopefully noone calls this tool manually so
      often).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      3ec10f0d
  2. Apr 26, 2012
  3. Apr 23, 2012
  4. Apr 20, 2012
  5. Apr 19, 2012
  6. Apr 18, 2012
  7. Apr 17, 2012
  8. Apr 16, 2012
  9. Apr 13, 2012
Loading