31 Commits

Author SHA1 Message Date
xiaodongwang
94b6c5db2d make compass install robust
Change-Id: Iab71a2df4c1bb16bd7d60d149bd86bcbac2d4511
2014-11-10 16:22:42 -08:00
Xicheng Chang
f932d2d129 Add automatic source/mirror selection.(bug #1389425)
Remove region selection.

Change-Id: Ic59d28d9cb710ab79f81cdacf93125f2567238d3
2014-11-06 21:36:19 -08:00
Xicheng Chang
4a7c36473c Switch rpms to centos.org mirror
Change-Id: I48a61d565e17d37f04bb6d13edc9bad5eac9942c
2014-11-05 11:09:09 -08:00
Xicheng Chang
ec24bb4208 Fix some bugs in install.script.
Change-Id: I3ed6954a958563f0b8759609e6cc17ad125b69dc
2014-10-31 17:20:29 -07:00
Xicheng Chang
a86730d5b3 Add rpm and iso source for Tsinghua
Change-Id: I5627c3c4bbe69c17f56a8e2ac351e4c4e4d18f03
2014-10-31 13:37:14 -07:00
xiaodongwang
3c277ba890 fix installation bug
Change-Id: I68154310c79516a31676d231ae16e754653d8a6d
2014-10-31 00:11:21 -07:00
xiaodongwang
47fa000695 fix rpm dependency issue
Change-Id: Ib765a54def9430418779b927b3a828997f5a0661
2014-10-30 14:33:51 -07:00
xiaodongwang
0ea4e44f45 fix obselete url
Change-Id: I1a724e4b6447be29b520abe2de97d9405533744c
2014-10-30 11:52:48 -07:00
Xicheng Chang
0ffb95c0da Fix bug for yum-plugin-priorities in ppa repo
Change-Id: Ied99e7cbb9b517a1c5720ced6241a8bb40b41fc9
2014-10-17 14:02:28 -07:00
xiaodongwang
88eb112683 make init db, load adapters/metadatas lazy initialization
Change-Id: I7f32732a9a2a1bc9ec721dad6e0c43ceef8c5f11
2014-10-05 11:29:43 -07:00
zhaoxinyu
c4674360ef add regtest script and conf
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
2014-09-17 11:46:07 -07:00
Xicheng Chang
717d0b81d8 Add metric in zone template
Change-Id: Ia69811261d15c6aeccdb11788b072dbbf263b730
2014-09-05 11:00:12 -07:00
xiaodongwang
06020bc48f fix install bug
Change-Id: I7eecc6c6df45c92ea7d9bf15ad3ad2c74e35c9fe
2014-08-06 21:14:44 -07:00
Weidong Shao
1d0232c8dc Fix the cobbler patch script. Extra \ character in previous CL.
Change-Id: I9bb2fe5d0d4776a0aef43fe6402e15c940c4f4c4
2014-08-07 00:56:56 +00:00
Weidong Shao
03173830bc Patch Cobbler python module to fix logger.info error in manage_bind.py
Change-Id: I61e3e0e5efb75cbd515c330d0d631e6f95e1996f
2014-08-06 23:01:54 +00:00
zhaoxinyu
a044f9f3c5 Install Compass in virtual env
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
2014-07-31 19:50:49 -07:00
xiaodongwang
71883bcd4c add preseed support for ubuntu
Change-Id: Ifa4f7af2fe072585e611667c35d0d71830f410c5
2014-05-16 11:08:16 -07:00
zhaoxinyu
1adc10c922 Add network connectivity test
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
2014-04-16 22:11:10 +00:00
xiaodongwang
99364d98f0 make install script to catch up more typo error
Change-Id: I4a45befe6c7f2d3205d70380b08d3881194f15a6
2014-04-14 11:33:12 -07:00
Jenkins
1945af9c14 Merge "Install a new version of rsyslog" 2014-04-04 01:49:43 +00:00
zhaoxinyu
9990927642 Install a new version of rsyslog
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
2014-04-03 00:04:07 +00:00
xiaodongwang
74f1bc08a4 add regtest framework
Change-Id: Iee78d5445f1c8e2687e527d3505a191074d69776
2014-04-02 15:07:45 -07:00
xiaodongwang
ece0a3e936 add code to match new pep8 style checking and fix bugs.
Change-Id: Id5fd48b8149d3934e4854366e59475f37624ec24
2014-03-11 01:26:42 +00:00
xiaodongwang
7f080e4e51 fix pep8 warning and move major util code from bin to compass dir.
Change-Id: I7baa536888db1ca46cadcdf07ef9cc0a1a3a12fb
2014-02-19 22:25:45 -08:00
zhaoxinyu
203a167ce1 Add packages download in prepare script to save build time
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
2014-02-19 04:23:02 +00:00
zhaoxinyu
d5c2d5eedb Add looking for env variables to overwrite hardcoded values
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
2014-02-15 00:49:56 +00:00
xiaodongwang
2beaa6421e make install script rerun and add logrotate support.
Change-Id: I84526351f9aa4882d498601ebe9681e622909516
2014-02-07 21:54:28 -08:00
Xicheng Chang
7bb1a48246 fix bugs in install scripts
Change-Id: Ia844376ceec44627acf640fa02870b39536f30bf
2014-02-04 16:54:49 -08:00
Xicheng Chang
7c31e6a7fd Updated install scripts
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
2014-01-23 10:31:17 -08:00
Weidong Shao
055e69bb82 Update Compass install script and config management code 2014-01-10 23:20:31 +00:00
syang
cf67d3ad47 Migrate repo of 'compass' to repo of 'compass-core', leave 'compass' to host project homepage 2014-01-08 19:18:04 -08:00