Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Getting issues using Sql action while performing deployment on Azure SQL Server using self hosted agent hosted in Azure kubernetes services

Aperta
#254 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
azure, github-actions, kubernetes, sql

Direzione di ricerca

Inizia dal passaggio del workflow che invoca azure/[email protected] e il comando sqlcmd mostrato nel report. Confronta le differenze di autenticazione e ambiente tra il runner GitHub-hosted e il runner self-hosted AKS, inclusa la configurazione dell’OIDC service principal. Il lavoro è completato quando viene identificata la configurazione o l’autorizzazione mancante che causa l’errore di accesso del principal identificato dal token.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

need-to-triage

Finding issues using Sql action while performing deployment on Azure SQL Server using self hosted agent hosted in Azure kubernetes services.

We have noticed that the issue is not facing on Github hosted Runners.

Its on the self hosted runner which we are using on AKS cluster we are using latest version of sql action which is 2.3

Can you guys help us on to differentiate why this is working on github hosted runners and not on self hosted runners hosted by us. Is there any step that needs to be included in the pipeline.

We are using service principal and using OIDC functionality in it we have provided all the required permission to the user on db and have tried all the troubleshooting steps from our end and we are landing on below error.

Run azure/[email protected]
tar xj --warning=no-unknown-keyword --overwrite -C /runner/_work/_temp/d57370aa-fcb7-4e8c-b169-28598f2b44cb -f /runner/_work/_temp/193f374a-cee2-4b80-a52d-f969488f4c3c
sqlcmd -S xxx.database.windows.net,1433 -d xxx --authentication-method=ActiveDirectoryDefault -i .SQLDB/migration.sql
mssql: login error: Login failed for user ''.
mssql: login error: Login failed for user ''.
Error: The process 'sqlcmd' failed with exit code 1

===

We reached out to github support but as sql action is managed by third party hence they have redirected us to your team.

We can setup a call discuss further on this.

Regards,
Anil Nair

Lingua principale
TypeScript
Stelle
142
Fork
73
Merge medio
3g 3m
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Azure/sql-action

Tutte le issue di Azure/sql-action

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.