aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters
AgeCommit message (Collapse)AuthorFilesLines
2018-08-13Change the dashboard and heapster images in k8s to arm64 when running on arm ↵Jingzhao Ni2-0/+10
platform Change the dashboard image in k8s from amd64 to arm64 on arm platform. In extra-vars-aarch64.yml, add the dashboard image tag for supporting the arm64 arch. For heapster images, add a "sed" command in main.yml for replacing the cpu architecture from amd64 to arm64. And it will be invoked only when deploying the arm platform. Change-Id: I584485f0356dcb925814f63cbc45ecbd459715bb Signed-off-by: Jingzhao Ni <jingzhao.ni@arm.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-13Merge "use contrail-ansible-deployer to integrate opencontrail into k8s"Justin chi1-1/+4
2018-06-13Merge "cobbler/arm64: disable swap"Justin chi1-1/+18
2018-06-13Merge "update sriov spec on k8s v190"Justin chi2-8/+15
2018-06-13Merge "bump image version to support k8s v1.9 on aarch64"Justin chi1-1/+1
2018-06-07set spice-html5 git repository URLwutianwei1-0/+1
Change-Id: Ie2d473d3cdc804f698244f163c62bed30a5dd33d Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-06-05update sriov spec on k8s v190Di Xu2-8/+15
Change-Id: Ie52233eae9aa6ebcf52d9f4df3dfbf9441a323b4 Signed-off-by: Di Xu <di.xu@arm.com>
2018-06-05use contrail-ansible-deployer to integrate opencontrail into k8szhichaozhu1-1/+4
Change-Id: If78430a159e13cf9456b9985d923a8ec107dc7cc Signed-off-by: Forrest Zhu <zhichao.zhu8@gmail.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-28cobbler/arm64: disable swapYibo Cai1-1/+18
Update ubuntu preseed to disable swap partitions to meet K8s 1.9 requirements. Change-Id: I3a24f16ffb99013254734b9cdbbbc21f06f693a9 Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2018-05-25bump image version to support k8s v1.9 on aarch64Di Xu1-1/+1
Signed-off-by: Di Xu <di.xu@arm.com> Change-Id: I0803fbd9225a1c8e80fed892a61ff91b6493c070
2018-05-22Merge "enable http_proxy in kargo"Justin chi3-1/+20
2018-05-10Merge "Upgrade OpenStack version from Pike to Queens"Harry Huang16-34/+138
2018-05-08Upgrade OpenStack version from Pike to Queensramamani yeleswarapu16-34/+138
Change-Id: Ice7b3204ade23571df41fc4effb91bb5e125abac Signed-off-by: Ramamani Yeleswarapu <ramamani.yeleswarapu@intel.com>
2018-05-08enable http_proxy in kargozhichaozhu3-1/+20
Change-Id: Id49015d716f1b53806a42039a2c197e1c4ccbd69 Signed-off-by: Forrest Zhu <zhichao.zhu8@gmail.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-16cobbler: support deploying ubuntu on armYibo Cai2-0/+162
Deploy ubuntu by setting ADAPTER_OS_PATTERN='(?i)ubuntu-16.*arm.*' and OS_VERSION=xenial. Change-Id: I1035a2d45225fceab6eead35d77d98130def373b Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2018-04-16Merge "Add the Heapster + InfluxDB + Grafana Monitoring scheme"Harry Huang2-0/+50
2018-04-10support deploying k8s above ubuntu on armYibo Cai5-16/+75
Change-Id: I5642c866423728a8cdbbc3ea82969e6aec346981 Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2018-04-10Enable the neutron trunkwutianwei1-1/+1
Change-Id: Ieb5d505adc88644cfc1f802364064f5551a1ed53 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-04-06Add the Heapster + InfluxDB + Grafana Monitoring schemehu xinhui2-0/+50
JIRA: 1. The kubernetes cluster deployed by the kubespary does not support the monitoring scheme. 2. This patch is to complete the monitoring scheme for k8s Change-Id: I89faf75a8b78cd70dfc9d8433ea582aecb2f8001 Signed-off-by: hu xinhui <xinhui_hu@foxmail.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 Xue6-20/+10
2018-03-20Fix workaround of image upload through horizonHarry Huang6-20/+10
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-03-09Merge "add a multus with sriov interfaces installation"Justin chi12-17/+546
2018-03-08add a multus with sriov interfaces installationDi Xu12-17/+546
Support deploying multus sriov CNI plugins by setting environment "kube_network_plugin" to "sriov". Change-Id: I3672fd7b6036063bdee57450c2100f39aa5ef68b Signed-off-by: Di Xu <di.xu@arm.com>
2018-03-06Add git package for k8s deploymentYifei Xue2-1/+2
JIRA: - Ks8 deployment doesn't install git, this will cause failure in Stor4nfv scenarios. So proposing this patch to solve this. Change-Id: I98ab0b3a2a5f46eb1eebd4ea94fb60ccafe10272 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2018-03-02move the update cache after role of setup-k8s-networkwutianwei2-3/+1
If don't setup network, the host cannot connect to the Internet on baremetal pod. So we should update cache after setting the network. Change-Id: Ief0eb2d82c67b0ace2cfb233b9792f6e009a1524 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-02-28Add judgement for k8s stor4nfvwutianwei1-1/+2
Don't run storage roles when scenario isn't stor4nfv Change-Id: Ia8e65c90b58533427e74bad225aaa962d2583934 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-02-27Enable CSI plugin for Stor4nfv scenarioYifei Xue1-0/+18
JIRA: - Add some configurations to enable CSI plugin in k8s v1.9 which is used by Stor4nfv scenario. Change-Id: I78e0b39f31ff666eace50921c691107154dcb249 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2018-02-25Add plugin for Stor4nfv for k8s deployramamani yeleswarapu1-0/+12
- Adds 'stor4nfv' plugin which installs OpenSDS using stor4nfv. - Adds k8s-nosdn-stor4nfv-ha scenario file. - Adds k8s-nosdn-stor4nfv-noha scenario file. Change-Id: Iee718a48994ad4e55f4b7a01933bd4e7773ac67f Signed-off-by: ramamani yeleswarapu <ramamani.yeleswarapu@intel.com>
2018-02-13add a multus with 2 fannel interfaces installationDi Xu8-1/+490
Support deploying multus multiple flannel CNI plugins by setting environment "kube_network_plugin" to "2flannel". Change-Id: I23a3d42452b4a5e0858a18934f508649f5961e7a Signed-off-by: Di Xu <di.xu@arm.com>
2018-02-11Merge "change k8s version to v1.9.1"HU Xinhui3-0/+12
2018-02-09change k8s version to v1.9.1hu xinhui3-0/+12
JIRA: - 1. compass4nfv can deploy v1.9.1 kubernetes 2. end user can use the kubernetes dashboard Change-Id: I274dda38599da95f382dfcb4159b530da8422fd8 Signed-off-by: hu xinhui <xinhui_hu@foxmail.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>