124 Commits

Author SHA1 Message Date
xiaodongwang
a18bdbf92b update cluster state to error when deployment fails
Change-Id: I54fb25d6151679118cf648b5c2192d56f7d95957
2015-04-29 23:40:00 -07:00
Xicheng Chang
191afe8ae5 Copy ansible callback plugins to /opt/comass/bin/ansible_callbacks
Change-Id: Ic0593eb1881b6f08c8b713aecc463cd26cd12153
2015-04-22 18:22:40 -07:00
xiaodongwang
dca02024d9 fix user param appear at first problem
Change-Id: Ie097044a2fd6467f4de531d7f2ba5fe1a2576f23
2015-04-22 11:10:07 -07:00
Xicheng Chang
6fcc29479d Add ansible related install scripts
Change-Id: I7ab32df59882eb1bba66e4d613b4fbd72972f3ee
Todo: find out a way to dynamically turn off strict key checking.
2015-04-15 16:19:47 -07:00
Xicheng Chang
654a2abe14 Fix bug in install scripts
"concurrency" is not supported anymore in chef knife commands,
removed it.

Change-Id: I27673c49a1e9750997bed0a5c1ba5ab2bee9f296
2015-03-19 15:37:51 -07:00
xiaodongwang
0edadbd925 add sles11sp3 support for os only version
Change-Id: Ia3e133f76971e0b3c01025a55cfa79da488ed920
2015-03-03 22:51:30 -08:00
xiaodongwang
0e71274fbc check dnsmasq exists before kill dnsmasq service
Change-Id: If9164019d29d4eda230262d27ef34af1dc073fc1
2015-02-04 17:42:58 -08:00
xiaodongwang
0281af28ec fix typo tag/tar and adjust download function
Change-Id: I8fc12457231a65504854736ec88be5da2d492b74
2015-02-03 23:39:21 -08:00
xiaodongwang
98c97e5d6f kill dnsmasq when installing
It seems cobbler installation will auto start dnsmasq. Kill it forcely before restart cobblerd

Change-Id: I5701102ac6d78f1f6ce24b05ba3f8395fec3d29c
2015-02-01 00:14:36 -08:00
Jenkins
756d571473 Merge "unpin versions of python-daemon, paramiko, etc" into dev/experimental 2015-01-28 17:20:15 +00:00
Jerry Zhao
b51f344a37 unpin versions of python-daemon, paramiko, etc
python-daemon 2.0.4 has fixed issue related to setuptools, so revert
the pin but excludes broken versions.
since we have moved compass-core, tempest into virtualenv, it is also not
necessary to pin other package versions to be compatbile with tempest.
Pin MarkDown to <2.5 because py26 is not supported otherwise.
python-daemon also needs a new pip that comes with new virtualenv.

Change-Id: I7f378f344ef2e232c10e77725202acb09b3c3393
2015-01-27 05:08:42 -08:00
xiaodongwang
91c349350f remove unused local repo download
Change-Id: I4ad43d9b6b864ec3e631a3ebb9fb5998053c9835
2015-01-24 21:21:22 -08:00
xiaodongwang
dda3f542d2 fix typo in centos7.0 and ubuntu14.04 repo var
Change-Id: I6eeb53de15063880d2b9be913e9d5f06766d4624
2015-01-18 21:35:16 -08: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
xiaodongwang
090c2d40a2 serve centos6.5 images/ppa_repo in local
Change-Id: I464afdf87b8250ac9b5632934d8393f56bb1f956
2015-01-08 22:44:48 -08:00
xiaodongwang
7c65b99d98 add multi os version support in compass installation
Change-Id: Ide2988ad571b66036491195e6b22428c016d9b57
Partial-Bug: 1404040
2015-01-05 19:02:02 -08:00
Lei Lei
acba93ec1c Move config data in progress_calculator.py to an isolated config file
Change-Id: If8909be51c69a18f01fadb0c00ce2b6a95b9d2d4
2014-12-31 15:56:17 -08:00
Lei Lei
3fe0d59558 Add integration test for update_progress.py
Change-Id: Ie7a359b6028dafc706c2213b8745e45c9bf414a2
2014-12-29 14:58:26 -08:00
Jenkins
d1ee9e7e36 Merge "add debug message to investigate install locking" into dev/experimental 2014-12-12 18:22:50 +00:00
xiaodongwang
7330c59f36 add debug message to investigate install locking
Change-Id: I89240199751d5408b60ff12f71e2cd4383dde181
Partial-Bug: 1400924
2014-12-09 15:36:57 -08:00
xiaodongwang
43689097f6 add parted into os installation
Change-Id: Ie5a8fb61278c699485b4f3edc4da5239721c387c
Closes-Bug: 1399880
2014-12-09 15:20:57 -08:00
xiaodongwang
6954edbe59 add reverse dns support
Change-Id: I7ba46cfd3d06379bc10916e7202540b259c1d7bf
Closes-Bug: 1399777
2014-12-05 11:58:35 -08:00
xiaodongwang
2472f79ca6 enable compass check in compass installation
Change-Id: I6213d02d00f1a85cd41d4f1c4405447a36c2c904
Close-Bug: 1398921
2014-12-03 10:17:29 -08:00
Jenkins
46778f5a8c Merge "add status check and timeout for fastesturl" into dev/experimental 2014-12-01 22:11:16 +00:00
Jenkins
9f51f11860 Merge "make login duration based on the last active request" into dev/experimental 2014-12-01 22:09:25 +00:00
xiaodongwang
dc7272bdf0 make login duration based on the last active request
Closes-Bug: 1395420

Change-Id: Ib3963f2a4a5653f168e868afc79e8dc0ab40392c
2014-12-01 20:45:33 +00:00
xiaodongwang
dfa0bae3f2 remove redis db when reinstall compass
Change-Id: I889ec091c78a7e1781328cefff80f7b038a741aa
2014-11-28 23:48:42 -08:00
zhaoxinyu
a5259401e2 add status check and timeout for fastesturl
also simplified some code to retrieve a result.
add huawei source for chef-server and client packages.
upgrade chef-client to 11.10 to take advantage of
concurrency option in knife cookbook upload.
Change-Id: Ic2c771b377918622da88f7243374056d5e0b3dc2
Partial-bug: #1397309
2014-11-28 19:08:02 -08:00
Jenkins
cfe9b21afa Merge "move packages to dependency.sh" into dev/experimental 2014-11-20 22:22:05 +00: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
1a4476205e move kopts param from distro to profile
Closes-Bug: 1393535
Change-Id: I60c2e444b3c74ba72ee2c77fe16b2b77f361fe42
2014-11-17 12:04:40 -08:00
zhaoxinyu
74b5b57e03 Use download speed to decide which url is faster
just getting the root path of a http server to measure the response
time does not necessarily reflect the real download speed of a source.
reponse can be 302 http redirect which may be really fast but download
bandwidth is determined by the route to the real source http server.
Therefore, use download time for the first chunk of 20000 bytes to
determine which is faster.

Closes-bug: #1392816
Change-Id: I3019dce3cf92dd75c58a21987c653cbcb502264b
2014-11-14 10:02:43 -08:00
Jenkins
10ebb13b47 Merge "Change local repo from baidu to Huawei lab." into dev/experimental 2014-11-12 17:55:37 +00:00
Jenkins
8855d11f02 Merge "make compass install robust" into dev/experimental 2014-11-12 17:54:36 +00:00
Xicheng Chang
cfd46526a8 Change local repo from baidu to Huawei lab.
Change-Id: Ic88c0bdd808edf6400be5e769ae35eda3f51adfd
2014-11-11 14:21:23 -08:00
xiaodongwang
94b6c5db2d make compass install robust
Change-Id: Iab71a2df4c1bb16bd7d60d149bd86bcbac2d4511
2014-11-10 16:22:42 -08:00
Jenkins
9146158be5 Merge "install netaddr for cobbler snippet" into dev/experimental 2014-11-10 18:26:19 +00:00
xiaodongwang
266be88389 set ubuntu to use auto interface in installation
Change-Id: Ie9f4764dd05c46067ee12f764cf0e5f55bf73158
2014-11-09 22:48:40 -08:00
xiaodongwang
1db6e7b86b install netaddr for cobbler snippet
Change-Id: Ie413e077837ea17653255ed408708a104fb88f51
2014-11-09 20:00:30 -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
Jenkins
00dd364d8f Merge "Use baidu cloud disk to host local repo for china" into dev/experimental 2014-11-06 00:48:58 +00:00
Jenkins
2b834f72db Merge "Switch rpms to centos.org mirror" into dev/experimental 2014-11-06 00:47:40 +00:00
Xicheng Chang
73c24b5c24 Use baidu cloud disk to host local repo for china
Change-Id: Ibe64b62dcf90d21a5af4ee7171e1baebecc58787
2014-11-05 16:08:13 -08:00
Xicheng Chang
4a7c36473c Switch rpms to centos.org mirror
Change-Id: I48a61d565e17d37f04bb6d13edc9bad5eac9942c
2014-11-05 11:09:09 -08:00
xiaodongwang
d517aaa887 make compass check work in every branch
Change-Id: I1d55248dd5330fdf94a77218810ff696e28f3fd1
2014-11-05 00:47:17 -08:00
xiaodongwang
fd41871603 kill redis server before restart redis
remove force download local repo
enable compass check

Change-Id: I6d0682fe027f283d194e7173215618a8b75b14d4
2014-11-04 00:40:40 -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