aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/config-osa/tasks
AgeCommit message (Collapse)AuthorFilesLines
2018-01-10Change the ntp server in chrony confYifei Xue1-0/+5
JIRA: - Use the ntp server in compass-cobbler. Change-Id: Ia5d3d8fb32ce51667841cec74622c7f0da929587 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2018-01-09Open fix_pip_versionHarry Huang1-1/+1
Due to OSA commit id rollback, open this fix_pip_version to fix ldap issue Change-Id: I9d41f0dcb04ecdc3d73b92a5da6fa254b5246045 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-12-28Merge "change the failure judgement condition for setup-openstack"Yifei Xue2-1/+13
2017-12-28change the failure judgement condition for setup-openstackwutianwei2-1/+13
1. Don't check failed=1 instead of checking the last task name. 2. comment the fix pip version yml Change-Id: I3c22074f319a1d0f1ae0f3df43ca6e10ec684aac Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-12-27Merge "Remove the /var/log/osa directory if exist"Yifei Xue1-0/+13
2017-12-25fix the lz4 packages dependencewutianwei2-10/+26
1. install pkgconfig 2. mv the tasks of fixing pip issue out of the main script Change-Id: Icc08a3c461690d1d6747455479df0a58d87d22da Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-12-20Bug fix for chrony configurationYifei Xue1-0/+7
JIRA: - Set "security_ntp_servers" to use only one server; Correct the path of chrony key for centos deployment. Change-Id: I3050018fe07c51912e0b52a1c5c7ce2dd4d3f6ce Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-12-17Merge "Bug fix for the random failure of nova cell_v2 discovery"Yifei Xue1-0/+13
2017-12-16Bug fix for the random failure of pip_installYifei Xue1-0/+12
JIAR: - For centos deployment, it sometimes fails when run the role: pip_install due to the network is not so stable. So we add some retyies here to avoid the failure. Change-Id: I9774e5be4d42a66f8cf377ec83161b200266d3d0 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-12-16Bug fix for the random failure of nova cell_v2 discoveryYifei Xue1-0/+13
JIRA: - Sometimes nova cell_v2 fails to discovery the compute hosts. So we add some retries to makr sure cell_v2 discovery success. Change-Id: I74af78667f2718b10b8cbb1e9c7c8d8d3b4b297e Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-12-14Remove the /var/log/osa directory if existwutianwei1-0/+13
generate password again to ensure the password is different everytime Change-Id: I8c88266e724922301f4411b330d7d7154bfb250e Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-12-08Add CentOS 7.4 support for OpenStack PikeYifei Xue2-0/+61
JIRA: COMPASS-565 After this patch merged, compass can deploy OpenStack Pike on CentOS 7.4. Due to some upstream bugs, we add some fixes in this patch, e.g. add libvirt to os-cinder, remove a useless repo after installing Change-Id: Ibc1e6f1ed103daf2d70a8ae1d7c04f77d1545c41 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-12-05Fix the python-ldap versionwutianwei1-0/+6
when python-ldap is newest version, there are some issues in dependence Change-Id: I29f30900733cdd87d922b17da0f7c551b7cbdc90 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-11-28Upgrade OpenStack version from Ocata to PikeYifei Xue2-15/+16
JIRA: COMPASS-565 For OPNFV F release, it's going to use OpenStack Pike as the NFVI component. This task is created to monitor the upgrade work of OpenStack Pike. Subtasks as follow: - Add Pike related configurations to compass_conf - Upgrade ubuntu os to ubuntu 16.04.3 - Upgrade centos os to centos 7.4 - Upgrade openstack-ansible from ocata to pike - Upgrade openstack repos from ocata to pike Change-Id: I2202e8e3ae23dae8e575c89170c9e5e057757870 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-10-24bugfixwutianwei1-6/+12
When not define ceph role in DHA, there are somes issue on config-osa. This patch add the judgement to check the parameter define or not. Change-Id: If221fd3d02c87fc60f545b44f94043f38e34d283 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-10-18Fix ceilometer issuewutianwei2-0/+73
OSA don't maintain the ceilometer component. We change the OSA code to make ceilometer work. 1. create ceilometer database 2. change the ceilometer policy 3. change the ceilometer config 4. change the OS_AUTH_TYPE in openrc Change-Id: I2d8630a0c50f5c6bd1e86171cae1fa8f9934334b Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-10-17add tacker supportYifei Xue1-0/+6
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-10-16Ascertain the pandas versionwutianwei1-0/+11
the 0.21.0rc1 version of pandas will block the gnocchi install, so we use 0.20.3. we replace the pandas package in repo Change-Id: Ic8d9fa3a691b64a0783034ffbf0d958427e30d16 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-09-01Support multiple physnet mappingHarry Huang1-25/+0
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-08-31Support offline deployment for nosdn no feature scenarioYifei Xue1-1/+172
JIRA: - Add a repo docker which includes ubuntu PPA and python packages used for offline deployment. Change-Id: Iad9b0df7f33f5a7ab974c5deffb408fc93b3f3ad Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-08-18support the noha scenariowutianwei2-3/+27
1. add parameter to install keepalived when only one controller 2. change the osa code to start keepalived and haproxy 3. add the noha DHA files 4. fix the setup ovs bug 5. fix the pod1 public vip Change-Id: I19f4e78b9ca834ae3d454e1c8058728ece055f69 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-08-15Make the storage use cephwutianwei1-0/+24
1. ceph.yml define which host install ceph-mon and ceph-osd 2. user_ceph.yml define variables of ceph and cinder backend 3. user_variables_ceph.yml.j2 define variables of ceph for user Change-Id: Iafea998f4603eb4b5c15a26f2387e6cb04c35d4c Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-07-21Adjust the plugins directory structureYifei Xue1-10/+0
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/+7
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-14change the public endpoint protocol with httpswutianwei1-8/+3
Fetch the os_cacerts for funtest replace the internalURL with publicURL Change-Id: Iff4fe2c998f3b5e723e826cf27e8901208988785 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-07-10Upgrade ODL from boron to carbonYifei Xue1-0/+10
JIRA: - Change-Id: I031444d1094af646ae39a9c0c3fbfc30548e6ee4 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-07-06fetch openrc for functestwutianwei1-0/+19
We use openstack-ansible to deploy the openstack, the position of openrc is different from the before. change the apt source when use local apt repository Change-Id: I1c5492b294a8645f452868c9cf2fec2e0802f823 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-07-04Fix keepalived ping addresschigang1-0/+58
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>