aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles
AgeCommit message (Collapse)AuthorFilesLines
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-23Merge "Fix tenant interface type"Harry Huang1-1/+1
2018-08-22Fix networking-sfcHarry Huang1-1/+1
JIRA: - Using networking-sfc 6.0.0.0rc1 to fix package issue Change-Id: I29809fd07a38b5cff37b22a99c092db3e8a8f31c Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-08-18Fix tenant interface typeHarry Huang1-1/+1
JIRA: - In setup-openvswitch role, tenant interface type is static which will cause failure during network restart. Set it to manual instead. Change-Id: Id6fdaa2b7fbae9d8a6d243b43ec35868af4c2fdd 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-02Restart network before keepalived restartsHarry Huang1-0/+2
JIRA: COMPASS-610 Change-Id: I8afa4177eaa0faaa3fab87d4179a850a3990f15b 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-27Merge "Fix ovs version used in odl scenario"Harry Huang1-2/+2
2018-07-26Fix ovs version used in odl scenarioHarry Huang1-2/+2
JIRA: - Use openvswitch 2.8.0 Change-Id: Ic2cc504543908141b14a2253e5edb67ca68d5299 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-23Modify openvswitch installationHarry Huang4-2/+49
JIRA: COMPASS-604 1. Keep linux bridges when ODL scenario 2. degrade ovs to 2.8.0 for 2.9.0 has issue with ODL Change-Id: I4433fb1bb4e2d64c7220296ca167f32e4a4246be 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-07-19fix external veth pairHarry Huang2-8/+8
JIRA: COMPASS-604 Fix name of external veth pair too long issue Change-Id: Iae4ac3bac3f528875d7c8b40ea76e0c89c28b9a0 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-07-16Add external veth pairHarry Huang2-5/+14
JIRA: COMPASS-604 Add veth pair and connect them to br-external. OpenDaylight can bind that veth instead of the external interface. Change-Id: I26f122bf8cab0943b7b056050de01381bab6d395 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 Huang15-34/+137
2018-05-08Upgrade OpenStack version from Pike to Queensramamani yeleswarapu15-34/+137
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-10Enable the neutron trunkwutianwei1-1/+1
Change-Id: Ieb5d505adc88644cfc1f802364064f5551a1ed53 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 Xue5-20/+9
2018-03-20Fix workaround of image upload through horizonHarry Huang5-20/+9
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-03-14Add SDN controller's IP in openrc file for functestYifei Xue1-0/+6
JIRA: COMPASS-590 From the time being, Functest ODL testcase calculates ODL ip thanks to Neutron IP. It should be calculated on Installer side (releng jobs) and set via SDN_CONTROLLER_IP in Functest env instead. https://git.opnfv.org/functest/tree/functest/opnfv_tests/sdn/odl/odl.py#n185 It ensures that Functest can rely on SDN_CONTROLLER_IP in all cases (OpenStack end users included) Change-Id: I01c0af952dbb21592aa973daaea3845346dc833f Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2018-02-07Add workaround for horizon image upload issueHarry Huang4-0/+37
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 Xue6-12/+79
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 Xue8-1/+86
2018-01-27Change gnocchi storage and increase the capacity of cephwutianwei8-1/+86
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-27Merge "Use run_dir instead of hard coding"HU Xinhui3-8/+8
2018-01-23Use run_dir instead of hard codingHarry Huang3-8/+8
Cluster name now can be set in DHA file which makes ansible dir changeable. Use run_dir variable to point to correct dir. Change-Id: I673b0b472b86ce505a8ea29ce4fb3666b4b991bd Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-01-22Fix subnet create fail when disable ext-netHarry Huang1-0/+1
JIRA: COMPASS-575 Add missing condition check for subnet create task. Change-Id: Ibd25a7e7e4edd40be6b0f14bb8bffb828a65f648 Signed-off-by: Harry Huang <huangxiangyu5@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 Xue3-2/+14
2017-12-28change the failure judgement condition for setup-openstackwutianwei3-2/+14
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 Xue4-2/+16
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>