1. 08 Dec, 2010 4 commits
  2. 07 Dec, 2010 1 commit
  3. 01 Dec, 2010 2 commits
  4. 29 Nov, 2010 2 commits
  5. 27 Nov, 2010 1 commit
    • Maciej Bliziński's avatar
      Adding blockdev_prefix to hypervisor options · 525011bc
      Maciej Bliziński authored
      
      
      Allows to install Red Hat based systems, for example Oracle Linux.
      Tested with OEL.
      
      The hypervisor by default offers a device named 'sda'.  If the SCSI
      module is already loaded, the disk device can't be created due to naming
      conflict, and the disk is not available.  A workaround is to modify the
      initrd by removing the scsi driver from it.  This helps, but doesn't
      allow to install the OS.
      
      Red Hat's installer, anaconda, runs parted, which tries to execute a
      check against /dev/sda and fails.  This makes anaconda think that the
      disk is faulty, and not available.  The best way to work around this, is
      to declare 'xvda' as the xen disk device.  Red Hat version of parted
      package contains a patch which makes parted skip the SCSI test if device
      name starts with 'xvd'.
      
      This patch allows to pass -H xen-pvm:blockdev_prefix="xvd" and
      successfully run the Red Hat installer.
      Signed-off-by: default avatarMaciej Bliziński <blizinski@google.com>
      [iustin@google.com: added the new parameter to XenHvm PARAMS]
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      525011bc
  6. 25 Nov, 2010 1 commit
  7. 22 Nov, 2010 1 commit
  8. 19 Nov, 2010 1 commit
  9. 10 Nov, 2010 1 commit
  10. 28 Oct, 2010 2 commits
    • Michael Hanselmann's avatar
      Add support and checks for version in LUXI · e986f20c
      Michael Hanselmann authored
      
      
      A new constant, LUXI_VERSION, is used to verify the peer's version. The
      version is optional, so old(er) clients and servers talking to peers not
      supporting it won't break. Example with mismatching library:
      
      $ gnt-instance list
      Unhandled Ganeti error: LUXI version mismatch, server 2020000, request
      1010000
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      e986f20c
    • Iustin Pop's avatar
      Add support for vm_capable in cluster verify · 8964ee14
      Iustin Pop authored
      
      
      The method to make vm_capable integrate easily into cluster verify is as follows:
      
      - we add a new NV_VMNODES that represents *non*-vm-capable nodes
      - the LU populates this list (it's expected that non-vm_capable nodes
        are few compared to vm_capable nodes)
      - backend skips the checks that are related to VM hosting
      - in the LU, we reorder the VM-related checks so that they occur after
        the non-VM (generic) tests, and we only execute them conditionally
      
      Additionally, we add some support to the instance checks to detect
      instances living on bad nodes.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      8964ee14
  11. 26 Oct, 2010 2 commits
  12. 22 Oct, 2010 1 commit
  13. 05 Oct, 2010 1 commit
    • Miguel Di Ciurcio Filho's avatar
      kvm: Introduce support for -mem-path · 4f958b0b
      Miguel Di Ciurcio Filho authored
      
      
      Using hugepages, KVM instances can get a good performance boost. To
      activate that, we need to pass the -mem-path argument to KVM along with
      the mount point of the hugetlbfs file system on the node.
      
      For the sake of memory availability computation, we use the -mem-prealloc
      argument when enabling hugepages, so KVM will reserve all hugepages it
      needs when it starts. This avoids allocating an instance on a node that
      will not have enough pages in case other instance needs more than what
      is available after it boots.
      Signed-off-by: default avatarMiguel Di Ciurcio Filho <miguel.filho@gmail.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      4f958b0b
  14. 30 Sep, 2010 1 commit
  15. 22 Sep, 2010 1 commit
  16. 14 Sep, 2010 1 commit
  17. 13 Sep, 2010 2 commits
  18. 06 Sep, 2010 1 commit
  19. 23 Aug, 2010 1 commit
  20. 19 Aug, 2010 3 commits
  21. 18 Aug, 2010 1 commit
  22. 30 Jul, 2010 2 commits
  23. 23 Jul, 2010 1 commit
  24. 21 Jul, 2010 1 commit
  25. 20 Jul, 2010 1 commit
  26. 19 Jul, 2010 1 commit
    • Iustin Pop's avatar
      Introduce git reference/tag tracking for debugging · 84a12e40
      Iustin Pop authored
      
      
      This patch adds a new vcs-version file that is generated via git (and
      can be adapted if VCS is changed) and then embebbded as VCS_VERSION in
      the constants module.
      
      This means two things:
      - local modifications without committing to git (or when using a tar.gz
        archive + mods) will not be reflected
      - version is fixed at the time of the last make regen-vcs-version (dist time,
        or devel/upload which calls this)
      
      Thus this is more geared at developers rather than end users.
      
      The patch:
      
      - adds rules for generating the vcs-version file
      - adds a dist-hook for re-generating the file (if possible) and copying
        the updated version to the distdir
      - modifies devel/upload to re-generate the file before upload
      
      The output of --version will look like:
      gnt-cluster (ganeti v2.2.0beta0-184-gebca7e6) 2.2.0~beta0
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      84a12e40
  27. 16 Jul, 2010 2 commits
  28. 15 Jul, 2010 1 commit