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

11.2.1 version of sfctl cannot be used with cluster version "10.1.2175.9590" #260

Open
TomDeLens opened this issue Aug 1, 2024 · 0 comments

Comments

@TomDeLens
Copy link

Error message
UserWarning: sfctl has version "11.2.1" which does not match the cluster version "10.1.2175.9590".

Source code which could maybe introduce this issue
/custom_cluster.py

`
def sfctl_cluster_version_matches(cluster_version, sfctl_version):
"""
Check if the sfctl version and the cluster version is compatible with each other.
:param cluster_version: str representing the cluster runtime version of the connected cluster
:param sfctl_version: str representing this sfctl distribution version
:return: True if they are a match. False otherwise.
"""

if sfctl_version in ['11.2.1']:

    return cluster_version.startswith('8') or cluster_version.startswith('9')

# If we forget to update this code before a new release, the tests which call this method
# will fail.
raise SFCTLInternalException(str.format(
    'Invalid sfctl version {0} provided for check against cluster version {1}.',
    sfctl_version,
    cluster_version))

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant