Skip to content
Snippets Groups Projects
  1. Jan 29, 2013
  2. Dec 27, 2012
  3. Nov 21, 2012
  4. Oct 16, 2012
  5. Dec 01, 2011
  6. Oct 31, 2011
  7. Oct 13, 2011
  8. Sep 13, 2010
  9. Jul 30, 2010
  10. Mar 12, 2010
  11. Nov 30, 2009
  12. Nov 03, 2009
  13. Sep 16, 2009
  14. Aug 06, 2009
  15. Aug 05, 2009
  16. May 21, 2009
    • Iustin Pop's avatar
      Export more instance information in hooks · 67fc3042
      Iustin Pop authored
      
      Currently we miss in hooks the instance's hypervisor, hypervisor
      parameters and backend parameters. This forces hooks to query back into
      ganeti, which is dangerous due to possible luxi sockets exhaustion.
      
      This patch adds these three as INSTANCE_HYPERVISOR, INSTANCE_HV_*,
      INSTANCE_BE_*. The hook environment prefixes all keys with “GANETI”, so
      a default settings for a xen-pvm instance would be:
      
        GANETI_INSTANCE_HV_initrd_path=
        GANETI_INSTANCE_HV_kernel_args=ro
        GANETI_INSTANCE_HV_kernel_path=/boot/vmlinuz-2.6-xenU
        GANETI_INSTANCE_HV_root_path=/dev/sda1
      
      Any dashes in parameter names are changed to underscores, since
      variables with dashes are not easy to access from the shell
      (alternatively we could deny those via an unittest for constants.py).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      67fc3042
  17. Jun 23, 2008
  18. May 07, 2008
  19. Mar 18, 2008
    • Michael Hanselmann's avatar
      Add function to write cluster SSH key to known_hosts file · 75a5f456
      Michael Hanselmann authored
      The whole Ganeti cluster has a single SSH key. Its fingerprint is
      written to Ganeti's known_hosts file, together with an alias. This
      allows us to always use that alias instead of the real hostname,
      making management of the known_hosts file much easier.
      
      This patch does not handle an upgrade from an earlier version.
      
      Reviewed-by: ultrotter
      75a5f456
  20. Feb 26, 2008
  21. Feb 14, 2008
  22. Oct 12, 2007
  23. Sep 13, 2007
  24. Jul 16, 2007
Loading