Comment 3 for bug 1726534

Revision history for this message
Lee Trager (ltrager) wrote :

I think the issue is a race condition. We pass through all of fio's output so its written to our log and sent back to MAAS. When fio finishes running we read that log to get the results. What I suspect is happening is during high load fio finishes and the call is sent to write the data to the disk however our processing code runs before that happens.

Adding os.fsync to the script runner may fix this. If not we will have to modify fio to capture and log fio's output.