aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/config-osa
AgeCommit message (Collapse)AuthorFilesLines
2018-11-20Fix keepalive restart issueHarry Huang1-0/+6
JIRA: COMPASS-621 Change-Id: I4a2e529e71f47ac4097ffda754dcaa50e3c618f8 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-10-27Fix LXC apt upgrade issueHarry Huang1-0/+6
JIRA: - Change-Id: I9bf488e4d613d475e833a573635ea5a2ef56aeff Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-09-12Add licenseHarry Huang1-0/+9
Change-Id: I139c48ca3498a5a1e399abb3ef999da67a47c921 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-08-25Ignore patch osa errorHarry Huang1-0/+1
JIRA: - Rerun patching will cause error which can be ignored Change-Id: I29846f9d7768836a4b5221d2a7e3f70a4fda8219 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-08-17Download OpenStack git repo from local server for CIHarry Huang1-0/+25
JIRA: COMPASS-614 Online git clone is heavily affected by the network condition of huawei lab. Download OpenStack git repo from local server to regain stability Change-Id: I92886b9c65068294f303d27de1b3b0261442af34 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-08-01Add condition check for modification of lxc image downloadHarry Huang1-0/+6
JIRA: COMPASS-607 Change-Id: Ida012ffef20fa55fdc5065d78f7d1f908f3e94ec Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-07-26Force ansible cache refreshHarry Huang1-0/+11
JIRA: COMPASS-609 Force ansible cache refreshed in setup infrastructure to avoid ceph install failure. Change-Id: If54eacb5480e829e4920097ef6ea7939443f124d Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-07-24Modify download url for lxc imageHarry Huang2-0/+22
JIRA: COMPASS-607 Download lxc image from a local server in huawei lab to avoid lxc pre-staged failure. Change-Id: Ia941d9e883ab5a4ff9c839e65e53703c6c237461 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-07-20Set pre-staged retry to 120Harry Huang1-0/+6
JIRA: COMPASS-607 Change-Id: Ica0938a065c236dc041eb6cdf60739274af0e519 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-06-07set spice-html5 git repository URLwutianwei1-0/+1
Change-Id: Ie2d473d3cdc804f698244f163c62bed30a5dd33d Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-06-04set lxc_host_machine_volume_size to 16wutianwei1-0/+1
it would fail on some baremetal pod, when using default. https://build.opnfv.org/ci/job/compass-deploy-baremetal-daily-master/3918/consoleFull Change-Id: I1512c89b1dd237d54e7e004c71bfa5ce9ef853c5 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-05-10Merge "Upgrade OpenStack version from Pike to Queens"Harry Huang5-24/+5
2018-05-08Upgrade OpenStack version from Pike to Queensramamani yeleswarapu5-24/+5
Change-Id: Ice7b3204ade23571df41fc4effb91bb5e125abac Signed-off-by: Ramamani Yeleswarapu <ramamani.yeleswarapu@intel.com>
2018-05-08fix 3 test failure in neutron_trunkwutianwei1-0/+4
JIRA: COMPASS-595 set enable_proxy_headers_parsing to True in neutron config file Change-Id: I63a0795cad02051164b0881b8b33ac14a1562c9d Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-05-07add the command "rm /etc/resolve.conf" in cache_prep_commandswutianwei1-0/+13
Change-Id: I89b15e7e200d37ac5d44cfee974f0f1c63981625 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-04-03Fix pip version to 9.0.1Harry Huang1-0/+7
JIRA: COMPASS-593 OpenStack Ansible install latest pip on each contoller node and the latest pip (currently 10.0.0b1) doesn't support empty package list to be passed into it. Add a user config file to fix pip version. Change-Id: Ie193389c2b4995cdc4b81876f8cdcfc512cf5ea1 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-03-31Install PBR to ensure we're not breaking buildswutianwei1-2/+2
Change-Id: I4e7b47a8f2021a1cf25b80d7818f4dabb441c39f Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-03-20Merge "Fix workaround of image upload through horizon"Yifei Xue2-17/+0
2018-03-20Fix workaround of image upload through horizonHarry Huang2-17/+0
1. using horizon group limit 2. set fact openstack_release to hostvars of localhost Change-Id: I0af0da1a508e862d0e2bb975f29897ec2948617f Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-03-16Bug fix for tacker installationYifei Xue1-0/+2
JIRA: - By default, os_tacker will use "{{ tacker_bin | dirname }}/etc/tacker" as tacker_etc_dir. This will cause a failure when keystone creates fernet key for VIM in tacker due to keystone uses "/etc/tacker" by default. So this patch is proposed to set tacker_etc_dir to "/etc/tacker". Change-Id: Icbffaeb1376f83b4c9904b0258139ce1518ac9f8 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2018-02-07Add workaround for horizon image upload issueHarry Huang3-0/+20
JIRA: COMPASS-573 1. With HORIZON_IMAGES_UPLOAD_MODE set to direct Horizon provides the endpoint for Glance based on OPENSTACK_ENDPOINT_TYPE. If OPENSTACK_ENDPOINT_TYPE is set to internalURL any browser outside the internal network is unable to upload image. Add ansible task to set HORIZON_IMAGES_UPLOAD_MODE to legacy as a workaround. 2. Add ansible lookup plugin to get openstack release 3. set openstack_release into group_vars/all in config-osa to make this variable readable for other tasks Change-Id: I9ef358e1f4acb0c329a032e18359de12284f3b56 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-02-06Bug fix for tacker installation on centos7Yifei Xue2-0/+10
JIRA: - Currently there is no variable definition file of tacker for centos in os_tacker repo. This will lead an error while including vars on centos deployment. So this patch will add a file named "redhat-7.yml" for centos. Change-Id: I965834adb0d2d25e5a68a9c7dbb397342108078f Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2018-01-31Merge "Collect log from rsyslog container"Yifei Xue3-0/+59
2018-01-30Collect log from rsyslog containerwutianwei3-0/+59
JIRA: COMPASS-579 the script collect-log.sh would be called by releng, after all the deploy and tests job are complete. Change-Id: Ic2604ca0650989bc13310377427694ededf75a9d Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-01-30Add tacker support in compass4nfv for FraserYifei Xue2-0/+17
JIRA: COMPASS-577 1. Add tacker service into haproxy configuration file 2. Include tacker installation into setup-openstack.yml Change-Id: I5a91766e034ec55af711029aac4ba9ed4a388db2 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2018-01-30Merge "Change gnocchi storage and increase the capacity of ceph"Yifei Xue3-0/+28
2018-01-27Change gnocchi storage and increase the capacity of cephwutianwei3-0/+28
1. Change the gnocchi storage to ceph. 2. Change the size of loopback to 500GB 3. Change the ceilometer polling yaml 4. Run ceilometer-upgrade command and restart ceilometer service Change-Id: I8948c7b7e340c11e5d05c06a7d54c0e1b807620c Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-01-27Enable neutron port trunkYifei Xue1-0/+5
JIRA: COMPASS-571 The network trunk service allows multiple networks to be connected to an instance using a single virtual NIC (vNIC). Multiple networks can be presented to an instance by connecting it to a single port. This is a highly relevant feature for VNFs and hence for OPNFV as a reference NFVI. This patch is about enabling the trunk port feature in Compass deployments. Change-Id: I270c3f1d5e4af99578c8e1882fae12ddddaabe78 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2018-01-10Change the ntp server in chrony confYifei Xue3-1/+110
JIRA: - Use the ntp server in compass-cobbler. Change-Id: Ia5d3d8fb32ce51667841cec74622c7f0da929587 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2018-01-09Open log server of OSAYifei Xue1-3/+5
JIRA: - Open log server of OpenStack Ansible to collect all of the logs in each LXC. Then it will be very convenient to debug. Change-Id: Iafd625a2af4eea04ff7528c9d8007bed1b218822 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 Xue2-0/+10
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 Xue3-1/+62
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 Xue4-16/+282
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-26Update requirements_absolute_requirements.txtYifei Xue1-0/+6
JIRA: - For offline deployment, some packages' versions need to be upgraded and add the version limitation of tacker and tacker client. Change-Id: I8b55fe270998c716df8791f1909ea4f4ab654a6c 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 issuewutianwei3-0/+88
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 Xue4-0/+25
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 versionwutianwei3-0/+27
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-10-13Modefy configuration for refstack_defcorewutianwei1-3/+5
1. set the log level debug to true 2. add oslo_middleware enable_proxy_headers_parsing: True in cinder.conf Change-Id: I555345ab2e1ea2ff0b56f0b9279ed7141bde2282 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-09-01Support multiple physnet mappingHarry Huang9-263/+48
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>