aboutsummaryrefslogtreecommitdiffstats
path: root/deploy.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-03-29Fix some opera related errorHarry Huang1-0/+6
1. echo a string to compass log to avoid deploy error bing concealed 2. judge return code of ./opera_launch.sh Change-Id: I7ac2bac9b600f289c01116e7f7777d1219a58eb2 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-03-27Revert "opera adapter fix2"Justin chi1-6/+0
* opera_adapter need sshpass which may cause deploy fail * compass log redirection is the last command which always return 0 and thus cover deploy error 1. add installation of sshpass in prepare.sh 2. echo a string at the end of deploy/launch.sh into log file to judge if deployment is complete 3. fix typing error in util/check_valid.py Change-Id: Ifa57faed29e1055a35ab0e24b0026b520f395807 Signed-off-by: Justin chi <chigang@huawei.com>
2017-03-24opera adapter fix2Harry Huang1-0/+6
* opera_adapter need sshpass which may cause deploy fail * compass log redirection is the last command which always return 0 and thus cover deploy error 1. add installation of sshpass in prepare.sh 2. echo a string at the end of deploy/launch.sh into log file to judge if deployment is complete 3. fix typing error in util/check_valid.py Change-Id: Ic4bca50b2c316bf46cace45b9b3317ef9452a0ba Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-03-14Add deploy log to fileQiLiang1-1/+4
JIRA: - The default log file path is: work/deploy/log/compass-deploy.log Change-Id: I6f8ebb028d169a0da88f2a588e4563db4f2f1f76 Signed-off-by: QiLiang <liangqi1@huawei.com> (cherry picked from commit 185218b1731357f1ef4ee4f2898519ede9a34912)
2017-02-22Update deploy.shliyuenan1-49/+10
JIRA: - Remove some environment variables in deploy.sh, such as EXPANSION DEPLOY_COMPASS DEPLOY_HOST DEPLOY_RECOVERY. Those environment variables's instructions can be found in installation guide document. Change-Id: I1a7a2e1ad48d7488793ef80742bad1dab47b4270 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-12-22Change newton_xenial to newtonliyuenan1-15/+3
JIRA: COMPASS-513 Change-Id: I937a02bcd69f0df1f5d951dd6630ef2e76e8d386 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-11-03Edit the deploy.shliyuenan1-0/+72
Change-Id: I611abbd6a1265fc397c8af4f2131e5e073ad91bb Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-02-17Improvement: reset compute nodes for opencontrailchenshuai@huawei.com1-0/+1
JIRA: COMPASS-317 Change-Id: I27b6bb3aa8707f02a51951eed83646a78dafc841 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-01-30add apache2 headers for shell scripts and ansible scriptscarey.xu1-0/+8
Change-Id: I34b66d76f59f4300c7ce4e7bd9dc7c1eaddfb384 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2016-01-27bugfix: prepare python venvcarey.xu1-5/+0
JIRA: bugfix_python_env Change-Id: Ie7f3e295c7c283ff3e805bed13029174c2dda258 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2016-01-21bugfix for jumpserver on ubuntu 14.04.3carey.xu1-6/+4
Change-Id: I59a41ca1ec2c0e576b590d5de39c04cd19273614 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-12-30add Shebang for bash scriptscarey.xu1-0/+1
* Our bash scripts use some bash sepcific syntax, so them can not be started by other shell like zsh. Add shebang for them, so zsh can simplely execute './deploy.sh' Change-Id: Ic6e6afaa83c6de131e6ac4eda1601d11c5b22656 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-12-28support redeploybaigk1-6/+4
JIRA: COMPASS-216 Change-Id: Ide78ac82c1615259eeb7093c7a4485fbe493c6d9 Signed-off-by: baigk <baiguoku@huawei.com>
2015-12-14deploy compass-core and hosts seperatelygrakiss1-0/+4
JIRA: COMPASS-194 - add two entry for seperate deployment Change-Id: I7ea964f7fc1ac7e9191b4c21032e24a1a70aa07d Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2015-09-10Disable confirm when package installingcarey.xu1-1/+1
Change-Id: I7d4ebfa96c3d30f839b68cd9b6de6967e763db13 JIRA: COMPASS-39
2015-09-08Build improvement for speedup and using public repobaigk1-0/+15
JIRA: COMPASS-19 Change-Id: Iba101807e1bd2f843f1253791b7e87e1acb7934b Signed-off-by: baigk <baiguoku@huawei.com>