aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/compass_vm.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-02-21add ntp for compass-coreqiwei-li-huawei1-0/+1
JIRA: COMPASS-514 add ntp for compass-core and set up timezone, make timezone in compass-core same as where hosts' are To set timezone of both compass-core and hosts, edit /deploy/conf/compass.conf TIMEZONE: Asia/Shanghai Change-Id: If60623dbff793e56e65c32f80addc5e1d956f3e1 Signed-off-by: qiwei-li-huawei <qiwei.li@huawei.com>
2016-12-22Change newton_xenial to newtonliyuenan1-32/+29
JIRA: COMPASS-513 Change-Id: I937a02bcd69f0df1f5d951dd6630ef2e76e8d386 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-12-15Merge "Print information about openstack deployed."Justin chi1-0/+7
2016-12-14Print information about openstack deployed.liyuenan1-0/+7
Change-Id: I80a379bcb5851ef2b29a52c8d45450dd1d36ade0 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-12-10Support compute node expansion with ceph-osdQiLiang1-0/+19
JIRA: COMPASS-481 - Use public_vip to fetch ceph related conf from controller nodes. - Add ceph-uuid for libvirt store and fetch for expansion. Change-Id: I9e93183ac108bd959a1226546fbb89706e3004c9 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-11-23Add refresh.sh exec on compass-coreQiLiang1-0/+5
Add refresh.sh exec on compass-core, so user don't need to manually execute the refresh.sh script when they what redeploy the openstack without redeploy the compass-core vm. Change-Id: I1a6b5ca84d4dd00a3f326b30b68e0ecac022d5ef Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-10-28Workaround for random wait compass boot timeoutQiLiang1-1/+10
JIRA: - Sometimes compass-core already boot successfully, but wait_ok function retry to ssh login to compass-core vm failed. Add two more times retry before exit the deployment. Change-Id: I1ae7795b2196e9a24c24c2368402e560aba68339 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-10-24Edit the docker file and adjust HA ymlliyuenan1-12/+15
JIRA: COMPASS-491 Change-Id: Ibca46dca0ca614b9a6e7eb3fe5b9d5c8ca26c006 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-10-21Make openstack dashboard theme configurableQiLiang1-0/+23
Use flag ENABLE_UBUNTU_THEME to configure enable or disable ubuntu dashboard theme. Set default to use ubuntu theme. JIRA: - Change-Id: I454c69b0290084c244979bb86c733a03721481cb Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-10-15Add recovery scriptsQiLiang1-0/+72
- 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-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/+1
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-3/+15
JIRA: COMPASS-216 Change-Id: Ide78ac82c1615259eeb7093c7a4485fbe493c6d9 Signed-off-by: baigk <baiguoku@huawei.com>
2015-12-22install compass-core in centos7baigk1-0/+1
JIRA: COMPASS-208 Change-Id: Ie98615df37115beaa0ad8f744cc87162452af751 Signed-off-by: baigk <baiguoku@huawei.com>
2015-11-16suport installing openstack kilo on centos 7baigk1-0/+1
JIRA: COMPASS-141 Change-Id: I8b4eeacd802124cd05d17c7c24682254f0c567f7 Signed-off-by: baigk <baiguoku@huawei.com>
2015-11-03immediately return false when virsh start compass failedm001331421-1/+7
JIRA: COMPASS-129 Change-Id: Ie7c91314d1fa6b3845255534960849d5d314777b Signed-off-by: m00133142 <meimei@huawei.com>
2015-10-27should wait longer time for installing compassm001331421-1/+1
JIRA: COMPASS-122 Change-Id: I4c4b7d637d7629a750f36a00c1b2ba2ed55ec3eb Signed-off-by: m00133142 <meimei@huawei.com>
2015-10-21bug fix: support impi 2.0 and delete compass core default ip and gw when ↵baigk1-0/+1
baremetal deploy JIRA: COMPASS-107 Change-Id: Id1654a3551029be18e1884a488291eb3fa46d1ca Signed-off-by: baigk <baiguoku@huawei.com>
2015-10-14support connecting compass core and virtual machine by external ipcarey.xu1-2/+2
JIRA: COMPASS-86 Change-Id: I53ac86242088d5d6f22f6d692a7e60ce97e07f6e Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-10-10bugfix: libvirt_type should be kvm when host is barebetal modebaigk1-1/+21
JIRA: COMPASS-81 Change-Id: Iba3cb182a3e461ab89eb40fdba7800b8b2a1fc3e Signed-off-by: baigk <baiguoku@huawei.com>
2015-09-19support to assign ppa name when deploy openstackbaigk1-1/+2
JIRA: COMPASS-63 Change-Id: Ifdaa8a82e849291c1b5d5a48f9f678f5bb417a89 Signed-off-by: baigk <baiguoku@huawei.com>
2015-09-10adjust iso and ppa path in compass.isobaigk1-1/+1
JIRA: COMPASS-40 Change-Id: If10ec4be9613303584d5ca8bfdfe9b4790ac1d46 Signed-off-by: baigk <baiguoku@huawei.com>
2015-09-08Build improvement for speedup and using public repobaigk1-1/+3
JIRA: COMPASS-19 Change-Id: Iba101807e1bd2f843f1253791b7e87e1acb7934b Signed-off-by: baigk <baiguoku@huawei.com>
2015-08-24bug fix:deploy failed at a new machine because of ansible-playbook's permissionchenshuai@huawei.com1-1/+1
JIRA: COMPASS-16 Change-Id: Ic410fa78521ef8c2b5de0f976963aeb7e0486f76 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2015-08-13Add deploy scripts for compasscarey.xu1-0/+100
JIRA: COMPASS-11 Change-Id: Id588912c73b424228b6f01cd47fd282d040f7b8f Signed-off-by: carey.xu <carey.xuhan@huawei.com>