summaryrefslogtreecommitdiffstats
path: root/ansible/roles
AgeCommit message (Collapse)AuthorFilesLines
2018-12-12Merge "Create docker image for Ubuntu 18.04"Volodymyr Mytnyk2-3/+0
2018-12-12Merge "Modify install.yaml to support Ubuntu 18"Volodymyr Mytnyk7-15/+40
2018-12-06Merge "Add IOMMU to grub to support OVS/SRIOV SA contexts"Volodymyr Mytnyk3-33/+37
2018-11-21Merge "Install barometer collectd container on all hosts"Volodymyr Mytnyk2-0/+56
2018-11-20Install barometer collectd container on all hostsChornyi, TarasX2-0/+56
nsb_install.sh script will now install docker and barometer collectd container on all baremetal hosts. JIRA: YARDSTICK-1510 Change-Id: I927f96ec2e11b2111b76217597054a6471189f29 Signed-off-by: Chornyi, TarasX <tarasx.chornyi@intel.com>
2018-11-15Create docker image for Ubuntu 18.04Stepan Andrushko2-3/+0
Added possibility to build docker image from Ubuntu 18.04, resolved package dependencies applied for both Ubuntu 16.04 and Ubuntu 18.04. Removed conflicting Ubuntu '-proposed' repo from dependencies as it should be used for testing purposes only. JIRA: YARDSTICK-1470 Change-Id: Ia1ed5c5ab6799bd328cc517e753e3b867ce4915a Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2018-11-15Modify install.yaml to support Ubuntu 18Stepan Andrushko7-15/+40
Modify install.yaml to be able to install Yardstick on the newest Ubuntu 18.04 LTS. Yardstick installation on Ubuntu 16 is still supported. Default version is Ubuntu 16.04 (xenial). JIRA: YARDSTICK-1413 Change-Id: Ic8aca0699645c68831ee739deeaeceef418075f5 Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2018-11-14Create vPE binary from dpdkJohn O Loughlin1-0/+15
Build and move the vPE binary from dpdk to nsb_bin JIRA: YARDSTICK-1473 Change-Id: I01c44fb375d200d990efd27e1f1717cd0e100bb0 Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
2018-10-31Update: Trex KPI not collected no rabbitmq userStepan Andrushko1-1/+1
Update of review #63707: missed yardstick password hash. This must be set on top of changes on review. JIRA: YARDSTICK-1479 Change-Id: Ia8783de81ad91ea7421c6bbff87a30c59db2d44c Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2018-10-26Add IOMMU to grub to support OVS/SRIOV SA contextsStepan Andrushko3-33/+37
It is required to setup IOMMU in grub to run standalone context tests: OVS/DPDK and SRIOV. Updated existing "enable_iommu_on_boot" role and NSB setup scripts: "ansible/install.yaml" and "ansible/ubuntu_server_baremetal_deploy_samplevnfs.yml". JIRA: YARDSTICK-1469 Change-Id: I348e4ebbffe89c7356352f43b7a6c1fdc4d81479 Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2018-10-26Trex KPI are not collected due to rabbitmq userStepan Andrushko3-8/+40
Changed the way rabbitmq-server user is created. Fix is needed to collect KPIs from Trex. JIRA: YARDSTICK-1479 Change-Id: I54369535fdb7af6af76de30f758227736f83db78 Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2018-09-22Update the pinned sampleVNF versionPatrice Buriez1-1/+13
JIRA: YARDSTICK-1414 Updated the sampleVNF version to the most recent validated commit. Provided comments on accepted version types and values, and on where users can find alternative values, in case they want to try something different than the version recommended and validated for Yardstick/NSB. Change-Id: I336f96237fcfa8b580c91c787d722d368cc6c015 Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
2018-09-11Update configure_uwsgi run in baremetal/containerStepan Andrushko2-1/+9
Now "daemonize" prevents from installing Yardstick on baremetal. Configuring: "daemonize" in case "container" installation mode; "logto" in case "baremetal" installation mode; JIRA: YARDSTICK-1395 Change-Id: Ie390464db9c0816583edc711ed6526629d091bd3 Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2018-08-30Adopt infra_deploy to spawn VM on LTS Ubuntu 18Stepan Andrushko3-2/+60
Add possibility ro reuse infra_deploy.yaml to spawn VMs on jump host, depending on jump host Ubuntu version: either 16 or 18. JIRA: YARDSTICK-1396 Change-Id: Id0682c03098e611fe3a51cbd24d8ff2dda7c552a Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2018-08-21Merge "Add virtual image generation to install script"Rodolfo Alonso Hernandez10-6/+460
2018-08-15Add virtual image generation to install scriptStepan Andrushko10-6/+460
Update install.yaml with image generation: nsb and normal. JIRA: YARDSTICK-1198 Change-Id: I3b8773e9b3b9890ae8623bb6536d05f1151d84a8 Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2018-07-23Adjust timeouts for installing requrementsCristina Pauna1-3/+3
The time it takes to install the the requirements is different on the 2 build servers we have for aarch64: on build4 it takes ~12min, on pod5 it takes <10min. So the timeouts need to be adjusted again to bigger values to cover both servers. JIRA: ARMBAND-391 Change-Id: Idd8f07e6f54d64a6cfaee0753ecd8efd141ff615 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2018-07-20Increase timeouts for installing requrementsCristina Pauna1-3/+3
Currently the docker images fails to build on aarch64 because the installation of the requirements step fails. The failure is caused by the timers which expire and don't mark the job as finished. JIRA: ARMBAND-391 Change-Id: Ic84982f81d064af1c27cf776d12a57eadc20957a Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2018-07-18Merge "Improve VMs spawning for OpenStack"Rodolfo Alonso Hernandez3-3/+65
2018-07-13Merge "nsb_setup.sh fails to build DPDK"Abhijit Sinha1-1/+13
2018-07-13Merge ""install_dpdk" ansible role fails if DPDK version has revision number"Rodolfo Alonso Hernandez1-1/+8
2018-07-13nsb_setup.sh fails to build DPDKMytnyk, Volodymyr1-1/+13
Some DPDK archive releases have different prefix in the unzipped archived folder name. Fixed scripts to determine the DPDK path using find. JIRA: YARDSTICK-1307 Change-Id: Id50bc1256f458e94aa7d4050a0f8ea3462fe9083 Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
2018-07-13Merge "Make uwsgi app to not demonize"Rex Lee1-1/+1
2018-07-12"install_dpdk" ansible role fails if DPDK version has revision numberRodolfo Alonso Hernandez1-1/+8
In [1], the DPDK version string is converted to a number to be compared. If DPDK version format is "major.minor.revision", this conversion will fail. [1] https://github.com/opnfv/yardstick/blob/master/ansible/roles/install_dpdk/tasks/main.yml#L119 JIRA: YARDSTICK-1306 Change-Id: Id8d32f28627ff5a0ff8d4fb604282ba2d9931c25 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-07-11Revert "vPE Sample VNF is missing in the installation scripts"Volodymyr Mytnyk1-2/+0
SampleVNF source tree doesn't contain vPE VNF sources, thus the installation of the vPE sampleVNF fails because of the changes. Reverting. This reverts commit 5bb855a82d960a4fb796e801ec9a9a22dc40b1ca. Change-Id: I27e929e813a28847c2ca725031ec767633a36954 Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
2018-07-10Make uwsgi app to not demonizeMytnyk, Volodymyr1-1/+1
Supervisord doesn't support demonize applications, thus we have to make the uwsgi application to run not in background. - Fixed Yardstick API path. - Fixed HttpClient class to raise correct exception when the HTML response (not JSON) like 4xx, 5xx is received. (http://docs.python-requests.org/en/master/user/quickstart/#json-response-content) JIRA: YARDSTICK-1297 Change-Id: I4d1c1bb7266eeed0bd357bd28b91206d1580611f Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
2018-07-05Merge "Fix vCGNAPT name in ansible constants"Rodolfo Alonso Hernandez1-2/+2
2018-07-05Merge "vPE Sample VNF is missing in the installation scripts"Rodolfo Alonso Hernandez1-0/+2
2018-07-04Merge "DPDK site change"Abhijit Sinha2-12/+16
2018-07-04Merge "Sample VNF version need to be updated to Fraser"Rodolfo Alonso Hernandez1-1/+1
2018-07-03Merge changes from topics 'YARDSTICK-1250', 'YARDSTICK-1249'Rodolfo Alonso Hernandez3-52/+33
* changes: Fix pip install issues in install.yaml script Bump ansible version to 2.5.5
2018-07-03Sample VNF version need to be updated to FraserRodolfo Alonso Hernandez1-1/+1
JIRA: YARDSTICK-1289 Change-Id: Ib150fafdfcc7a7aa09e4ed9c683fc3013676dac4 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-07-01Bugfix: uwsgi config file yardstick.ini output errorrexlee87761-2/+2
JIRA: YARDSTICK-1280 Change-Id: I45b4b781cee21035897ba0c34dc740af6365e918 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2018-06-21Fix pip install issues in install.yaml scriptRodolfo Alonso Hernandez3-52/+33
For long executing commands, ansible should use async jobs. For example, when installing the project requirements. There is a problem in ansible pip module when using a "editable installs". This command should be called with "editable" flag. JIRA: YARDSTICK-1250 Change-Id: I6d29bab2f388373e252d065ff5aa0c459a8f265a Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-06-21DPDK site changeRodolfo Alonso Hernandez2-12/+16
DPDK site changed and the download URL must be changed. New site: http://core.dpdk.org/download/ JIRA: YARDSTICK-1248 Change-Id: I87359a4417f09c86717f598c76dc67c422bd39f7 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-06-14Merge "Install dependencies: bare-metal, standalone"Emma Foley2-2/+3
2018-06-14Install dependencies: bare-metal, standaloneStepan Andrushko2-2/+3
This will install all dependencies needed on the bare-metal and standalone physical nodes. JIRA: YARDSTICK-1177 Change-Id: I719ca64d4da098d6dd60597e5fc4ad6f4715f79e Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com> Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-05-29Improve VMs spawning for OpenStackStepan Andrushko3-3/+65
In some, like 5% or so, VMs become not responsible. Added a validation to make sure VMs are reachable over SSH. In case of issue - restarting VM. JIRA: YARDSTICK-1141 Change-Id: I110fe35b4b7bdbc4ba962d3814ce0f8cd40e5400 Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2018-05-24Use TRex release v2.41 to support both x86 and aarch64trevortao2-2/+3
Currently Yardstick uses Cisco's TRex release v2.28 which can only support x86, for the consideration of multi-arch support of Yardstick, the trex release v2.41 is now available and it can support multi-arch(both x86 and aarch64) now. For the external lib of v2.41, for x86_64, it looks like: external_libs/pyzmq-14.5.0/python2/intel/ucs4/64bit/zmq for arm64, it looks like: external_libs/pyzmq-14.5.0/python2/arm/ucs4/64bit/zmq So replace the trex release v2.28 with v2.41. JIRA: YARDSTICK-1191 Change-Id: I22dc3499283d48a89da1145cc480fd7d2a93a1cc Signed-off-by: trevortao <trevor.tao@arm.com>
2018-05-22Fix vCGNAPT name in ansible constantsRodolfo Alonso Hernandez1-2/+2
JIRA: YARDSTICK-1190 Change-Id: I7494cd60fa495a4b78db6e9034219ee0c38e570e Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-05-22vPE Sample VNF is missing in the installation scriptsRodolfo Alonso Hernandez1-0/+2
Sample VNF vPE is missing in the installation scripts and should be added to support the execution of the test cases related. JIRA: YARDSTICK-1187 Change-Id: I6684304cc97fd3bde90ca06f5fe8df9e1d11ce18 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-05-03Fix ansible scripts for running in containerJohn O Loughlin1-2/+1
JIRA: YARDSTICK-1147 Change-Id: I52dae85a2d97192bc8a48c5aeea3173b3d4de003 Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
2018-04-26Migrate install.sh script to ansibleJohn O Loughlin17-23/+496
Ansible scripts to install yardstick. These scripts will take a few options: INSTALLATION_MODE : Container or Baremetal YARDSTICK_DIR: Location of Yardstick directory VIRTUAL_ENVIRONMENT: Should a virtual environment be used NSB_DIR: Location of NSB directory JIRA: YARDSTICK-1126 Change-Id: I4a13e07e96650ffd971dfb18472f2563cfd51aa9 Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
2018-04-26OpenStack deployment using kollaStepan Andrushko16-14/+829
OpenStack deployment using Kolla installer for all-in-one mode and multinode inside VMs which are already created. Two types of OpenStack nodes are supported as input in sample files, like infra_deploy_two.yaml.sample: controller and compute. JIRA: YARDSTICK-1078 Change-Id: I51616a7a17ac565a01ec6da57b589290237d18ee Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2018-04-25Merge "OpenStack deployment: delete RS or all VMs"Rodolfo Alonso Hernandez3-21/+50
2018-04-25Merge "Add docker support for Ubuntu 17.10 with Yardstick"Rodolfo Alonso Hernandez2-14/+2
2018-04-18DPDK: detect dpdk_make_arch based on image archRoss Brattain2-2/+8
JIRA: YARDSTICK-1124 Change-Id: I26e5854f5117a3b45ac7fa4d4b06f325dcd4d97a Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2018-04-17OpenStack deployment: delete RS or all VMsStepan Andrushko3-21/+50
New parameter is added to shell script to delete data for VMs either from input file or all. Added disk images removal as per new input parameter. JIRA: YARDSTICK-1123 Change-Id: I8d2cee4a3a7ad7147f4d59303bab656d80370221 Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2018-04-11Add docker support for Ubuntu 17.10 with YardstickJohn O Loughlin2-14/+2
JIRA: YARDSTICK-1119 Change-Id: I6d9b21667605f1c0a157c2a72e708c36b90e8c3a Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
2018-04-11Upgrade collectd to version 5.8John O Loughlin1-1/+1
Update collectd version to 5.8 as it's the latest stable and supports GCC 7 JIRA: YARDSTICK-1114 Change-Id: I9147b7277d87047eda729664d5ee3e8ab2c145af Signed-off-by: John O Loughlin <john.oloughlin@intel.com>