gpt4 book ai didi

azure - 配置请求延迟或发送失败

转载 作者:行者123 更新时间:2023-12-04 16:24:10 26 4
gpt4 key购买 nike

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

构建阶段工作正常,但是当它到达 terraform 脚本尝试执行时,我收到以下错误:

##[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).

这是 yaml 的第一部分。

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'

关于azure - 配置请求延迟或发送失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68622443/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com