You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OSMS Incorrect python Version Running

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:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!