Change-Id: Ieb82235bd6b436b6716992c1b45698b083d03d86
remove pre-existing chef files before uploading new chef files.
having legacy stale chef roles/cookbooks/databags in the knife
source directory will result in possible failure of dependency check,
so gurantee we have the latest code in that directory.
clean installation logs when refresh database.
Change-Id: I6609e90e51d8ca3560f1848f2de62e148f0c5b49
Create virtualenv for compass, point compass site packages to virtualenv,
make virtualenv accessable for apache.
Change compass executable scripts to use python in env to be virtualenv
compatible.
Make progress_update daemon use virtualenv.
Comment out some health checks that use packages not available to pip, eg,
yum, apt since we have other ways to check packages any way.
Conflicts:
conf/compassd
install/compass.sh
install/dependency.sh
install/prepare.sh
misc/apache/compass.wsgi
requirements.txt
Change-Id: Ib48633601bf238ffc660c4694834897edbe45e07
also add a skip-broken flag to yum update for the time-being
because a syslinux dependency: syslinux-nonlinux was not found
in centos mirrors. It is on the way though.
https://www.centos.org/forums/viewtopic.php?f=14&t=45933
Need 'yum clean all' to update metadata and get the latest package
list from mirros.
Fix a bug in prepare.sh. it didn't fetch the gerrit refs.
Restore some package pre-load scripts in prepare.sh to make CI faster.
Change-Id: I66f06bdfb801204fb956c7a264c98de879322744
Some bugs are fixed in the new version. Hoping
the new version will fix the chef log syncing problem
after rsyslog restart.
Change-Id: I592638553bd42b8ef2b57bd3feba75dc3d4506eb
prepare script will run when nodepool update test slave image,
so when install script runs, all the big packages are in place.
Change-Id: I3baabee2833d9db115fd4c1c929a1074113f30fa
Also add timeout for checking installation status
To be suitable for jenkins test. The PRESET_VALUES can all be set to
compass IP. Also set mac address to the pxe vm in jenkins slaves.
Currently we only test os-dashboard role to save time.
Change-Id: I6194f62f21887af173c5c318577c4eb86de0eabf
Migrate to stackforge/compass-core. If the installation is based
on local, now run './install.sh --source=local'. If the source
variable is not specified, the installer will download it from the
public repo.
Change-Id: Ic4dd746642a4231b11d5618fff8c5cda4cc39630