aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/prepare.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-07-11Fix docker-composeHarry Huang1-1/+2
Add sudo when install docker-compose Change-Id: I7025919889d543c860bf49bbbaf9665030437160 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-06-29Fix python pkg issueHarry Huang1-10/+10
1 add install pyyaml in build process 2 fix python pkg version Change-Id: Icb40bd52aa6cd22874894047561acb9211abfa22 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-06-09support Containerized compass-corehuangxiangyu1-33/+58
JIRA: COMPASS-534 1. rm compass vm and add ansible to bring up 5 compass containers 2. use tar package instead of compass.iso which contains compass docker images, OS ISO, PPA, pip packages. 3. modify client.py to communicate with containerized compass-core 4. modify cobbler files and ansible callback files to adapt with containerized compass-core 5. upgrade openstack version to ocata 6. use the openstack-ansible to deploy openstack 7. virtual deploy external use nat Change-Id: Ifa2a3f5b8c7c32224ac4276fd3d4cc2b0d270a26 Signed-off-by: huangxiangyu <huangxiangyu5@huawei.com>
2017-03-27opera adapter fix2Harry Huang1-1/+1
* 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>
2016-11-28Offline deployment fails on jumphost with docker installedYifei Xue1-0/+8
JIRA: COMPASS-508 Change-Id: I92fa3a40d010c74ca7d7d4f638413e7c9e571e36 Signed-off-by: Yifei Xue <xueyifei@huawei.com> (cherry picked from commit ff2621f0dbe1e49e4d7fad752ec6d9a2e9f1b444)
2016-11-23Fix libvirt error on jumphostQiLiang1-1/+2
Fix permission denied (Libvirt::Error) on the disk image, when boot compass-core vm on some jumphost env. Ref: * https://github.com/adrahon/vagrant-kvm/issues/163 * https://ubuntuforums.org/showthread.php?t=1985773 JIRA: - Change-Id: I17adad6ff6984beac4a4c65d8953a36d3a39f7ce Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-11-02newest-ansible-resolvedchenshuai@huawei.com1-1/+1
Change-Id: I5cde09d93f96d5810c1340917801b3a237cf0d30 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-11-01workaround for ansible latest version bugchenshuai@huawei.com1-1/+1
Change-Id: I1e1aa41c2a858c5e5579273b5c52576b63da9e94 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-09-09Bug fix: Prepare the jump host offlineYifei Xue1-23/+18
JIRA: COMPASS-456 Change-Id: I44961d30e7f7d173cafc8c3117a208433f724026 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-09-06Prepare the jump host offlineYifei Xue1-25/+161
JIRA: COMPASS-456 Change-Id: Iffc877a0fa4b361daa966cdcdca38c76e35d81ad Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-08-23Install some dependent packages on jump host for ansible installationYifei Xue1-8/+10
JIRA: COMPASS-462 Change-Id: Iab0026e85c61c919988664413d3ab64a446ab000 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-08-19Revert "Prepare the jump host offline"Yifei Xue1-61/+33
This reverts commit b7058b4b3f823cf4c95c38741dddc68b59b733cc. Change-Id: I77437a15a0a0c47f768de30eaf7f37cf73f028fb Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-08-17Prepare the jump host offlineYifei Xue1-33/+61
JIRA: COMPASS-456 Change-Id: Ieced8e30bde3d19623b5d2486a52f81c1cf295a3 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-08-04avoid needless package reinstallQiLiang1-6/+23
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-11Use the latest version of ansiblemeimei1-2/+2
JIRA: COMPASS-386 Change-Id: I3973fd9ed4548efc367a0b22aaa650e37b52ae23 Signed-off-by: meimei <meimei@huawei.com>
2016-02-03bugfix: make sure ovs startedcarey.xu1-0/+3
JIRA: COMPASS-302 Change-Id: I4df1a1fb2879aa512f4e1e2fc3517b0a273bfda8 Signed-off-by: carey.xu <carey.xuhan@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-7/+19
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-3/+2
Change-Id: I59a41ca1ec2c0e576b590d5de39c04cd19273614 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2016-01-13Disable ansible upgrade to latest version.Justin-chi1-1/+1
ansible 1.9.4 is used for bramaputra release. Change-Id: I42a33a17bbe90e7dda9b06a5fd7a4b4652b37fad Signed-off-by: Justin-chi <chigang@huawei.com>
2015-12-30add Shebang for bash scriptscarey.xu1-1/+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-1/+12
JIRA: COMPASS-216 Change-Id: Ide78ac82c1615259eeb7093c7a4485fbe493c6d9 Signed-off-by: baigk <baiguoku@huawei.com>
2015-12-26use ovs network instead of macvtap for virtual deploycarey.xu1-1/+1
JIRA: COMPASS-218 Change-Id: I3fdfa71e9f94be964c9bc5ec7313b6fbea9b46dd Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-12-01support libverty on ubuntucarey.xu1-0/+2
JIRA: COMPASS-169 Change-Id: I4656cf43eb3db0ba61fae4b03416b9c0239bb50b Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-09-15bug fix: prepare to install ipmitool and retry reset baremetal using ipmibaigk1-1/+1
JIRA: COMPASS-50 Change-Id: Ib6525ef5fba6a56da1dde652f18afcdc9dfe15ad Signed-off-by: baigk <baiguoku@huawei.com>
2015-09-10Disable confirm when package installingcarey.xu1-3/+3
Change-Id: I7d4ebfa96c3d30f839b68cd9b6de6967e763db13 JIRA: COMPASS-39
2015-09-08Build improvement for speedup and using public repobaigk1-6/+26
JIRA: COMPASS-19 Change-Id: Iba101807e1bd2f843f1253791b7e87e1acb7934b Signed-off-by: baigk <baiguoku@huawei.com>
2015-08-13Add deploy scripts for compasscarey.xu1-0/+35
JIRA: COMPASS-11 Change-Id: Id588912c73b424228b6f01cd47fd282d040f7b8f Signed-off-by: carey.xu <carey.xuhan@huawei.com>