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

Unexpected error when deploying "RAG on PostgreSQL" template

Aperta
#136 1 commento 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
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
azure, postgresql, python
Ambito
cloud, database, devops

Direzione di ricerca

Inizia riproducendo il flusso segnalato di azd init e azd up usando il modello RAG on PostgreSQL e la sottoscrizione e le aree mostrate. Usa l'output del provisioning per analizzare perché il server PostgreSQL non è accessibile durante l'operazione Azure AD Principal. Il lavoro è completo quando il modello viene sottoposto correttamente a provisioning senza l'errore segnalato AadAuthOperationCannotBePerformedWhenServerIsNotAccessible.

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

Descrizione

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.

Lingua principale
Python
Stelle
505
Fork
1.1k
Merge medio
3g 13h
PR unite (30g)
1

Guida per i contributori

Apri la guida per i contributori

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

Tutte le issue di Azure-Samples/rag-postgres-openai-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.