summaryrefslogtreecommitdiffstats
path: root/deploy
AgeCommit message (Collapse)AuthorFilesLines
2018-04-10Enable the neutron trunkwutianwei1-1/+1
Change-Id: Ieb5d505adc88644cfc1f802364064f5551a1ed53 Signed-off-by: wutianwei <wutianwei1@huawei.com> (cherry picked from commit 01ff42530757cf99e99b0d63d6daa822b93e1941)
2018-04-10Fix 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> (cherry picked from commit 18cf3eec4990e2e747cadc8b9c177e5b1d0c67f4)
2018-03-31Install PBR to ensure we're not breaking buildswutianwei1-2/+2
Change-Id: I4e7b47a8f2021a1cf25b80d7818f4dabb441c39f Signed-off-by: wutianwei <wutianwei1@huawei.com> (cherry picked from commit 4ce9351a4802a1bdaecdf1a0fe982e2878755c03)
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-13Merge "Modify deploy variable"Yifei Xue1-2/+7
2018-03-09Merge "add a multus with sriov interfaces installation"Justin chi13-17/+655
2018-03-08add a multus with sriov interfaces installationDi Xu13-17/+655
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-06Merge "Remove the password of openstack services in compass4nfv"Yifei Xue15-451/+112
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-06Remove the password of openstack services in compass4nfvwutianwei15-451/+112
JIRA: COMPASS-586 There are lots of hardcode about openstack service name and password. We would generate the services password randomly when running role config-osa. Change-Id: Ia0fec0c95a99d378febc837794e8ff550d10af4f Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-03-05deploy/conf: add arm baremetal pod configurationYibo Cai3-0/+238
- k8-nosdn-nofeature-noha.yml: 1 master + 1 slave - k8-nosdn-nofeature-ha.yml: 3 masters + 2 slaves Change-Id: I7cf4bfd7264bfdaf6d89841c8f39daf0d3d6bae2 Signed-off-by: Yibo Cai <yibo.cai@arm.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-28Merge "modify the intel-pod17 k8s dha file"Yifei Xue1-0/+3
2018-02-27Merge "Enable CSI plugin for Stor4nfv scenario"Yifei Xue1-0/+18
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-27modify the intel-pod17 k8s dha filewutianwei1-0/+3
Change-Id: I06e53449a68d8b4291e5c9c4682f42410f28ef68 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-02-27Add dha fileswutianwei3-0/+226
Add the huawei-pod1 and huawei-pod2 k8s dha files Change-Id: Id191c6d18508f15d9032a2cb3d0f563c059a7d53 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-02-27Set storage role optionalHarry Huang1-2/+4
JIRA: - storage_master and storage_node role are currently required in kubernetes scenario which cause scenario with no storage_master or storage_node fails to be deployed. Change-Id: I0fd28a7fd4a6161be96044382ea509832473dc71 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-02-26Modify deploy variableHarry Huang1-2/+7
JIRA: - Under current deploy procedure, when compass containers are running, they will not be recreated during redeploy. Using DEPLOY_FIRST_TIME to determine to run the container create process when first time deploy Change-Id: Ic13fd84ed41afdad29c96f803feff3298cbbcfde Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-02-25Add plugin for Stor4nfv for k8s deployramamani yeleswarapu7-3/+96
- 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-22Merge "add a multus with 2 fannel interfaces installation"Yifei Xue8-1/+490
2018-02-19Support featrue plugin for k8sHarry Huang1-0/+7
JIRA: COMPASS-587 Enable plugin siwtch list for k8s scenario. Change-Id: Id9286567faf47be2bbaa7982a6fcadea92e16ad2 Signed-off-by: Harry Huang <huangxiangyu5@huawei.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-13deploy/conf: add ha role to k8 scenarioYibo Cai1-0/+1
Only K8s ha scenario is supported now. This noha scenario is broken. Add minor fixup so we can still use it to deploy K8s on two nodes. Change-Id: I3a763fe07ea2d31cd3ae049621e3d978c1bca4be Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2018-02-11Merge "change k8s version to v1.9.1"HU Xinhui5-1/+14
2018-02-09change k8s version to v1.9.1hu xinhui5-1/+14
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 Huang6-0/+93
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-02-06Merge "Fix some hard coding for some ip assignments"Yifei Xue7-30/+29
2018-02-06Merge "deploy: remove gic version in arm vm template"Yifei Xue1-3/+0
2018-02-06Merge "Ansible callback support both V2.3 and V2.4"Yifei Xue3-3/+13
2018-02-05Merge "Seperate compass-tasks"Yifei Xue1-1/+8
2018-02-05Merge "Compass4nfv virtual deploy support direct connection"Yifei Xue4-7/+16
2018-02-03Merge "Update Barometer plugin to install influxdb, grafana"Yifei Xue1-0/+7
2018-02-01Update Barometer plugin to install influxdb, grafanaramamani yeleswarapu1-0/+7
Adds/updates the following to install influxdb and grafana on the controller. Configures them to receive collectd data from the compute. /plugins/barometer/roles/influxdb /pluigns/barometer/roles/grafana /deploy/adapters/ansible/openstack/HA-ansible-multinodes.yml Change-Id: Ie33489e9834da5bb5c77b392451b81cf44a849d6 Signed-off-by: ramamani yeleswarapu <ramamani.yeleswarapu@intel.com>
2018-02-01Ansible callback support both V2.3 and V2.4Harry Huang3-3/+13
JIRA: COMPASS-585 1. Add conditional branch to support both ansible versions 2. Keep callback in ansible_plugins directory which will contains all plugins upcoming in the future Change-Id: I11f3d9700e07ad5bd7f03ad56f4e0bc061df05ec Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-01-31Seperate compass-tasksHarry Huang1-1/+8
JIRA: - 1. Keep openstack-ansible in compass-tasks-osa. Keep kubespray in compass-tasks-k8s. Build different compass-tasks in one tar ball. Identify which one to use during docker-compose. 2. Temporarily using private docker repo. 3. COMPOSE_IMAGES is used to controll which components to form compass-core regardless of specific repo. Set default value for openstack and kubernetes when perform single cluster deploy. Change-Id: Ief52580e954c602575c9bf8abe5733c100876c7f Signed-off-by: Harry Huang <huangxiangyu5@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 Xue7-12/+80
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 Xue9-1/+87
2018-01-27Compass4nfv virtual deploy support direct connectionwutianwei4-7/+16
compass4nfv using nat for VM external network currently, this patch add the direct connection method. if want to use it ,you need set the NAT_EXTERNAL to false, and configure the network.yml according to you environment Change-Id: I5a1a2f96b8c32a00eaef4d591c4452b555f0c9a2 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-01-27Change gnocchi storage and increase the capacity of cephwutianwei9-1/+87
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 Xinhui5-9/+11
2018-01-26Change the scenario file for k8s api hahu xinhui2-0/+6
1. Change the vm_environment config of k8-nosdn-nofeature-ha.yml 2. Change the hardware_environment config of k8-nosdn-nofeature-ha.yml Change-Id: Ia7654daf50c0c4b9f20e0851d41d25bf1051cb2d Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>