Update rspec style

- Use allow instead of stub
- Unfortunately use double instead of stub_chain

Signed-off-by: caleb miles <cmiles@pivotallabs.com>
Vsphere client delete_path method should be idempotent

- Rescue file not found errors.
- Raise all other errors, including invalid path.

Signed-off-by: caleb miles <cmiles@pivotallabs.com>
Obtain ISO image location from cdrom configuration

Instead of assuming that ISO image is located on the same datastore where
VM virtual disks are located, use the cdrom device information to obtain ISO
location. DRS can move disks to different datastores leaving ISO images
in old datastore.

Signed-off-by: caleb miles <cmiles@pivotallabs.com>
Raise CloudError if env.json is not found

Signed-off-by: caleb miles <cmiles@pivotallabs.com>
Clean up old environment files when updating them

VM migration may leave env.json and env.iso in old datastore. These files
should be cleaned up on update. Otherwise they can be lost forever.

Signed-off-by: caleb miles <cmiles@pivotallabs.com>
Reconfigure cdrom when updating env files

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Only reconfigure cdrom once on vm creation

Previously, reconfigure was done manually inside create_vm, and then
again through agent_env.

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Add lifecycle test for vm migration

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Targetting -> Targeting

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Remove compilation of openssl from source

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
increase timeouts for backup and snapshotting

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
Adding final release for build 2641
Merge final release for build 2641 to develop
Update OS_IMAGES.md

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
formatting OS_IMAGES.md

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Enabled concurrent requests while a stemcell is uploading

- Updated nginx to 1.4.5
- Added nginx module headers-more-v0.25
- Added nginx module nginx-upload-module-2.2
- Modified upload stemcell controller to use nginx's upload module,
  which handles uploading so that it doesn't block Ruby execution. This
  allows the director to respond to concurrent requests.

[#74421246]

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
Enabled concurrent requests while a release is uploading

[#74421246]

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
Enabled concurrent requests while a compiled package group is uploading

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
split up finder from a conditional

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>
use nginx with integration tests and removed direct tgz upload to director ruby process

Signed-off-by: dmitriy kalinin <dmitriy@pivotallabs.com>