Permalink
Commits on Jul 20, 2012
  1. Hardcode the qemu-nbd path in mount-alter instead of using an argument

    priteau committed Jul 19, 2012
    Avoid any security issues related to passing an arbitrary binary path to
    a script running under sudo.
Commits on Jul 19, 2012
  1. Add changelog for 2.10

    priteau committed Jul 19, 2012
Commits on Jul 18, 2012
  1. Use a bigint to store Cumulus object size in PostgreSQL

    priteau committed Jul 18, 2012
    With INTEGER, Cumulus fails to handle files larger than 2GB when using
    PostgreSQL.
    
    Problem reported and patch provided by Feng (zf5984599@gmail.com).
    
    Closes #108.
  2. Move customization task file transfer from propagate to start

    priteau committed Jul 18, 2012
    This allows to customize virtual machines started without propagation,
    for instance file:/// images.
    
    Closes #107.
  3. Fix wrong log statement

    priteau committed Jul 18, 2012
Commits on Jul 17, 2012
  1. Replace uuid by tempfile

    priteau committed Jul 17, 2012
    Since uuid is only Python 2.5+, this small change allows to keep Python
    2.4 compatibility.
  2. Add copy-on-write support

    priteau committed Jul 17, 2012
    When this feature is enabled, a copy-on-write volume is created to store
    modifications to the virtual machine image.
    
    If the image cache is also enabled, images are directly hard linked from
    the image cache into the virtual machine secureimages directory.  These
    images stay unmodified because all writes are stored in the
    copy-on-write file.
    
    Since this feature is experimental and needs careful management of disk
    space, it is disabled by default.
    
    Closes #106.
  3. Disable qcow2 support by default

    priteau committed Jul 17, 2012
    qcow2 images can grow while virtual machines are being executed, which
    can lead to disk space shortage if storage resources are scarce.
    
    When administrators enabled this feature, they should monitor their disk
    space utilization.
  4. Change path to qemu-nbd instead of kvm-nbd

    priteau committed Jul 17, 2012
    Recent Debian packages mark the kvm-nbd executable as deprecated.
Commits on Jul 13, 2012
Commits on Jul 12, 2012
  1. remivng the test for an empty repo, most of the tests are leaving aro…

    buzztroll committed Jul 12, 2012
    …und cruft so this will only work if it is run in the right order
  2. adding in tests

    buzztroll committed Jul 12, 2012
Commits on Jul 11, 2012
  1. pass in kernel id

    buzztroll committed Jul 11, 2012
  2. pass in kernel id

    buzztroll committed Jul 11, 2012
  3. Fix typo in log statement

    priteau committed Jul 11, 2012
Commits on Jul 10, 2012
  1. Add support for booting KVM machines from qcow2 images

    priteau committed Jul 10, 2012
    Detect qcow2 images by reading the image file header.  It contains the
    "QFI" string and the qcow version number.  The libvirt template is
    configured to use the qcow2 driver when a qcow2 image is detected.
    
    The root partition is altered by attaching it to a host device using
    qemu-nbd.  Since qemu-nbd can be named differently depending on the
    Linux distribution, it is configurable by mount.conf.
    
    Closes #105.
Commits on Jul 9, 2012
  1. Prevent destroy queries from blocking status queries

    priteau committed Jul 9, 2012
    The destroy method in WorkspaceHomeImpl was taking a per-instance lock
    for the whole duration of an instance termination. This blocked the find
    method (called by --status queries) which tries to take the same lock.
    
    This commit changes the locking code of destroy so that it is released
    while making the lengthy call to the workspace control agent.  We also
    add an additional instance-specific lock for destroy. This way, a second
    call to destroy will block at the beginning. When this second call
    eventually proceeds, it will not find the instance because it has been
    removed (which is the current behavior).  It also prevents the remove
    handler to be called concurrently with a destroy from another workspace
    action (for instance at the end of a start).
    
    Closes #102.
Commits on Jul 5, 2012
  1. Fix typo in log statement

    priteau committed Jul 5, 2012
Commits on Jul 3, 2012
  1. Make sure /root/.ssh exists before copying authorized_keys

    priteau committed Jul 3, 2012
    Administrators can revert to the old behavior by setting CREATE_SSH_DIR
    to false.
    
    Closes #96.
  2. Fix HDFS unpropagation

    priteau committed Jul 3, 2012
    The unpropagate action with the HDFS adapter was not working because it
    was using wrong variable names. Bug report and initial patch provided by
    Brett Wu.
    
    Closes #100.
  3. Don't write duplicate log entries after being daemonized

    priteau committed Jul 3, 2012
    After being daemonized for the propagate and unpropagate operations,
    workspace-control would write duplicate log entries. This happens
    because we don't remove the old log handler before adding a new one.
    We now remove the log handler when we are closing the log file before
    forking.
    
    Closes #103.