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

fix(BaseNode): fix is_enterprise property for 2025.1 #10008

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

soyacz
Copy link
Contributor

@soyacz soyacz commented Feb 6, 2025

We used to verify installed package if is enterprise to determine product.
With 2025.1 being not enterprise package it no longer works as expected.

Fix by comparing scylla version to 6.3 - all versions above are counted as enterprise: this includes all 202x.x versions.

Testing

  • - tested locally truthiness of comparison
  • - provision test

PR pre-checks (self review)

  • I added the relevant backport labels
  • I didn't leave commented-out/debugging code

Reminders

  • Add New configuration option and document them (in sdcm/sct_config.py)
  • Add unit tests to cover my changes (under unit-test/ folder)
  • Update the Readme/doc folder relevant to this change (if needed)

pehala
pehala previously approved these changes Feb 6, 2025
Lakshmipathi
Lakshmipathi previously approved these changes Feb 6, 2025
@roydahan
Copy link
Contributor

roydahan commented Feb 6, 2025

Fix by comparing scylla version to 6.3 - all versions above are counted as enterprise: this includes all 202x.x versions.

How "> 6.3" will include all 202x.x versions?

@soyacz
Copy link
Contributor Author

soyacz commented Feb 6, 2025

Fix by comparing scylla version to 6.3 - all versions above are counted as enterprise: this includes all 202x.x versions.

How "> 6.3" will include all 202x.x versions?

2000 is greater than 6 - first major versions are compared

roydahan
roydahan previously approved these changes Feb 6, 2025
@soyacz soyacz dismissed stale reviews from roydahan, Lakshmipathi, and pehala via 2b237bb February 7, 2025 07:20
@soyacz soyacz force-pushed the fix-is-enterprise-prop-in-base-node branch 3 times, most recently from 458fcc8 to d809953 Compare February 7, 2025 10:45
We use available package to determine if is enterprise product.
With 2025.1 being not enterprise package it no longer works as expected.

Fix by additional comparison of available pkg version
for 'scylla' package - all versions above 6.3 are counted
as enterprise: this includes all 202x.x versions.
@soyacz soyacz force-pushed the fix-is-enterprise-prop-in-base-node branch from d809953 to 5505cf9 Compare February 7, 2025 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/2025.1 test-provision-aws Run provision test on AWS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants