You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
since we collect VPD for all FRUs parallelly, it's hard to find for which FRU the log is getting printed. So attach vpd file path in every journal log, so that it will add value to the message.
Eg:
Jan 22 09:25:44 ever8bmc vpd-manager[3877]: FileName: /usr/src/debug/openpower-fru-vpd/1.0+git/src/worker.cpp, Line: 1307, Func: vpd::Worker::collectFrusFromJson()::<lambda()>, Active threads = 33
Jan 22 09:25:44 ever8bmc vpd-manager[3877]: FileName: /usr/src/debug/openpower-fru-vpd/1.0+git/src/worker.cpp, Line: 1273, Func: void vpd::Worker::collectFrusFromJson(), Parsing triggered for FRU = /sys/bus/i2c/drivers/at24/26-0051/eeprom
Jan 22 09:25:44 ever8bmc vpd-manager[3877]: FileName: /usr/src/debug/openpower-fru-vpd/1.0+git/src/worker.cpp, Line: 1273, Func: void vpd::Worker::collectFrusFromJson(), Parsing triggered for FRU = /sys/bus/i2c/drivers/at24/27-0050/eeprom
Jan 22 09:25:44 ever8bmc vpd-manager[3877]: FileName: /usr/src/debug/openpower-fru-vpd/1.0+git/include/utility/json_utility.hpp, Line: 434, Func: bool vpd::jsonUtility::procesSetGpioTag(const nlohmann::json_abi_v3_11_3::json&, const std::string&, const std::string&, const std::string&), Setting GPIO: presence-cable-card10 to 1
Jan 22 09:25:44 ever8bmc vpd-manager[3955]: sh: line 1: echo: write error: No such device
Jan 22 09:25:44 ever8bmc vpd-manager[3877]: FileName: /usr/src/debug/openpower-fru-vpd/1.0+git/include/utility/json_utility.hpp, Line: 434, Func: bool vpd::jsonUtility::procesSetGpioTag(const nlohmann::json_abi_v3_11_3::json&, const std::string&, const std::string&, const std::string&), Setting GPIO: presence-cable-card9 to 1
Jan 22 09:25:44 ever8bmc vpd-manager[3877]: FileName: /usr/src/debug/openpower-fru-vpd/1.0+git/include/utility/json_utility.hpp, Line: 212, Func: bool vpd::jsonUtility::executePostFailAction(const nlohmann::json_abi_v3_11_3::json&, const std::string&, const std::string&), PostFailAction flag missing in config JSON. Abort processing
From the above log - it's hard to figure out for which FRU path we hit the below set of errors
sh: line 1: echo: write error: No such device
PostFailAction flag missing in config JSON. Abort processing
The text was updated successfully, but these errors were encountered:
PriyangaRamasamy
changed the title
Attach extra information in the journal log
Attach necessary information in journal log
Oct 15, 2024
since we collect VPD for all FRUs parallelly, it's hard to find for which FRU the log is getting printed. So attach vpd file path in every journal log, so that it will add value to the message.
Eg:
From the above log - it's hard to figure out for which FRU path we hit the below set of errors
sh: line 1: echo: write error: No such device
PostFailAction flag missing in config JSON. Abort processing
The text was updated successfully, but these errors were encountered: