Skip to content

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

@TomDeLens

Description

@TomDeLens

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))

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions