Skip to content
Snippets Groups Projects
  1. May 28, 2010
  2. May 21, 2010
  3. May 20, 2010
  4. May 18, 2010
  5. May 17, 2010
  6. May 13, 2010
  7. May 11, 2010
  8. Apr 23, 2010
  9. Apr 21, 2010
  10. Apr 20, 2010
  11. Apr 19, 2010
  12. 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
    • Balazs Lecz's avatar
      Add basic unittests for uid_pool · 93be53da
      Balazs Lecz authored
      
      Signed-off-by: default avatarBalazs Lecz <leczb@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      93be53da
    • Balazs Lecz's avatar
      1338f2b4
  13. Apr 15, 2010
  14. Apr 09, 2010
  15. Apr 06, 2010
  16. Mar 17, 2010
  17. Mar 15, 2010
  18. Mar 12, 2010
  19. Mar 08, 2010
    • Iustin Pop's avatar
      Implement disabling of file-based storage · cb7c0198
      Iustin Pop authored
      
      Rationale: the file-based storage backend can add/remove files under a
      certain directory. However, the master node is also controlling the
      setting of the file-based root directory, so basically it means we can't
      prevent arbitrary modifications by the master of the node's filesystem.
      
      In order to mitigate this for setups where the file-based storage is not
      used, we introduce a new setting at ./configure time, that controls the
      enable/disable of file-based storage. Since this is not modifiable by
      the master (over RPC), it is now possible in this case to prevent
      unintended modifications of the node's filesystem from the master.
      
      The new setting is used in bdev.py to not expose the file-based storage
      at all, and in cmdlib.py to prevent attempts at creation of such
      instances.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      cb7c0198
  20. Feb 26, 2010
  21. Feb 23, 2010
  22. Feb 19, 2010
  23. Feb 18, 2010
  24. Feb 12, 2010
  25. Feb 11, 2010
  26. Feb 10, 2010
Loading