Skip to content
Snippets Groups Projects
  1. Apr 22, 2010
    • Michael Hanselmann's avatar
      Merge branch 'devel-2.1' · a91143f1
      Michael Hanselmann authored
      
      * devel-2.1:
        SSH: do not check IPs
        Add separate module for backported language functionality
        Add make commit-check target
        burnin: skip migration based on hypervisor support
        Add a hypervisor constant for migration support
        LUSetClusterParams: initialize needed parameters
        hv_chroot: move unmount to CleanupInstance()
        Fix indentation error
        utils: Add function for partial application of function arguments
        gnt-instance info: sort the hv parameters
        Only use boot=on on non-ide disks only (KVM)
        Add -usbdevice tablet to KVM when using vnc
        KVM: fix a bug in _TryReadUidFile
        Fix RAPI client methods return values
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      a91143f1
    • Iustin Pop's avatar
      SSH: do not check IPs · b427788e
      Iustin Pop authored
      
      Since we use the cluster name for the SSH known_hosts file, ssh will
      always detect a changed IP (since we never connect to the cluster master
      name, but the node names), and will complain about it/try to update the
      user known hosts file (since that is /dev/null, it doesn't matter, but
      it's not nice). So we disable the IP check.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      b427788e
  2. Apr 21, 2010
  3. Apr 20, 2010
  4. Apr 19, 2010
  5. Apr 16, 2010
    • Iustin Pop's avatar
      Readd node: allow changed primary IP · 1513e2dd
      Iustin Pop authored
      
      The primary IP is not used for DRBD disks, only for the job queue and
      internal commands. As such, it's trivial (with a quiet job queue) to
      re-ip the node.
      
      The patch just relaxes the checks in LUAddNode, and manual testing shows
      that live instances on that node keep working, and that cluster verify
      is happy afterwards.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      1513e2dd
    • Michael Hanselmann's avatar
      Add RPC calls to import and export instance data · 1651d116
      Michael Hanselmann authored
      
      These RPC calls can be used to start, monitor and stop the instance data
      import/export daemon.
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      1651d116
    • Michael Hanselmann's avatar
      Add daemon for instance import and export · 2d76b580
      Michael Hanselmann authored
      
      This backend daemon for instance import and export will be used to
      transfer instance data to other machines. It is implemented in a generic
      way to support different ways of data input and output. The third-party
      program “socat”, which is already used by the KVM hypervisor abstraction,
      is used to connect to remote machines using SSL/TLS. After starting the
      child processes in a separate process group, the import/export daemon
      monitors their output and updates a status file regularily. This status
      file can then be read by ganeti-noded (not in this patch).
      
      Three I/O methods are supported: Raw disk, file and script. Each of these
      can be used for import and export.
      
      Similar to daemon-util, an incomplete set of tests written in Bash is
      included.
      
      Two future enhancements are planned:
      - Run parts of the command chain as a dedicated user (privilege
        separation).
      - Currently users of this daemon have to poll the status file while data
        is transferred. This is inefficient and creates unnecessary delays. By
        adding “dd” into the chain and sending it SIGUSR1 regularily, we can get
        some statistics, optimize the polling frequenc and even provide the user
        with an ETA (which isn't available with all current methods to
        import/export instance data).
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      2d76b580
    • Balazs Lecz's avatar
      89100352
Loading