Skip to content
Snippets Groups Projects
  1. Jan 13, 2010
  2. Nov 30, 2009
  3. Nov 25, 2009
  4. 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
  5. Nov 06, 2009
  6. Nov 05, 2009
  7. Nov 03, 2009
  8. 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
  9. 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
  10. Oct 19, 2009
  11. Oct 15, 2009
  12. Oct 13, 2009
  13. Oct 12, 2009
  14. Oct 09, 2009
  15. Oct 07, 2009
  16. Oct 02, 2009
  17. Oct 01, 2009
  18. Sep 30, 2009
  19. Sep 29, 2009
  20. Sep 22, 2009
  21. Sep 16, 2009
  22. Sep 11, 2009
  23. Sep 10, 2009
  24. Sep 04, 2009
  25. Sep 03, 2009
  26. Aug 25, 2009
  27. Aug 24, 2009
Loading