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. 07 Feb, 2014 1 commit
  3. 16 Jan, 2014 1 commit
  4. 20 Dec, 2013 2 commits
  5. 17 Dec, 2013 3 commits
  6. 11 Dec, 2013 1 commit
    • Dimitris Aragiorgis's avatar
      Do not clear disk.params in UpgradeConfig() · 54666867
      Dimitris Aragiorgis authored
      Commits 5dbee5ea and cce46164
      
       fix disk upgrades concerning params
      slot. Since 2.7 params slot should be empty and gets filled
      any time needed.
      
      Still ext template allows passing arbitrary params per disk.
      These params should be saved in config file for future use.
      For instance if we have the shared-filer provider and we
      specify shared_dir param during instance create, this param
      is needed when we want to attach the disk e.g., during
      retrieving instance info. If it gets overridden during a daemon
      restart or a config reload we fail to get the instance's info.
      
      To avoid such a failure, we set params slot to an empty dict
      only if params not found in the first place.
      Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
      Signed-off-by: default avatarMichele Tartara <mtartara@google.com>
      Reviewed-by: default avatarMichele Tartara <mtartara@google.com>
      54666867
  7. 05 Dec, 2013 1 commit
  8. 29 Nov, 2013 1 commit
  9. 14 Nov, 2013 1 commit
  10. 11 Nov, 2013 1 commit
  11. 24 Oct, 2013 1 commit
  12. 11 Oct, 2013 2 commits
  13. 07 Oct, 2013 1 commit
  14. 02 Oct, 2013 1 commit
  15. 24 Sep, 2013 3 commits
  16. 29 Aug, 2013 1 commit
  17. 28 Aug, 2013 2 commits
  18. 27 Aug, 2013 1 commit
  19. 23 Aug, 2013 1 commit
  20. 07 Aug, 2013 2 commits
  21. 29 Jul, 2013 1 commit
  22. 15 Jul, 2013 2 commits
  23. 03 Jul, 2013 1 commit
  24. 02 Jul, 2013 1 commit
  25. 13 Jun, 2013 1 commit
    • Thomas Thrainer's avatar
      Index nodes by their UUID · 1c3231aa
      Thomas Thrainer authored
      
      
      No longer index nodes by their name but by their UUID in the cluster
      config. This change changes large parts of the code, as the following
      adjustments were necessary:
       * Change the index key to UUID in the configuration and the
         ConfigWriter, including all methods.
       * Change all cross-references to nodes to use UUID's.
       * External interfaces (command line interface, IAllocator interface,
         hook scripts, etc.) are kept stable.
       * RPC-calls can resolve UUID's as target node arguments, if the RPC
         runner is based on a ConfigWriter instance. The result dictionary is
         presented in the form the nodes are addressed: by UUID if UUID's were
         given, or by name if names were given.
       * Node UUID's are resolved in ExpandNames and then stored in the
         OpCode. This allows to check for node renames if the OpCode is
         reloaded after a cluster restart. This check is currently only done
         for single node parameters.
       * Variable names are renamed to follow the following pattern:
         - Suffix is 'node' or 'nodes': Variable holds Node objects
         - Suffix is 'name' or 'names': Variable holds node names
         - Suffix is 'uuid' or 'uuids': Variable holds node UUID's
       * Tests are adapted.
      Signed-off-by: default avatarThomas Thrainer <thomasth@google.com>
      Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
      1c3231aa
  26. 28 May, 2013 2 commits
  27. 23 May, 2013 1 commit
  28. 29 Apr, 2013 2 commits
  29. 24 Apr, 2013 1 commit