1. 11 Jul, 2014 1 commit
  2. 25 Jun, 2014 2 commits
  3. 16 Jun, 2014 1 commit
    • Dimitris Aragiorgis's avatar
      Fix gnt-network client to accept vlan info · 2243b133
      Dimitris Aragiorgis authored
      
      
      Until now gnt-network connect expected the network,
      mode, link, and optionally groups as positional arguments.
      
      To be able to pass vlan info too, use the `--nic-parameters`
      option, just like gnt-cluster client to pass the desired
      mode, link, and vlan. Missing values will be filled with the
      default ones.
      
      Do not support old argument passing since mode and link should
      be arguments with variable length and this violates bash completion
      generation rules.
      
      Update QA to pass the new option instead of deprecated arguments.
      Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
      Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
      Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
      2243b133
  4. 10 Jun, 2014 1 commit
  5. 19 May, 2014 1 commit
  6. 16 May, 2014 1 commit
  7. 08 May, 2014 1 commit
  8. 22 Apr, 2014 1 commit
  9. 14 Apr, 2014 1 commit
  10. 11 Mar, 2014 1 commit
    • Hrvoje Ribicic's avatar
      Rename compression option in gnt-backup export · 67f3ee87
      Hrvoje Ribicic authored
      
      
      The gnt-backup export option --compress did not do what most would
      expect upon seeing the name: compress the exported image. Instead, it
      used compression to try and speed up the transfer of the image,
      decompressing it prior to writing the file. To reduce confusion, this
      patch renames the option to --transport-compression. The change can
      still be done in 2.11 as this option was introduced in this version
      only, and it is beneficial as it allows a proper --compress or
      --image-compression option to be added at a later time.
      Signed-off-by: default avatarHrvoje Ribicic <riba@google.com>
      Reviewed-by: default avatarMichele Tartara <mtartara@google.com>
      67f3ee87
  11. 24 Feb, 2014 3 commits
  12. 14 Feb, 2014 1 commit
  13. 31 Jan, 2014 1 commit
  14. 24 Jan, 2014 2 commits
  15. 23 Jan, 2014 1 commit
  16. 20 Jan, 2014 1 commit
  17. 13 Jan, 2014 2 commits
  18. 09 Jan, 2014 1 commit
    • Michele Tartara's avatar
      Improve backwards compatibility of Issue 649 fix · 02a6b50a
      Michele Tartara authored
      Commit e6e4ff4c
      
       fixed Issue 649 by switching the
      separator for usb_devices from comma to space. That solved the problem with
      the command line, but RAPI was able to work with commas too, so, for backwards
      compatibility we need to keep supporting that as well.
      
      Also, in order to avoid changing the format of the config file, the default
      internal representation is brought back to being comma-based, and it is changed
      at the interface level (CLI or RAPI) before being passed on.
      Signed-off-by: default avatarMichele Tartara <mtartara@google.com>
      Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
      02a6b50a
  19. 07 Jan, 2014 1 commit
  20. 20 Dec, 2013 1 commit
    • Helga Velroyen's avatar
      Verify incoming RPCs against candidate map · b3cc1646
      Helga Velroyen authored
      
      
      From this patch on, incoming RPC calls are checked against
      the map of valid master candidate certificates. If no map
      is present, the cluster is assumed to be in
      bootstrap/upgrade mode and compares the incoming call
      against the server certificate. This is necessary, because
      neither at cluster initialization nor at upgrades from
      pre-2.11 versions a candidate map is established yet.
      
      After an upgrade, the cluster RPC communication continues
      to use the server certificate until the client certificates
      are created and the candidate map is populated using
      'gnt-cluster renew-crypto --new-node-certificates'.
      
      Note that for updating the master's certificate, a trick
      was necessary. The new certificate is first created under
      a temporary name, then it's digest is updated and
      distributed using the old certificate, because otherwise
      distribution will fail since the nodes don't know the
      new digest yet. Then the certificate is moved to its
      proper location.
      Signed-off-by: default avatarHelga Velroyen <helgav@google.com>
      Reviewed-by: default avatarHrvoje Ribicic <riba@google.com>
      b3cc1646
  21. 17 Dec, 2013 1 commit
  22. 16 Dec, 2013 1 commit
  23. 03 Dec, 2013 1 commit
  24. 29 Nov, 2013 2 commits
  25. 21 Nov, 2013 1 commit
    • Dimitris Aragiorgis's avatar
      Introduce --hotplug-if-possible option · 96ed3a3e
      Dimitris Aragiorgis authored
      
      
      This will be useful for an external entity using RAPI that
      wants to modify devices of instances.
      
      The common use case for that is:
      "I want to add a NIC/disk to an instance. If it is running
      then try to hotplug the device. If not, then just add it to config."
      
      Another use case is that if we are unaware of the instance's
      hypervisor: "I want do add a NIC/disk to an instance and if
      its hypervisor is KVM try to hotplug it."
      
      For all those cases just print a warning in CheckPrereq() and
      disable any further hotplug related actions (and let
      modifications take place after reboot).
      
      Add NoHoplugSupport and HotplugIfPossible unittests an modify
      existing by explicitly creating successful RPC results for
      call_hotplug_supported.
      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>
      96ed3a3e
  26. 19 Nov, 2013 1 commit
  27. 18 Nov, 2013 1 commit
    • Dimitris Aragiorgis's avatar
      Allow instances to obtain externally reserved IPs · 031d2db1
      Dimitris Aragiorgis authored
      
      
      The administrator should be able to assign an externally reserved IP
      to a Ganeti instance manually, if desired. Currently this is not
      supported. External reservations should act as holes in the pool and
      not just as IPs already used by someone outside of Ganeti.
      Automatic allocation with ip=pool will continue to exclude those IPs
      as happens now.
      
      To allow such functionality the administrator needs to pass explicitly
      the desired IP along with the ``--no-conflicts-check`` option, or else
      an error will be produced as happens now.
      
      The aforementioned require the following changes:
      
       - Make IsReserved() to look either in reservations or external ones.
       - Make Reserve() and Release() to use IsReserved() with external
         argument True or False.
       - Pass extra option to ReserveIp() to bypass checking of external reservations
       - Update man pages and design doc for this change.
      
      Furthermore, a side effect of this patch is that it fixes the
      following problem:
      Currently, one could not mark an IP as external if it was already
      reserved (i.e. belonged to an instance). The code would produce a warning
      and fail silently.
      
      Fix config_mock.py so that if network and ip is given then reserve it in
      the pool.
      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>
      031d2db1
  28. 14 Nov, 2013 2 commits
  29. 31 Oct, 2013 1 commit
  30. 30 Oct, 2013 1 commit
    • Helga Velroyen's avatar
      Remove FIXME + update man pages wrt iallocator · 708f8301
      Helga Velroyen authored
      
      
      This patch removes a FIXME regarding the retrieval
      of the disk template for computation of the cluster
      information for the iallocator. After examining the
      code, I figured out that it is actually a quite
      robust way to just check if the disk template is
      available, in particular with respect to extensions
      of the iallocator.
      
      In this context, I also updated the man pages of
      the operations that use the iallocator, because so
      far it was not well documented which disk template
      is considered when more than one instance was
      allocated. The situation is not ideal (the default
      disk template is used), but it is still better than
      in 2.9. where only LVM storage was considered.
      With the implementation of storage pools, it would
      make sense to extend the iallocator protocol to
      include storage information for more than one
      template.
      Signed-off-by: default avatarHelga Velroyen <helgav@google.com>
      Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
      708f8301
  31. 29 Oct, 2013 3 commits