aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/database/tasks
AgeCommit message (Collapse)AuthorFilesLines
2017-01-05Yamllint testliyuenan6-27/+46
JIRA: COMPASS-516 Change-Id: I482ce9bc86f4f963258c5b8823e0b00e83556eef Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-12-26Update ansible versionliyuenan3-4/+17
JIRA: COMPASS-511 Change-Id: Id0e83c65a08c9f9036b5d3a597b905e8a7bde6e8 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-12-20master only support newtonliyuenan2-26/+28
JIRA: COMPASS-513 Remove other roles and ppa, master only support newton. Change-Id: I47ddb16baa25902c3e05cc7f9d0d6430f5dc7e00 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-10-15Add recovery scriptsQiLiang2-0/+16
- 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-09-07Restart mysql in centos-no-ha scenarioQiLiang1-0/+18
JIRA: COMPASS-482 Change-Id: Id26a0acbe9b725e236021a4b324960eef02b48eb Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-08-28Add controller and compute recovery rolesQiLiang1-0/+4
After all hosts system restart, login to the compass-core, change directory /var/ansible/run/<openstack-cluster> and execute below command: ansible-playbook \ -i inventories/inventory.yml HA-ansible-multinodes.yml \ -t recovery \ -e "RECOVERY_ENV=True" JIRA: COMPASS-474 Change-Id: I2ed80550c043b14643382609c48d724019cc1cfb Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-04-22FIX: mariadb cluster failed on centos7grakiss3-48/+123
JIRA:COMPASS-373 - use shell to support the parameter - remove blank user - adapte http service name and config path Change-Id: I6625f3c53bfa8ff3e3792ec339aa2e63bcf1da83 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2016-03-14maker mariadb playbook reentrantcarey.xu4-88/+62
JIRA: COMPASS-329 Change-Id: I02680fe271f3896dc901a67c043570449fd3d64e Signei-off-by: carey.xu <carey.xuhan@huawei.com> Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2016-03-01FIX:access denied on centos7 after database cluster being createdgrakiss1-0/+29
JIRA:COMPASS-327 - some unsed user records cause this authority issue - remove these records and restart mysql service Change-Id: I1a0fb6e8bf0690c7163680585d8cac653534ff3f Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2016-02-27bugfix: remove useless database user permissioncarey.xu1-2/+2
JIRA: COMPASS-325 Change-Id: Ia1ad24e6d02f1a232f085dd0ad4f96297f79834e Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2016-02-24Support version Liberty of OpenStack for CENTOS7grakiss6-5/+63
JIRA:COMPASS-315 -Support version Liberty of OpenStack for CENTOS7 Change-Id: I81abbb37a295a0ea733398ad1f278bafc3525d87 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2016-01-30add apache2 headers for shell scripts and ansible scriptscarey.xu7-0/+56
Change-Id: I34b66d76f59f4300c7ce4e7bd9dc7c1eaddfb384 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2016-01-14bugfix: mongodb's priority should consistent with keepalived for failovercarey.xu1-2/+2
JIRA: COMPASS-260 Change-Id: Iafb2f3a853fe05ac12a3275737f5edd1b987ffdd Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-12-31bugfix: uncomment ceph-deploycarey.xu3-9/+19
JIRA: COMPASS-229 Change-Id: I35fe51c5c48838f7a16338459a50807a4c193697 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-12-29Merge "bugfix: cinder scheduler service is not restart when configuration ↵shuai chen1-0/+2
updated"
2015-12-29Increase the wait time of mongodb clustering to avoid failed on hosts with ↵carey.xu1-2/+2
poor performance JIRA: COMPASS-221 Change-Id: I8ffae5f762927398ef9f11096d815e6a8022c587 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-12-28bugfix: cinder scheduler service is not restart when configuration updated汉 徐1-0/+2
JIRA: COMPASS-222 Change-Id: I43bb9ccc1bfe8e2cce9d0d82eccf97337d1fc07a Signed-off-by: 汉 徐 <hanxu@carey.local>
2015-12-26Increase the wait time of mongodb clustering to avoid failed on hosts with ↵carey.xu1-2/+2
poor performance JIRA: COMPASS-221 Change-Id: I7c017adbd4f1bcbc166047e0b3a9661f55ae7a89 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-12-25deploy mongodb as cluster for HAcarey.xu3-12/+41
JIRA: COMPASS-207 Change-Id: I1069bcc2d0dd97dd6a4c7bb61351be993d86b33a Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-12-24add retry when rabbitmq join failedcarey.xu1-0/+1
JIRA: COMPASS-206 Change-Id: I0cf7b2dd1414f3270ff894a6cf17aba5841e6848 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-12-14disable NetworkManager on centoscarey.xu3-2/+7
JIRA: COMPASS-187 Change-Id: I82df8dee1e0cdd7f374552131e78e743c8e11dba Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-12-04database script refactorcarey.xu8-104/+114
JIRA: COMPASS-176 Change-Id: I0f87903a94a8072af274d6d5dcf4dd5041f297e6 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-11-16suport installing openstack kilo on centos 7baigk1-1/+5
JIRA: COMPASS-141 Change-Id: I8b4eeacd802124cd05d17c7c24682254f0c567f7 Signed-off-by: baigk <baiguoku@huawei.com>
2015-10-26should wait longer time for starting the service of mongo dbm001331421-1/+1
JIRA: COMPASS-118 Change-Id: I118f591e138eb772be1342920c6ab99716ee7961 Signed-off-by: m00133142 <meimei@huawei.com>
2015-10-13make internal vip and public vip into one groupcarey.xu2-7/+3
JIRA: COMPASS-88 Change-Id: Ie40033b99d29e79c6a50b3073f4147109a02d7fa Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-10-09compass4nfv support ceilometercarey.xu3-21/+78
JIRA: COMPASS-53 Change-Id: Ie8fc0f3f03f1de3c9fcf37778e025175ed391bc5 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-09-09Compass Netconfig optimizationyour name2-4/+20
Change-Id: Icbcfc7d794623436f22be5f6763b212a25d4fac7 JIRA: COMPASS-30
2015-08-17Neutron-related role in the compass-adapter should use the same template filebaigk1-1/+1
JIRA: COMPASS-8 Change-Id: Ia7c2dc8d90a025950f84fdb92383be85e82f0cde Signed-off-by: baigk <baiguoku@huawei.com>
2015-08-09support deployment openstack juno with ansible for compass in centos7.1baigk2-11/+10
JIRA: COMPASS-6 Change-Id: I8ef865e8acfe29c3ff5c7e9030e4cebabed3457b Signed-off-by: baigk <baiguoku@huawei.com>
2015-08-05support deployment openstack juno with ansible for compass in ubuntu 14.04baigk3-0/+73
JIRA: COMPASS-4 Change-Id: I7adc565325c2a0cbf878b2aea022b31d118748dd Signed-off-by: baigk <baiguoku@huawei.com>