OSMS Incorrect python Version Running
in Linux
Symptoms
The following is seen in the OSMS console while attempting to get updates for an instance:
Cause
In the agent.log the following error messages are seen:
2023-10-08 05:26:55,946 - ERROR - Error checking actions (next check in 960 seconds): Command: ['osms', '--log-level', 'INFO', 'register', '--server-url', 'http://127.0.0.1:9003/XMLRPC'] failed (1): stderr: b'Traceback (most recent call last):\n File "/sbin/osms", line 15, in <module>\n from osms import cli\n File "/usr/share/oracle-cloud-agent/plugins/osms/osms/cli.py", line 9, in <module>\n import requests\nModuleNotFoundError: No module named \'requests\'\n' stdout: b'' 2023-10-08 05:42:55,988 - ERROR - Error checking actions (next check in 960 seconds): Command: ['osms', '--log-level', 'INFO', 'register', '--server-url', 'http://127.0.0.1:9003/XMLRPC'] failed (1): stderr: b'Traceback (most recent call last):\n File "/sbin/osms", line 15, in <module>\n from osms import cli\n File "/usr/share/oracle-cloud-agent/plugins/osms/osms/cli.py", line 9, in <module>\n import requests\nModuleNotFoundError: No module named \'requests\'\n' stdout: b'' {code}
Tagged:
0