Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Aug 23, 2011
  1. Fixing typo in apache start.sh for php

    Lucas Carlson authored Patrick Bozeman committed
    Change-Id: I8f9c24e7c3f5d1129416e0c1b627a9442e1cca4a
  2. white space fixup

    Patrick Bozeman authored
    Change-Id: I7319ada63ed40928bd97f44e5048846eaea23c46
  3. Support for deploying PHP applications through a standard Apache conf…

    Lucas Carlson authored Patrick Bozeman committed
    …iguration with built-in support for APC, memcache, mongo and redis.
    
    Change-Id: Icf1bdb17f4b1865afa350704937874f5787b3457
  4. Adding Lucas Carlson to the AUTHORS list

    Lucas Carlson authored Patrick Bozeman committed
    Change-Id: I6a2ae255ca0969ed5f593a5cea1f0f117b879808
  5. Disable apache2 after installing it because it takes over port 80

    Lucas Carlson authored Patrick Bozeman committed
    Change-Id: I815a41c1802ae2cbbc330155aceeb9a8913d82ce
  6. Adding php specs

    Lucas Carlson authored Patrick Bozeman committed
    Change-Id: I20b42280945746de1a84ed677de29f6889646913
  7. Adding RAM limits to php.ini

    Lucas Carlson authored Patrick Bozeman committed
    Change-Id: Ic73f8ef613ab46123b416a6ec8f5858b4ac5d7e6
  8. Support for deploying PHP applications through a standard Apache conf…

    Lucas Carlson authored Patrick Bozeman committed
    …iguration with built-in support for APC, memcache, mongo and redis.
    
    Change-Id: I2d2bc61bc289a0bc7a92eb1c8e5c3f41375437f1
  9. Merge "Add libpg-dev package to the ruby recipe so pg gem can be inst…

    Patrick Bozeman authored Gerrit Code Review committed
    …alled."
Commits on Aug 22, 2011
  1. @mahpat

    Merge "Add external_uri support"

    mahpat authored Gerrit Code Review committed
  2. @mahpat

    Add external_uri support

    mahpat authored
    Tested my changes with cc and services configured to go against my dev23 setup
    i.e.  "appcloud23.dev.mozycloud.com"
    
    Ran BVTs.
    
    Change-Id: I4e3c97a06c4348c31d610957af6e74cf953ad5c5
  3. @mahpat

    Merge "Trivial - do not install java if it already exists"

    mahpat authored Gerrit Code Review committed
  4. @mahpat

    Merge "Cleanup deployment config file handling + some sample multihos…

    mahpat authored Gerrit Code Review committed
    …t deployment config files"
  5. @mahpat

    Merge "Misc simple bug fixes"

    mahpat authored Gerrit Code Review committed
  6. @oldpatricka

    Add libpg-dev package to the ruby recipe so pg gem can be installed.

    oldpatricka authored Patrick Bozeman committed
    Fixes problem where gem complains that the pg_config isn't available.
    
    Change-Id: I1463e2139c4c79fdab8dcc4037bc1ae9386f204e
  7. @mahpat

    Trivial - do not install java if it already exists

    mahpat authored
    Fix for issue cf-135. Usually the pakcage command does the right thing but that
    would only work if the same version of java is installed, if openjdk or some
    other flavour is installed the package command fails misreably in this case
    because it cant find the right repo.
    
    Change-Id: I1aef325e557d338141e68dbd91a070b438f62563
Commits on Aug 19, 2011
  1. Don't attempt to start the droplet if staging the instance dir fails.

    mpage authored
    - Adds logging/error reporting if:
    -- Creating the instance dir fails
    -- Unzipping the droplet fails
    - Sends notification to the HM that the app has crashed so that it
      will ultimately end up marked as flapping.
    
    Test plan:
    
    - BVTs pass locally
    - BVTs pass on my deployment
    - Added unit tests exercising failures to stage the instance dir
    - Verified that HM was notified via:
    -- Deployed the env app locally
    -- Corrupted the droplet "echo foo > /var/vcap/shared/droplets/XXX"
    -- Stopped/Started the app
    -- Verified that the HM received the crash notification
    -- Verified that the app was placed into the flapping state
    
    Change-Id: Iba7cb521fcf9864271bd2b0844e2f1eee5774fde
  2. @mahpat

    Misc simple bug fixes

    mahpat authored
    bin/vcap - fix a bug where the specified config file was not being used to
    lookup properties.
    
    bin/vcap_dev_setup - check for git clone failures
    
    job_manager.rb - remove postgresql as a services
    
    patch 2 - fix $configdir => $config_dir
    
    Change-Id: Ie0214ce340f62f585f6233a7c7de1e78cc6e1ad8
  3. @mahpat

    Cleanup deployment config file handling + some sample multihost deplo…

    mahpat authored
    …yment config files
    
    The deployment config file doesnt need to be an .erb file anymore. Removed some
    old code that was using it as an erb file. Also remove the old config samples in
    deployments/multihost.
    
    patch 3
    Added: sample config files for multihost redis
    
    patch 4
    Remove more old/outdated sample files
    
    patch 5
    Hit myself on the head.(Added white space remover to vi)
    
    Change-Id: I402e5de08eb9a1fa26c6489ca138d5da7229cf14
Commits on Aug 18, 2011
  1. Properly close fds for dea children

    mpage authored
    This moves the call to close_fds up to immediately before executing
    the shell/su that ultimately spawns the app.
    
    Test plan:
    
    - BVTs pass both locally and on my deployment
    - Verified that DEA children do not have a connection to NATS using lsof
    
    Change-Id: I27b6f86c06bf3476ea527cd8fcf41946c9efcb3e
Commits on Aug 17, 2011
  1. @mahpat

    Multi host part 2 + changes to allow deployment like bash < <(curl vc…

    mahpat authored
    …ap_dev_setup_url)
    
    Change
      This review has changes related to the following 3 things.
      1. Move all the default config (that was embeded in
          vcap_dev/vcap_dev_setup/job_manager) into chef cookbooks.
      2. Add postgres CCDB.
      3. Multi host setup for services and dea. This meant separating service
      gateway from service nodes. To this effect we added a service gateway role.
    
    Overall a lot of files have changed, most of those changes are related to
    moving all the default config values from the various wrapper scripts to the
    cookbooks, especially the new cookbook called deployment which is the holding
    place for all the deployment related config options.
    
    * dev_setup/bin/vcap:
      Added vcap to dev_setup/bin instead of just changing bin/vcap. The reason for
      this is that opensource CF code will not be in sync with the
      private repo and internal testing of CF dev_setup scrips would not work if it
      relied on the version of vcap in the opensource repo i.e. bin/vcap. So now we
      just package vcap with dev_setup.
    
    * vcap_dev
      * Since all defaults are now maintained in chef scripts. The chef "deployment"
      * role/recipe creates a deployment info file that is consumed by this vcap_dev
      * script.
      * The vcap_dev_setup file now saves the list of components that were installed
        for a deployment. This script only starts the components included in that
        list.
      * Uses the vcap binary from dev_setup/bin
    
    * vcap_dev_setup
      Moved a bunch of directory creating code to the deployment cookbook
    
    * Added a CCDB role/recipe.
      * Creates and Configures the CC postgres database.
    
    * Added deployment cookbook
      * Moves all the comon directory creation code here. Note, we should go back
        and see if we really do need all these various directories and probably come
        up with a well designed directory layout.
    
    Testing:
    * Ran BVTS. Lift BVT failure needs investigating (I will fix/get to the bottom
      of it before i submit this change)
    * Tested the following multi host setup.
      1. Ran mysql database with mysql node on 2 VMs. On a 3rd VM ran everything
      else. Verified that BVTs passed.
      2. Ran dea on 2 different VMs. Ran everything else on a 3rd VM. Verified
      that BVTs passed.
    
        Note: I have only tested the multihost setup with mysql. I will test mongodb
        and redis before submitting this change, I expect those to run without any
        glitches.
    
    Change-Id: I6a084be09a81bf920eebc62be8d7aa6625cc17e9
Commits on Aug 12, 2011
  1. @garethr

    Fix for zero length responses being returned

    garethr authored Patrick Bozeman committed
    Change-Id: I3cac7f2985e214f078077a0a5ba660feba306924
  2. Merge "bump services submodule ptr"

    Patrick Bozeman authored Gerrit Code Review committed
  3. Merge changes I104e4c78,Ia879da24

    Patrick Bozeman authored Gerrit Code Review committed
    * changes:
      bump test submodule ptr
      bump java submodule ptr
  4. Merge "HealthManager varz changes - Fixed varz stats keeping framewor…

    Vadim Spivak authored Gerrit Code Review committed
    …ks/runtimes around that are no longer in the DB - Added started apps and instances - Aggregated queries to reduce number of requests"
  5. HealthManager varz changes

    Vadim Spivak authored
    - Fixed varz stats keeping frameworks/runtimes around that are no longer in the DB
    - Added started apps and instances
    - Aggregated queries to reduce number of requests
    
    Change-Id: I03ee8368e1e2f06819f40cb1cc74ced949f8a79f
  6. bump services submodule ptr

    Patrick Bozeman authored
    Change-Id: Ibfd057943906f5b2ecd6bf875478d25ad9742244
  7. bump test submodule ptr

    Patrick Bozeman authored
    Change-Id: I104e4c7872d0b2d353e7f6dc1b9072afe86c8c33
  8. bump java submodule ptr

    Patrick Bozeman authored
    Change-Id: Ia879da24f35bdd70afcb90b8e6b1093ef670f6d7
  9. be very explict about rvm ruby versions

    Patrick Bozeman authored
    Change-Id: Ib5e6270d22dee67e7886cc0f5936c5dd1761a0b4
  10. @yssk22

    fix File.expand_path usage.

    yssk22 authored Patrick Bozeman committed
    For applying this fix, you can use MySQL (/w em_mysql2 adapter) as cloud controller database by configuring cloud_controller.yml as follows:
    
      development:
        database: cloudcontroller
        host: localhost
        port: 3306
        username: root
        password: password
        adapter: em_mysql2
        encoding: utf8
        timeout: 2000
    
    Change-Id: Ie881f617f77d1d4aacc0772b1594547b9beb1af5
  11. @oldpatricka

    Fix typo when checking for preexisting Erlang installation in vcap_setup

    oldpatricka authored Patrick Bozeman committed
    Change-Id: I59e37fd76a18d6fcc742aded67d37a4dda5117b9
Commits on Aug 10, 2011
  1. Include the PG drivers in the tomcat bits.

    AB Srinivasan authored
    Change-Id: I2ef89a26a10715c67e7018d197f4a11c61714fc7
  2. @mahpat

    Merge "Simple change to fix deployments that should not download vcap…

    mahpat authored Gerrit Code Review committed
    … repo"
  3. Support for Plain Java and refactored staging.

    AB Srinivasan authored
    Change-Id: I88ad35dc9a8783ade4f18cede267ac4e237d607b
Something went wrong with that request. Please try again.