KaaSCephOperationRequest perftest status

TechPreview

This section describes the status.perfTestStatus fields of the KaaSCephOperationRequest CR that you can use to check the status of a Ceph performance test request.

Note

Performance test results will be saved on PVC if the test run parameters contain the saveResultOnPvc option. Otherwise, test results will be saved only as Pod logs. For details, see Ceph performance test parameters.

Status of the KaaSCephOperationRequest high-level parameters

Parameter

Description

perfTestStatus

Describes the status of the current CephPerfTestRequest. For details, see Status of the KaaSCephOperationRequest perfTestStatus parameters.

Status of the KaaSCephOperationRequest perfTestStatus parameters

Parameter

Description

phase

Describes the current request phase:

  • Pending - the request is created and placed in the request queue.

  • Scheduling - the performance test is handled, waiting for a Pod to be scheduled for the run.

  • WaitingNextRun - the performance test is waiting for the next run of the periodic job.

  • Running - the performance test is executing.

  • Finished - the performance test executed successfully.

  • Suspended - the performance test is suspended. Only for periodic jobs.

  • Failed - the performance test failed.

LastStartTime

The last start time of the performance test execution.

LastDurationTime

The duration of the last successful performance test.

LastJobStatus

The execution status of the last performance test.

messages

Issues or warnings found during the performance test run.

results

Location of the performance test result. Contains the following fields:

  • perftestReference - reference to the job or cron job with the performance test run.

  • referenceNamespace - namespace of the job or cron job with the performance test run.

  • storedOnPvc - location of the performance test results on a PVC with pvcName in pvcNamespace if the test run parameters contain the saveResultOnPvc option.

statusHistory

History of statuses and timings for cron jobs:

  • StartTime - start time of the previous performance test

  • JobStatus - last status of the performance test

  • DurationTime - last duration of the performance test

  • Messages - issues occured during the previous performance test

Example of status.perfTestStatus
status:
  perfTestStatus:
    lastDurationTime: 5m53s
    lastJobStatus: Completed
    lastStartTime: "2022-06-17T09:29:57Z"
    phase: Finished
    results:
      storedOnPvc:
        pvcName: test-perf-req-cephperftest
        pvcNamespace: rook-ceph
  phase: Completed