Azure / Azure/postgresql

Azure PostgreSQL server connect - psycopg2

Aperta
#40 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
25
Fork
22
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I am trying to run below task in Azure Pipeline. However the task is failing during server connect step as its unable to install psycopg2.
FYI - The task is failing since yesterday only. It was working as expected earlier. I have attached the log file as well.

task: AzureCLI@2
displayName: "create db schema"
inputs:
azureSubscription: "${{ parameters.armServiceConnection }}"
scriptType: "bash"
scriptLocation: "inlineScript"
inlineScript: |
az config set extension.use_dynamic_install=yes_without_prompt
az postgres flexible-server connect

Configuration:
vmss_image_reference = {  [publisher]([url](url)) = "Canonical"      offer     = "0001-com-ubuntu-server-focal"      sku       = "20_04-lts-gen2"      version   = "20.04.202207050"    }

[Error_PostgreSQL.txt](https://github.com/Azure/postgresql/files/10935967/Error_PostgreSQL.txt)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Start with the AzureCLI@2 inline script in the issue and inspect Error_PostgreSQL.txt, focusing on the psycopg2 installation failure during az postgres flexible-server connect. Confirm whether the same connection step still fails on the listed Ubuntu 20.04 VM image; done means the task installs its dependency and connects successfully.

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

Valutazione

Stack tecnologico
azure, postgresql, python, typescript
Ambito
ci-cd, cloud, databases
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.