1. 06 Nov, 2009 4 commits
  2. 04 Nov, 2009 2 commits
  3. 03 Nov, 2009 2 commits
  4. 27 Oct, 2009 1 commit
    • 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
  5. 16 Oct, 2009 1 commit
  6. 07 Oct, 2009 1 commit
  7. 02 Oct, 2009 1 commit
  8. 01 Oct, 2009 1 commit
  9. 25 Sep, 2009 4 commits
  10. 24 Sep, 2009 3 commits
  11. 22 Sep, 2009 1 commit
  12. 17 Sep, 2009 1 commit
  13. 03 Sep, 2009 1 commit
  14. 17 Aug, 2009 1 commit
  15. 11 Aug, 2009 1 commit
  16. 10 Aug, 2009 1 commit
  17. 05 Aug, 2009 2 commits
  18. 16 Jul, 2009 2 commits
    • Guido Trotter's avatar
      Add a few more checks to verify config · 9a5fba23
      Guido Trotter authored
      
      
      - Check that the enabled hypervisors list is valid
      - Check that the master node is a valid node
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      9a5fba23
    • Guido Trotter's avatar
      Get rid of the default_hypervisor slot · 066f465d
      Guido Trotter authored
      
      
      Currently we have both a default_hypervisor and an enabled_hypervisors
      list. The former is only settable at cluster init time, while the latter
      can be changed with cluster modify.
      
      This becomes cumbersome in a few ways: at cluster init time for example
      if we pass in a list of enabled hypervisors which doesn't include the
      "default" xen-pvm one, we're also forced to pass a default hypervisor,
      or an error will be reported. It is also currently possible to disable
      the default hypervisor in cluster-modify (with unknown results).
      
      In order to avoid this we get rid of this field altogether, and define
      the "first" enabled hypervisor as the default one. This allows ease of
      changing which one is the default, and at the same time maintains
      coherency.
      
      At configuration upgrade we make sure that the old default is first in
      the list, so that 2.0 cluster defaults are preserved.
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      066f465d
  19. 14 Jul, 2009 1 commit
  20. 07 Jul, 2009 2 commits
  21. 30 Jun, 2009 1 commit
  22. 15 Jun, 2009 2 commits
  23. 10 Jun, 2009 1 commit
  24. 28 May, 2009 1 commit
  25. 06 Apr, 2009 1 commit
    • Iustin Pop's avatar
      Add a new ssconf file with the cluster tags · 5d60b3bd
      Iustin Pop authored
      Since the cluster tags are/should be more-or-less static, add them as an
      ssconf key, so that querying them is possible without creating a
      job/requiring the masterd to be running.
      
      Reviewed-by: imsnah
      5d60b3bd
  26. 27 Feb, 2009 1 commit
    • Iustin Pop's avatar
      Fix some epydoc style issues · 5fcc718f
      Iustin Pop authored
      99% of the epydoc return tags are "@return:", but each of the modified files
      had one "@returns:" line. We fix this for consistency.
      
      Reviewed-by: imsnah
      5fcc718f