aboutsummaryrefslogtreecommitdiffstats
path: root/resources/ansible_roles
AgeCommit message (Collapse)AuthorFilesLines
2017-10-03Lookup in enviroment for OPNFV release nameYujun Zhang1-1/+1
this is used in testapi reporting Change-Id: If0a2ef1d406544f5c8648fb653ff6c2334abf5e8 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn> (cherry picked from commit 3d5a7186f544797cc788c9a052b370aa072ad07d)
2017-09-30Download ramspeed from new urlYujun Zhang1-1/+3
The original one has expired Change-Id: I0e362daf0308c5f0915bf1f652f3ab7d14373e91 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn> (cherry picked from commit d9703d50adf954f2960d422f8f78745c806bc181)
2017-09-19Fix output path of testing resultsYujun Zhang2-3/+3
Change-Id: I2a30dd39bb847868c8869904c8b28d2bf7d784e5 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn> (cherry picked from commit b80f7070c5455025a1fd4a67af2f0b6246a39140)
2017-09-15Fix output pathYujun Zhang2-6/+6
Change-Id: Ib3e5a310a561d9fdd11b503058ada4e937189a9d Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-09-08Use minimal outputYujun Zhang1-1/+1
Easier to read the log message Change-Id: I49d61aa666a261e3e3bf3795cfe4341dca865dcb Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-29Fix bug that start_job script exit unexpectedlyYujun Zhang1-0/+4
When `set -o errexit` is enabled in script, the non-zero return value from `diff` is considered as an error. But actually diff returns 1 when difference is found. The error exit option should be disabled when dealing `diff`. Change-Id: I6270ec8f7036b3d752736a80474468e26a613585 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-28Use legacy storperf images instead of master branchYujun Zhang1-1/+1
The master branch of storperf is under refactoring and not stable enough for integration. It introduces microservices and some linked images is not built yet, e.g. storperf-graphite[1] which is required by storperf-master is empty [1] https://hub.docker.com/r/opnfv/storperf-graphite Change-Id: Ie8522dae9073d163872be5742a290fd003698442 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-26Refactor storperf testing scripts into ansible roleYujun Zhang21-0/+888
Change-Id: Ifbfe0818a528dbd9b2c176acf39450ca480e931a Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-22Merge ceph info rolesYujun Zhang6-20/+6
Change-Id: I83be70cf24be2a9da0a0f82e44810b1e9ff2b3b8 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-16Migrate contents from benchmarks to resourcesYujun Zhang1-1/+1
Change-Id: I189c3d5224ec58ad63851d173b94204b273c3696 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-14Fix permission issue on apexYujun Zhang1-3/+6
root privilege is required for ceph commands Change-Id: Idf42342d0035359d6bcb475d12ea0808d5d26802 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-09Fix bug in apex inventoryYujun Zhang1-1/+1
The default user for overcloud should be heat-admin JIRA: QTIP-267 Change-Id: Ie868b1a925ca0eaa0292bdfb99d0e328e820f8aa Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-07-27Merge "Deprecate plan and metric loader"zhihui wu1-1/+1
2017-07-26Merge "Add ceph-network-info role to get the cluster network info and ↵zhihui wu2-0/+51
interface network info from ceph nodes."
2017-07-26Deprecate plan and metric loaderYujun Zhang1-1/+1
- qtip test plan is now automaticlly generated by `qtip create`. The original way of loading plans is no longer valid - metric specs are now embedded in qpi spec, no separated loader are required now JIRA: QTIP-258 Change-Id: I768d75b014163ce060faff00f415a1cdc437ce73 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-07-24Merge "Add ceph-cache-info role to get the ceph client cache info from ceph ↵zhihui wu2-0/+48
nodes."
2017-07-18Add ceph-disk-info role to get the ceph disk and journal info from cephzhifeng.jiang2-0/+54
nodes. JIRA: QTIP-254 Change-Id: Iee21ea600abef6f889ba4c3b5f71fd6fb96f570b Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2017-07-17Add ceph-cache-info role to get the ceph client cache info from cephzhifeng.jiang2-0/+48
nodes. JIRA: QTIP-254 Change-Id: I3dc9671da038db792807b8cd55859ffa60619670 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2017-07-17Add ceph-network-info role to get the cluster network info and interfacezhifeng.jiang2-0/+51
network info from ceph nodes. JIRA: QTIP-254 Change-Id: Ibf37d60e4a15e4238df2f702eee47cb114808106 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2017-06-28Fix bug in aggregationYujun Zhang1-1/+1
Change-Id: Ic6613a9ab585894984e1cdab6ead3a84d1c4af9c Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-06-28Fix bug in QPI calculationYujun Zhang1-1/+2
compute spec was amended in 45111c but the calculation is not updated Change-Id: Ibf0139b2278f617a52335e8839f51c97d5ded8b7 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-06-10bugfix: installer is not defined in report.ymlzhihui wu1-1/+1
since installer is renamed to installer_type in all.yml, installer cann't be found in report.yml Change-Id: I222b3050aab8b4f09e1f70c623d0e53ebbff1743 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-06-10bugfix regex for cpuzhihui wu1-1/+1
Change-Id: I036af55669dcb386a16df9aaae202a39fdc23e9b Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-06-06add system_info and condition to qpi reportzhihui wu1-0/+1
According to the part "system_info" and "condition" in spec, gather these data and add them to qpi report. Change-Id: I5efc996c2bfb34452e9aa323d8288c1dd2d8d276 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-06-05Fix bug in apex moduleYujun Zhang2-3/+2
- the default user may not be `root` - gather facts is required for getting $HOME Change-Id: Ibe7ba31322f07f0a9fa33a01005e605dc7eb796a Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-06-05Beautify the argument namesYujun Zhang7-17/+16
- keep the argument consisten with OPNFV convention - installer-ip is not used because in fact we use host address instead - remove optional argurment from prompt Change-Id: I3db3cf53b62cc86e143bc59a7dd8bb83d0f74b7d Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-06-03Fix argument typo in example configurationYujun Zhang1-2/+2
Change-Id: Ia8edbfe1c00808da0375640a84ab18f5edb2224f Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-06-01metrics baseline in compute-baseline.jsonzhihui wu1-0/+1
- Previously, metrics baseline are defined in the spec file. In this patch, move metrics baseline to compute-baseline.json. - you can get qpi based with baseline file given in calculate.yml - you can generate a customized baseline file when baseline file is not given in calculate.yml And baseline will be removed from the spec file. Change-Id: I123d28e28543cb153b60120b5076306fa2fa3873 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-05-31Merge "bugfix memory report"zhihui wu1-3/+3
2017-05-28Merge "Add support for create new project from different templates"Yujun Zhang23-46/+602
2017-05-27bugfix memory reportzhihui wu1-3/+3
Change-Id: I2d09dbc2946c4ddfb33e1c415329e32c5ad818fe Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-05-25Add support for create new project from different templatesYujun Zhang23-46/+602
Change-Id: Ic260c59b12eb9882406d6172311f2e401963c64b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-05-25improve the regex for matching "cpu"zhihui wu1-1/+1
CPU brand should not include cpu speed. Change-Id: I6938150313fda092b83df981d3622535bdf7decb Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-05-25Merge "bugfix CI failure"zhihui wu1-1/+1
2017-05-24Merge "bugfix unixbench report templates"zhihui wu1-2/+2
2017-05-24bugfix CI failurezhihui wu1-1/+1
It miss ":children" after "SUT", then compute nodes can't be found CI link: https://build.opnfv.org/ci/view/qtip/job/ qtip-os-nosdn-kvm-ha-zte-pod3-daily-master/54/console Change-Id: Ifca492a587b99036b649ecb9de1123924baf8d7f Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-05-23bugfix unixbench report templateszhihui wu1-2/+2
Change-Id: I7fd3a85c6497d14ec43c6e3c87c34a92ca3623d3 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-05-22Merge "No need to list the other nodes system information"zhihui wu1-13/+7
2017-05-19No need to list the other nodes system informationzhihui wu1-13/+7
Change-Id: Ia1d4da97ac30c767446be964f33a6edb1af756e4 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-05-19Merge "Implement sunburst badge for QPI"Yujun Zhang1-1/+6
2017-05-16Merge "Add support for manually installed (not using installer) OPNFV pod"Yujun Zhang7-8/+28
2017-05-16Add support for manually installed (not using installer) OPNFV podYujun Zhang7-8/+28
Change-Id: I314882dd8a9e491f253f825a8da7ec4c91ed3321 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-05-16Add arithmetic metricsYujun Zhang1-0/+1
Change-Id: I99b118931fd78a7908f32ddb418264576468118e Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-05-16Implement sunburst badge for QPIYujun Zhang1-1/+6
Change-Id: Iccdec7b0ac223a38c846f73adc6bd0e53db3723b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-05-16Remove prompt for teardownYujun Zhang2-6/+0
Interactive prompt will block automatic task execution in CI Change-Id: I435045186660ddda517f847e7cc33174e878da6d Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-05-15Merge "Update readme of running with native `ansible-playbook` command"Yujun Zhang2-2/+3
2017-05-15Merge "Check ssh-agent before running tests. Fail playbook if not running."Yujun Zhang1-0/+14
2017-05-15Update readme of running with native `ansible-playbook` commandYujun Zhang2-2/+3
Change-Id: Idd021dd6301c7ced7658460622ba4961b071c3c2 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-05-15Check ssh-agent before running tests. Fail playbook if not running.Taseer1-0/+14
- Need to start it manually. Not possible via playbook. JIRA: QTIP-242 Change-Id: Ief593fe54a900f7aa36890be5317a60bcb65a82e Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-05-15Get rid of `changed=false` flag in test resultYujun Zhang1-6/+5
Change-Id: I74c9634b708dbad82e6e4b0a04b44e16ff01ffdd Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>