summaryrefslogtreecommitdiffstats
path: root/deploy/launch.sh
AgeCommit message (Collapse)AuthorFilesLines
2016-10-15Add recovery scriptsQiLiang1-3/+9
- add recovery shell scripts - add boot-recovery role to stop services during system boot which could cause boot pending - configure nfs mount in /etc/fstab cause system boot pending, so mount nfs during ansible-playbook run. - kill mysqld before mysql recovery, running mysqld may cause mysql recover failure JIRA: COMPASS-474 Change-Id: I0f6f0ee935fbe3fbbe28a451a02decfb01a6165b Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-10-11Merge "Add ip and mac valid check functionality"Justin chi1-1/+2
2016-09-23Add ip and mac valid check functionalityHerry Huang1-1/+2
Add function check_input_para in /deploy/launch.sh to check whether there is invalid address in DHA and NETWORK file after function process_input_para is called. Check_input_para is defined in /deploy/deploy_parameter.sh and calls check_valid.py in /util. Exit installation when invalid address or format error is found. JIRA:COMPASS-480 Change-Id: Ib01c368db6b48cbded0045a2819d895c980c2b1b Signed-off-by: Herry Huang <huangxiangyu5@huawei.com>
2016-09-18Add a expansion functionalityliyuenan1-22/+35
Through modify the virtual_cluster_expansion.yml, include host's name and mac, you can decide to how many compute nodes you need to add. And you also need to modify network.yml. Note that external subnet's ip_range should be changed as the first 6 IPs are already taken by the first deployment. Edit ``add.sh``, check the environment variable. Note that the OS version and OpenStack version should be same as the first deployment. Run ``add.sh``. JIRA:COMPASS-481 Change-Id: Id85f02518667e0ff80c2475e70856cd30cf1b9b7 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-08-19Revert "Prepare the jump host offline"Yifei Xue1-10/+6
This reverts commit b7058b4b3f823cf4c95c38741dddc68b59b733cc. Change-Id: I77437a15a0a0c47f768de30eaf7f37cf73f028fb Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-08-17Prepare the jump host offlineYifei Xue1-6/+10
JIRA: COMPASS-456 Change-Id: Ieced8e30bde3d19623b5d2486a52f81c1cf295a3 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-08-04avoid needless package reinstallQiLiang1-0/+2
If you do not run deploy.sh for the first time, then export below env before run deploy.sh can avoid needless package reinstall. export DEPLOY_FIRST_TIME="false" JIRA: COMPASS-449 Change-Id: Ia3b51bd02f4a131d57bf5793900faad9e1acb09e Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-05-24ocl : add sudo for jerkinchenshuai@huawei.com1-1/+1
JIRA: COMPASS-398 Change-Id: If48fbdf9c6a1c2623fdbbea40963791c8fa4da78 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-05-16ocl: add vgw router on jump server for functest and yardstickchenshuai@huawei.com1-0/+5
JIRA: COMPASS-391 Change-Id: I99120617282a27ed8b2d811ad00ae4d10adff93b Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-02-17Improvement: reset compute nodes for opencontrailchenshuai@huawei.com1-0/+8
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-1/+2
JIRA: bugfix_python_env Change-Id: Ie7f3e295c7c283ff3e805bed13029174c2dda258 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-43/+32
JIRA: COMPASS-216 Change-Id: Ide78ac82c1615259eeb7093c7a4485fbe493c6d9 Signed-off-by: baigk <baiguoku@huawei.com>
2015-12-22clean all virutal host before deploycarey.xu1-0/+5
JIRA: COMPASS-212 Change-Id: If19bd069ae1fc8cfe565f1e1ed352f24b9fc3950 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-12-14deploy compass-core and hosts seperatelygrakiss1-3/+16
JIRA: COMPASS-194 - add two entry for seperate deployment Change-Id: I7ea964f7fc1ac7e9191b4c21032e24a1a70aa07d Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2015-11-03Create Deployment Hardware Adapter (DHA) file for compassbaigk1-1/+1
JIRA: COMPASS-132 Change-Id: I8e3f73b93acd8dae9f40dd43548679bc2eb1ea3c Signed-off-by: baigk <baiguoku@huawei.com>
2015-10-13make internal vip and public vip into one groupcarey.xu1-1/+1
JIRA: COMPASS-88 Change-Id: Ie40033b99d29e79c6a50b3073f4147109a02d7fa Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-10-10bugfix: libvirt_type should be kvm when host is barebetal modebaigk1-0/+1
JIRA: COMPASS-81 Change-Id: Iba3cb182a3e461ab89eb40fdba7800b8b2a1fc3e Signed-off-by: baigk <baiguoku@huawei.com>
2015-09-08Build improvement for speedup and using public repobaigk1-0/+65
JIRA: COMPASS-19 Change-Id: Iba101807e1bd2f843f1253791b7e87e1acb7934b Signed-off-by: baigk <baiguoku@huawei.com>