1. 24 Apr, 2014 1 commit
  2. 06 Mar, 2014 1 commit
  3. 20 Dec, 2013 1 commit
  4. 14 Nov, 2013 1 commit
    • Thomas Thrainer's avatar
      Don't allow optional node parameters · 07e68848
      Thomas Thrainer authored
      
      
      Ganeti does not support optional fields in parameters
      (hypervisor-params, disk-params, etc.). OpenVSwitch related node
      parameters were the exception to this rule, which caused numerous
      problems related to import/export and (de-)serialization.
      
      The reason for making those parameters optional in the first place was to
      disallow them when OpenVSwitch is not used. This was not consistent with
      other parts of Ganeti, where we allow parameters to be set even though they
      are not actively used.
      
      This patch makes all node parameters mandatory and provides sensible
      defaults for them. Checks which make sure that certain parameters are
      not set in some cases were removed, and the tests adapted. Also, the
      inheritance logic from cluster -> node group -> node was implemented, as
      it was missing previously.
      Signed-off-by: default avatarThomas Thrainer <thomasth@google.com>
      Reviewed-by: default avatarHrvoje Ribicic <riba@google.com>
      07e68848
  5. 28 Oct, 2013 1 commit
  6. 04 Oct, 2013 1 commit
  7. 18 Sep, 2013 1 commit
  8. 22 Jul, 2013 2 commits
  9. 26 Apr, 2013 1 commit
  10. 22 Apr, 2013 1 commit
  11. 17 Apr, 2013 1 commit
  12. 21 Dec, 2012 1 commit
  13. 20 Dec, 2012 1 commit
  14. 20 Nov, 2012 1 commit
  15. 18 Sep, 2012 1 commit
  16. 15 Jun, 2012 1 commit
  17. 22 Mar, 2012 1 commit
  18. 21 Feb, 2012 1 commit
  19. 20 Oct, 2011 1 commit
  20. 17 Oct, 2011 1 commit
  21. 29 Sep, 2011 1 commit
  22. 30 Aug, 2011 1 commit
  23. 25 Aug, 2011 1 commit
  24. 25 Jul, 2011 1 commit
  25. 27 Jan, 2011 1 commit
    • Iustin Pop's avatar
      cluster verify: add hvparams verification · 58a59652
      Iustin Pop authored
      
      
      Currently, the validity of the hypervisor parameters is only checked
      at init/modification time, and not in the cluster verify. This is bad,
      as it can lead to inconsistent state that is only detected when the
      next modification (which can be unrelated) is made, leading to
      unexpected error messages.
      
      This patch adds both syntax verification (in masterd) and validity
      verification on remote nodes. The downside of the patch is that on
      clusters with many instances which have custom parameters, it will be
      slow. A possible improvement would be to detect duplicate, identical
      set of parameters, and collapse these into a single verification, but
      that is left as a TODO (in case it becomes problematic).
      
      An additional change is in utils.ForceDict, where we said 'key',
      whereas this function is always used with parameter dicts, so I
      changed it to "Unknown parameter".
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      58a59652
  26. 11 Jan, 2011 13 commits
  27. 10 Jan, 2011 1 commit