summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/openstack/HA-ansible-multinodes.yml
AgeCommit message (Collapse)AuthorFilesLines
2017-11-15Install networking-sfc for non odl-sfc scenariosYifei Xue1-1/+4
JIRA: - Currently we only install networking-sfc for odl-sfc scenario, however someone may use native neutron sfc functionality.So we propose this patch to add installation of networking-sfc for non odl scenarios. Change-Id: I4527387626f0c14fb6af135c511d0fd783b8f624 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-10-24Merge "Config dpdk and ovs"Justin chi1-0/+7
2017-10-24Config dpdk and ovsHarry Huang1-0/+7
switch dpdk interface driver and bring up corresponding ovs bridges. Change-Id: I07bd9b332978482507711cfbd8ad29802a8b1a8c Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-10-17add tacker supportYifei Xue1-0/+1
JIRA: - Add tacker support in compass euphrates. Upsteam OSA currently doesn't support tacker in Ocata. But OPNFV needs to use tacker in SFC scenario. So we refactor os_tacker of Pike to satisfy OpenStack Ocata. Change-Id: I40bb90949d8cd3b9db166527b0d85ff42ad5cdb9 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-09-30SFC scenario release notes and bug fix for SFC switchYifei Xue1-5/+11
JIRA: COMPASS-562 Because of the inventory file modification, the sfc switch cannot be enabled. Add a sperate sfc role to fix this bug. Change-Id: If583d10ebbe78d0abe9078add24beb5f506dbda8 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-09-13Add dpdk pluginchigang1-0/+2
JIRA: COMPASS-550 add OVS-DPDK plugin, there are two roles in this plugin. 1. ins_dpdk is for dpdk installation and hugepages setting. 2. ins_ovs is for openvswitch installation. add dpdk scenario networking configuration example called "network_cfg_dpdk.yaml" Change-Id: Ifd8c1aadc218753f99bc26bb530e7cf9962ad8e3 Signed-off-by: chigang <chigang@huawei.com>
2017-09-07from controller node fetch os_certwutianwei1-1/+3
Change-Id: I2d1cbc6948d2cea1ccb852ed23033d5ddc6393e4 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-09-01Support multiple physnet mappingHarry Huang1-3/+39
JIRA: COMPASS-559 1. support multiple mapping in provider_net_mappings of network.yml and create corresponding ovs bridges 2. support seperate config in sys_intf_mappings of network.yml 3. remove linux bridges in compute nodes for ovs port binding convenience 4. support openstack vlan tenant network 5. modify odl and odl_sfc roles to use configurable provider mapping 6. remove some hard coding Change-Id: Ib57484ce60d029f89c647fd5baf2c7af37c85d0b Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-07-28Add ODL SFC supportYifei Xue1-0/+7
Add SFC support for Ocata and Carbon. 1. Add ovs-nsh package for sfc scenario 2. Add sfc configuration and tasks 3. Add sfc DHA files Change-Id: Icf8f20220a2c5ac38a5b92d3ca0e24cbb0e89a52 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-07-28Add moonv4 into Compass4nfvchigang1-0/+5
JIRA:- To deploy moon master, export MOON_CFG env like below compass deploy: export MOON_CFG="master:flag=Disable,slave:flag=Enable,slave:name=slave1,slave:master_ip=master_ip" To deploy moon slave, export MOON_CFG env like below compass deploy: export MOON_CFG="master:flag=Enable,slave:flag=Disable,slave:name=slave1,slave:master_ip=master_ip" Change-Id: I21c0186a029c508d390c69112b43510d9c5b9c5c Signed-off-by: chigang <chigang@huawei.com>
2017-07-24Dynamic InventoryHarry Huang1-7/+8
JIRA: COMPASS-556 1. using dynamic ansible inventory 2. modify Class AnsibleInstaller in compass-tasks 3. modify compass conf to support this behavior 4. specify docker image in /deploy/conf/compass.conf 5. remove clusterhost status update in playbook_done.py Change-Id: I04079547c8b251571ae4e5b165d3bf425b8913b7 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-07-21Adjust the plugins directory structureYifei Xue1-0/+1
JIRA:- Since there may be multiple roles in one plugin, so add a level of roles to the directory. Move the copy operation of ODL from configure_osa to a new setup-opendaylgiht role. Add excute_order in the plugin description of ODL. Change-Id: I905fb84b11df201dc1436ec888f511e251bba89c Signed-off-by: Yifei Xue <xueyifei@huawei.com> Signed-off-by: chigang <chigang@huawei.com>
2017-07-19Add real time kvm feature from kvmfornfv projectdavidjchou1-0/+1
JIRA: COMPASS-549 1. Add rt_kvm plugin and os-nosdn-kvm-ha scenario in vm_enviroment 2. Add rt_kvm in compass4nfv playbook 3. Disable kernel update in KVM scenarios Signed-off-by: davidjchou <david.j.chou@intel.com> Change-Id: Ie164fe7ea28ebcb1e41299e92dc51b8ec16310eb Signed-off-by: chigang <chigang@huawei.com>
2017-07-12fix some error in functestwutianwei1-0/+1
1. Remove the --share when create network to fix the error in tempest network visibility 2. create the cinder-volums to fix issue in test volumes Change-Id: I8bf7197ac33271eb6856e542da114249b79a391d Signed-off-by: wutianwei <wutianwei1@huawei.com>
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>