summaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2018-06-13Merge "stor4nfv: support multiple architecture images"Justin chi1-4/+8
2018-05-30stor4nfv: support multiple architecture imagesYibo Cai1-4/+8
Change-Id: I2a3482873e37f58c8f16a02988770d6e78fd3ab6 Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2018-05-14Upgrade Barometer plugin's grafana installramamani yeleswarapu1-1/+1
Change-Id: I14006138ae20fb2c24400a9cdfa3c389112fb6d0 Signed-off-by: ramamani yeleswarapu <ramamani.yeleswarapu@intel.com>
2018-05-08Upgrade OpenStack version from Pike to Queensramamani yeleswarapu2-4/+4
Change-Id: Ice7b3204ade23571df41fc4effb91bb5e125abac Signed-off-by: Ramamani Yeleswarapu <ramamani.yeleswarapu@intel.com>
2018-04-24Workaround for Tacker in HA scenariosYifei Xue1-0/+6
JIRA: - For Tacker service in HA mode, it only generates VIM fernet key on one of the Tacker hosts. This may cause error when a request is been routed to another host. We need to use Barbican and Mistral components. But now OSA did not support Mistral yet. So we add a workaround here to get over this issue. Change-Id: I9aa228ec2ac7011cedb1eb503611ca24c7666caa Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2018-04-03Stor4nfv: Install ansible version 2.4ramamani yeleswarapu5-8/+86
Ansible 2.5 release is causing errors in the installation of ceph-ansible (for ceph-mon). This patch fixes the ansible version installed on kube_master to 2.4.3 to address the ceph errors. Also, adds these post-install tasks: - run 'modprobe rbd' - create opensds default profile - create csi pods. Change-Id: Iee8d27da68896009d2e27ce4a6c7f805524d086d Signed-off-by: Ramamani Yeleswarapu <ramamani.yeleswarapu@intel.com>
2018-03-21Merge "Fix Stor4nfv CI issues due to repo changes"Yifei Xue6-36/+17
2018-03-20Fix Stor4nfv CI issues due to repo changesramamani yeleswarapu6-36/+17
Applies the changes in stor4nfv repo and consolidates opensds and nbp inventories. This fixes the CI failure in stor4nfv scenarios. Change-Id: I91f291d52488771934e0e0e93da2c56715abc877 Signed-off-by: Ramamani Yeleswarapu <ramamani.yeleswarapu@intel.com>
2018-03-20Merge "Fix workaround of image upload through horizon"Yifei Xue2-2/+6
2018-03-20Fix workaround of image upload through horizonHarry Huang2-2/+6
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-19Merge "Update collectd-gnocchi conf for DEFAULT_ARCHIVE_POLICY"Yifei Xue1-0/+2
2018-03-16Copy ml2_conf.ini to ODL hostsYifei Xue2-0/+25
JIRA: - SFC test cases in functest need to read ml2_conf.ini to get ODL controller's IP and port. However they can only gei this file from control nodes. So we copy this from neutron server containers to ODL hosts. Change-Id: I21acbaed6de924247d249d6c4015d9f90c763a08 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2018-03-15Update collectd-gnocchi conf for DEFAULT_ARCHIVE_POLICYEmma Foley1-0/+2
* Configure the DEFAULT_ARCHIVE_POLICY option. * This will set the default archive policy to "high". Change-Id: I42fefc0e9a79fe1032c42156a21f95a96ad2a4ad Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-03-01Merge "Update Stor4nfv plugin with nbp csi install"Yifei Xue3-0/+32
2018-02-28Merge "Update Barometer plugin - follow-up patch"Yifei Xue4-9/+41
2018-02-27Update Stor4nfv plugin with nbp csi installramamani yeleswarapu3-0/+32
Change-Id: Ia32ea3c29b78f18aae258fa89b017e894b09301f Signed-off-by: ramamani yeleswarapu <ramamani.yeleswarapu@intel.com>
2018-02-25Add plugin for Stor4nfv for k8s deployramamani yeleswarapu7-0/+222
- 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-23Update Barometer plugin - follow-up patchramamani yeleswarapu4-9/+41
Modifies/updates the following: - Adds Hostname and enables all plugins in default_plugins - Adds rrdtool conf template - Adds a check to enable ExtraStats in virt conf only when rdt is not available. Change-Id: I7af7d86fadcaa0ccf3ba2b67d58c37e37ba84a73 Signed-off-by: ramamani yeleswarapu <ramamani.yeleswarapu@intel.com>
2018-02-13Update the odl_sfc plugin to use the latest versionYifei Xue14-56/+143
JIRA: - We have upgraded odl version to nitrogen SR1. So this patch we are going to update the odl_sfc plugin to satisfy the latest odl version. Change-Id: I7342fad58c0ae21f918e27e9d72deae214c2af4e Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2018-02-06Merge "Upgrade ODL version to Nitrogen SR1"Yifei Xue4-8/+8
2018-02-01Update Barometer plugin to install influxdb, grafanaramamani yeleswarapu9-0/+665
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-01-30Upgrade ODL version to Nitrogen SR1Yifei Xue4-8/+8
JIRA: - Currently compass uses ODL Nitrogen, however the latest ODL version is Nitrogen SR1. So we upgrade to use the latest version to avoid some bugs. Change-Id: I8cc04955b9fc828eb3bc6096df6ac5b97438a259 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2018-01-29Update Barometer plugin to use collectd containerramamani yeleswarapu18-104/+381
Modifies/updates the following to use a barometer container from dockerhub for collectd. /plugins/barometer/roles/collectd/tasks /pluigns/barometer/roles/collectd/templates /plugins/barometer/roles/collectd/vars /plugins/barometer/roles/collectd/files Change-Id: I627afd8fef12c4aa3ff5ac54a55d00f9567406f2 Signed-off-by: ramamani yeleswarapu <ramamani.yeleswarapu@intel.com>
2017-12-07Update Barometer's collectd plugin to Pikeramamani yeleswarapu1-1/+1
Updates collectd-ceilometer-plugin code from stable/ocata to stable/pike. Change-Id: Idf62f870f2276c8b83249e01d6ed5714a08caa90 Signed-off-by: ramamani yeleswarapu <ramamani.yeleswarapu@intel.com>
2017-12-08Add CentOS 7.4 support for OpenStack PikeYifei Xue1-1/+1
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-05Add plugin for Barometer.ramamani yeleswarapu11-0/+337
Change-Id: I5049805eb4e2e2c5e2cc87772afe6650253be36c Signed-off-by: John Hinman <john.hinman@intel.com> Signed-off-by: ramamani yeleswarapu <ramamani.yeleswarapu@intel.com>
2017-11-28Upgrade OpenStack version from Ocata to PikeYifei Xue10-24/+35
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-11-16Add timeout and delay time to fix the reboot problemYifei Xue2-2/+2
of rt_kvm scenario JIRA: - The rt_kvm scenario deployment always fails on Huawei Pod2 while running reboot task. However it's fine on Huawei Pod1. We think it may be caused by the performance of Pod1. Pod1 truely has a lower performance than Pod2. So we add timeout and delay time to verify our idea. Change-Id: I56acc88354abcdd4ba72c7d24980033871972688 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-10-29Merge "Remove ugly code in odl plugin"Justin chi4-84/+8
2017-10-24Merge "Config dpdk and ovs"Justin chi12-13/+202
2017-10-24Remove ugly code in odl pluginYifei Xue4-84/+8
JIRA: - Remove the ugly code in odl plugin. These code may cause tempest failures while running daily functest. These failures cannot be reproduced locally but only in daily functest. So we proposed this patch to improve our code and verify whether it can fix the failures in tempest. Change-Id: I09bbb13702ac75380a0d1a1dac5add52a5725c6a Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-10-24Config dpdk and ovsHarry Huang12-13/+202
switch dpdk interface driver and bring up corresponding ovs bridges. Change-Id: I07bd9b332978482507711cfbd8ad29802a8b1a8c Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-10-17add tacker supportYifei Xue2-0/+11
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-09-30SFC scenario release notes and bug fix for SFC switchYifei Xue3-3/+7
JIRA: COMPASS-562 Because of the inventory file modification, the sfc switch cannot be enabled. Add a sperate sfc role to fix this bug. Change-Id: If583d10ebbe78d0abe9078add24beb5f506dbda8 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-09-15Upgrade odl from carbon to nitrogenYifei Xue20-60/+86
JIRA: - 1. Because of the bug in odl sfc carbon, this patch upgrade the odl to Nitrogen release. 2. Use the latest stable/ocata of networking-sfc and networking-odl 3. Fix the bug in the patch of multiple physnet mapping Change-Id: Id6e6084d9af76ff92d3c3ba6f8127154b2675aee Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-09-13Add dpdk pluginchigang12-0/+369
JIRA: COMPASS-550 add OVS-DPDK plugin, there are two roles in this plugin. 1. ins_dpdk is for dpdk installation and hugepages setting. 2. ins_ovs is for openvswitch installation. add dpdk scenario networking configuration example called "network_cfg_dpdk.yaml" Change-Id: Ifd8c1aadc218753f99bc26bb530e7cf9962ad8e3 Signed-off-by: chigang <chigang@huawei.com>
2017-09-11bugfix: fix moon network configurationwutianwei1-5/+1
Due to creating the br-mgmt bridge, it is necessary to remove the IP from the eth0 interface. Change-Id: I32cf4d47530be3d625e29202f70b5667e6113a8c Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-09-01Support multiple physnet mappingHarry Huang53-127/+260
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-14Modify moon networkHarry Huang1-18/+60
1. modify interface file for moon according to new network structure 2. modify some ips for pods running master Change-Id: Idfca20c8e101222d27847fcac4f12ba21a1b5a67 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-08-04fix bugs for functest and moon baremetalwutianwei1-1/+2
1. functest change the judgement condition, the DOMAIN_NAME need use Default instead of default 2. making the eth0 down and up to change the route in baremetal deploy Change-Id: I7dacf59cdd0c4db396b2db8b0a5fdd7003829391 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-07-29Configurate moon hostwutianwei12-0/+187
1. configurate network 2. change the apt sources.list Change-Id: I93336d48b02846192f47eb1d64a63b50190863e9 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-07-28Add ODL SFC supportYifei Xue34-3/+1061
Add SFC support for Ocata and Carbon. 1. Add ovs-nsh package for sfc scenario 2. Add sfc configuration and tasks 3. Add sfc DHA files Change-Id: Icf8f20220a2c5ac38a5b92d3ca0e24cbb0e89a52 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-07-28Add moonv4 into Compass4nfvchigang3-0/+270
JIRA:- To deploy moon master, export MOON_CFG env like below compass deploy: export MOON_CFG="master:flag=Disable,slave:flag=Enable,slave:name=slave1,slave:master_ip=master_ip" To deploy moon slave, export MOON_CFG env like below compass deploy: export MOON_CFG="master:flag=Enable,slave:flag=Disable,slave:name=slave1,slave:master_ip=master_ip" Change-Id: I21c0186a029c508d390c69112b43510d9c5b9c5c Signed-off-by: chigang <chigang@huawei.com>
2017-07-21Adjust the plugins directory structureYifei Xue31-2/+43
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 projectdavidjchou4-0/+117
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-12Bug fix for odl_l2Yifei Xue2-2/+7
The "external_network_bridge" should be configured in neutron-server's LXC container. Currently we configure it in agents' LXC container. So in ODL L2 scenario, the DNAT failed. This patch will fix this. Change-Id: Ifca005d8cdb901d114838ec88d2f24bcee73abf7 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-07-10Bug fix for physnet name in ODLYifei Xue3-9/+9
The physnet name used in ODL should be the same the one used in those none odl scenarios. Change-Id: I5afc9196d8365b649eb088f29bac4f94d9d12d16 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-07-10Upgrade ODL from boron to carbonYifei Xue22-0/+764
JIRA: - Change-Id: I031444d1094af646ae39a9c0c3fbfc30548e6ee4 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-07-04add plugins templatechigang8-0/+511
JIRA: - add a plugin template for compass4nfv Change-Id: Iec767a7fab43617633238f9c5e326896dd6ce82e Signed-off-by: chigang <chigang@huawei.com>