1. 13 Feb, 2014 1 commit
    • 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
        unspecified.
      
      * 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>
      8a5d326f
  2. 16 Jan, 2014 1 commit
  3. 20 Dec, 2013 1 commit
  4. 29 Nov, 2013 1 commit
  5. 14 Nov, 2013 1 commit
  6. 16 Oct, 2013 1 commit
  7. 08 Oct, 2013 3 commits
  8. 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
      'ganeti.utils.version'.
      Signed-off-by: default avatarJose A. Lopes <jabolopes@google.com>
      Reviewed-by: default avatarThomas Thrainer <thomasth@google.com>
      effc1b86
  9. 24 Sep, 2013 2 commits
  10. 19 Jul, 2013 2 commits
  11. 13 Jun, 2013 1 commit
  12. 23 May, 2013 1 commit
  13. 24 Apr, 2013 2 commits
  14. 27 Mar, 2013 1 commit
  15. 27 Dec, 2012 1 commit
  16. 20 Nov, 2012 1 commit
  17. 26 Oct, 2012 1 commit
  18. 15 Jun, 2012 1 commit
  19. 23 May, 2012 1 commit
  20. 05 Aug, 2011 1 commit
  21. 08 Mar, 2011 1 commit
    • Michael Hanselmann's avatar
      cfgupgrade: Fix critical bug overwriting RAPI users file · 87c80992
      Michael Hanselmann authored
      
      
      The cfgupgrade tool was designed to be idempotent, that means it could
      be run several times and still give produce the correct result. Ganeti
      2.4 moved the file containing the RAPI users to a separate directory
      (…/lib/ganeti/rapi/users). If it exists, cfgupgrade would automatically
      move an existing file from …/lib/ganeti/rapi_users and replace it with a
      symlink.
      
      Unfortunately one of the checks for this was incorrect and, when run
      multiple times, replaces the users file at the new location with a
      symlink created during a previous run.
      
      In addition the “--dry-run” parameter to cfgupgrade was not respected.
      Unittests are updated for all these cases.
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      87c80992
  22. 14 Jan, 2011 1 commit
  23. 06 Jan, 2011 1 commit
  24. 29 Nov, 2010 1 commit
  25. 29 Jun, 2010 1 commit