Skip to content
Snippets Groups Projects
  1. Oct 12, 2009
  2. 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
  3. Sep 29, 2009
  4. Sep 25, 2009
  5. Sep 24, 2009
  6. Sep 21, 2009
  7. Sep 18, 2009
  8. Sep 16, 2009
  9. Sep 15, 2009
  10. Sep 11, 2009
  11. Sep 10, 2009
  12. Sep 04, 2009
  13. Sep 03, 2009
  14. Sep 02, 2009
  15. Aug 31, 2009
  16. Aug 28, 2009
  17. Aug 25, 2009
  18. Aug 24, 2009
  19. Aug 21, 2009
  20. Aug 12, 2009
  21. Aug 11, 2009
  22. Aug 10, 2009
  23. Aug 07, 2009
  24. Aug 05, 2009
    • Guido Trotter's avatar
      ConfigObject.ToDict() only export non-None values · 4c14965f
      Guido Trotter authored
      
      The method is changed to a normal loop, to avoid calling getattr()
      twice. Also __getstate__ is changed to just use ToDict() by default.
      
      This should also make __getstate__ work for objects which have to
      override the ToDict function because they contain other objects.
      
      __setstate__ is probably still broken in this case, but so it was
      before, and it's not used inside our code, so I'll pretend not to have
      noticed, as there is no "nice" way to fix it, without overriding it all
      over the place :(
      
      Some unittests are added as a bonus, to make sure we behave well.
      
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      4c14965f
  25. Aug 04, 2009
    • Iustin Pop's avatar
      Simplify the devel/upload script · c5159571
      Iustin Pop authored
      
      Instead of multiple uploads to each node, this script copies everything
      as needed to the temporary directory, exactly as to be installed in the
      destination machine, then runs only one rsync per host.
      
      This is more dangerous (we can break /etc now), but for development
      machines is fine.
      
      The patch then also uploads the bash completions and the current name
      for the cron job (I think that ganeti-master-cron is a deprecated name,
      not that someone actually intends to upload a file named like that). A
      flag --no-cron is added to skip uploading the cron file if desired.
      
      The patch also changes rsync to propagate the file permissions.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      c5159571
  26. Jul 29, 2009
  27. Jul 27, 2009
  28. Jul 07, 2009
  29. Jun 08, 2009
  30. May 12, 2009
    • Iustin Pop's avatar
      New hypervisor implementation: chroot manager · 48297fa2
      Iustin Pop authored
      
      This patch adds a new hypervisor implementation: a chroot manager. This
      hypervisor type can be used to manage (in combination with special OS
      definitions) the start and stop of chroot areas, and if used with drbd
      instances, it allows (via failover) the migration of chroots between
      nodes.
      
      This is a work in progress, and the way chroots should work is not very
      clear and does not fit very well in the OS definition framework.
      However, the hypervisor works and (if the sshd in the chroot is well
      configured) it allows login to the instance both via ssh and console as
      for a normal instance.
      
      TODOs:
        - implement instance IP add/remove to/from the bridge, if the instance
          has a defined IP
        - investigate improvements to the OS API so that the create script has
          more information available, e.g. about the hypervisor type
        - mount extra disks in the chroot or alternatively refuse to start
          with more than one disk
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      48297fa2
Loading