aboutsummaryrefslogtreecommitdiffstats
path: root/qtip/ansible_library
AgeCommit message (Collapse)AuthorFilesLines
2018-01-09Add a judgement to control the proxy jump configurationzhihui wu1-1/+1
- 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>
2017-12-19fix some bugs about mcp modulezhihui wu1-8/+5
- 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-10-16Add support for Mirantis Cloud Platform.Taseer Ahmed1-0/+105
JIRA: QTIP-261 Change-Id: Ied9c3d91b25bc8dad7deb0cf30f83cd2b7855a92 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
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-09Fix bug in apex inventoryYujun Zhang2-2/+4
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-06-28Fix bug in aggregationYujun Zhang1-1/+1
Change-Id: Ic6613a9ab585894984e1cdab6ead3a84d1c4af9c Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-06-26Refactor output formatTaseer1-58/+52
- Merge scores and results in qpi.json - metrics: {} will be completely removed as a consequence - Make baseline the same format as spec Change-Id: Id0cc487002a38c51736de07f3759fd78d42a0b9c Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-06-06add system_info and condition to qpi reportzhihui wu1-4/+12
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-01metrics baseline in compute-baseline.jsonzhihui wu1-23/+64
- 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-23use the git link to replace qtip_speczhihui wu1-1/+1
Change-Id: Iaee076c06d54754f2d761dd85eab58353ee32ae4 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-05-16Implement sunburst badge for QPIYujun Zhang2-13/+29
Change-Id: Iccdec7b0ac223a38c846f73adc6bd0e53db3723b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-05-15Get rid of `changed=false` flag in test resultYujun Zhang1-1/+6
Change-Id: I74c9634b708dbad82e6e4b0a04b44e16ff01ffdd Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-27bugfix: regex node rolezhihui wu1-1/+1
In NEC pod based with apex, node role is incorrectly regexed. Change-Id: I90d5eb92e6eec4abf850137f50ffc4df02257615 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-04-26Add support for result aggregationYujun Zhang1-4/+18
Change-Id: I678b765f3f430cb6a5d130d94960273b8eea85e7 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-25Rewrite `export_to_file` as decoratorYujun Zhang2-12/+8
Change-Id: Ibf852038fac986801a3fc2c608a0ddb1572abbde Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-25Add ssl aes metrics in qpi calculationYujun Zhang2-10/+30
Change-Id: Id568aa3942849e105ca24892babff2acaec21121 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-24Support running collect stage onlyYujun Zhang1-2/+7
- add `always` tag to tasks required for all stages - apply `setup`, `collect` and `run` tag to each stage Change-Id: I806ec1add08bb18cb5b2848c78a039ed8a38c8ff Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-24Save logs before collectingYujun Zhang1-15/+0
Change-Id: I0e39103ef917fa7ea86d5c47de0cc71c37fca74c Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-22Organize results in folder named with pod and current dateYujun Zhang1-3/+3
Change-Id: I0882fb4548c3c3a6a72c6f752f8074e553ee3748 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-21correct document of module apex_generate_inventoryzhihui wu1-14/+11
Change-Id: I10bfd526e377ae02d2f6cf6d60d82fbb175ac431 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-04-21Set default folder for dump dataYujun Zhang1-6/+8
Change-Id: I2b96bcf369b13a679a417d78ebca19b3e63155e2 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-21Group test results and report under nodeYujun Zhang1-3/+3
Change-Id: I66286787d06c5012c6dcf516cffb9f6fd76522c5 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-20fix apex integrationzhihui wu1-34/+10
I didnot find a right way to source Openstack rc file via ansible module python api. Without openstack rc fiel, openstack cli command can not be executed. So I move this part to ansible playbook. Change-Id: I44439560f8ffa1b41890c4e94c9657ab2cc43241 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-04-19Merge "Fix warnings on same name of host and group in Ansible 2.3"Yujun Zhang1-1/+0
2017-04-19Merge "Fix hardcode dump file"Yujun Zhang1-1/+1
2017-04-18Fix warnings on same name of host and group in Ansible 2.3Yujun Zhang1-1/+0
Change-Id: Iedf0d609a62b956e1f0cd5e941a8fd27e1abc685 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-18Fix hardcode dump fileYujun Zhang1-1/+1
Change-Id: Icef12e41b5bf64987a0991a9328ee8d6f1d3b161 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-18Merge "apex integration"zhihui wu1-0/+133
2017-04-18apex integrationzhihui wu1-0/+133
Change-Id: Ief21554dfa7cd79e7ed0cb1615f6dbf079cb6077 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-04-17push results to testapiYujun Zhang2-2/+4
Change-Id: Ie6e231690f92971b776cd41af18b21acb43bb199 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-17Aggregate qpi score from all nodesYujun Zhang1-0/+36
Change-Id: Ib711a493a949b013ffe22519861f144dc47d0334 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-16Load benchmark specification from external fileYujun Zhang1-1/+4
Change-Id: If72f1d98b90f9666c17aa28b3b88f32178ee4166 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-12Dump collected factsYujun Zhang1-0/+13
Change-Id: Id0b7b2e94016a73ffcaa2d737af1ca33230b3662 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-11Integrate openssl metrics for qpi calculateYujun Zhang1-1/+20
Change-Id: I7319cd9b49cb27ba4fa367e395ceb2caa543c06e Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-10Implement calculator PoCYujun Zhang1-0/+66
- use `mean` as default formula Change-Id: I236b46c1e52f3535fb6e954d324790b1421126bd Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-07Integrate reporterYujun Zhang2-0/+19
Change-Id: I7b13282dbae576e36c01c959182bc0838b36649e Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-06Add ansible action plugin `collect`Yujun Zhang3-0/+45
- this plugin collects information or metrics from string - it is reworked from qtip.collector.parser.grep - the captured subgroups are always list even only one match found Change-Id: I1def3d7b40c7928b503fae1be531976a13e5d0be Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-06Add ansible module `fuel`Yujun Zhang3-0/+124
This module will be used to generate a dynamic inventory of fuel nodes for performance testing Change-Id: Idaa491c5fc3050abfb8ba36328f2113cf2885179 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>