Commit Graph

43 Commits

Author SHA1 Message Date
Xicheng Chang 34e734f474 Revert "Merge "fix compasss.sh""
This reverts commit 35472d1f15, reversing
changes made to 5a929be775.

Change-Id: Ie5f2f92473489bb5be981b97e17597e91ff1cbf9
2017-01-03 12:08:01 -08:00
Xicheng Chang 0e61a12c76 Make compass work on both remote and local install.
Change-Id: I7a9b03bcf5fa6e2a4686a4e2a68dbcc2654cb93d
2016-09-14 11:33:20 -07:00
Xicheng Chang 682ca408d1 fix the bug caused by hostname.
Change-Id: Id43088aa49ebe76107e8e9a62318b908ea3b384a
2016-08-31 12:58:05 -04:00
Xicheng Chang 9da13f2b85 Add logstash forwarder to agent.
Change-Id: I6ba34cadaf9f7d69d6b7039b9ebea9523d433fd1
2016-08-19 13:15:08 -04:00
Xicheng Chang 975ac6820c fix url in preseed_post_anamon.
Change-Id: I5416544bea020eaea7bd8e5b867c2d53bd0678c4
2016-08-16 19:14:20 -04:00
Xicheng Chang cbdb6093bd Fix some bugs
Change-Id: I4b87d63e31f80faeefcf97eccf903d70ce6e8504
2016-07-19 18:25:03 -04:00
Xicheng Chang 62d20d75d5 Edit preseed post anamon snippet
Change-Id: I9da54e4344ed160561191f0e4abda00f9de36e76
2016-07-11 20:14:00 -04:00
Xicheng Chang 9449deffce Add confs
Change-Id: Ib9bc2c5c6ca224bb88bccf296fcfd8fafbcaee0d
2016-07-11 18:17:41 -04:00
Xicheng Chang fb26ea6210 Fix syntax bug in debian.yml
Change-Id: Ib641328ecc26455cc8069273153d91f50580ac2a
2016-07-10 01:13:38 -04:00
Xicheng Chang 92061511a5 trim install
fix bugs

Change-Id: Ib844b103d4c1bb9e9b8bf70f0c5df323e0be8a2b
2016-07-09 21:24:27 -04:00
Xicheng Chang 4e1e8063f9 disable acclerate mode
Change-Id: I924f327edb028399067761b55b719367079f5970
2016-07-06 21:15:53 -04:00
Xicheng Chang 0b8659d790 enable remote-deploy
Change-Id: I44177e7f212a7f6f3c76ebed49574e4d537bcd8f
2016-07-06 14:36:35 -04:00
Xicheng Chang 94457e68dc Testing compass-ci
and fixing it...

Change-Id: I97400827d35db3c9a1f00a266d89373015633e88
2016-03-03 10:29:16 -08:00
baigk 92169083f8 add pip repo for deployment machines
download pip packages and create pip repo for deployment machines

Change-Id: Iefb2cad65970c845ddc728895bbdef4002d72f7f
Signed-off-by: baigk <baiguoku@huawei.com>
2016-01-04 10:11:29 +08:00
Xicheng Chang de164df670 Support install.sh for installing compass onto centos7
Change-Id: I2f652482ff112624d82cdca26a14ac3f83dd5045
2015-12-18 16:37:19 -08:00
Carl Li 371b5c978e move stackforge to openstack
Change-Id: I78d9c15f5565ba9bd9495bb2df910ff26da00544
2015-10-18 09:57:23 -07:00
xiaodongwang d8825b2886 setup installation interface ip before regtest
Change-Id: Ic46ccd2506e1598d419d9c8af7268d4e27f82410
2015-04-25 15:28:08 -07:00
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