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
Description
pcied in pmon container keeps printing warning logs
Nov 5 05:44:18.057668 str-dx010-acs-4 WARNING pmon#pcied[125]: Failed to load platform-specific PcieUtil module. Falling back to the common implementation
It is generated by following code
try:
platform_path, _ = device_info.get_paths_to_platform_and_hwsku_dirs()
platform_plugins_path = os.path.join(platform_path, "plugins")
sys.path.append(os.path.abspath(platform_plugins_path))
self.log_warning("plugin path = {}".format(os.path.abspath(platform_plugins_path)))
from pcieutil import PcieUtil
except ImportError as e:
self.log_warning("Failed to load platform-specific PcieUtil module. Falling back to the common implementation")
try:
from sonic_platform_base.sonic_pcie.pcie_common import PcieUtil
platform_pcieutil = PcieUtil(platform_plugins_path)
except ImportError as e:
self.log_error("Failed to load default PcieUtil module. Error : {}".format(str(e)), True)
raise e
I checked the utils in /usr/share/sonic/platform/plugins and found no pcieutil library.
Steps to reproduce the issue:
The log is alway printing even no test case is running.
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
)
[pcied] Remove unnecessary message and move the configuration path from plugin directory to platform directory
This PR fixessonic-net/sonic-buildimage#5819 and fixessonic-net/sonic-buildimage#6437.
Remove unnecessary repeated message
Move the configuration path from plugin directory to platform directory
Description
pcied in pmon container keeps printing warning logs
It is generated by following code
I checked the utils in
/usr/share/sonic/platform/plugins
and found no pcieutil library.Steps to reproduce the issue:
The log is alway printing even no test case is running.
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: