You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to automate the update of cloud images, using the code here.
I've found that when I set the imageId to the url of the azure resource (eg /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/TeamCity-Build-Agents/providers/Microsoft.Compute/images/teamcity-agent-windows-1909-with-docker-v0.0.31), the UI gets confused.
Looking into it, the values in that dropdown have a capitalized group name - TEAMCITY-BUILD-AGENTS instead of TeamCity-Build-Agents.
Ideally, these shouldn't be capitalised - they should be the exact resource id as used by azure.
Environment
TeamCity version: 2020.2.3 (build 86002)
Azure plugin version: 0.9.5 (which is weird, as the latest one on this repo is 0.8.0)
Diagnostic logs
I dont think these are necessary - let me know if you want them.
To investigate the problems it worth look at the teamcity-agent.logagent log file and teamcity-clouds.logserver log file. You could file an issue in the TeamCity tracker and privately attach these file for investigation by TeamCity team.
The text was updated successfully, but these errors were encountered:
matt-richardson
added a commit
to OctopusDeploy/TeamCityCloudAgentUpdater
that referenced
this issue
Apr 2, 2021
I don't know what's going on there, but I also found that manually created VMs (that are spun up from snapshots I prepared to run TC agents) also capitalize their resource group names, but not always. So it could be independent from TeamCity stuff.
Description
I'm trying to automate the update of cloud images, using the code here.
I've found that when I set the
imageId
to the url of the azure resource (eg/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/TeamCity-Build-Agents/providers/Microsoft.Compute/images/teamcity-agent-windows-1909-with-docker-v0.0.31
), the UI gets confused.Looking into it, the values in that dropdown have a capitalized group name -
TEAMCITY-BUILD-AGENTS
instead ofTeamCity-Build-Agents
.Ideally, these shouldn't be capitalised - they should be the exact resource id as used by azure.
Environment
Diagnostic logs
I dont think these are necessary - let me know if you want them.
The text was updated successfully, but these errors were encountered: