1. 17 Jul, 2014 1 commit
  2. 10 Jul, 2014 1 commit
  3. 07 Jul, 2014 1 commit
  4. 02 Jul, 2014 1 commit
  5. 18 Jun, 2014 1 commit
  6. 10 Jun, 2014 1 commit
  7. 06 Jun, 2014 1 commit
    • Luka Blaskovic's avatar
      Add support for KVM multiqueue virtio-net · 47eca2c6
      Luka Blaskovic authored
      This patch adds support for multiqueue virtio-net[1] which sets a number of
      queues (file descriptors) from virtio_net_queues parameter for tap device
      to parallelize packets sending or receiving. Tap devices will be created with
      KVM paravirtual nics (virtio-net) are only one which supports this feature.
      Number of queues are limited by kernel tap implementation (currently to 8).
      Instances must manually set number of queues, on Linux using:
      ethtool -L ethX combined $queues
      Network device options logic is moved to separate method
      _GetNetworkDeviceFeatures which is now properly reused in hotplugging part.
      This also fixes unreported bug when vhost_net parameter is set to true,
      hotplugged network device will be created without "vhost=on" parameter.
      [1] http://www.linux-kvm.org/page/Multiqueue
      Signed-off-by: default avatarLuka Blaskovic <lblasc@znode.net>
      Reviewed-by: default avatarJose A. Lopes <jabolopes@google.com>
  8. 05 Jun, 2014 1 commit
  9. 04 Jun, 2014 1 commit
    • Klaus Aehlig's avatar
      Relax times · 7cd05067
      Klaus Aehlig authored
      As lock allocation is now inter-process communication, increase
      the minimal time we allow ourself for obtaining a lock. Also,
      increase polling frequency by an order of magnitude. The latter
      is safe, as we do not require on polling any more to get the
      locks assigned.
      Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
      Reviewed-by: default avatarPetr Pudlak <pudlak@google.com>
  10. 02 Jun, 2014 1 commit
  11. 30 May, 2014 1 commit
  12. 29 May, 2014 1 commit
  13. 16 May, 2014 1 commit
  14. 14 May, 2014 2 commits
  15. 13 May, 2014 3 commits
  16. 05 May, 2014 1 commit
    • Ilias Tsitsimpis's avatar
      Implement getDisks in Confd · 31b430c5
      Ilias Tsitsimpis authored
      Add 'ReqInstanceDisks' request type and allow Confd to query for the
      disks of an instance. The helper function 'getInstanceDisks' returns the
      list of instances on the given node along with their disks and is used
      by the function 'addInstNameToLv'.
      Update the test's data file 'instance-prim-sec' and rename it to
      'instance-disks' as it doesn't return the primary and secondary
      instances of a node any more, but it returns the instances and their
      Signed-off-by: default avatarIlias Tsitsimpis <iliastsi@grnet.gr>
      Reviewed-by: default avatarJose A. Lopes <jabolopes@google.com>
  17. 24 Apr, 2014 3 commits
  18. 17 Apr, 2014 2 commits
  19. 08 Apr, 2014 2 commits
  20. 03 Apr, 2014 1 commit
  21. 02 Apr, 2014 1 commit
  22. 24 Mar, 2014 1 commit
    • Dimitris Aragiorgis's avatar
      kvm: Add migration capabilities as an hvparam · 937ff984
      Dimitris Aragiorgis authored
      Latest QEMU versions support various migration capabilities. Each
      can be enabled/disabled with 'migrate_set_capability' monitor
      Version 1.7.0 defines x-rdma-pin-all, auto-converge, zero-blocks,
      and xbzrle migration capabilities.
      Since migration capabilities are more than one, and because hvparams
      accept only strings/integers and not dicts we decide to provide
      the capabilities that should be on via a ":" separated string.
      In other words one can use the following to enable xbzrle and
      -H kvm:migration_caps=xbzrle:auto-converge
      IMPORTANT: xbzrle may result to BSOD for instances running
      Windows 2008r8 on drbd.
      Update man page of gnt-instance to include the new hvparam.
      Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
      Signed-off-by: default avatarThomas Thrainer <thomasth@google.com>
      Reviewed-by: default avatarThomas Thrainer <thomasth@google.com>
  23. 11 Mar, 2014 1 commit
  24. 06 Mar, 2014 1 commit
  25. 05 Mar, 2014 2 commits
  26. 27 Feb, 2014 2 commits
  27. 19 Feb, 2014 1 commit
  28. 14 Feb, 2014 2 commits
    • Helga Velroyen's avatar
      Use node UUID as client certificate serial number · ab4b1cf2
      Helga Velroyen authored
      It turns out, that some implementations of OpenSSL are more
      pedantic in checking the certficates than others. In this
      particular case, the SSL connection could not be
      established when the serial number of the certificates
      was not unique.
      To avoid this problem, this patch extends Ganeti's X509
      infrastructure to set the certificate's serial
      number. In case of client certificates, we now use the
      node's UUID as serial number, because the UUIDs are
      assumed to be unique in a cluster. This is however still
      not complying to how SSL was designed to be used, but at
      least it is a lot better than setting every serial number
      to 1, which was used before and is still used for other
      certificates than the client certificate.
      Signed-off-by: default avatarHelga Velroyen <helgav@google.com>
      Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
    • Petr Pudlak's avatar
      Add the WConfD daemon to build configuration files · fb0fa957
      Petr Pudlak authored
      Also list it in the Haskell datatype, constants, Python constants and
      test configuration.
      Signed-off-by: default avatarPetr Pudlak <pudlak@google.com>
      Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
  29. 13 Feb, 2014 1 commit
    • Jose A. Lopes's avatar
      'LUClusterSetParams' creates the instance communication net · d6a7518a
      Jose A. Lopes authored
      Extend 'LUClusterSetParams' to create the user-supplied instance
      communication network in case this network does not exist.  Note that
      if the user-supplied network already exists, nothing needs to be done
      as 'CheckPrereq' already checks this network's configuration.
      With this patch, Ganeti will be able to create the instance
      communication network automatically.  The following example shows the
      command line options that instruct Ganeti to enable the instance
      communication network and, if this network does not exist, then Ganeti
      creates it.
        gnt-cluster modify --instance-communication-network=mynetwork
      The instance communication network can be disabled by setting the
      parameter to the empty string, for example:
        gnt-cluster modify --instance-communication-network=
      This will not destroy the network itself or modify any running
      instances.  This will have to be done manually.
      In this patch:
      * 'LUClusterSetParams._EnsureInstanceCommunicationNetwork' creates and
        connects to all groups the instance communication network by
        resorting the 'OpNetworkAdd' and 'OpNetworkConnect'.
      * 'LUClusterSetParams.ModifyInstanceCommunicationNetwork' compares the
        previous configured 'instance_communication_network' with the
        user-supplied one and determines whether the opcodes is changing the
        configuration, which might require creating the instance
        communication network.
      * Extend 'LUClusterSetParams.Exec' to call
        'ModifyInstanceCommunicationNetwork' and handle the user-supplied
      * Because 'ClusterSetParams' now may return a list of jobs, the type
        of the opcode must be updated in 'Ganeti.OpCodes'.
      * Add network related constants to 'Ganeti.Constants'.
      Signed-off-by: default avatarJose A. Lopes <jabolopes@google.com>
      Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
  30. 12 Feb, 2014 1 commit