1. 13 Feb, 2014 2 commits
    • Jose A. Lopes's avatar
      Add 'instance_communication_parameter' to 'Cluster' · 8a5d326f
      Jose A. Lopes authored
      * Add parameter 'instance_communication_parameter' to the Python
        'ganeti.objects.Cluster' and the Haskell 'Ganeti.Objects.Cluster'.
      * Update Haskell 'QueryClusterInfo' to return also the
        'instance_communication_network' parameter.
      * Update Python 'LUClusterQuery' to return also the
        'instance_communication_network' parameter.
      * Update Python 'ShowClusterConfig' to include information about the
        'instance_commuication_network' parameter
      * Update 'ganeti.objects.Cluster.UpgradeConfig' to ugprade also
        'instance_communication_network' parameter to the empty string, if
      * Update the configuration upgrade tool (i.e., 'tools/cfgupgrade') to
        handle upgrading of the 'instance_communication_network' parameter
        as well as downgrading.
      Signed-off-by: default avatarJose A. Lopes <jabolopes@google.com>
      Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
    • Helga Velroyen's avatar
      Correct test for existance of instances · a21440d8
      Helga Velroyen authored
      Since python interprets an empty dictionary as 'False',
      testing for the existance of the 'instances' field in
      the configuration has to be done by explicitely testing
      for 'None'.
      Signed-off-by: default avatarHelga Velroyen <helgav@google.com>
      Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
  2. 12 Feb, 2014 3 commits
  3. 16 Jan, 2014 2 commits
  4. 08 Jan, 2014 1 commit
  5. 20 Dec, 2013 2 commits
    • Helga Velroyen's avatar
      Verify incoming RPCs against candidate map · b3cc1646
      Helga Velroyen authored
      From this patch on, incoming RPC calls are checked against
      the map of valid master candidate certificates. If no map
      is present, the cluster is assumed to be in
      bootstrap/upgrade mode and compares the incoming call
      against the server certificate. This is necessary, because
      neither at cluster initialization nor at upgrades from
      pre-2.11 versions a candidate map is established yet.
      After an upgrade, the cluster RPC communication continues
      to use the server certificate until the client certificates
      are created and the candidate map is populated using
      'gnt-cluster renew-crypto --new-node-certificates'.
      Note that for updating the master's certificate, a trick
      was necessary. The new certificate is first created under
      a temporary name, then it's digest is updated and
      distributed using the old certificate, because otherwise
      distribution will fail since the nodes don't know the
      new digest yet. Then the certificate is moved to its
      proper location.
      Signed-off-by: default avatarHelga Velroyen <helgav@google.com>
      Reviewed-by: default avatarHrvoje Ribicic <riba@google.com>
    • Helga Velroyen's avatar
      Create client SSL certificates on cluster init · 60cc531d
      Helga Velroyen authored
      This patch makes Ganeti create a client SSL certificate for
      the master node on cluster initialization. Note that some of
      the code in this patch is later moved into an LU to serve
      requirements for crypto renewal and updates, but for this
      point in the patch series it makes sense to add it here.
      Signed-off-by: default avatarHelga Velroyen <helgav@google.com>
      Reviewed-by: default avatarHrvoje Ribicic <riba@google.com>
  6. 29 Nov, 2013 1 commit
  7. 18 Nov, 2013 2 commits
  8. 14 Nov, 2013 1 commit
  9. 16 Oct, 2013 1 commit
  10. 15 Oct, 2013 1 commit
  11. 08 Oct, 2013 2 commits
  12. 07 Oct, 2013 2 commits
  13. 25 Sep, 2013 1 commit
    • Jose A. Lopes's avatar
      Move 'BuildVersion' to 'lib/utils/version.py' · effc1b86
      Jose A. Lopes authored
      Functions 'BuildVersion' and 'SplitVersion' are no longer needed by
      the constants and, given that they are not constants, they should be
      moved elsewhere.  Since they are only used by 'cfgupgrade' and tests,
      these functions are moved to 'lib/utils/version.py' and references to
      them updated.  Note that in 'lib/server/masterd.py', local variable
      'version' is renamed 'ver' to avoid redefining the import
      Signed-off-by: default avatarJose A. Lopes <jabolopes@google.com>
      Reviewed-by: default avatarThomas Thrainer <thomasth@google.com>
  14. 24 Sep, 2013 1 commit
  15. 09 Sep, 2013 1 commit
  16. 26 Jul, 2013 1 commit
  17. 18 Jul, 2013 1 commit
  18. 16 Jul, 2013 1 commit
  19. 20 Jun, 2013 1 commit
  20. 19 Jun, 2013 1 commit
    • Michele Tartara's avatar
      Version bump to 2.9.0~alpha1 · ea2ee4b0
      Michele Tartara authored
      Bump the version number to 2.9.0~alpha1.
      This also requires updating version numbers in cfgupgrade tool.
      Furthermore, a data file for test representing a 2.8 configuration had the
      version number set to 2.7 in order to prevent tests failing while the current
      branch was artificially kept behind its actual version number. Now that alpha
      versions are possible, it can be moved back to 2.8 as it was supposed to be.
      Signed-off-by: default avatarMichele Tartara <mtartara@google.com>
      Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
  21. 18 Jun, 2013 3 commits
  22. 13 Jun, 2013 1 commit
  23. 28 May, 2013 2 commits
  24. 23 May, 2013 2 commits
  25. 29 Apr, 2013 1 commit
  26. 24 Apr, 2013 2 commits
  27. 27 Mar, 2013 1 commit