26 Commits

Author SHA1 Message Date
Jerry Zhao
4bb0d0a14c add service status check after openstack cluster is deployed
check service status after openstack cluster deployment is complete
to have a basic peace of mind.
will add tempest tests later.
also update openstack logs archive rule to use latest variable.
fix fastest_url to follow http redirects.
pin python-daemon version to 1.6.1 because 2.0 breaks.

Change-Id: I0830138381f99e128fd4dfc72f146dd16530d72b
Partial-bug: #1393182
2015-01-12 00:43:05 -08:00
zhaoxinyu
afba46ce6b kill dnsmasq to avoid conflict with dhcpd
libvirt start dnsmasq to provide dhcp service on virbr0,
but unfortunately it by default binds on all interfaces.
to avoid conflict with dhcpd started by cobbler later, kill all
dnsmasq since it won't be used by ci anyway.

Change-Id: I006f6c3e3493a34c4770cff0b35ee8f4b2b5293c
2014-11-21 08:28:19 -08:00
zhaoxinyu
bd9fd8a83c move packages to dependency.sh
move packages installation to dependency.sh.
CI image preparation every night can benefit from it too.

Change-Id: Iab64ec9b0044bfff1cf7776b8cf57d0cf2ca8907
2014-11-20 03:55:51 -08: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
e6ea75052f update compass-core code when log location chagned
Change-Id: Ia68fc70e3e4045db28f92592804d4a7284fe328c
2014-09-22 11:04:58 -07:00
xiaodongwang
cfd3b7924e change the compass deamon name in httpd service
Change-Id: I094a9f069f754482c197a12c46144834bec5ae1a
2014-09-06 20:12:05 -07:00
zhaoxinyu
63fe2e69a7 Make packages in virtualenv take precedance.
Duplicate installations of packages in system python environment
will take precedance by default and make unforseeable issues, so
we declare to use packages in virutalenv first and then system packages.

Change-Id: I29a56ffad33dfabec3ea73a84dbdc8e943ca8153
Closes-bug: #1354625
Cherry-pick from review.openstack.org/#/c/113052/
2014-08-20 17:09:51 -07: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
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
35d18ba688 refact api code to make it more clean
Change-Id: I4e520bd55c0a4b1df67bc8c68681437e71e310e6
2014-07-23 16:09:15 -07:00
xiaodongwang
71883bcd4c add preseed support for ubuntu
Change-Id: Ifa4f7af2fe072585e611667c35d0d71830f410c5
2014-05-16 11:08:16 -07: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
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
zhaoxinyu
083efdedcc Add openstack logs in rsyslog server side config
Change-Id: I6e767aa0769c4b8d5dbeee191a641f21817f238b
2014-04-11 17:17:02 +00:00
zhaoxinyu
5f304d4a1f Change the way to get controller IP for scp
In HA scenario, endpoint ip is HA VIP instead of real
controller's IP, causing scp openrc to fail.

Change-Id: I723c138710041cd7c3bae4fed6781bddc0e1cc9d
2014-04-08 02:56:33 +00: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
zhaoxinyu
885609ef39 Add tempest run scripts and prepare scripts
Also change some hardcoded network config to dynamic
Change-Id: I5dc1df89b32436a41cf7d7c46e30be879207b224
2014-04-03 23:59:01 +00: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
zhaoxinyu
91158e54ff move end 2 end test sequence scripts from jenkins job config to
stackforge

so changes to codes can be aligned with changes to test scripts.

Change-Id: I544e21dfbf524e79b16b2cfdc634cd8a5ad8fc18
2014-02-25 19:06:31 +00:00
xiaodongwang
2beaa6421e make install script rerun and add logrotate support.
Change-Id: I84526351f9aa4882d498601ebe9681e622909516
2014-02-07 21:54:28 -08:00
Weidong Shao
8dd3cbf3a6 Redirect Apache default page to Compadd demo page 2014-01-09 19:01:51 +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