Skip to content
Snippets Groups Projects
  1. Apr 16, 2010
    • 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
    • Michael Hanselmann's avatar
      Merge branch 'devel-2.1' · 409e8ec2
      Michael Hanselmann authored
      
      * devel-2.1:
        backend: Consolidate code opening real block device
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      409e8ec2
    • Michael Hanselmann's avatar
    • Iustin Pop's avatar
      Merge branch 'devel-2.1' · af2ae1c0
      Iustin Pop authored
      
      * devel-2.1:
        utils: Add class to split string stream into lines
        Fix cluster behaviour with disabled file storage
        Update docstrings in tools/ and enable epydoc
        Forward-port the ganeti 2.0 cfgupgrade
        Add a new tool: sanitize-config
        Fix cfgupgrade with non-default DATA_DIR
        Improving the RAPI documentation
        Mark cluster-merge as executable
        QA: Make the rapi credential handling less involving
      
      Conflicts:
      	lib/bootstrap.py (merge cds and new file names)
      	lib/cmdlib.py    (trivial, kept 2.1 version for disabled file
      	                  storage)
      	lib/utils.py     (trivial, new imports)
      	tools/cfgupgrade (trivial, new cds parameter)
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      af2ae1c0
  2. Apr 15, 2010
  3. Apr 13, 2010
  4. Apr 12, 2010
  5. Apr 09, 2010
  6. Apr 08, 2010
Loading