Add gemspec for aws_registry

Change-Id: I294c18a7c684a7bc382f12df1144e818a2a38c98
Make drain and stop long running tasks on the agent.

Change-Id: Iad960e1898df7547d9fbab2eb8e54fe3289f2e96
Removed a test leftover

Change-Id: I5d0d1b298de0e0081be762797eeb2e7f4e5a6bb1
Fixed invalid constant reference to Vim:DistributedVirtualPortgroup, now references Vim::Dvs::DistributedVirtualPortgroup

Change-Id: I04edf9730bc53d9d4c341a13030ad5e314b7fdee
Add details to the "No available resources" exception

Change-Id: I992db5a6716b59ffc1787357f19e22499f91b65c
Generate ~/.ssh/authorized_keys before getting registry settings

This is required so the deployer can create a reverse ssh tunnel
to its embedded registry.  Once the tunnel is established, the
http_agent will talk to the embedded registry through this tunnel.

Change-Id: I3a81e5fd0da5def03514f287f5af9dd41bcb7dd7
Bypass AWS registry instance_ip check for loopback

AWS Registry requests from the http_agent (Micro BOSH) will
come from the loopback address, as the http_agent talks to the
deployer's embedded AWS registry through a reverse ssh tunnel.

Change-Id: I567ce52b270774b14ee54e22b06d94a70963036e
AWS Micro BOSH improvements

- get bosh-release apply_spec from the agent

- Bosh::Deployer::InstanceManager plugins (aws,vsphere)

- set default logging.file regardless of logging.level

- 'bosh micro' manages a local aws registry instance

- reverse ssh tunnel gives bosh http_agent access to local registry

Change-Id: I4bad0523fb6350d91d44d59991f3765873b39d0c
Remove ethernet0 device from stemcell

This should avoid the possible ovf network validation issue,
and any NICs are already removed post-import.

Tested with 'bosh micro deploy' micro-bosh-stemcell.tgz and
'bosh deploy' of bosh-sample-release with a stemcell built from
'rake ubuntu:stemcell:build' including this change.

Change-Id: Icd0d34afcfba88d9f14605d5e340ac9201629336
agent should honor nats MAX_PAYLOAD_SIZE

- exceptions now delivered as a hash
  with an optional blob that get purged once it is retrieved by the director
- MessageHandlerError can take a blob argument which get stored in the blobstore
- compile logs get stored in the blobstore
  and purged once it is retrieved by the director
- passes all unit, functional & integration tests
- passes a deployment with old director and new stemcell
- passes a deployment with new director and old stemcell

Change-Id: I52bfc886aa8c8b2dadb280c3fafef22e1a8b2287
Colorize 'bosh diff' output

Change-Id: I7f44a933a45f06640a8f37ea54d95d43227ab15d
updated rspec to 2.10 (mostly)

- director can't be updated as it uses a form which is EOLed
  .and_return { |*args| args.last.call(:foo) }
  where it no longer is passing a proc last in the argument list

- blobstore_client can't be updated as rspec 2.4 (and above)
  breaks ci_reporter on ruby 1.8

Change-Id: Iec9fcea98e088973becc210b6692f0fd324ae5cb
Provide RELEASE_DIR as an ENV variable to pre_packaging

Needed for embedding git commit ids into packages.

Change-Id: I7e07d9c5d4a34e3a3953e383c0fca79825f9cbb9
Read top level REVISION file for git commit id (if exists)

Change-Id: I6b72b3d9486b8a5895d51b154b3e8f9a695e4b90
CLI 0.18

Not a patch version since it includes the
RELEASE_DIR which will be the minimum version
required for building bosh-release.

Change-Id: Iccefbbdfe7ad62aed2d661ce02d926aea59d4ac5
Traverse resource pools in fetch_resource_pool

Currently, BOSH will only look at resource pools in the top level of a cluster. This allows bosh to traverse the resource pool tree to search for a resource pool

Change-Id: I7942464947184d6f225008f5bfc1110d5f8724c7
remove lsof guard

- change umount_guard to retry only on EBUSY.
  the kernel umount impl will return EBUSY when there are still
  processes with open file references to the filesystem

- redirect `umount` stderr to stdout

- double GUARD_RETRIES so we retry for the same amount of time

- change MigrateDisk to use (new) umount_guard

Change-Id: I13225a57aa6f124a60f36c54872384c9b4bc961f
Rescue all known agent exceptions to avoid restarting

Change-Id: I2b48ae51255cd5374969d9a4071bf4c548dbe575
added cpi flag to package_compiler & director info

Change-Id: I06c9da937a0382d4ef0dc331068c29a4deea745b
Bump chef_deployer's bundler from 1.0.10 to 1.1.3 [CF-27]

This version of bundler supports 'install --deployment'
when Gemfile references gemspec with dependencies

Change-Id: I558c80ded4c25a6da9e9be9207115cefe2572136