summaryrefslogtreecommitdiffstats
path: root/docker/storperf-master/storperf/storperf_master.py
AgeCommit message (Collapse)AuthorFilesLines
2018-07-13Merge "Collect slave info"Mark Beierl1-0/+13
2018-07-12Collect slave infombeierl1-0/+13
Adds the output of uname -a to the metadata for each slave. Additional information about each slave can also be added as needed in the future. Change-Id: Ifb3d06599c0f1b7a4ffe06a7c98b151e62ba7bd8 JIRA: STORPERF-253 Signed-off-by: mbeierl <mark.beierl@dell.com>
2018-07-12Revert "Set self.stack_id = None after delete stack"Mark Beierl1-0/+4
This reverts commit 6114b084b3fd47e638172cbbe64c6ea9e627e66d. Change-Id: I089fbbf924a2c979e3cea619d8c5bc90820ff691 Signed-off-by: mbeierl <mark.beierl@dell.com>
2018-07-10Merge "Support Custom Workloads"Mark Beierl1-26/+75
2018-07-10Set self.stack_id = None after delete stackAmeed Ashour1-1/+6
Change-Id: I09ad953776804f17f5eedf296955ced51c5ed3a4 JIRA: STORPERF-251 Signed-off-by: Ameed Ashour <Ameed.Ashour.ext@nokia.com>
2018-07-06Support Custom Workloadsmbeierl1-26/+75
Refactors interaction with test_executor to clean up the tight coupling. Adds ability to specify custom workloads. Change-Id: Idbadcec1f42714e96c5f96d1e45c05982a531503 JIRA: STORPERF-246 Co-Authored-By: Ameed.Ashour.Ext@Nokia.com Signed-off-by: mbeierl <mark.beierl@dell.com>
2018-07-05Adds volume_type supportmbeierl1-21/+44
Adds a new optional parameter, volume_type, to the configurations REST API, allowing the user to specify the volume type to create. Change-Id: I29b7bee442a5e1b6b98be439c06a58e3fd322943 JIRA: STORPERF-217 Co-Authored-By: Ameed.Ashour.Ext@Nokia.com Signed-off-by: mbeierl <mark.beierl@dell.com>
2018-06-28Fixes daily runmbeierl1-1/+1
Change-Id: I8f17efe0d0866a3dc6ecbbabe07985b93ac445e6 Signed-off-by: mbeierl <mark.beierl@dell.com>
2018-06-26Use MultiThreaded SNAPSmbeierl1-7/+15
Take advantage of multiple threads in SNAPS to get info on the stack more quickly. Change-Id: Ifbfaec4fb6f1a4a322c327176c82200b5f69d874 JIRA: STORPERF-245 Signed-off-by: mbeierl <mark.beierl@dell.com>
2018-06-26Adds IP Addresses to Config APImbeierl1-5/+16
Uses the IP addresses of the VMs in the stack to populate a new slave_addresses field in the REST API. Change-Id: I363a4d118cf5c786f4faf8432ea884cb010c6db5 JIRA: STORPERF-239 Signed-off-by: mbeierl <mark.beierl@dell.com>
2018-05-10Adds Volume Count and Dynamic Reloadmbeierl1-10/+30
Adds a volume_count parameter that allows the user to change the number of volumes. Test execution still uses each volume specified and appends it to the host ip address in the graphite metrics. Changes the cache policy of the stack from SNAPS-OO so that changes made to the stack are refelcted in StorPerf. Fixes the documentation path and updates the docs for the above changes. Change-Id: I5b9160b469e80d4f7d6906ac270bb3b75411fb5a JIRA: STORPERF-242 Signed-off-by: mbeierl <mark.beierl@dell.com>
2018-04-05Fixing daily jobmbeierl1-7/+18
Use Ubuntu 16.04 instead as it is LTS and not subject to change Enhance error reporting on stack creation failure Change-Id: Ie187ae44ce66564da9779733a418fc8bb4e1c320 JIRA: STORPERF-240 Signed-off-by: mbeierl <mark.beierl@dell.com>
2018-02-05Updates for JOID Integrationmbeierl1-4/+13
Changes daily to use the script from JOID to fetch OS information. Adds more environment variables to the OSCreds. Change-Id: I8cc07f82d6cc1bb70987a29947cc4093e8a2ff56 JIRA: STORPERF-238 Signed-off-by: mbeierl <mark.beierl@dell.com>
2018-01-23Removes Configuration DBmbeierl1-107/+76
Removes the configuration DB from storperf_master and replaces it with direct calls to Heat. Allows for container to discover an existing stack if it already exists. Change-Id: I32e767d5173dbfd58aa1d2127a478a1d36392592 JIRA: STORPERF-236 Signed-off-by: mbeierl <mark.beierl@dell.com>
2018-01-11WIP - Use SNAPS to launch StorPerf StackTaseer Ahmed1-156/+53
Change-Id: I8857e6e0dd2bf9cd7c38cf18a7c239d7eb993d05 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-12-20Fixes Availability Zone Supportmbeierl1-0/+1
Fixes typo and passes the availability zone parameter through all the heat templates. Change-Id: I12d9d5d32ceb6461833fcfb4ea2961a34b97c35a JIRA: STORPERF-225 Signed-off-by: mbeierl <mark.beierl@dell.com>
2017-12-17Resolve error in fetching metricsShrenik1-1/+1
There seems to be an update in the json format used. The data is present at ['details']['metrics'] rather than ['metrics'] JIRA: STORPERF-229 Change-Id: I7c3ee319ef4a128c33f5e2a26e10b6ff03a471d3 Signed-off-by: Shrenik <shrenik.jain@research.iiit.ac.in>
2017-11-06Merge "Prevent user from starting a second job while one is already running."Taseer Ahmed1-0/+6
2017-10-17Improving Reportingmbeierl1-5/+0
Changes IOPS and BW to summation vs. average. Adds fixed 0 y axis to all graphs Change-Id: I3379597bda04b030424a25c7309a02c982fdb706 Signed-off-by: mbeierl <mark.beierl@dell.com>
2017-10-09Prevent user from starting a second job while one is already running.Taseer Ahmed1-0/+6
JIRA: STORPERF-214 Change-Id: I1fe7c0bc61dfa7899d39cee1d13f99b2435115cd Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-06Adding SSL Certificate Supportmbeierl1-4/+11
Change-Id: I4a45e5602afc3a1c303a44adc15c9ef94fe732bb Signed-off-by: mbeierl <mark.beierl@dell.com>
2017-09-01Support for different agent OSTaseer Ahmed1-3/+72
JIRA: STORPERF-175 Change-Id: I64d13c77c18dd129a79dde3bf9a8bc996019bff5 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-08-28Standardize Outputmbeierl1-3/+20
Re-arrange the JSON output so that it matches the format that gets sent and retrieved from the testresults db. Change-Id: I9f15e553e94b27b9e5a36f4984789c5e710feac4 JIRA: STORPERF-200 Signed-off-by: mbeierl <mark.beierl@dell.com>
2017-08-23Graphite Standalone containerShrenik1-5/+6
A new Graphite container is used Metrics are sent to both Graphite instances However, it seems that some metrics might be missing This is however a direct plugin. There are differences in carbon.conf, storage-schemas.conf and other files as well. It is suggested to write own Dockerfile instead of using the image available. We anyway have to do it with respect ARM Support. Change-Id: Id34c728f598150caac23ac167c3cce5eaf183a6c JIRA: STORPERF-142 Signed-off-by: Shrenik <shrenik.jain@research.iiit.ac.in> Signed-off-by: mbeierl <mark.beierl@dell.com>
2017-08-20REST API for logsTaseer Ahmed1-0/+17
JIRA: STORPERF-94 Change-Id: I59189109d7f731977fc682b3fb78e60bc92a8270 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-07-27Add availability zone option to launch agent.Taseer Ahmed1-0/+13
JIRA: STORPERF-178 Change-Id: I1a5c1a0d1c3b700a0858f644b01553bf0b5675de Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-07-25Switch Container Base to Alpinembeierl1-11/+0
Changes the base of StorPerf master docker container to be Alpine based. Compiles FIO statically so no runtime libraries need to be copied to the target VM, just FIO. Change-Id: Ia66dc11442211fc5248103a9f955f48f3186b322 JIRA: STORPERF-174 Signed-off-by: mbeierl <mark.beierl@dell.com>
2017-07-25Returns all job ID's if queried without ID.Taseer1-0/+3
JIRA: STORPERF-184 Change-Id: I631b4adbd830420a3b502e4f2a86a66824c87fcd Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-07-13Add reason for stack creation failureTaseer1-0/+1
JIRA: STORPERF-180 Change-Id: Ic10f5d96ed0d7b38ccd21b59a68b1ccec403023c Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-07-11Change all pathsmbeierl1-0/+448
Changes the paths of all source code so that it exists under the dockerfile location for each container. This way we can use COPY instead of git clone, as well as use the existing JJB. Change-Id: I883b2957d89659c164fff0a1ebc4d677c534796d JIRA: STORPERF-188 Signed-off-by: mbeierl <mark.beierl@dell.com>