发放请求延迟或发送失败



我在Azure Devops中创建了一个新的YAML管道。它几乎是另一个工作正常的管道的相同副本。

构建阶段工作正常,但当它到达地形脚本试图执行时,我得到以下错误:

##[warning]There was a failure in sending the provision message: Unexpected response code from remote provider InternalServerError
,##[warning]There was a failure in sending the provision message: Unexpected response code from remote provider InternalServerError
,##[warning]There was a failure in sending the provision message: Unexpected response code from remote provider InternalServerError
,##[warning]There was a failure in sending the provision message: Unexpected response code from remote provider InternalServerError
,##[warning]There was a failure in sending the provision message: Unexpected response code from remote provider InternalServerError
,##[error]Provisioning request delayed or failed to send 5 time(s). This is over the limit of 3 time(s).

这是文件的第一部分。

parameters:
environment:
jobs:
- deployment: '${{ parameters.environment }}Infrastructure'
displayName: 'Deploy infrastructure ${{ parameters.environment }}'
environment: '${{ parameters.environment }}'
dependsOn: []
variables:
containername: terraform
terraformPlan: terraform-plan
storagename: 'io${{ parameters.environment }}storage'       
strategy:
runOnce:
deploy:
steps:
- checkout: self
- task: TerraformInstaller@0
displayName: Install Terraform
inputs:
terraformVersion: 0.14.9
- task: TerraformTaskV1@0
displayName: Terraform Init

我们刚刚亲身经历过。我们通过澄清我们想要的代理的特定vmimage来解决问题,而不是让ADO推断它。像这样:

pool:
vmImage: 'ubuntu-latest'

相关内容

  • 没有找到相关文章

最新更新