Skip to content

Azure PostgreSQL server connect - psycopg2 #40

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions