aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/openstack/HA-ansible-multinodes.yml
AgeCommit message (Collapse)AuthorFilesLines
2017-07-04Fix keepalived ping addresschigang1-5/+3
JIRA:- Replace OSA default address with ntp_server address. OSA will use it to check internet connection. Rename some roles that make users confused. Change-Id: I4dd7e242e427e5bc3a611450a3bc436e44a8fefe Signed-off-by: chigang <chigang@huawei.com>
2017-07-03Fix DNS flushchigang1-4/+3
JIRA:- It doesn't need to config DNS in ansible roles, just need to set NAMESERVERS variable Change-Id: I37a70b32c766c1fad7afa5289ffbbc27b956b2d5 Signed-off-by: chigang <chigang@huawei.com>
2017-06-30setup ovs create network flavorwutianwei1-4/+8
1. replace the linuxbridge with openvswitch 2. create the network and flavors 3. fix the haproxy when public endpoint using http Change-Id: I6fe93d0c4d5305e5dcab8d2e6c628eb5fa23ab56 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-06-09support Containerized compass-corehuangxiangyu1-235/+8
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-08Upgrade tacker from mitaka to newtonYifei Xue1-0/+6
JIRA: COMPASS-528 Add tacker package making scripts into repo/pip/ directory. Compass will install tacker using pip in this release. Upgrade tacker role including tasks, templates and vars. Modify the installation method from using source code to using whl package. Change-Id: Iead323c7b46d8d1df084ed868d0e01bc1b0f7e55 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-02-27Add License header for files without itchigang1-0/+9
JIRA: - use the first author's company for license holder use the latest year for license year add license for yml,c,cpp,shell,python,java. don't add license for template files such as config and j2 patch for auto add license: https://github.com/Justin-chi/Lab/blob/master/add_license.sh delete the files with the Eclipse License Change-Id: I4f17da4ebb36a074c0b6722a2a4154e6c235d4bb Signed-off-by: chigang <chigang@huawei.com>
2017-02-04Congress support for NewtonHarry Huang1-0/+1
Modification: 1.Add congress support in deploy/compass_conf 2.Optimize congress role to be more independant. Separate congress role into install, keystone, database, start. 3.Support both ubuntu and centos Change-Id: I1c9a458addd84133652fb7c0563bc287d161d129 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-01-15Merge "Create openstack flavors"Justin chi1-0/+6
2017-01-14Deploy OpenStack Newton on CentOS hostsliyuenan1-1/+0
JIRA: COMPASS-518 Make Centos Newton ppa. Update host Centos version to 7.3. Support Centos Newton Deploy. Support Ceph Deploy. Change-Id: I6dd110cc10d425a9d590e1dcb5777ade5cce96aa Signed-off-by: liyuenan <liyuenan@huawei.com>
2017-01-14Create openstack flavorsHarry Huang1-0/+6
JIRA: COMPASS-519 Demand: Openstack Newton doesn't create flavors defaultly. But functest needs to run with flavors exist Solution: Add an ansible role to create flavors after openstack deployed Change-Id: Ib7ac56b3d42d9ddfcbefffc44ac92fa81342368a Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-01-05Yamllint testliyuenan1-20/+16
JIRA: COMPASS-516 Change-Id: I482ce9bc86f4f963258c5b8823e0b00e83556eef Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-12-26Update ansible versionliyuenan1-25/+3
JIRA: COMPASS-511 Change-Id: Id0e83c65a08c9f9036b5d3a597b905e8a7bde6e8 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-12-20master only support newtonliyuenan1-1/+9
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 scriptsQiLiang1-0/+7
- 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-08-28Add controller and compute recovery rolesQiLiang1-0/+15
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-07-21Improvement Ansible Accelerate modechenshuai@huawei.com1-0/+3
JIRA: COMPASS-433 Change-Id: I4b2221e7f8db93981325c52a4c43f8cc9cebc099 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-07-01Update tacker related packagesYifei Xue1-7/+0
JIRA: COMPASS-423 Change-Id: I3efa0868c0147cc43b1df096ae89a6bdc42f4204 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-05-25Update ansible playbook (HA-ansible-multinodes.yml) for mitakaYifei Xue1-1/+0
JIRA: COMPASS-400 Change-Id: I6402ce97f998f4a61f4188f7e659ea813f910a52 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-04-27Add Aodh support for CompassYifei Xue1-0/+1
JIRA: COMPASS-374 Change-Id: I923f66b5ab42a0b30d0f91701873d36f8e5147ba Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-03-18seperate apache2 installtion from dashboardcarey.xu1-0/+1
JIRA: COMPASS-342 Change-Id: I8ddbef46486dbd22f1324bda2d04f7a192b2148e Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2016-03-17Merge "Add Tacker support for Compass"shuai chen1-0/+6
2016-03-11Improve restart duration of odlgrakiss1-0/+6
JIRA:COMPASS-333 - restart neutron service in serial mode - restart odl service in parallel mode Change-Id: I95b9037d335247ac5d4d77c7e10a2109d9b4c6a6 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2016-03-11Add Tacker support for CompassYifei Xue1-0/+6
JIRA: COMPASS-339 only ubuntu supported currently Change-Id: I14bae2b11a811c1131eba1d25f57783dffbb0b51 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-03-04Support odl l2 on centos7grakiss1-4/+6
JIRA:COMPASS-331 - support odl l2 on centos7 Change-Id: Ibdf2840a7eb393ebf7f5d44aac80d6026a514588 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2016-02-29bugfix: set fail percentage to zerocarey.xu1-0/+19
JIRA: COMPASS-326 Change-Id: Ief7422b1f21589b444c3b3847b5d70295eb09c61 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2016-02-04bugfix:disable accelerate mode in ansible for odlchenshuai@huawei.com1-24/+28
JIRA: COMPASS-306 Change-Id: I9fd730b2a996484138a56513e0e763195fe3ee11 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-01-30bugfix: odl scenarios disable secgroupchenshuai@huawei.com1-5/+6
JIRA: COMPASS-296 Change-Id: Ieb5e1181efad98ca76b64392ee4a24ff8a864758 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-01-25bugfix: change opencontrail role namechenshuai@huawei.com1-5/+5
JIRA: COMPASS-284 Change-Id: If47438396124f805efa739bbfdd1c61d4892b4a5 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-01-19FIX: use CEPH group instead of allgrakiss1-2/+2
JIRA: COMPASS-278 - some env dont deploy ceph ,and will fail for ceph node not found Change-Id: I399fc301486ca1957ffd404091ddf7984ff36cb8 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2016-01-18bugfix: SSH permissions error when resizing or migrating an instancecarey.xu1-2/+83
- make all host cant ssh login each other with out password, so nova can resize on diffrent hosts - remove some error httpchk options in haproxy JIRA: COMPASS-269 Change-Id: If9d75bc94446000ed1a8fb7bbd777ae205ecd630 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2016-01-15deploy CEPH nodes parallellygrakiss1-1/+26
JIRA:COMPASS-264 - do not use ceph-deploy - do not need centeral node to deploy ceph Change-Id: I0f9c459060a2fccbad73a323697ec23ea2115410 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2016-01-04Fix: deploy ceph using mgmt networkgrakiss1-2/+2
JIRA: COMPASS-238 - forget to change network from public install to mgmt Change-Id: I7a4540809782a391ac04e92811e837b32a67a0b2 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2016-01-04xintegrate special keepalived packagebaigk1-2/+2
JITA: COMPASS-234 Change-Id: I830bed488d5fd6e44ddada63a77c591be9581e45 Signed-off-by: baigk <baiguoku@huawei.com>
2015-12-31bugfix: uncomment ceph-deploycarey.xu1-2/+2
JIRA: COMPASS-229 Change-Id: I35fe51c5c48838f7a16338459a50807a4c193697 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-12-23cinder volume use the vg created by storage rolecarey.xu1-2/+2
JIRA: COMPASS-211 Change-Id: I6c6ec36bf015c663bd684ac8f48011397851877b Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-12-21bugfix: ssh disconnect errorcarey.xu1-5/+19
JIRA: COMPASS-148 Change-Id: I65542e6078e3c21080b23fa61560dc8210770971 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-12-15fix some memcached configuration errorcarey.xu1-10/+1
JIRA: COMPASS-192 Change-Id: I919afb3c109fed151d35d94e323111b85e44073b Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-12-12using /var directory for ceph storage when not deployed on compute nodegrakiss1-0/+6
JIRA: COMPASS-174 - if no sdb exits, use /var for default storage Change-Id: Ia2daacb868279cb7a7287f246d2d25d3a758f31d Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2015-12-03Merge "compass4nfv support heat"shuai chen1-0/+1
2015-12-02compass4nfv support heatQiLiang1-0/+1
JIRA: COMPASS-52 Change-Id: I0cab3ba4d435b2b28eff9a1a73c3d829be731e3d Signed-off-by: QiLiang <liangqi1@huawei.com>
2015-12-02OpenContrail intergrationchenshuai@huawei.com1-0/+6
JIRA: COMPASS-168 Change-Id: I0fe22568fb28019a0085e8bbf9b600acfa9e8f45 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2015-11-27split ceph into small size roles with specific purposegrakiss1-1/+1
JIRA: COMPASS-152 - add ceph_adm ceph_mon ceph_osd Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2015-11-08add option to disable security groupcarey.xu1-0/+6
JIRA: COMPASS-126 Change-Id: Ie9417be0e78690b5580d460b9c61f77ccc1d91c6 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-11-05change ceph deployment to optional rolegraiss1-1/+5
JIRA: COMPASS-123 - ceph deployment is optional now Change-Id: I542d861b89e9cc71572f4a0f41bf6f04e74eda6e Signed-off-by: graiss <grakiss.wanglei@huawei.com>
2015-10-09compass4nfv support ceilometercarey.xu1-2/+2
JIRA: COMPASS-53 Change-Id: If76323128282c97b9828e5c8cb35792b7928674c Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-10-09compass4nfv support ceilometercarey.xu1-0/+2
JIRA: COMPASS-53 Change-Id: Ie8fc0f3f03f1de3c9fcf37778e025175ed391bc5 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-09-20Write ONOS ansible script for Ubuntu14.04chenshuai@huawei.com1-0/+6
JIRA: COMPASS-54 Change-Id: Icb0f0023681a0407bb987757171f72d70c1360f6 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2015-09-19support to assign ppa name when deploy openstackbaigk1-0/+57
JIRA: COMPASS-63 Change-Id: Ifdaa8a82e849291c1b5d5a48f9f678f5bb417a89 Signed-off-by: baigk <baiguoku@huawei.com>