Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#254 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
azure, github-actions, kubernetes, sql

Hướng nghiên cứu

Bắt đầu với bước workflow gọi azure/[email protected] và lệnh sqlcmd được hiển thị trong báo cáo. So sánh các khác biệt về xác thực và môi trường giữa GitHub-hosted runner và self-hosted AKS runner, bao gồm cả thiết lập OIDC service principal. Hoàn thành nghĩa là xác định được cấu hình hoặc quyền bị thiếu gây ra lỗi đăng nhập của principal được token xác định.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
TypeScript
Star
142
Fork
73
Merge trung bình
3 ngày 3 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Azure/sql-action

Tất cả issue của Azure/sql-action

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.