Skip to content
Snippets Groups Projects
  1. Jun 22, 2011
  2. Jun 01, 2011
  3. May 30, 2011
    • Apollon Oikonomopoulos's avatar
      Fix argument order in ReserveLV and ReserveMAC · fa6347d0
      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>
      fa6347d0
  4. May 13, 2011
  5. May 12, 2011
  6. May 11, 2011
  7. May 10, 2011
  8. May 09, 2011
    • Iustin Pop's avatar
      Some man page updates · 0a68e0ff
      Iustin Pop authored
      
      This adds documentation for both the short and long form of many
      options (which was inconsistent before: in some cases only the short
      form was used, in others only the long form).
      
      Note that the standard this patch adopts is to document both forms as
      such:
      
        {-O|--os-parameters} …
      
      This makes it a bit uglier in complex situations, but the alternatives
      considered were not perfect either. Other suggestions (with patches)
      welcome.
      
      Additionally, it fixes two doc bugs:
      
      - in gnt-cluster.rst, the --prealloc-wipe-disks section was in the
        middle of a paragraph
      - in gnt-instance.rst, a list was not typed correctly, thus it was
        mangled as a single paragraph
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      0a68e0ff
    • Marco Casavecchia's avatar
      Add 2 new variables to the OS scripts environment · 519719fd
      Marco Casavecchia authored
      
      Add INSTANCE_PRIMARY_NODE and INSTANCE_SECONDARY_NODES. These new
      values are useful for OS scripts that needs to know the nodes where
      the instance lives.. or has lived.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      [iustin@google.com: fixed small issue with SECONDARY_NODES]
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      519719fd
Loading