Skip to content

Azure PostgreSQL server connect - psycopg2 #40

@AzureUser9

Description

@AzureUser9

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions