From d995a037b1078d968226caa85aaf1fbb8dce3ff2 Mon Sep 17 00:00:00 2001 From: Arun Pamulapati <39059536+arunpamulapati@users.noreply.github.com> Date: Fri, 3 Feb 2023 09:10:44 -0500 Subject: [PATCH] added clarifying comments on user account information needed to connect --- docs/setup.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/docs/setup.md b/docs/setup.md index cab31a97..bec7f9af 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -108,12 +108,12 @@ Please gather the following information before you start setting up: AWS instructions Create username secret and password secret of administrative user id and password as "user" and "pass" under the above "sat_scope" scope using Databricks Secrets CLI - * Create secret for master account username + * Input your Databricks account console admin username to store it in a the secret store ``` databricks --profile e2-sat secrets put --scope sat_scope --key user ``` - * Create secret for master account password + * Input your Databricks account console admin account password to store it in a the secret store ``` databricks --profile e2-sat secrets put --scope sat_scope --key pass @@ -184,9 +184,9 @@ Please gather the following information before you start setting up: databricks --profile e2-sat secrets put --scope sat_scope --key client-secret ``` * Update config in \/notebooks/Utils/initialize CMD 7 - * Set the value for the subscription_id - * Set the value for the tenant_id - * Set the value for client_id + * Set the value for the subscription_id + * Set the value for the tenant_id + * Set the value for client_id * Your config in \/notebooks/Utils/initialize CMD 7 should look like this: ``` @@ -458,8 +458,12 @@ Please gather the following information before you start setting up: * Resolution: Run this following command in your notebook %sh - curl -X GET -H "Authorization: Basic " -H "Content-Type: application/json" https://accounts.cloud.databricks.com/api/2.0/accounts//workspaces + curl -X GET -H "Authorization: Basic /" -H "Content-Type: application/json" https://accounts.cloud.databricks.com/api/2.0/accounts//workspaces + or + + %sh curl -u 'user:password' -X GET  “Content-Type: application/json” https://accounts.cloud.databricks.com/api/2.0/accounts/119f3ee2-8c38-4cdb-88e1-81c091c378a2/workspaces + If you don’t see a JSON with a clean listing of workspaces you are likely having a firewall issue that is blocking calls to the accounts console. Please have your infrastructure team add Databricks accounts.cloud.databricks.com to the allow-list. 4. Offline install of libraries incase of no PyPI access