Permalink
Switch branches/tags
Nothing to show
Commits on Dec 8, 2011
  1. Merge remote-tracking branch 'staging/master'

    Patrick Bozeman committed Dec 8, 2011
  2. Merge "warden: Run scripts inside container through shell"

    pietern committed with Gerrit Code Review Dec 8, 2011
  3. Merge "Stylistic fixups"

    mpage committed with Gerrit Code Review Dec 8, 2011
  4. warden: Run scripts inside container through shell

    pietern committed Dec 8, 2011
    Previously, EM executed scripts in the context of a container by
    connecting to a Unix socket itself. Because warden shells out for every
    other task it does, executing scripts inside a container is now also
    done by shelling out. Making this work right using existing tools
    proved to be cumbersome, so I included a small C program that either
    listens or connects to a Unix socket.
    
    Change-Id: I7f6df9786b9631aff2bd57cc1d20c8d337415bf0
  5. Stylistic fixups

    mpage committed Dec 8, 2011
    Change-Id: Ia7845e64790afd6051f3d77ced0ebc12339104ed
  6. warden: Make container configuration as minimal as possible

    pietern committed Dec 6, 2011
    Change-Id: I1e4c8104bdd05bccfe9242ec9946787b31b1fbf8
  7. Merge "Add quota monitor to tear down containers that exceed their di…

    mpage committed with Gerrit Code Review Dec 8, 2011
    …sk usage limits"
Commits on Dec 7, 2011
  1. bump servivces submodule pointer

    Patrick Bozeman committed Dec 7, 2011
    Change-Id: Ia1658bdfb35d41ba8198dc87fa5fb05129dc9f7d
  2. Add quota monitor to tear down containers that exceed their disk usag…

    mpage committed Dec 6, 2011
    …e limits
    
    This diff includes a few of things:
    1. A class for monitor quota usage and tearing down containers that exceed their limits.
    2. A small C program for reporting quota usage. This is necessary because repquota
       has several bugs that prevent us from using it to reliably check quota usage.
    3. Small refactor that moves everything under the :quota config hash. This makes sense,
       as we only need the uidpool if quota support is enabled.
    
    Test plan:
    - Existing unit tests pass
    - New unit tests pass
    
    Change-Id: I8dccd91bb4571f051c7a328d22436b77c6fb3f0c
  3. bump services submodule pointer

    Patrick Bozeman committed Dec 7, 2011
    Change-Id: Ic5a79cf9eb225bba460e908f1dbad03c8a8bc661
  4. Fix bug to create correct yaml to load

    hamakn committed with Patrick Bozeman Nov 25, 2011
    Change-Id: Id6a2491e55a4d3e412a65437944fcdda8f2cf147
  5. Added VCAP_REPO_BRANCH optional argument to help install VCAP based o…

    alexpop committed with Patrick Bozeman Nov 9, 2011
    …n a point in time version of the repository
    
    Change-Id: I2b81daee4d62bd940cbaca780bdb327d4b318b38
  6. Bumped eventmachine to 0.12.11.cloudfoundry.2 in common library.

    pblittle committed with Patrick Bozeman Nov 22, 2011
    Change-Id: I88eb390eb2c34c4e3cbe6f7ba49345e56a236178
  7. Merge "Add libtool to the install packages. libtool is required to ma…

    Patrick Bozeman committed with Gerrit Code Review Dec 7, 2011
    …ke yaml."
  8. Merge "add dev_setup notes to the readme."

    Patrick Bozeman committed with Gerrit Code Review Dec 7, 2011
  9. Add libtool to the install packages. libtool is required to make yaml.

    schinen committed with Patrick Bozeman Nov 27, 2011
    Change-Id: I3a81188983de5a5511e1d04c0eb2ad26da3dc8a0
  10. add dev_setup notes to the readme.

    Patrick Bozeman committed Dec 7, 2011
    Change-Id: I062d971480db96b56c4a0a557909bcae2f6b8e01
  11. Fix a typo

    mahpat committed Dec 7, 2011
    QA ran into an issue where they could not run more than one app.
    
    Change-Id: I9e9aaea8d924717c19f44b28070bc9cd12d67abc
Commits on Dec 6, 2011
  1. Return uids as integer keys for VCAP::Quota::RepQuota

    mpage committed Dec 6, 2011
    We originally returned the raw string returned from repquota as
    the keys of the quota information app. This converts the raw string
    into an integer representation and uses it as the key instead.
    
    Test plan:
    - New unit test passes
    - All old unit tests pass
    
    Change-Id: Id8dac37a2ad736a7997f5a8eb137d81d45d34ba8
  2. Add command for setting/retrieving disk usage limit.

    mpage committed Dec 6, 2011
    This add plumbing for setting limits on containers. The syntax is:
    
        limit <handle> <name>             # Retrieve limit named <name>
        limit <handle> <name> <limit>+    # Set limit named <name>
    
    This diff also implements support for setting and retrieving disk usage
    limits (enforced via quotas).
    
    Test plan:
    - All existing tests pass
    - New tests pass.
    
    Change-Id: I9b5d3c7ffdd22e06a2dcfd2605146a3a3ae48d23
Commits on Dec 5, 2011
  1. Add uid pool to LXC container

    mpage committed Dec 5, 2011
    This is in preparation for adding quota support to the LXC container.
    If a uid pool is supplied the LXC container will now attempt to acquire a
    uid for each container that is created. A WardenError will be raised in the
    event that a uid cannot be acquired. Note that the uid is the same both inside
    and outside the container in order to facilitate enforcement of disk quotas.
    
    Test plan:
    - All existing tests pass.
    - New tests pass.
    
    Change-Id: Ic509c0cd9e40275f92207d35bb9bfb943d700026
Commits on Dec 2, 2011
  1. Add utility classes for setting and retrieving filesystem quotas

    mpage committed Dec 2, 2011
    This diff adds support for setting and retrieving filesystem quota
    information. With minimal effort (overriding the execute method)
    they can be made nonblocking.
    
    Test plan:
    - Unit tests pass
    - Functional test passes
    
    Change-Id: Ie4707a3d3d5298982fca095a8ff14aef3cb5a5e3
Commits on Dec 1, 2011
  1. Add script to close inherited fds before lxc-start is called

    mpage committed Dec 1, 2011
    lxc-start will abort if it inherits any file descriptors. We avoid
    this by first closing fds and then exec'ing lxc-start.
    
    Test plan:
    - Container creation works
    
    Change-Id: If436db238cfceb787c3167db8310df54f9d79bde
  2. Merge "warden: Add script to stop and remove all containers"

    pietern committed with Gerrit Code Review Dec 1, 2011
  3. warden: Add script to stop and remove all containers

    pietern committed Dec 1, 2011
    Change-Id: I28fc17d2e627116fc4b4413d3dd622c44f36c857
Commits on Nov 30, 2011
  1. Merge "warden: Make aufs check whiteouts on ro branches"

    pietern committed with Gerrit Code Review Nov 30, 2011
  2. Merge "warden: Allow external ports to be mapped to containers"

    pietern committed with Gerrit Code Review Nov 30, 2011
  3. Merge "warden: Call child process success callback with stdout"

    pietern committed with Gerrit Code Review Nov 30, 2011
  4. Merge "warden: Abstraction for executing sequence of commands"

    pietern committed with Gerrit Code Review Nov 30, 2011
  5. Merge "warden: Move spawn code to its own module"

    pietern committed with Gerrit Code Review Nov 30, 2011
  6. Merge "warden: Enhance logging output"

    pietern committed with Gerrit Code Review Nov 30, 2011
  7. Merge "warden: Use em-posix-spawn"

    pietern committed with Gerrit Code Review Nov 30, 2011
  8. Merge "warden: Make container grace time configurable"

    pietern committed with Gerrit Code Review Nov 30, 2011
  9. Merge "warden: Add spawn/link tests; refactor command dispatch"

    pietern committed with Gerrit Code Review Nov 30, 2011
  10. Merge "warden: Support spawn/link semantics"

    pietern committed with Gerrit Code Review Nov 30, 2011