1. 16 May, 2011 1 commit
  2. 12 May, 2011 1 commit
  3. 09 May, 2011 3 commits
  4. 18 Apr, 2011 1 commit
  5. 06 Apr, 2011 2 commits
    • Michael Hanselmann's avatar
      LUInstanceQueryData: Don't acquire locks unless requested · dae661a4
      Michael Hanselmann authored
      
      
      Until now LUInstanceQueryData always acquired locks for the instance(s)
      and nodes involved. In combination with long-running operations this
      prevented the use of “gnt-instance info”, even with the “--static”
      option. With this patch, locks are only acquired when explicitely
      requested in the opcode (like all query operations).
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      dae661a4
    • René Nussbaumer's avatar
      TLMigrateInstance: Merge failover code, allow fallback · d5cafd31
      René Nussbaumer authored
      
      
      As the code for failover for checking is almost identical it's an easy
      task to switch it over to the TLMigrateInstance. This allows us to
      fallback to failover if migrate fails prereq check for some reason.
      
      Please note that everything from LUInstanceFailover.Exec is taken over
      unchanged to TLMigrateInstance._ExecFailover, only with adaption to
      opcode fields and variable referencing, but not in logic. There still
      needs to go some effort into merging the logic with the migration (for
      example DRBD handling). But this should happen in a separate iteration.
      Signed-off-by: default avatarRené Nussbaumer <rn@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      d5cafd31
  6. 25 Mar, 2011 1 commit
  7. 15 Mar, 2011 1 commit
  8. 11 Mar, 2011 1 commit
  9. 09 Mar, 2011 2 commits
  10. 08 Mar, 2011 1 commit
  11. 01 Mar, 2011 1 commit
    • Apollon Oikonomopoulos's avatar
      Core shared file storage support · 4b97f902
      Apollon Oikonomopoulos authored
      
      
      This patch introduces core file storage support, consisting of the following:
      
      A configure-time switch for enabling/disabling shared file storage
      support and controlling the shared file storage location:
      --with-shared-file-storage-dir=.  Shared file storage configuration is then
      available as _autoconf.ENABLE_SHARED_FILE_STORAGE and
      _autoconf.SHARED_FILE_STORAGE_DIR and there is a cluster-wide ssconf
      key named "shared_file_storage_dir" for changing the file location.
      
      A new disk template named "sharedfile" (DT_SHARED_FILE), using
      ganeti.bdev.FileStorage.
      
      Auxiliary functions in lib/config.py to handle shared file storage.
      Signed-off-by: default avatarApollon Oikonomopoulos <apollon@noc.grnet.gr>
      [iustin@google.com: small style fixes]
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      4b97f902
  12. 16 Feb, 2011 1 commit
  13. 15 Feb, 2011 2 commits
  14. 04 Feb, 2011 3 commits
  15. 31 Jan, 2011 1 commit
  16. 26 Jan, 2011 1 commit
  17. 25 Jan, 2011 1 commit
  18. 24 Jan, 2011 1 commit
  19. 18 Jan, 2011 15 commits