Cleaned up a flakey test for director locks

- Test was expecting lock renewal to have happened, which may not happen
  during a 0.1s test.

[#76021152]

Signed-off-by: Phan Le <ple@pivotallabs.com>
Merge final release for build 2669 to develop
Fix notifying_plugins_spec

Since bf0b96c (Simplify bosh-monitor stop), this test would cause unit tests
to fail because EM would have still been running in another thread.

Signed-off-by: Tom Xing <xingzhou@cn.ibm.com>
Make sure vpshere shuts down VM

* Wait for 60 seconds for VM to shutdown
* Send power-off command if it still up

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Set ntp server in vsphere manifest properties section

Director config file is using ntp server configuration from
manifest properties section.

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Decrease the number of parallel tests on traivs to 4

This is to prevent Travis from killing integration tests

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Fix installation of bosh-template executable

s.files does not contain "bin" directory
Move authorization for /varz into ApiController

This will allow us to add separate routes that do not require authorization.

Signed-off-by: Tom Xing <xingzhou@cn.ibm.com>
Add /healthz endpoint to Bhm::ApiController

Signed-off-by: Tom Xing <xingzhou@cn.ibm.com>
Update health_monitor monit file

Use health_monitor_ctl script to kill a non-responsive health_monitor instead
of using /bin/bash with the pid. This adds the 'kill' command to the ctl
script.

Signed-off-by: Tom Xing <xingzhou@cn.ibm.com>
Adding final release for build 2671
Update job ctl scripts

Check for existence of PID prior to killing.

Signed-off-by: Tom Xing <xingzhou@cn.ibm.com>
Added better support for naming releases

- Name can now be changed in the config without affecting previous
  versions
- Create release now allows --name to specify a different name than what
  is in the config
- Added migration to change the releases & dev_releases dirs to have
  sub-dirs for each release name

[#72994716]

Signed-off-by: Phan Le <ple@pivotallabs.com>
Improved integration test coverage for named releases

Signed-off-by: Phan Le <ple@pivotallabs.com>
Split release.rb into command specific files.

Signed-off-by: Phan Le <ple@pivotallabs.com>
Increase text limit for data columns

* compiled_packages -> dependency_key
* deployment_properties -> value
* director_attributes -> value

Signed-off-by: Michael Maximilien <maxim@us.ibm.com>
Retry downloading if sha mismatches

Signed-off-by: Michael Maximilien <maxim@us.ibm.com>
Update 'bosh upload --skip-if-exists'

Given a local release tarball which contains an old-format version string,
e.g. 0.1-dev, uploading with --skip-if-exists to a new director which has
0+dev.1 will properly skip rather than try to upload and throw an exception.

Signed-off-by: Kris Hicks <krishicks@gmail.com>
Change SoapException to SoapError

SoapError inherits from StandardError so that rescue will
catch it by default

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Log full error information

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