Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[doc][yba] Installing python and YBA nodes #25563

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

ddhodge
Copy link
Contributor

@ddhodge ddhodge commented Jan 9, 2025

Installing python and YBA nodes
DOC-583

@netlify /preview/yugabyte-platform/prepare/server-nodes-software/

@ddhodge ddhodge self-assigned this Jan 9, 2025
@ddhodge ddhodge added the area/documentation Documentation needed label Jan 9, 2025
Copy link

netlify bot commented Jan 9, 2025

Deploy Preview for infallible-bardeen-164bc9 ready!

Name Link
🔨 Latest commit b8199d1
🔍 Latest deploy log https://app.netlify.com/sites/infallible-bardeen-164bc9/deploys/6781ef5eba75ff00084f419f
😎 Deploy Preview https://deploy-preview-25563--infallible-bardeen-164bc9.netlify.app/preview/yugabyte-platform/prepare/server-nodes-software/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@chidmuthu
Copy link
Contributor

The more interesting part I think is control node (YBA) python which with stable versions has shifted to requiring 3.10-3.12, whereas before we were allowing 3.8. This will affect customers upgrading as they will need to upgrade the python on their system before they upgrade YBA. The target node (DB or server nodes) python version hasn't changed that much, we just allow more and only 3.6+ rather than 3.5+. For airgapped is it clear that the AMI they provide has to have python installed, we won't try to install it? That was the start of this whole python docs improvement right.


Both python and python3 must symbolically link to Python 3. One way to achieve this is to use alternatives. For example:

```sh
sudo yum install @python38 -y
sudo yum install @python310 -y
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

idt 3.10 is available in yum, use 3.11

@@ -78,7 +78,7 @@ The following instructions use user-level systemd to provide the necessary acces

## Verify the python version installed on the node

Verify that Python 3.8-3.9 is installed on the node. v3.8 is recommended.
Verify that Python 3.6-3.12 is installed on the node. v3.6 is recommended.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would leave 3.8 as recommended, and honestly just keep this as 3.8+ I think that's going to be more correct going forward. If somebody complains we can tell them 3.6 still should work but I don't think we want to officially document supporting it bc then people will try to install it.

@@ -33,6 +33,12 @@ If you are running YBA on a [deprecated OS](../../reference/configuration/operat

{{< /note >}}

{{< note title="Upgrading YBA on systems that have older versions of Python" >}}

YBA v2024.1 and later requires Python v3.10-3.12. If you are running YBA on a system with Python earlier than 3.10, you will need to update Python on your system before you can upgrade YBA to v2024.1 or later.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2025.1

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or actually 2.25+, bc that will be the preview before 2025.1 released. we don't even have that on docs yet though so maybe this isn't needed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/documentation Documentation needed
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

2 participants