Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Abierto
#254 4 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
azure, github-actions, kubernetes, sql

Línea de trabajo

Comienza con el paso del workflow que invoca azure/sql-action@v2.3 y el comando sqlcmd mostrado en el informe. Compara las diferencias de autenticación y entorno entre el runner GitHub-hosted y el runner self-hosted de AKS, incluida la configuración del OIDC service principal. Se considera completado cuando se identifique la configuración o el permiso que falta y que provoca el fallo de inicio de sesión del principal identificado por el token.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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/sql-action@v2.3
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

Lenguaje dominante
TypeScript
Estrellas
142
Forks
73
Merge medio
9 d 18 h
PR fusionados (30 d)
2

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Azure/sql-action

Todos los issues de Azure/sql-action

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.