1. 30 Jul, 2010 1 commit
  2. 12 Mar, 2010 1 commit
  3. 30 Nov, 2009 1 commit
  4. 03 Nov, 2009 1 commit
  5. 16 Sep, 2009 1 commit
  6. 06 Aug, 2009 1 commit
  7. 05 Aug, 2009 1 commit
  8. 21 May, 2009 1 commit
    • 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
  9. 23 Jun, 2008 1 commit
  10. 07 May, 2008 1 commit
  11. 18 Mar, 2008 1 commit
    • 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
  12. 26 Feb, 2008 1 commit
  13. 14 Feb, 2008 1 commit
  14. 12 Oct, 2007 1 commit
  15. 13 Sep, 2007 1 commit
  16. 16 Jul, 2007 1 commit