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

Server is busy with another operation. Please try again later during the configuration step #4451

Open
Emile010530 opened this issue Feb 14, 2025 · 3 comments
Assignees
Labels
Needs: Triage 🔍 Maintainers need to triage still Type: AVM 🅰️ ✌️ Ⓜ️ This is an AVM related issue

Comments

@Emile010530
Copy link

I use flexible-server:0.9.1 module ('br/public:avm/res/db-for-postgre-sql/flexible-server:0.9.1') and when creating the database I have an error message during configuration step :
server is « is busy with another operation. Please try again later."
• Server 'psqltest00502' is busy with another operation. Please try again later.

(Code: ResourceDeploymentFailure, Target: /subscriptions/f5c25c0b-39d1-48b7-a644-c1f6b4d83b49/resourceGroups/rgcz2409lab01/providers/Microsoft.DBforPostgreSQL/flexibleServers/psqltest00502/configurations/pgaudit.log)
o -
Server 'psqltest00502' is busy with another operation. Please try again later. (Code: ServerBusy)

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs: Triage 🔍 Maintainers need to triage still Type: AVM 🅰️ ✌️ Ⓜ️ This is an AVM related issue labels Feb 14, 2025
@Emile010530
Copy link
Author

Emile010530 commented Feb 19, 2025

I'm using this bicep below and it crashes with the configuration step ('pgaudit.log').. server is « is busy with another operation. Please try again later."
• Server 'psqltest00502' is busy with another operation. Please try again later.
(Code: ResourceDeploymentFailure, Target: /subscriptions/f5c25c0b-39d1-48b7-a644-c1f6b4d83b49/resourceGroups/rgcz2409lab01/providers/Microsoft.DBforPostgreSQL/flexibleServers/psqltest00502/configurations/pgaudit.log)

module postgres '../main.bicep' = {
  name: 'postgres-${deploymentSuffix}'
  params: {
    resourceDescription: 'test'
    location: location
    name: name
    administratorLogin: 'srvadmin'
    administratorLoginPassword: 'Admin123'
    skuname: 'Standard_D2ads_v5 (2 vCores, 8 GiB memory, 3200 max iops)'
    storageSizeGB: 64
    version: '11'
    appid: appID
    peSubnetResourceId: '/subscriptions/f5c25c0b-39d1-48b7-a644-c1f6b4d83b49/resourceGroups/rglabtic01vnet01/providers/Microsoft.Network/virtualNetworks/vnetcanadacentrallab01/subnets/snet-azu-canadacentral-lab-pe-l3kdp2'
    databases: [
      {
        charset: 'UTF8'
        collation: 'en_US.utf8'
        name: name // Mettre le nom de la BD
      }
    ]
    configurations: [
      {
        name: 'pgaudit.log' <<<<<<<<<<<<
        source: 'user-override'
        value: 'DDL,MISC,ROLE'
      }
      {
        name: 'pgaudit.log_client'
        source: 'user-override'
        value: 'ON'
      }
      {
        name: 'pgaudit.role'
        source: 'user-override'
        value: 'azure_pg_admin'
      }   
    ]
  }
}

@arnoldna arnoldna assigned arnoldna and unassigned arnoldna Feb 20, 2025
@arnoldna
Copy link
Contributor

@Emile010530 - Hi. I am sorry for the deal in response to you. It looks like you opened a generic issue which doesn't get picked up by our automated system. I heard from Amani Chouchane this afternoon that you have this issue.

Typically, the "Server is busy with another operation." is something related to the backend, within Azure and isn't something that we can control with Bicep and Azure Verified Modules. There are situations however where I have seen a similar error when assigning configurations that are not correct. Do you get the same error when running the script a second time? Do you get the same error if you remove the "configurations" section? Thanks

@Emile010530
Copy link
Author

Emile010530 commented Feb 21, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Triage 🔍 Maintainers need to triage still Type: AVM 🅰️ ✌️ Ⓜ️ This is an AVM related issue
Projects
None yet
Development

No branches or pull requests

2 participants