The expiration time for new job artifacts in CI/CD pipelines is now 30 days (GitLab default). Previously generated artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information: https://gitlab.lrz.de/help/user/admin_area/settings/continuous_integration.html#default-artifacts-expiration

Commit 0805217f authored by Michael Ott's avatar Michael Ott
Browse files

Provide more details on errors in gpfsmon

parent db3042e2
......@@ -74,17 +74,17 @@ void GpfsmonSensorGroup::read() {
s->storeReading(reading);
}
} else {
LOG(error) << "Sensorgroup" << _groupName << " could not parse line" << buf;
LOG(error) << "Sensorgroup " << _groupName << " could not parse line" << buf;
//assume there was a problem with the temp file
if (!fileExists(TMP_GPFSMON))
createTempFile();
}
}
} else {
LOG(error) << "Sensorgroup" << _groupName << " popen failed, check if you have enough file descriptors.";
LOG(error) << "Sensorgroup " << _groupName << " popen failed: " << strerror(errno);
}
} catch (const std::exception &e) {
LOG(error) << "Sensorgroup" << _groupName << " could not read value: " << e.what();
LOG(error) << "Sensorgroup " << _groupName << " could not read value: " << e.what();
}
}
......@@ -95,7 +95,7 @@ void GpfsmonSensorGroup::createTempFile() {
gpfsmonFile << "io_s\n";
gpfsmonFile.close();
} else {
LOG(error) << "Gpfsmon: unable to create temporary file for mmpmon";
LOG(error) << "Gpfsmon: unable to create temporary file " << TMP_GPFSMON << " for mmpmon: " << strerror(errno);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment