Skip to content
Snippets Groups Projects
  1. Mar 12, 2010
  2. Mar 10, 2010
  3. Mar 08, 2010
  4. Feb 26, 2010
  5. Feb 23, 2010
  6. Feb 22, 2010
  7. Feb 18, 2010
  8. Feb 15, 2010
  9. Jan 26, 2010
  10. Jan 20, 2010
  11. Jan 15, 2010
  12. Jan 14, 2010
  13. Jan 13, 2010
  14. Nov 30, 2009
  15. Nov 25, 2009
  16. Nov 20, 2009
    • Michael Hanselmann's avatar
      Handle EEXIST in utils.RenameFile · a426508d
      Michael Hanselmann authored
      
      This should fix an issue I've seen exactly once during testing. It might have
      been caused by parallel RPC calls to archive jobs.
      
      […] ganeti-noded:112 ERROR Error in RPC call […]
       File "/usr/lib/python2.4/site-packages/ganeti/backend.py", line 2365, in JobQueueRename
         utils.RenameFile(old, new, mkdir=True)
       File "/usr/lib/python2.4/site-packages/ganeti/utils.py", line 322, in RenameFile
         os.makedirs(os.path.dirname(new), mkdir_mode)
       File "/usr/lib/python2.4/os.py", line 159, in makedirs
         mkdir(name, mode)
      OSError: [Errno 17] File exists: '/var/lib/ganeti/queue/archive/0'
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      a426508d
  17. Nov 06, 2009
  18. Nov 05, 2009
  19. Nov 03, 2009
  20. Oct 29, 2009
    • Michael Hanselmann's avatar
      http.auth: Add new function to verify passwords · bf9bd8dd
      Michael Hanselmann authored
      
      This new function supports two schemes for passwords:
      - Old-style cleartext passwords
      - Hashed passwords according to RFC2617 (H(A1))
      
      Schemes are differentiated by their prefix, a concept also
      used in OpenLDAP. Cleartext passwords can no longer start
      with an opening brace ("{") unless they're prefixed with
      "{cleartext}" (case insensitive).
      
      Currently there's no documentation for rapi_users at all.
      It'll be in a consecutive patch.
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      bf9bd8dd
  21. Oct 27, 2009
    • Michael Hanselmann's avatar
      Provide feedback from redistributing configuration · a4eae71f
      Michael Hanselmann authored
      
      This is particularily useful for “gnt-cluster redist-conf”, but
      also for all other cases where the configuration files are
      rewritten on other nodes.
      
      $ gnt-cluster redist-conf
      … Copy of file /var/lib/ganeti/config.data to node … failed: Error while
      executing backend function: [Errno 1] Operation not permitted
      … Error while uploading ssconf files to node …: Error while executing backend
      function: [Errno 1] Operation not permitted
      
      $ gnt-node modify --offline no --force node3.example.com
      … - WARNING: Not enough master candidates (desired 10, new value will be 4)
      … Copy of file /var/lib/ganeti/config.data to node node8.example.com failed:
      Error while executing backend function: [Errno 1] Operation not permitted
      Modified node node3.example.com
       - offline -> True
       - master_candidate -> auto-demotion due to offline
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      a4eae71f
  22. Oct 19, 2009
  23. Oct 15, 2009
  24. Oct 13, 2009
  25. Oct 12, 2009
  26. Oct 09, 2009
Loading