From 698d1f1bd9dc45021d05f30bd3d3e076f6cad042 Mon Sep 17 00:00:00 2001 From: Victor Hu Date: Thu, 24 Aug 2017 15:58:53 -0400 Subject: [PATCH] Remove the message when doing rinv on OpenBMC nodes. Values without Present are associations --- xCAT-server/lib/xcat/plugins/openbmc.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/openbmc.pm b/xCAT-server/lib/xcat/plugins/openbmc.pm index 86ec9903f..ad00bb276 100644 --- a/xCAT-server/lib/xcat/plugins/openbmc.pm +++ b/xCAT-server/lib/xcat/plugins/openbmc.pm @@ -1359,8 +1359,8 @@ sub rinv_response { } } else { if (! defined $content{Present}) { - # This should never happen, but if we find this, contact firmware team to fix... - xCAT::SvrUtils::sendmsg("ERROR: Invalid data for $key_url, contact firmware team!", $callback, $node); + # If the Present field is not part of the attribute, then it's most likely a callout + # Do not print as part of the inventory response next; }