Skip to content
Snippets Groups Projects
  1. Sep 15, 2011
  2. Aug 25, 2011
  3. Aug 08, 2011
  4. Jul 29, 2011
  5. Jul 25, 2011
  6. Jul 15, 2011
  7. Jul 11, 2011
    • Iustin Pop's avatar
      Reverts the patch series about console wrappers · 7238edb5
      Iustin Pop authored
      
      This reverts commits 030a9cb8 and
      ae082df0.
      
      There are two problems:
      
      - Makefile.am breakage, which is trivial to revert
      - unittest breakage, which honestly I'm not sure how to fix and how
        serial consoles interact with the unpause helper
      
      After the reset, the startup --paused still works but won't unpause
      the instance automatically (if I understood the code correctly).
      
      Furthermore, the code also fixes a style issue in hv_kvm.py (too long
      line) introduced by the next commit after the above two.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      7238edb5
  8. Jul 08, 2011
  9. May 10, 2011
  10. Jan 07, 2011
  11. Nov 27, 2010
    • Iustin Pop's avatar
      Add missing paramter and unittests for this case · e695efbf
      Iustin Pop authored
      
      While git-am'ing the blockdev_prefix patch, I modified the hv_xen.py
      file but forgot to amend the patch :(, so here it is.
      
      Furthermore, to detect such inconsistencies in the future, a unittest is
      added that cross-checks the default parameters in constants.py and the
      hypervisor PARAMETERS dict.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      e695efbf
    • 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
  12. Aug 18, 2010
    • Manuel Franceschini's avatar
      Introduce new IPAddress classes · 8b312c1d
      Manuel Franceschini authored
      
      This patch unifies the netutils functions dealing with IP addresses to
      three classes:
      - IPAddress: Common IP address functionality
      - IPv4Address: IPv4 specific functionality
      - IPv6address: IPv6-specific functionality
      
      Furthermore it adds methods to check whether an address is a loopback
      address, replacing the .startswith("127") for IPv4 and adding IPv6
      support.
      
      It also provides the basis for future IPv6 address handling. Methods to
      convert IP strings to their corresponding interger values will allow to
      canonicalize IPv6 addresses.
      
      Signed-off-by: default avatarManuel Franceschini <livewire@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      8b312c1d
  13. Jul 23, 2010
  14. Jul 16, 2010
    • Iustin Pop's avatar
      Add a migration type global hypervisor parameter · e71b9ef4
      Iustin Pop authored
      
      Since migration live/non-live is more stable (e.g.) for Xen-PVM versus
      Xen-HVM, we introduce a new parameter for what mode we should use by
      default (if not overridden by the user, in the opcode).
      
      The meaning of the opcode 'live' field changes from boolean to either
      None (use the hypervisor default), or one of the allowed migration
      string constants. The live parameter of the TLMigrateInstance is still a
      boolean, computed from the opcode field (which is no longer passed to
      the TL).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      e71b9ef4
  15. Jul 09, 2010
  16. Jun 30, 2010
  17. Jun 04, 2010
  18. May 27, 2010
  19. Apr 21, 2010
  20. Mar 23, 2010
    • Iustin Pop's avatar
      Extend the hypervisor API with name-only shutdown · bbcf7ad0
      Iustin Pop authored
      
      Currently the ShutdownInstance method of the hypervisors takes a full
      instance object. However, when doing instance shutdowns from the node
      only, we don't have a full object, just the name.
      
      To handle this use case, we add a new ‘name’ argument to the method,
      which makes the shutdown not use/rely on the ‘instance’ argument. The
      KVM and fake hypervisors need a little bit of work, otherwise the change
      is straightforward.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      bbcf7ad0
  21. Jan 29, 2010
  22. Jan 25, 2010
  23. Jan 04, 2010
  24. Nov 06, 2009
  25. Nov 04, 2009
  26. Nov 03, 2009
  27. Oct 22, 2009
  28. Oct 12, 2009
  29. Oct 09, 2009
    • Guido Trotter's avatar
      Hypervisors: Add retry= to StopInstance · 07b49e41
      Guido Trotter authored
      
      Currently some hypervisors need the stop operations to be retried more
      than once, while other ones only do it in one pass. With this change
      we'll handle retries outside the hypervisor code, but telling whether
      this is the first try or not.
      
      Since this option is not used for now, all hypervisors just return if
      called with retry set to on, maintaining the old behavior. Since the
      fake hypervisor has an idempotent StopInstance call, we avoid returning
      in that case.
      
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarOlivier Tharan <olive@google.com>
      07b49e41
  30. Oct 06, 2009
  31. Oct 05, 2009
    • Jun Futagawa's avatar
      Add support for using the bootloader in xen-pvm · 2f2dbb4b
      Jun Futagawa authored
      
      This patch adds three optional parameters:
        - 'use_bootloader', whether use or not the bootloader
        - 'bootloader_path', absolute path to the bootloader
        - 'bootloader_args', extra arguments to the bootloader
      
      Syntax:
        gnt-cluster modify --hypervisor-parameters \
          xen-pvm:bootloader_path=/usr/bin/pygrub,use_bootloader=False
        gnt-instance modify -H use_bootloader=True instance1.example.com
      
      If use_bootloader is True, each domU can boot with its own kernel
      instead of using the dom0 kernel.
      
      Signed-off-by: default avatarJun Futagawa <jfut@integ.jp>
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: ultortter
      2f2dbb4b
  32. Sep 03, 2009
  33. Aug 10, 2009
Loading