Hi Team, We have recently upgraded our Deployment Master server from 7.3.1 to 8.1.2 version. The upgrade seems to be success whereas if i perform any of the commands below I am getting an error. Refer below for more information. Commands: splunk restart splunk start splunk stop splunk reload deploy-server Errors: [splunk@servername bin]$ splunk reload deploy-server Error processing line 1 of /opt/splunk/lib/python3.7/site-packages/zc.lockfile-2.0-py3.7-nspkg.pth: Fatal Python error: initsite: Failed to import the site module Traceback (most recent call last): File "/opt/splunk/lib/python3.7/site.py", line 168, in addpackage exec(line) File "<string>", line 1, in <module> File "/opt/splunk/lib/python3.7/importlib/util.py", line 14, in <module> from contextlib import contextmanager File "/opt/splunk/lib/python3.7/contextlib.py", line 5, in <module> from collections import deque File "/opt/splunk/lib/python3.7/collections/__init__.py", line 27, in <module> from reprlib import recursive_repr as _recursive_repr File "/opt/splunk/lib/python2.7/site-packages/reprlib/__init__.py", line 7, in <module> raise ImportError('This package should not be accessible on Python 3. ' ImportError: This package should not be accessible on Python 3. Either you are trying to run from the python-future src folder or your installation of python-future is corrupted. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/splunk/lib/python3.7/site.py", line 579, in <module> main() File "/opt/splunk/lib/python3.7/site.py", line 566, in main known_paths = addsitepackages(known_paths) File "/opt/splunk/lib/python3.7/site.py", line 349, in addsitepackages addsitedir(sitedir, known_paths) File "/opt/splunk/lib/python3.7/site.py", line 207, in addsitedir addpackage(sitedir, name, known_paths) File "/opt/splunk/lib/python3.7/site.py", line 178, in addpackage import traceback File "/opt/splunk/lib/python3.7/traceback.py", line 3, in <module> import collections File "/opt/splunk/lib/python3.7/collections/__init__.py", line 27, in <module> from reprlib import recursive_repr as _recursive_repr File "/opt/splunk/lib/python2.7/site-packages/reprlib/__init__.py", line 7, in <module> raise ImportError('This package should not be accessible on Python 3. ' ImportError: This package should not be accessible on Python 3. Either you are trying to run from the python-future src folder or your installation of python-future is corrupted. So kindly help to check and let me know how to resolve the issue. But our Deployment server has been upgraded successfully to 8.1.2 but couldn't able to perform any commands due to this issue. Whereas if we ran the command with (./) as prefix then i can able to execute all commands: ./splunk restart ./splunk start ./splunk stop ./splunk reload deploy-server So kindly help me to fix this issue.
... View more