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

Unexpected error when deploying "RAG on PostgreSQL" template

Đang mở
#136 1 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
35/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, postgresql, python
Lĩnh vực
cloud, database, devops

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện quy trình azd init và azd up đã được báo cáo bằng cách sử dụng template RAG on PostgreSQL cùng subscription và các region được hiển thị. Sử dụng đầu ra provisioning để điều tra lý do máy chủ PostgreSQL không thể truy cập trong quá trình Azure AD Principal. Hoàn tất có nghĩa là template được provisioning thành công mà không gặp lỗi AadAuthOperationCannotBePerformedWhenServerIsNotAccessible đã được báo cáo.

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

Mô tả

Copied from:
https://github.com/microsoft/vscode-dev-azure/issues/14

Command line output

Executing task: azd init -t "https://github.com/Azure-Samples/rag-postgres-openai-python" -e "vscode-dev-d09683"

Initializing an app to run on Azure (azd init)

(✓) Done: Initialized git repository
(✓) Done: Downloading template code to: /home/chunan/rag-postgres-openai-python-e9e1

SUCCESS: New project initialized!
You can view the template code in your directory: /home/chunan/rag-postgres-openai-python-e9e1
Learn more about running 3rd party code on our DevHub: https://aka.ms/azd-third-party-code-notice

Terminal will be reused by tasks, press any key to close it.

Executing task: azd up

(✓) Done: Downloading Bicep
? Select an Azure Subscription to use: 116. StorageExplorer (5d17327f-ed05-4b65-bfd1-f498ac160d55)
? Select an Azure location to use: 46. (US) East US 2 (eastus2)
? Enter a value for the 'openAILocation' infrastructure parameter: 18. (US) East US 2 (eastus2)

Packaging services (azd package)

(✓) Done: Packaging service web

Provisioning Azure resources (azd provision)
Provisioning Azure resources can take some time.

Subscription: StorageExplorer (5d17327f-ed05-4b65-bfd1-f498ac160d55)
Location: East US 2

You can view detailed progress in the Azure Portal:
https://portal.azure.com/#view/HubsExtension/DeploymentDetailsBlade/~/overview/id/%2Fsubscriptions%2F5d17327f-ed05-4b65-bfd1-f498ac160d55%2Fproviders%2FMicrosoft.Resources%2Fdeployments%2Fvscode-dev-d09683-1730748005

(✓) Done: Resource group: vscode-dev-d09683-rg (13.839s)
(✓) Done: Azure OpenAI: vscode-dev-d09683-4lv5chlhez62a-openai (18.897s)
(✓) Done: Azure AI Services Model Deployment: vscode-dev-d09683-4lv5chlhez62a-openai/gpt-4o-mini (270ms)
(✓) Done: Azure AI Services Model Deployment: vscode-dev-d09683-4lv5chlhez62a-openai/text-embedding-ada-002 (579ms)
(✓) Done: Log Analytics workspace: vscode-dev-d09683-4lv5chlhez62a-loganalytics (25.283s)
(✓) Done: Application Insights: vscode-dev-d09683-4lv5chlhez62a-appinsights (1.378s)
(✓) Done: Portal dashboard: vscode-dev-d09683-4lv5chlhez62a-appinsights-dashboard (1.699s)
(✓) Done: Container Registry: vscodedevd096834lv5chlhez62aregistry (25.919s)
(✓) Done: Container Apps Environment: vscode-dev-d09683-4lv5chlhez62a-containerapps-env (34.841s)
(✓) Done: Azure Database for PostgreSQL flexible server: vscode-dev-d09683-4lv5chlhez62a-postgresql (4m4.816s)
| =| Creating/Updating resources
ERROR: error executing step command 'provision': deployment failed: error deploying infrastructure: deploying to subscription:

Deployment Error Details:
AadAuthOperationCannotBePerformedWhenServerIsNotAccessible: The server 'vscode-dev-d09683-4lv5chlhez62a-postgresql' is not in an accessible state to perform Azure AD Principal operation. Please make sure the server is accessible before executing Azure AD Principal operations.

TraceID: 00000000000000000000000000000000

The terminal process "/bin/bash '-c', 'azd up'" terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.

Ngôn ngữ chính
Python
Star
505
Fork
1.1k
Merge trung bình
3 ngày 13 giờ
Pull request đã merge (30 ngày)
1

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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-Samples/rag-postgres-openai-python

Tất cả issue của Azure-Samples/rag-postgres-openai-python

Issue tương tự

Thêm issue về Python

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.