aboutsummaryrefslogtreecommitdiffstats
path: root/ansible
AgeCommit message (Collapse)AuthorFilesLines
2019-04-26Merge "Log VM OS version, Sample VNF branch/commit ID"Volodymyr Mytnyk5-14/+42
2019-04-19Log VM OS version, Sample VNF branch/commit IDStepan Andrushko5-14/+42
Added debug logs to track VM, Sample VNF details during testing: - Virtual machine OS, kernel version; - Sample VNF branch, commit ID. JIRA: YARDSTICK-1499 Change-Id: I243c435809d4541dfdb8c7c3466f50c5d524ac00 Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2019-04-17Add ansible scripts to deploy KubernetesMytnyk, Volodymyr23-1/+713
For know, only one node is supported. - build/configure CNI drivers - Init Kubernetes Change-Id: I1a0eb44fcbba20870a6b7611d4ffaf0bc3be92f3 Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
2019-04-10Revert "Add ansible scripts to deploy Kubernetes"Volodymyr Mytnyk23-646/+1
This reverts commit c66efd482c9c4aabf8a82d1f554ef5fca91b3bcb. Change-Id: I87ec6e2ed6d2ef8ad202833f134e758762345b02 Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
2019-04-10Add ansible scripts to deploy KubernetesMytnyk, Volodymyr23-1/+646
For know, only one node is supported. - build/configure CNI drivers - Init Kubernetes Change-Id: I6dd9dff7a4c7dfe2d7148812d2656966115c5ce9 Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
2019-03-25Merge "Move VM image build to remote DUT"Volodymyr Mytnyk7-50/+137
2019-03-19Move VM image build to remote DUTStepan Andrushko7-50/+137
VM image is built on localhost but should be on remote DUT server. VM image will be built on server added to group 'yardstick-standalone'. NSB dependencies will be installed on servers added to groups 'yardstick-baremetal' and 'yardstick-standalone'. Added extra package installation, copy VM image to libvirt folder. JIRA: YARDSTICK-1597 Change-Id: Iac4444c6f332c5ea80da033f2fe8371e208d7fbc Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2019-03-15Merge "NSB: Improve get_url in ansible scripts"Volodymyr Mytnyk6-0/+24
2019-03-07Merge "Update grub in enable_iommu_on_boot when needed"Volodymyr Mytnyk1-18/+19
2019-03-07NSB: Improve get_url in ansible scriptsStepan Andrushko6-0/+24
Added retries and delay to the ansible 'get_url' module to get more robust script. JIRA: YARDSTICK-1605 Change-Id: Ic4d0b937ad810e42db61c0a8b1f6f137557392f8 Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2019-02-27Update grub in enable_iommu_on_boot when neededStepan Andrushko1-18/+19
Improve conditions when to update grub in enable_iommu_on_boot ansible role. JIRA: YARDSTICK-1603 Change-Id: Ic16b84beb55e45e4b75c120761397dc3207ef6f4 Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2019-02-26Fix failing if hugepages already configuredStepan Andrushko1-24/+10
Fix ansible 'enable_hugepages_on_boot' role: - don't fail when hugepages are set; - removed manually created mount point as grub configuration does it after server reboot. JIRA: YARDSTICK-1602 Change-Id: I11177a043e9d9b956f6d20cf1e679138f0e6c640 Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2019-02-25Merge "Yardstick container rabbitmq supervisor RUN state"Volodymyr Mytnyk3-15/+45
2019-02-20Yardstick container rabbitmq supervisor RUN stateStepan Andrushko3-15/+45
Rabbitmq process exited supervisor and couldn't respawn it afterwards. Updated the way rabbitmq service and node are spawned to have them RUNNING after a service stop or node down. JIRA: YARDSTICK-1600 Change-Id: Idd6812db7a1985e8c727efd7ea45572199c1a4a9 Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2019-02-07Update Intel Copyright for files edited in 2019John O Loughlin4-4/+4
JIRA: YARDSTICK-1591 Change-Id: I3ea9039d25bfce578681adb9e27e1598e84a1f56 Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
2019-02-06Add CPU isolation support for Yardstick NSB setupStepan Andrushko5-1/+88
Add support to define CPU isolation in grub by using NSB setup script. List of CPU's to be isolated is not used by default and is defined in install-inventory.ini. Warning: reboot is required to apply CPU isolation to grub. JIRA: YARDSTICK-1467 Change-Id: I54ffa925a8f3059180d17ff4f1c41ff6e0f12066 Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2019-02-04Merge "Replace script to install.yaml in nsb_setup.sh"Volodymyr Mytnyk3-16/+42
2019-01-29Update Intel CopyrightJohn O Loughlin1-1/+1
JIRA: YARDSTICK-1591 Change-Id: I5130602e767009d83f7b39801006d68bcc126ba6 Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
2019-01-11Replace script to install.yaml in nsb_setup.shStepan Andrushko3-16/+42
Replace 'nsb_setup.yml' with 'install.yaml' in 'nsb_setup.sh'. Ansible script 'install.yaml' supports installations on Ubuntu 16/18 of Yardstick, packages dependencies and VM images. Add possibility to provide and add to OpenStack non-NSB VM image. JIRA: YARDSTICK-1577 Change-Id: I0cf7cbb354a5f389da432b05cb6f0b470fb5d8f1 Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2019-01-08Merge "Update to DPDK 18.11 support fro PROX"Volodymyr Mytnyk2-3/+4
2019-01-07Merge "Sync up 'install.yaml' with 'nsb_setup.yml'"Emma Foley2-6/+41
2019-01-04Update to DPDK 18.11 support fro PROXStepan Andrushko2-3/+4
Fix for undefined INSTALL_BIN_PATH variable and missing DPDK 18.11 dependency on libnuma-dev. JIRA: YARDSTICK-1576 Change-Id: I544bc727f5ddc5bc43ac6ce4d1f8ff35c90077c7 Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2019-01-02Add support of DPDK version 18.11 for PROX, igb_uioOleksandr Naumets7-27/+67
Adding DPDK version 18.11 support as per new requirement for PROX. Since other sample VNFs are not supporting DPDK 18.11, they will be using default DPDK version (17.05). JIRA: YARDSTICK-1576 Change-Id: Ifab1886c51a22392f52f3e9e515a9d6b81edeefc Signed-off-by: Oleksandr Naumets <oleksandrx.naumets@intel.com>
2018-12-28Sync up 'install.yaml' with 'nsb_setup.yml'Stepan Andrushko2-6/+41
Add support for barometer container. Add VM image to OpenStack. JIRA: YARDSTICK-1573 Change-Id: I7946f080f93bb69b0380c9ea7f4d7e04cb284c15 Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2018-12-13Update#2: Trex KPI not collected no rabbitmq userStepan Andrushko4-41/+9
Changed the way how rabbitmq user is created. For baremetal it is done using NSB installation script. For Yardstick installed in container supervisor is updated with user name/password. JIRA: YARDSTICK-1479 Change-Id: I4f42ab8d5ef1735b0416ed26d04e259efa155543 Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2018-12-12Ubuntu 18 support for nsb_setup.yml flowStepan Andrushko3-3/+12
Added Ubuntu 18 support to nsb_setup.yml flow: playbook build_yardstick_image.yml. Resolved dependencies between sample VNF and npm installation. JIRA: YARDSTICK-1567 Change-Id: Ie4012687af7cf1fc374c226325f2c71cd6017275 Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2018-12-12Merge "Don't add IOMMU to grub when it is not bare metal"Volodymyr Mytnyk1-46/+48
2018-12-12Don't add IOMMU to grub when it is not bare metalStepan Andrushko1-46/+48
Fix needed when running 'enable_iommu_on_boot' ansible role inside the VM where 'ansible_system_vendor' is neither 'AuthenticAMD' nor 'Intel Corporation'. JIRA: YARDSTICK-1469 Change-Id: I37e399fd892d1ec41239632948758284ccbe98ac Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
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 Mytnyk10-25/+45
2018-12-07Fix value undefined error: "fetch_url_and_verify"Stepan Andrushko1-0/+1
Fix value undefined error in Yardstick internal ansible module “fetch_url_and_verify” in case http unreachable. JIRA: YARDSTICK-1527 Change-Id: Iea3c6c08291b74f6a4dbb715b00cbf14a5dcf00e Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2018-12-07Fix pylint warnings in fetch_url_and_verifyEmma Foley1-2/+4
Disable pylint checking in ansible module, to avoid unused-wildcard-import and wrong-import-position The wildcard import is required for ansile to be able to use the module. JIRA: YARDSTICK-1527 Signed-off-by: Emma Foley <emma.l.foley@intel.com> Change-Id: Icc358555f59c8cc088f6f22e4fab8ee2205daff2
2018-12-06Merge "Add IOMMU to grub to support OVS/SRIOV SA contexts"Volodymyr Mytnyk5-34/+39
2018-11-28Merge "Fix multiport/scale-out baremetal ansible scripts"Volodymyr Mytnyk4-26/+39
2018-11-21Merge "Install barometer collectd container on all hosts"Volodymyr Mytnyk3-0/+58
2018-11-20Install barometer collectd container on all hostsChornyi, TarasX3-0/+58
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 Andrushko10-25/+45
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-11-13Fix multiport/scale-out baremetal ansible scriptsMytnyk, Volodymyr4-26/+39
- Fixed ansible scripts to generate multiport baremetal TCs for vACL/vFW/vCGNAPT. - Added scale out correlated traffic TCs for vACL/vFW/vCGNAPT. JIRA: YARDSTICK-1347 Change-Id: I3f6232dab1a45c70d1e22fbe2c7b0c3cb4773a4e Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@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 Andrushko5-34/+39
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-31Add container pull option to install.yamlStepan Andrushko3-13/+50
Supported Yardstick installation modes in yardstick.yaml: baremetal and container. First is used to install Yardstick on baremetal, another is used during docker build to install Yardstick in container. Added third option: 'container pull': to pull docker image (opnfv/yardstick) from Docker hub and start container. JIRA: YARDSTICK-1392 Change-Id: I4158de3eb6fcbe0018a15fdda89a3e3ab29c26bb Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2018-08-30Adopt infra_deploy to spawn VM on LTS Ubuntu 18Stepan Andrushko4-2/+61
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 Hernandez13-26/+513
2018-08-15Add virtual image generation to install scriptStepan Andrushko13-26/+513
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>