无法使用VMSS秤集启动DevOps构建代理

发布于 2025-01-24 20:58:01 字数 2069 浏览 0 评论 0原文

Description :使用VS2019 VM的自定义映像创建了VMSS量表集,并在Azure DevOps中启动了DevOps Build Agent 中的刻度集实例被击中

问题:在创建DevOps代理后,制作状态和代理在创建 “在此处输入图像说明”

VMSS配置: { “ VMS”:{ “ DonotrunextensionsonoverProvisionEdvms”:false, “过度配置”:false, “ PlatformFaultDomainCount”:1, “ provisioningstate”:“成功”, “ SingleplacementGroup”:false, “ timecreated”:“ 2022-04-28T01:31:02.4410107+00:00”, “ unique”:“”, “ Upgradepolicy”:{ “模式”:“手动”, “ RollingUpgradepolicy”:{ “ MaxBatchInstancePercent”:20, “ maxunhealthyinstancepercent”:20, “ maxunhealthyupgradedinstancepercent”:20, “ pauseTimeBetweew二次”:“ PT0S” } },, “ VirtualMachineProfile”:{ “ NetworkProfile”:{ “ NetworkInterfaceConfigurations”:[ { “名称”:“ vmsca150enic”, “特性”: { “ DNSSETTINGS”:{ “ DNSSERVERS”:[] },, “ enableacceleratednetninging”:false, “启用iPforwarding”:false, “ ipconfigurations”:[ { “名称”:“ VMSCA150EIPCONFIG”, “特性”: { “ PrivateIpadDressversion”:“ IPv4”, “子网”:{ “ id”:“/subscriptions//resourcegroups/azuredevops-buildagents-testrk-windows/providers/microsoft.network/virtualnetworks/virtualnetworks/azuredevops-buildapts-buildapents-testrk-windows-windows-windows-windows-windows-vnet/subnets/subnets/default/default ,, “ ResourceGroup”:“ Azuredevops-Buildagents-Testrk-Windows” } } } ],, “主要”:是的 } } 这是给出的 },, “ storageprofile”:{ “ Imageference”:{ “ id”:“/subscriptions//resourcegroups/azuredevops-buildagents-testrk-windows/providers/microsoft.compute/galleries/galleries/vmgallerywindows/images/images/vmsssimagingefinition”, “ ResourceGroup”:“ Azuredevops-Buildagents-Testrk-Windows” },, “ Osdisk”:{ “缓存”:“ readwrite”, “ createOption”:“ fromImage”, “ disksizegb”:127, “ ManagedDisk”:{ “ storageaccounttype”:“ premium_lrs” },, “ Ostype”:“ Windows” } } } } }

Description: Created a VMSS scale set using a custom image from VS2019 VM and started a devops build agent in Azure devops
Issue: After creating the devops agent, the scale set instances are struck in creating state and agent is not starting

enter image description here
enter image description here

VMSS Configuration:
{
"vmss": {
"doNotRunExtensionsOnOverprovisionedVMs": false,
"overprovision": false,
"platformFaultDomainCount": 1,
"provisioningState": "Succeeded",
"singlePlacementGroup": false,
"timeCreated": "2022-04-28T01:31:02.4410107+00:00",
"uniqueId": "",
"upgradePolicy": {
"mode": "Manual",
"rollingUpgradePolicy": {
"maxBatchInstancePercent": 20,
"maxUnhealthyInstancePercent": 20,
"maxUnhealthyUpgradedInstancePercent": 20,
"pauseTimeBetweenBatches": "PT0S"
}
},
"virtualMachineProfile": {
"networkProfile": {
"networkInterfaceConfigurations": [
{
"name": "vmsca150eNic",
"properties": {
"dnsSettings": {
"dnsServers": []
},
"enableAcceleratedNetworking": false,
"enableIPForwarding": false,
"ipConfigurations": [
{
"name": "vmsca150eIPConfig",
"properties": {
"privateIPAddressVersion": "IPv4",
"subnet": {
"id": "/subscriptions//resourceGroups/AzureDevops-BuildAgents-TESTRK-Windows/providers/Microsoft.Network/virtualNetworks/AzureDevops-BuildAgents-TESTRK-Windows-vnet/subnets/default",
"resourceGroup": "AzureDevops-BuildAgents-TESTRK-Windows"
}
}
}
],
"primary": true
}
}
]
},
"storageProfile": {
"imageReference": {
"id": "/subscriptions//resourceGroups/AzureDevops-BuildAgents-TESTRK-Windows/providers/Microsoft.Compute/galleries/vmGalleryWindows/images/VMSSImageDefinition",
"resourceGroup": "AzureDevops-BuildAgents-TESTRK-Windows"
},
"osDisk": {
"caching": "ReadWrite",
"createOption": "FromImage",
"diskSizeGB": 127,
"managedDisk": {
"storageAccountType": "Premium_LRS"
},
"osType": "Windows"
}
}
}
}
}

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

天涯沦落人 2025-01-31 20:58:02

没有解决方案,它的Microsoft Dev Ops代理池错误与MS支持团队进行了日志讨论。他们无法解决。

There is no solution, its a Microsoft dev ops agent pool bug, had log discussion with MS support team. they are not able to resolve.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文