无法使用VMSS秤集启动DevOps构建代理
Description :使用VS2019 VM的自定义映像创建了VMSS量表集,并在Azure DevOps中启动了DevOps Build Agent 中的刻度集实例被击中
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
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
没有解决方案,它的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.