1. 27 Oct, 2011 1 commit
  2. 26 Oct, 2011 1 commit
  3. 05 Oct, 2011 1 commit
  4. 30 Aug, 2011 1 commit
  5. 25 Aug, 2011 1 commit
  6. 04 Aug, 2011 1 commit
  7. 03 Aug, 2011 2 commits
  8. 30 May, 2011 1 commit
    • Apollon Oikonomopoulos's avatar
      Fix argument order in ReserveLV and ReserveMAC · 8785b71b
      Apollon Oikonomopoulos authored
      
      
      ConfigWriter.ReserveLV() and Configwriter.ReserveMAC() called
      TemporaryReservationManager.Reserve() with the ec_id and resource arguments
      swapped. As a result, two reservation attempts for the same resource type
      within the same LU would fail, even if the resources requested were different,
      e.g.:
      
        $ gnt-instance add -t sharedfile -o debootstrap+default \
             --net 0:mac=00:01:02:03:04:00 \
             --net 1:mac=00:01:02:03:04:ff \
             --disk 0:size=2g  test_instance
        Failure: prerequisites not met for this operation:
        error type: resource_not_unique, error details:
        MAC address 00:01:02:03:04:ff already in use in cluster
      
      This patch fixes the argument order in the call to Reserve().
      Signed-off-by: default avatarApollon Oikonomopoulos <apollon@noc.grnet.gr>
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      8785b71b
  9. 25 May, 2011 1 commit
  10. 19 May, 2011 1 commit
  11. 06 May, 2011 1 commit
  12. 05 May, 2011 1 commit
  13. 14 Apr, 2011 1 commit
    • Iustin Pop's avatar
      Prevent ssconf values from having non-string values · 2afc9238
      Iustin Pop authored
      
      
      For whatever reason, my test cluster managed to acquire
      shared_file_storage_dir with a None value, instead of empty
      string. This is not flagged in masterd itself, but the node daemon
      will fail in writing the value to disk, as it calls len() on the
      received value.
      
      Since this is a bad case, we should detect it as soon as possible (we
      basically shouldn't be able to set it), but in the meantime we at
      least prevent ssconf writes with such values.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      2afc9238
  14. 11 Mar, 2011 2 commits
  15. 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
  16. 01 Feb, 2011 2 commits
  17. 28 Jan, 2011 3 commits
  18. 20 Jan, 2011 1 commit
  19. 13 Dec, 2010 1 commit
  20. 09 Dec, 2010 1 commit
  21. 08 Dec, 2010 2 commits
  22. 02 Dec, 2010 2 commits
  23. 30 Nov, 2010 1 commit
  24. 23 Nov, 2010 1 commit
  25. 11 Nov, 2010 2 commits
  26. 01 Nov, 2010 3 commits
  27. 28 Oct, 2010 2 commits
  28. 27 Oct, 2010 1 commit
  29. 26 Oct, 2010 1 commit
    • Iustin Pop's avatar
      Rename node.nodegroup to node.group · f936c153
      Iustin Pop authored
      
      
      In the context of a node, its group has (at least today) only one
      meaning, that is the node's node group. As such, we rename
      node.nodegroup to just node.group.
      
      Note: if we want to keep node in there, it should be at least
      node_group, for consistency with the other node attributes.
      
      Similarly, we rename the OpAddNode nodegroup attribute to group.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      f936c153