Skip to content
Snippets Groups Projects
  1. Jul 06, 2010
  2. Jun 28, 2010
  3. Apr 20, 2010
  4. Apr 16, 2010
  5. Apr 08, 2010
  6. Mar 23, 2010
  7. Mar 15, 2010
  8. Mar 10, 2010
  9. Mar 09, 2010
    • Iustin Pop's avatar
      Fix redistribute config and offline nodes · 6819dc49
      Iustin Pop authored
      
      We need to manually filter out offline nodes before using
      rpc.call_upload_file and rpc.call_write_ssconf_files, since these method
      are static (they work without a ConfigWriter instance) and thus do not
      know which nodes are offline and which are not).
      
      Note that we add a new ConfigWriter._UnlockedGetOnlineNodeList() method
      rather than hardcoding the filtering of online nodes in _WriteConfig.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      6819dc49
  10. Mar 08, 2010
  11. Jan 04, 2010
  12. Nov 25, 2009
  13. Nov 16, 2009
  14. Nov 13, 2009
  15. Nov 06, 2009
  16. Nov 04, 2009
  17. Nov 03, 2009
  18. 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
  19. Oct 16, 2009
  20. Oct 07, 2009
  21. Oct 02, 2009
  22. Oct 01, 2009
  23. Sep 25, 2009
  24. Sep 24, 2009
  25. Sep 22, 2009
Loading