[microbosh] If a public IP cannot be discovered, fall back to configured vip/ip [fixes #558]

The following micro_bosh.yml snippet previously failed unnecessarily:

    network:
      type: manual
      ip: 10.15.212.70
      cloud_properties:
        subnet: subnet-0420752c

Now, the network.ip will be used as the client_services_ip.

The following is output in the logs:

    using configured ip=10.15.212.70
Fix a BAT dns value error: the nameserver should come from env.dns_host
rather than env.director
Merge final release for build 2640 to develop
Remove uuidtools gem from vendor/cache

This was missed in 8fa45635 (Use SecureRandom instead of UUIDTools)

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Remove hard-coded gem home in bosh_cli_session

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Remove more hard-coded gem home in specs

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
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>
Adding final release for build 2641