Auth token warning using oauth M2M
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 38/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Tranquilla
- Stack tecnologico
- azure, python
- Ambito
- authentication, devops
Direzione di ricerca
Inizia riproducendo il dbt run sull’agente Azure DevOps Ubuntu 24.04 con il profilo OAuth service-principal mostrato, quindi esamina l’avviso token_federation di databricks-sql-connector. Il lavoro è completato quando hai spiegato perché lo scambio di token fallisce solo in quell’ambiente e determinato se è necessario modificare il comportamento del connettore.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
This was originally posted in dbt-databricks project and I was asked to cross post i here.
Related to: https://github.com/databricks/dbt-databricks/issues/1246
When running dbt in an Azure Devops Agent (for continues integration reasons) I get this warning:
09:13:52 Concurrency: 6 threads (target='test')
09:13:52
09:13:53 databricks-sql-connector adapter: Token exchange failed, using external token: %s
WARNING:databricks.sql.auth.token_federation:Token exchange failed, using external token: 'access_token'
It still works, the project runs, but I would like to understand what might be happening here.
I am not able to reproduce this on my local machine using the same M2M profile.
Maybe you can point me in the right direction?
Profile using an azure service principal:
test:
host: the_host
http_path: the_path
catalog: the_catalog
schema: test
threads: 6
type: databricks
auth_type: oauth
azure_client_id: "{{ env_var('DATABRICKS_CLIENT_ID') }}"
azure_client_secret: "{{ env_var('DATABRICKS_CLIENT_SECRET') }}"
Python 3.11.13
Running with dbt=1.10.8
Registered adapter: databricks=1.10.9
The Devops Azure Agent runs an ubuntu-24.04 Image
Version: 20250929.60.1
- Lingua principale
- Python
- Stelle
- 233
- Fork
- 152
- Merge medio
- 21h 5m
- PR unite (30g)
- 10
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di databricks/databricks-sql-python
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
Tutte le issue di databricks/databricks-sql-python
Issue simili
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
canonical/paas-charm#368 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
tech debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
addition to tracking list Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
StevenBlack/hosts#3256 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
qualcomm/qai-appbuilder#275 ·