Environment
- YugabyteDB Anywhere - All
Issue
The Yugabyte universe creation or Node pre-flight check while deploying On-Prem Universe fails with below error "Sudo Access to Python": false,".
Failed preflight checks for node yb-dev-agangwar-node-export-test-n2: { "SSH Connection": true, "Try Ansible Command": true, "Sudo Access to Python": false,
Cause
This happens when the Python program installed on the DB nodes does not have sudo access. Yugabyte needs sudo access on Python to deploy the universe.
Resolution
Please follow the below steps on all the database nodes which are part of a YugabyteDB Universe.
Steps:
//Specify the user if necessary
1. SSH into all the DB nodes. Run below command:
sudo ln -s /usr/bin/python3 /usr/bin/python
NOTE: Please replace `/usr/bin/python3` according to the installation i.e if you have Python2 installed please use that to make a symlink.
Comments
0 comments
Please sign in to leave a comment.