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

Databricks CLI auth login command removes cluster id #1897

Open
frbaxter-kr opened this issue Nov 11, 2024 · 0 comments
Open

Databricks CLI auth login command removes cluster id #1897

frbaxter-kr opened this issue Nov 11, 2024 · 0 comments
Assignees
Labels
auth Bug Something isn't working CLI CLI related issues good first issue Good for newcomers

Comments

@frbaxter-kr
Copy link

Describe the issue

Starting with Databricks CLI v0.233.0, doing a "databricks auth login" removes data from my profile entry.

Steps to reproduce the behavior

My profile before:
[test]
cluster_id = 0816-163139-kqxcega3
host = https://adb-9999999999999999.1.azuredatabricks.net
auth_type = databricks-cli

$ databricks auth login

My profile after:
[test]
host = https://adb-9999999999999999.1.azuredatabricks.net
auth_type = databricks-cli

Expected Behavior

Doing a login should not delete profile information, it should only authenticate.

Actual Behavior

My profile was ruined.

OS and CLI version

Databricks CLI v0.233.0

Is this a regression?

Yes, all versions before this worked correctly.

Debug Logs

N/A

@frbaxter-kr frbaxter-kr added the CLI CLI related issues label Nov 11, 2024
@andrewnester andrewnester added the Bug Something isn't working label Nov 12, 2024
@andrewnester andrewnester self-assigned this Nov 12, 2024
@andrewnester andrewnester added the good first issue Good for newcomers label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth Bug Something isn't working CLI CLI related issues good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants