aboutsummaryrefslogtreecommitdiffstats
path: root/resources/ansible_roles
AgeCommit message (Collapse)AuthorFilesLines
2018-02-25Merge "Add missing license header"zhihui wu1-0/+9
2018-02-24Use a fixed ubuntu 16.04 imagezhihui wu1-2/+2
Use a fixed ubuntu 16.04 image Change-Id: I2eeeb647c6fa55af2c0149022e03326cb03a26a5 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2018-02-23Add missing license headerYujun Zhang1-0/+9
Change-Id: Ie6464f443ef4357f0aac13667ca7053194b4615b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2018-02-23Add QTIP flavor creation/deletionTaseer Ahmed2-0/+35
JIRA: QTIP-291 Change-Id: I4f5bea70605c4f9d4451961a3aa6db3a1fb078e4 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2018-02-11Add the creation/deletion of image in the pipelinezhihui wu10-16/+119
- Specify image download and upload details JIRA: QTIP-291 Change-Id: I9f4e0d179f7d907b448b716274348fb6c71dd3bc Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2018-01-15Merge "Add a judgement to control the proxy jump configuration"zhihui wu2-0/+12
2018-01-09Add a judgement to control the proxy jump configurationzhihui wu2-0/+12
- Set a default value(True) to proxy_jump - For MCP, set proxy_jump to False. Because remote node can be directly connected from qtip container without proxy jump. Change-Id: I92214de984a0231ba4ba873f3a60cb12589ade28 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2018-01-09use 'import_tasks' and 'include_tasks' instead of 'include'zhihui wu6-8/+8
The use of 'include' for tasks has been deprecated.[1] [1] http://docs.ansible.com/ansible/latest/include_module.html Change-Id: I940f4031b16860e69d2ca92e4fca82c5cc495aef Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-12-19fix some bugs about mcp modulezhihui wu1-1/+1
- ansible user should be "ubuntu" - SUT:children is "compute" not "compute-nodes" in the template/hosts - logical error about node_meta - Uniform installer_group mcp value Change-Id: I8c40accbe2b5d65d93044faebaf166703ab63932 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-11-20Add role for heat stack creationTaseer Ahmed3-0/+109
JIRA: QTIP-284 Change-Id: I8de67c74fe31d6353f05892df67f21ae9af9640e Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-19Set ``criteria`` as PASS for all completed executionsYujun Zhang1-1/+1
Change-Id: I232eedba24dd9f41a6d5ef588ffb1f6cfd8d0415 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-10-18Merge "Add support for Mirantis Cloud Platform."zhihui wu3-0/+16
2017-10-16Add support for Mirantis Cloud Platform.Taseer Ahmed3-0/+16
JIRA: QTIP-261 Change-Id: Ied9c3d91b25bc8dad7deb0cf30f83cd2b7855a92 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
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>
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>
2017-09-30Fix criteria dataYujun Zhang1-1/+1
It does not make sense to use current score as criteria. Set to 2048 for now. Although the baseline is not well calibrated, it is better than given a floating criteria. Change-Id: Iae972b585422cdde95f8b7027081c56cc9608643 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-09-18Fix output path of testing resultsYujun Zhang2-3/+3
Change-Id: I2a30dd39bb847868c8869904c8b28d2bf7d784e5 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
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>