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

[ISSUE] Edge cases for cloud type detection #656

Open
nkvuong opened this issue May 24, 2024 · 0 comments
Open

[ISSUE] Edge cases for cloud type detection #656

nkvuong opened this issue May 24, 2024 · 0 comments

Comments

@nkvuong
Copy link
Contributor

nkvuong commented May 24, 2024

An issue was reported in ucx, which is to do with how our Python SDK detects the cloud type.
databrickslabs/ucx#1757

Capturing some further debugging context:
This appears to be down to improper handling of the suffix-matching approach for determining which environment the client is connecting through within the SDK, rather than UCX itself. When no match is found the SDK defaults to AWS.
In the two scenarios I ran into:

  • Using native token auth in DBR15 results in the DATABRICKS_HOST environment variable being suffixed with :443 causing a failure
  • Using my local repro a trailing slash on the host cli config appeared to cause a similar failure.

In both cases the issue may be worked around by correcting the value of the host config or removing the erroneous aws_attributes.availability property from the generated UCX cluster policy.

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