Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure PostgreSQL server connect - psycopg2 #40

Open
AzureUser9 opened this issue Mar 9, 2023 · 0 comments
Open

Azure PostgreSQL server connect - psycopg2 #40

AzureUser9 opened this issue Mar 9, 2023 · 0 comments

Comments

@AzureUser9
Copy link

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 = "Canonical"      offer     = "0001-com-ubuntu-server-focal"      sku       = "20_04-lts-gen2"      version   = "20.04.202207050"    }

Error_PostgreSQL.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant