1. 15 Apr, 2014 2 commits
  2. 07 Mar, 2014 1 commit
  3. 24 Jan, 2014 1 commit
  4. 17 Jan, 2014 2 commits
  5. 28 Nov, 2013 1 commit
  6. 14 Nov, 2013 3 commits
  7. 31 Oct, 2013 1 commit
  8. 24 Oct, 2013 2 commits
  9. 23 Aug, 2013 1 commit
  10. 22 Aug, 2013 1 commit
  11. 01 Jul, 2013 2 commits
  12. 13 Jun, 2013 2 commits
    • 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
    • Helga Velroyen's avatar
      Add cluster name to instance migration RPC · bc0a2284
      Helga Velroyen authored
      
      
      This fixes a 'FIXME' in the xen hypervisor. The instance
      migration requires the cluster's name. This should come
      from the RPC call, but so far was hackishly taken from
      ssconf. Ssconf is intended to be used by scripts only and
      not by the backend itself.
      Signed-off-by: default avatarHelga Velroyen <helgav@google.com>
      Reviewed-by: default avatarThomas Thrainer <thomasth@google.com>
      bc0a2284
  13. 12 Jun, 2013 6 commits
  14. 04 Feb, 2013 1 commit
  15. 24 Jan, 2013 1 commit
  16. 22 Jan, 2013 1 commit
  17. 14 Jan, 2013 1 commit
  18. 23 Aug, 2012 1 commit
    • Iustin Pop's avatar
      Bump pep8 version to 1.2 · 5ae4945a
      Iustin Pop authored
      
      
      Debian Wheezy will ship with this version, and it has many improved checks compared to 0.6, so let's:
      
      - bump version in the docs
      - silence some new checks that are wrong due to our indent=2 instead of 4
      - fix lots of errors in the code where the indentation was wrong by 1
        or 2 spaces
      - fix a few cases of == True, False, None and replace with 'is'
      - re-indent some cases where the code is OK, but pep8 complains
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      5ae4945a
  19. 20 Jan, 2012 1 commit
  20. 17 Jan, 2012 1 commit
  21. 20 Oct, 2011 1 commit
  22. 29 Sep, 2011 1 commit
    • Andrea Spadaccini's avatar
      Make migration RPC non-blocking · 6a1434d7
      Andrea Spadaccini authored
      
      
      To add status reporting for the KVM migration, the instance_migrate RPC
      must be non-blocking. Moreover, there must be a way to represent the
      migration status and a way to fetch it.
      
      * constants.py:
        - add constants representing the migration statuses
      
      * objects.py:
        - add the MigrationStatus object
      
      * hypervisor/hv_base.py
        - change the FinalizeMigration method name to FinalizeMigrationDst
        - add the FinalizeMigrationSource method
        - add the GetMigrationStatus method
      
      * hypervisor/hv_kvm.py
        - change the implementation of MigrateInstance to be non-blocking
          (i.e. do not poll the status of the migration)
        - implement the new methods defined in BaseHypervisor
      
      * backend.py, server/noded.py, rpc.py
        - add methods to call the new hypervisor methods
        - fix documentation of the existing methods to reflect the changes
      
      * cmdlib.py
        - adapt the logic of TLMigrateInstance._ExecMigration to reflect
          the changes
      Signed-off-by: default avatarAndrea Spadaccini <spadaccio@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      6a1434d7
  23. 30 Aug, 2011 1 commit
  24. 25 Aug, 2011 2 commits
  25. 08 Aug, 2011 1 commit
  26. 25 Jul, 2011 1 commit
  27. 08 Jul, 2011 1 commit