Permalink
Commits on Oct 28, 2016
  1. Merge remote-tracking branch 'origin/increase-reaping-interval'

    [finishes #133147559]
    
    Signed-off-by: Dan Lavine <dlavine@us.ibm.com>
    ScarletTanager committed with DanLavine Oct 28, 2016
  2. Reap orphaned containers and droplets when DEA starts

    [#133147559]
    
    Signed-off-by: Sandy Cash <scarlet.tanager@gmail.com>
    DanLavine committed with ScarletTanager Oct 28, 2016
Commits on Oct 25, 2016
  1. Increase orphan container reaping interval

    - this allows more time for a container to start up, such that it is not
    accidentally reaped during creation
    - in the dea, creation includes: container creation, mounting the rootfs, setting up
    a network, applying ip table rules, etc
    - this addresses issues that were seen regarding it taking longer to
    create many ip table rules on a host running linux kernel 4.4
    zrob committed Oct 25, 2016
Commits on Aug 15, 2016
  1. Return 503 if a start request is received while evacuating or shuttin…

    …g down.
    
    [#128325663]
    jberkhahn committed Aug 15, 2016
Commits on Aug 5, 2016
  1. Reduce cloud_controller_client inactivity timeout to 30s

    [finishes #127726173]
    swetharepakula committed Aug 5, 2016
Commits on Aug 4, 2016
  1. Increate upload inactivity timeout to 30s

    [finishes #127726173]
    
    Signed-off-by: Sandy Cash <scarlet.tanager@gmail.com>
    DanLavine committed Aug 4, 2016
  2. Simplify passing of blocks/procs in staging responders

    [finishes #126880765]
    
    Signed-off-by: Dan Lavine <dlavine@us.ibm.com>
    ScarletTanager committed with ScarletTanager Aug 3, 2016
Commits on Aug 3, 2016
  1. Close the download file if the http request fails

    [finishes #122195891]
    DanLavine committed Aug 3, 2016
Commits on Aug 1, 2016
  1. Decrease inactivity timeout from 300 to 1 second

    [finishes #127039363]
    ScarletTanager committed Aug 1, 2016
Commits on Jul 29, 2016
  1. Allow staging tasks to complete only after sending completion message to

    CC
    
      - removing a staging task from the staging_task_registry and starting
        an app is now sent as a callback to be completed after a completion
        message has been sent to CC.
      - cloud controller client callback is no longer an instance variable
        and is used to finish a staging task now
    
    [#126880765]
    
    Signed-off-by: Sandy Cash <scarlet.tanager@gmail.com>
    swetharepakula committed with ScarletTanager Jul 29, 2016
Commits on Jul 22, 2016
  1. Add sleep to allow spawn process to execute

      - Needed to run tests with ruby 2.3.1 in vagrant image
    
    [#126829807]
    
    Signed-off-by: Swetha Repakula <srepaku@us.ibm.com>
    DanLavine committed with swetharepakula Jul 22, 2016
Commits on Jul 20, 2016
  1. Handle staging requests over HTTP during evacuation

      - Return a 503 to signify evacuating DEA to all staging requests
        during evacuation and shutdown
    
    [#126497229]
    
    Signed-off-by: Swetha Repakula <srepaku@us.ibm.com>
    jberkhahn committed with swetharepakula Jul 20, 2016
  2. Fix fake buildpack being added as a submodule

    Signed-off-by: Dan Lavine <dlavine@us.ibm.com>
    ScarletTanager committed with DanLavine Jul 20, 2016
  3. DEAs wait for all staging tasks to complete before evacuating

    [finishes #126536049]
    
    Signed-off-by: Dan Lavine <dlavine@us.ibm.com>
    ScarletTanager committed with DanLavine Jul 20, 2016
Commits on Jul 13, 2016
  1. Bump ruby-nats with the outstanding pings fix

    * Change the ping check interval to 30 seconds
    
    [#126125345]
    
    Signed-off-by: Dan Lavine <dlavine@us.ibm.com>
    swetharepakula committed with DanLavine Jul 13, 2016
Commits on Jul 12, 2016
  1. bump ruby-nats from 0.6.0 to 0.7.1

    * this also bumps event machine from 1.0.3 to 1.2.0.1
    
    [finishes #125938743]
    
    Signed-off-by: Jonathan Berkhahn <jaberkha@us.ibm.com>
    DanLavine committed with jberkhahn Jul 12, 2016
Commits on Jun 15, 2016
  1. Add decimal-cpu-percentage for CC stat usage.

    [finishes #121045883]
    
    Signed-off-by: Jonathan Berkhahn <jaberkha@us.ibm.com>
    ScarletTanager committed with jberkhahn Jun 15, 2016
  2. Revert "Add decimal-cpu-percentage for CC stat usage."

    This reverts commit 329d8ae.
    
    [#121045883]
    ScarletTanager committed Jun 15, 2016
Commits on Jun 14, 2016
  1. Add decimal-cpu-percentage for CC stat usage.

    [Finishes #120740573]
    
    Signed-off-by: Sandy Cash <scarlet.tanager@gmail.com>
    jberkhahn committed with ScarletTanager Jun 14, 2016
  2. Fix order of magnitude in CPU consumption reported by cf app

    [finishes #121045883]
    
    Signed-off-by: Sandy Cash <scarlet.tanager@gmail.com>
    jberkhahn committed with ScarletTanager Jun 14, 2016
Commits on Jun 13, 2016
  1. DEA is guaranteed to heartbeat during evacuation

      - during evacuation, droplet.exited will no longer be emitted to
        allow evacuator to be removed from HM9k
      - added an attr_reader for heartbeat_timer in bootstrap to be used in
        the evacuation_handler so it can be cancelled once evacuation starts
        to avoid heartbeats with empty instance heartbeats
      - evac handler cancels bootstrap heartbeat timer and handles all HBs during evac
    
    [#121024273]
    
    Signed-off-by: Sandy Cash <scarlet.tanager@gmail.com>
    swetharepakula committed with ScarletTanager Jun 10, 2016
Commits on Jun 6, 2016
  1. Merge pull request #195 from achawki/memory_metrics

    All tests passed, merging.
    ScarletTanager committed Jun 6, 2016
Commits on Jun 2, 2016
  1. Fix missing used memory metric

    [finishes #120803761]
    
    Signed-off-by: Jonathan Berkhahn <jaberkha@us.ibm.com>
    ScarletTanager committed with jberkhahn Jun 2, 2016
Commits on May 30, 2016
  1. Add mem_used_bytes and mem_free_bytes metrics

    Signed-off-by: Philipp Thun <philipp.thun@sap.com>
    achawki committed with philippthun May 30, 2016
Commits on May 20, 2016
  1. Update ruby to version 2.3.1

    - removes the need for hardcoded bundler version
    
    [#119093469]
    DanLavine committed May 20, 2016
Commits on May 11, 2016
  1. Limit retries in callback during staging response

    - The callback is used for test purposes only. There were many attempts
      to have eventmachine play nicely with us but nothing would properly
      return the responses that we wanted.
    
    [Finishes #118500417]
    
    Signed-off-by: Dan Lavine <dlavine@us.ibm.com>
    jberkhahn committed with DanLavine May 11, 2016
Commits on May 5, 2016
  1. Report back to CC the dea_id on staging completion

    [#118940535]
    
    Signed-off-by: Dan Lavine <dlavine@us.ibm.com>
    swetharepakula committed with DanLavine May 5, 2016
Commits on May 3, 2016
  1. Fix hm9000 and cc client log messages to be more consistent

    [#112002909]
    
    Signed-off-by: Dan Lavine <dlavine@us.ibm.com>
    ScarletTanager committed with ScarletTanager May 3, 2016
  2. Remove debug log line

    [finishes #118830513]
    DanLavine committed May 3, 2016
Commits on Apr 28, 2016
  1. Fix math so we do not lose precision in cpuPercentage

    [finishes #118219037]
    
    Signed-off-by: Jonathan Berkhahn <jaberkha@us.ibm.com>
    ScarletTanager committed with jberkhahn Apr 28, 2016
Commits on Apr 27, 2016
  1. Clean URI in download

    [finishes #118501591]
    
    Signed-off-by: Jonathan Berkhahn <jaberkha@us.ibm.com>
    ScarletTanager committed with jberkhahn Apr 27, 2016
  2. Multiply cpuPercentage by 100 to emulate Diego behavior

    [finishes #118219037]
    
    Signed-off-by: Jonathan Berkhahn <jaberkha@us.ibm.com>
    ScarletTanager committed with jberkhahn Apr 27, 2016
  3. DEA accepts staging requests over HTTPS and NATS

    [finishes #112002909]
    
    Signed-off-by: Swetha Repakula <srepaku@us.ibm.com>
    ScarletTanager committed with ScarletTanager Mar 24, 2016
Commits on Apr 20, 2016
  1. Config checks for existence of certs and reports specific missing cer…

    …t files
    
    - Make cert/key required if ssl is configured
    - List any missing files explicitly
    - Split verify_certs into ssl- and hm9000-specific methods
    - Added test for validate()
    
    [finishes #117434913]
    
    Signed-off-by: Dan Lavine <dlavine@us.ibm.com>
    ScarletTanager committed with Anonymous Coward Apr 19, 2016