ACK, Not tested. -AVM
On 8/17/2017 6:33 PM, Zoran Milinkovic wrote:
In #2491, the log message if logged always with error log level. If a cluster goes headless, this case is very likely to be happen with ERR_TRY_AGAIN, but that's expected behavior when the cluster goes headless. --- src/imm/common/immpbe_dump.cc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/imm/common/immpbe_dump.cc b/src/imm/common/immpbe_dump.cc index 4c2b2ea..3d7c57e 100644 --- a/src/imm/common/immpbe_dump.cc +++ b/src/imm/common/immpbe_dump.cc @@ -1276,9 +1276,15 @@ static ClassInfo *verifyClassPBE(std::string classNameString, if (errorCode != SA_AIS_OK) { if (errorCode != SA_AIS_ERR_NOT_EXIST && errorCode != SA_AIS_ERR_INVALID_PARAM) { - LOG_ER("Failed to get class description for class '%s' from imm " - "with error=%d, exiting", - classNameString.c_str(), errorCode); + if(errorCode == SA_AIS_ERR_TRY_AGAIN) { + LOG_WA("Failed to get class description for class '%s' from imm " + "with error=%d, exiting", + classNameString.c_str(), errorCode); + } else { + LOG_ER("Failed to get class description for class '%s' from imm " + "with error=%d, exiting", + classNameString.c_str(), errorCode); + } exit(1); } TRACE_4(
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel