15 Commits

Author SHA1 Message Date
Xicheng Chang
625b8264a7 Fix some bugs in client.py
Change-Id: I4024ea4b8aaf04e00c180fc2510c3f3fe12033b5
2015-04-15 16:36:01 -07:00
xiaodongwang
a8b54b2258 delete cluster and set cluster_id in chef server env
Change-Id: I33b7d978a0f2cfabd1a6e3b0177dfec059dc9666
2014-10-25 11:57:14 -07:00
xiaodongwang
f560aa8cef fail early when deployment action fails.
Change-Id: I44d6f1bc7e9d9c00f48f3c0d1daf5b482a720d1f
2014-10-13 09:21:08 -07:00
xiaodongwang
fc96f79cdb add local repo support in regtest
Change-Id: I1ab9fe97ff53d072848015f2299faab645ec3d14
2014-10-06 13:42:52 -07:00
xiaodongwang
88eb112683 make init db, load adapters/metadatas lazy initialization
Change-Id: I7f32732a9a2a1bc9ec721dad6e0c43ceef8c5f11
2014-10-05 11:29:43 -07:00
xiaodongwang
6413d34aa7 add ubuntu os only regtest conf
Change-Id: Id5e72cad18cc9b864336ecc1febae23aa19e7e36
2014-09-27 23:56:05 -07:00
xiaodongwang
5b969f98cd make compass support os only cluster
Change-Id: Ia6e8d1bde05822a6d8d98018ff0e3126e6a31323
2014-09-22 12:24:46 -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
xiaodongwang
e8efc9210d add client script to install openstack by script.
Change-Id: Iab9e234050c602211258f76e328a69a53d1c173c
2014-09-09 16:32:51 -07:00
xiaodongwang
9a51828a87 make our utility script switch to virtual env before running.
Change-Id: I76a214a81e72d08b3d00704b78e92b450943ddc4
2014-09-05 13:16:47 -07: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
zhaoxinyu
0deff5f1fe Set number of poll switch retries to 5
Take number of retries into account, set default to 5.

Change-Id: I820074d87b9e82a6b51cc63ecc70d0cc179a244c
2014-04-09 03:44:29 +00:00
xiaodongwang
8065a459ff add option to ignore poll switches by env variable USE_POLL_SWITCHES
Change-Id: I9c7f4fef481314a8616ddb89b0da7fec0a6797c9
2014-04-08 16:55:30 -07:00
zhaoxinyu
a60b5d2ccd Change some static values to dynamic and add minimal test config
Also fixed some typos and add teardown after test

Change-Id: If279d8c59d32a6eef0e6dded726ead99d4c644e6
2014-04-05 03:39:03 +00:00
xiaodongwang
74f1bc08a4 add regtest framework
Change-Id: Iee78d5445f1c8e2687e527d3505a191074d69776
2014-04-02 15:07:45 -07:00