Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jul 17, 2012
  1. @priteau

    Disable qcow2 support by default

    priteau authored
    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.
  2. @priteau

    Change path to qemu-nbd instead of kvm-nbd

    priteau authored
    Recent Debian packages mark the kvm-nbd executable as deprecated.
Commits on Jul 13, 2012
  1. @priteau
Commits on Jul 12, 2012
  1. @priteau

    Explain why we can do getmtime

    priteau authored
  2. @buzztroll

    remivng the test for an empty repo, most of the tests are leaving aro…

    buzztroll authored
    …und cruft so this will only work if it is run in the right order
  3. @buzztroll

    adding in tests

    buzztroll authored
Commits on Jul 11, 2012
  1. @buzztroll

    pass in kernel id

    buzztroll authored
  2. @buzztroll

    pass in kernel id

    buzztroll authored
  3. @priteau

    Fix typo in log statement

    priteau authored
Commits on Jul 10, 2012
  1. @priteau

    Add support for booting KVM machines from qcow2 images

    priteau authored
    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.
  2. @priteau
  3. @priteau
Commits on Jul 9, 2012
  1. @priteau

    Prevent destroy queries from blocking status queries

    priteau authored
    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. @priteau

    Fix typo in log statement

    priteau authored
Commits on Jul 3, 2012
  1. @priteau

    Make sure /root/.ssh exists before copying authorized_keys

    priteau authored
    Administrators can revert to the old behavior by setting CREATE_SSH_DIR
    to false.
    
    Closes #96.
  2. @priteau

    Fix HDFS unpropagation

    priteau authored
    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. @priteau

    Don't write duplicate log entries after being daemonized

    priteau authored
    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.
  4. @priteau
  5. @priteau
Commits on Jul 2, 2012
  1. @priteau

    Gracefully handle KVM reboot failures

    priteau authored
    KVM can fail to reboot instances because reboot is not supported in
    versions prior to 0.9.3, or because some versions require the QEMU JSON
    monitor. We still log reboot failures but throw exceptions only if the
    VM is not running anymore.
    
    Closes #82.
  2. @mhpx @priteau

    Enable having blankspace partition in a separate location

    mhpx authored priteau committed
    On a cloud setup where large amounts of blankspace are required it was
    deemed desireable to have the image directory split from the blankspace
    file. This would hopefully allow the IO load to be spread out.
    
    Closes #83 and #86.
Commits on Jun 29, 2012
  1. @priteau

    Add a partition label to each blankspace partition

    priteau authored
    Labels are extracted from the partition file name, and are named
    incrementally: blankpartition0, blankpartition1, etc.
    
    A label on the blankspace partition will allow mounting via label
    instead of device. This makes it easier in fstab where the device of the
    blankspace partition may not be known a priori.
    
    Thanks to Michael Paterson for the feature request and initial patch.
    
    Closes #88.
Commits on Jun 28, 2012
  1. @priteau
Commits on Jun 21, 2012
  1. @priteau

    Typo fix

    priteau authored
  2. @priteau

    Add an option to remove the webapp user

    priteau authored
    nimbus-remove-user did not allow to remove a user from the webapp.
    Since the user was still in the webapp DB, it could not be added again.
    nimbus-remove-user now has -W and -w options to remove entries from the
    webapp too.
    
    Closes #78.
Commits on Jun 20, 2012
  1. @priteau

    Fix backfill image URL creation

    priteau authored
    The getImageLocation method returns a URL to the directory storing a VM
    image.  To get a complete URL, we need to append the VM image name.
Commits on Jun 19, 2012
  1. @priteau

    Change CertDN to print Subject DN strings similarly to Globus

    priteau authored
    The CertDN class is used in the new user operation to obtain the Subject
    DN when only the CN has been provided, or when an existing certificate
    is used.  This Subject DN is printed as the result of the
    nimbus-new-user call, and is also added to the gridmap and the
    group-authz files.
    
    A problem appeared when a CN was containing an equal sign, such as
    Bob Oblaw_97/Email=boblaw@univ.ca.  The existing CertDN code would
    escape this equal sign and produce Bob Oblaw_97/Email\=boblaw@univ.ca.
    The escaped string would be used for the gridmap and group-authz files.
    However, Globus does not use escaped strings internally, and would fail
    to match the DN of a service request against these files.
    
    Another bug appears for certificates with emailAddress fields, such as
    CN=Bob Oblaw_97/emailAddress=boblaw@univ.ca.  In this case, Globus will
    recognize it as CN=Bob Oblaw_97/E=boblaw@univ.ca, and fail to find the
    DN in gridmap and group-authz.
    
    Changing the CertDN code to be closer to existing Globus code, namely
    org.globus.tools.CertInfo, creates Subject DN strings that Globus can
    recognize.
    
    Closes #75.
Commits on Jun 18, 2012
  1. @priteau

    Fix the integration test suite

    priteau authored
    Make the system property org.newsclub.net.unix.library.path point to
    the directory storing the junixsocket library files.
Commits on Jun 14, 2012
  1. @priteau
  2. @priteau
  3. @priteau

    Install pyOpenSSL 0.10 when OLD_OPENSSL_VERSION is defined

    priteau authored
    We recently updated pyOpenSSL to version 0.13 in order to fix a build
    problem on recent Ubuntu releases. However, 0.13 does not compile on
    Centos 5 because is requires OpenSSL 0.9.8f or later.
    
    If the OLD_OPENSSL_VERSION environment variable is defined, use a
    different requirements.txt file which installs pyOpenSSL 0.10.
    
    The cumulus-deps tarball was updated to include both pyOpenSSL packages.
  4. @labisso

    Documentation fixes

    labisso authored
    Thanks Massimo Canonico
Commits on Jun 12, 2012
  1. @priteau

    Update cumulus dependencies to pyOpenSSL 0.13

    priteau authored
    The latest Ubuntu releases do not include SSLv2 support in the OpenSSL
    libraries, because of security flaws in the protocol. This makes cumulus
    fail to install on a recent Ubuntu, because pyOpenSSL 0.10 tries to use
    the SSLv2 symbols. This commit updates the dependency to pyOpenSSL 0.13
    which removes SSLv2 support if the underlying OpenSSL library does not
    provide it.
  2. @priteau

    Actually support multiple URLs in the dependencies download script

    priteau authored
    If downloading from the first URL failed, the script would exit rather
    than try the second one.
  3. @labisso
Something went wrong with that request. Please try again.