aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/openstack
AgeCommit message (Collapse)AuthorFilesLines
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 flushchigang2-5/+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-30Change the apt sourcewutianwei1-0/+1
1. change the apt sorce from http://hk.archive.ubuntu.com to http://archive.ubuntu.com 2. if setup host failed, destroy the failed lxc. then retry to setup. 3. fix the dns-nameserver bug Change-Id: Ic609c75b50496e2174ab09425bce45a0ec2c09c0 Signed-off-by: wutianwei <wutianwei1@huawei.com> 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-28Fix memcached doesn't start issueQiLiang1-1/+4
JIRA: - Sometimes memcached does not start after installation finished, which will cause issues like openstack dashboard open instance console failure. This patch add memcached restart notify during package installation and add memcached to cron service-status-check task's config file: /opt/service Change-Id: I625899348fb447875fcca7beedb619b5490ce567 Signed-off-by: QiLiang <liangqi1@huawei.com>
2017-03-09FIX access database failedliyuenan1-5/+0
JIRA: COMPASS-521 Use a hard value to set number of workers for Openstack API service. This way only fix E9000 failed temporarily. Database need to update in a late patch. Change-Id: Ie03f6a758e1e458567054470962b5be4f6ee630e Signed-off-by: liyuenan <liyuenan@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 itchigang8-0/+72
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-20FIX access database failedliyuenan1-5/+7
JIRA: COMPASS-521 Use a dynamic value to set number of workers for Openstack API service when the number of cpu more than 4. Change-Id: Ic6482cfad9b5eba8fad9e56ea1a33f65e8c71001 Signed-off-by: liyuenan <liyuenan@huawei.com>
2017-02-13FIX access database failedliyuenan1-2/+3
JIRA: COMPASS-521 Nova compute use osapi_compute and metadata api. Both of their worker processes should be limited, otherwise mysql would not deal with those processes. Change-Id: Ib00b4731369c1c677639c9437ab83887550db572 Signed-off-by: liyuenan <liyuenan@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-20FIX access database failedliyuenan1-0/+4
JIRA: COMPASS-521 Number of separate API worker processes for service. The default is calculated by the number of CPUs available for best performance. But some pods have many CPUs, so that some service API worker processes is too many to access database. For example, huawei-pod2 has 47 CPUs, nova-api has 98 processes, cinder-api has 50 processes and heat-api has 33 processes, when aodh want to initialize the database, mysql can not deal with this processes. Change-Id: I00513883ff55cc28cd676c3085615aaac36eb744 Signed-off-by: liyuenan <liyuenan@huawei.com>
2017-01-15Merge "Create openstack flavors"Justin chi1-0/+6
2017-01-14Deploy OpenStack Newton on CentOS hostsliyuenan2-2/+3
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 testliyuenan8-45/+41
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 newtonliyuenan3-432/+114
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-08-15rename region name to be unifiedMatthewLi1-1/+1
JIRA: COMPASS-457 nova region name should be unified. compass use regionOne original, however, upstream usually use RegionOne, this is caused by clerical error. Now the OCL and sfc/tacker use RegionOne by not knowing the compass clerical error. so all should be changed to RegionOne. Change-Id: I8bc280cca036afffe09d0a3bcebc940deaa490b5 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-08-11bugfix for odl l3chenshuai@huawei.com1-1/+0
JIRA: COMPASS-473 Change-Id: I09cff641e8485f266dead4522e07b855c01ea1de Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-08-11use file inject for odl l3chenshuai@huawei.com1-0/+1
JIRA: COMPASS-471 Change-Id: I88721904fe6c430b3b753277e24e2283170f7019 Signed-off-by: chenshuai@huawei.com <chenshuai@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-30These changes are the initial support for kvmfornfv using compass.José Pekkarinen2-0/+2
Change-Id: I5ab2d7ad2f639d6673e0debd8f07f4f95c8bb476 Signed-off-by: José Pekkarinen <jose.pekkarinen@nokia.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 Xue2-0/+3
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-05set nova default floating pool for functestcarey.xu1-3/+1
JIRA: COMPASS-241 Change-Id: I53528db5162aa8149e0edce88efc2aa158d175bd Signed-off-by: carey.xu <carey.xuhan@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.xu2-11/+9
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>