165 Commits

Author SHA1 Message Date
Weidong Shao
c5b2c92dfd Use dev/experimental branch for compass-adapters repo
Change-Id: I1e4c07a5e72fd6c0ef88e90088ce1a157d1590a6
2014-08-07 09:36:30 +00:00
Jenkins
5ac173e9bb Merge "fix deployment bug" into dev/experimental 2014-08-07 06:48:18 +00:00
Weidong Shao
832f10bbf1 Remove JavascriptMVC in the new web UI.
Update Apache config to point to v2 html.

Change-Id: Id60fb65c0452d9369d937f0a33baa3943f123cfe
2014-08-07 05:32:03 +00:00
xiaodongwang
4d28f78bf4 fix deployment bug
Change-Id: I4045cb59e47542ef5dd18eba92f3afaaa15119ff
2014-08-06 22:28:01 -07:00
Jenkins
3d367095f3 Merge "fix install bug" into dev/experimental 2014-08-07 04:51:11 +00:00
Jenkins
a1d0989d20 Merge "make refresh.sh exit on errors" into dev/experimental 2014-08-07 04:45:13 +00:00
xiaodongwang
06020bc48f fix install bug
Change-Id: I7eecc6c6df45c92ea7d9bf15ad3ad2c74e35c9fe
2014-08-06 21:14:44 -07:00
Weidong Shao
33f03c24d1 Update requirements.txt to include argparse and Mysql-python
Change-Id: I7553037a34045ad32bce70787b19e64a7565c8dd
2014-08-07 02:56:18 +00:00
zhaoxinyu
d9d3a65518 make refresh.sh exit on errors
Change-Id: Ief301c621994fa00a9333d604b4d38a347778d8c
2014-08-06 18:28:26 -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
Jenkins
3374ecfde3 Merge "Patch Cobbler python module to fix logger.info error in manage_bind.py" into dev/experimental 2014-08-06 23:26:19 +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
xiaodongwang
3b59f335b9 update api code
Change-Id: I1712ce8507386f6ad47c4aa637f0b61d102c11ba
2014-08-06 15:41:15 -07:00
Jenkins
d643bf8dbc Merge "Add unittest for User DB API" into dev/experimental 2014-08-06 21:39:41 +00:00
Jenkins
4fc3300a9c Merge "fixed bugs in deployment module" into dev/experimental 2014-08-06 21:39:17 +00:00
grace.yu
9bf3baba34 fixed bugs in deployment module
Change-Id: I0aff90f4abba485da5a654d5c85f50ef574dd09b
2014-08-06 11:52:50 -07:00
xichengc
bd745ff87e Make Health Check work with new db and config
Change-Id: Ic4c9913b45e09add559adcae6c441b55ef356731
2014-08-06 11:26:25 -07:00
leilei9547
af41d35aae Add unittest for User DB API
Fix bugs in db/api/user
Change-Id: Ie74705ac15cde67bf0063b33ec535f50e2892e1d
2014-08-06 11:02:21 -07:00
xiaodongwang
21cc07bed3 update host state when updating clusterhost state.
Change-Id: I9c208870de9cc6e6dd8310c32455a951b1f09585
2014-08-05 23:45:42 -07:00
Jenkins
ce17c1c3db Merge "deployment module" into dev/experimental 2014-08-05 01:17:16 +00:00
grace.yu
e744fe33c6 deployment module
Change-Id: I1305b74595ab3259e9a813157eb4d8e653ca6f3f
2014-08-04 17:34:44 -07:00
xichengc
e87ed4342d Place update_state methods out of db session
Place update_state methods out of db session;
Match package installer name by regex.
patch2: fix style

Change-Id: I26d3f21e2d3c022ebe2b4635583c33074434ae46
2014-08-04 16:13:15 -07:00
xiaodongwang
8710a15261 fix api bug
Change-Id: Icbc5b1da947d988fb8240e7de80084baf3a9cc91
2014-08-03 14:51:17 -07:00
Jenkins
814f35d22e Merge "Add Progress Update feature to new compass-core" into dev/experimental 2014-08-03 21:16:05 +00:00
root
c24e622578 Add Progress Update feature to new compass-core
temporarily commented out run_in_session in util
Separated DB tables for clusterhost and host state.

Change-Id: Ib4e4c6c1931bbbf62b0b77bc994bffecb0fe27bd
2014-08-02 12:29:30 -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
Jenkins
0e607e4563 Merge "update api code" into dev/experimental 2014-08-01 00:24:20 +00:00
xiaodongwang
d945029151 update api code
Change-Id: I70e7636cdfcbc5c5195e5a91b5cc7a401b6c9d72
2014-07-31 16:13:53 -07:00
leilei9547
556e89843e Separate progress into host and package.
Change-Id: I72ae548037f77ec761d10aa869d9954873fb47f5
2014-07-29 12:12:14 -07:00
xiaodongwang
e8055850a1 change adapter code
Change-Id: Id5709d8ac723b31596ec97cf251ef09f343372c6
2014-07-27 01:12:13 -07:00
xichengc
76436d717a test for db/api and compass/utils
-patch1: fix pep8 style

Change-Id: Ib952cc4e46732d0f2ccf8220c16c88e8e570796d
2014-07-24 23:58:33 -07:00
xiaodongwang
35d18ba688 refact api code to make it more clean
Change-Id: I4e520bd55c0a4b1df67bc8c68681437e71e310e6
2014-07-23 16:09:15 -07:00
xiaodongwang
ffed509623 update apiv2 code
Change-Id: I30057083bd29f2324f1ad4c0be34b60b696db2c6
2014-07-22 11:51:30 -07:00
graceyu08
1ef039fca3 add api and db to compass-core
Change-Id: Ic5219943f52848b4e8554023bce21fa1588b27a6
2014-06-02 14:22:11 -07:00
Weidong Shao
97eea73f65 add default branch in .gitreview
default to dev/experimental for this branch

Change-Id: Ifa86cb0458e24cd5a37303f42937e6fb95100e64
2014-05-22 21:40:35 +00:00
Weidong Shao
bb479aef24 Add initial directory for new API 2014-05-22 21:05:39 +00:00
Jenkins
49fad1a103 Merge "add preseed support for ubuntu" 2014-05-20 20:22:25 +00:00
zhaoxinyu
b7e7ad6d99 Bump up mgmt ip start to avoid conflict with compass server
now start from *.*.*.10 but test slaves where compass server
is can be out of 10 so a conflict might happen, so increase
to 50.
pin pycrypto version to 2.0.1 and below
Keystone client grizzly version only work with pycrypto below 2.0.1,
so pin pycrypto to 2.0.1 and below.
Closes-Bug: 1321032
Closes-Bug: 1321056
Change-Id: I2f72937ee128d34ce2eb02f35edff700eab686a5
2014-05-20 01:56:37 +00:00
xiaodongwang
71883bcd4c add preseed support for ubuntu
Change-Id: Ifa4f7af2fe072585e611667c35d0d71830f410c5
2014-05-16 11:08:16 -07:00
zhaoxinyu
47550ababc Add zuul related variables in prepare script
Prepare to switch to zuul for trigger and gating.

Change-Id: I58eb2e52be04186385711daf324ec86798b8b990
2014-05-08 01:27:23 +00:00
zhaoxinyu
097ba7eaa4 Remove rsyslog added tags in openstack logs
To process logs by os_loganalyze on log server, the format
need to be the same as in original log files.

Change-Id: I07935eae0d29005725a27f8b4b4056219ccf7005
2014-04-29 22:11:17 +00:00
zhaoxinyu
915371319a Bridge private and public network for tempest
Float ip needs route to private network so floating ip can
be associated to a vm.
Also make rsyslog config apply for logs from haproxy.

Change-Id: I628bc8d6c7486301e1a9aba2cd78080285e33d8d
2014-04-24 02:22:18 +00:00
Jenkins
48ae7bf5be Merge "Increase disk size to avoid insufficient space for tempest" 2014-04-22 23:15:46 +00:00
zhaoxinyu
7bb397108d Increase disk size to avoid insufficient space for tempest
Sometimes when running volume related tempest tests, there is
change that such error occurs: "Failed to create ALL necessary
volumes to run test". It might because a race in deleting and
creating volumes. Anyway, 5G cinder volume is enough but not by
a margin. Give it a little more space.

Change-Id: Id129c21461fd027e4eddf9ea7aee24f74154dee7
2014-04-22 16:41:12 +00:00
xiaodongwang
36a7843d6d support testmode in chef
Change-Id: I9c43ff2aaf3ae96aa4ef826e0a0caddffffbaba2
2014-04-18 18:19:03 +00:00
zhaoxinyu
a5867abbc6 Don't start tempest before nova-compute is ready
If nova-compute and nova-conductor are on different nodes
and n-compute is up before n-conductor, n-compute will retry
to register health but there will be increasing wait time
between retries, so make sure n-conduct sees available compute
nodes before starting tempest.
also added a parent http proxy to speed up installation and
a dependency for tempest.

Change-Id: Ica46c66bc8b7589915490555d86674eb49c0db1c
2014-04-18 05:08:35 +00: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
Jenkins
345d0e2c91 Merge "Add openstack logs in rsyslog server side config" 2014-04-15 17:38:55 +00:00
Jenkins
39f3c26ae5 Merge "make install script to catch up more typo error" 2014-04-15 17:26:08 +00:00
grace.yu
4c69d120cd Add initial code for user authentication
Change-Id: Ie0c439244f1ae3af707b73ef64b1a411c2aede20
2014-04-14 18:13:04 -07:00