Docker Cloud Agents Don't Authorize in Build 156319
I recently upgraded to build 156319 and now our Linux Docker agents (Cloud Agents using the Docker Cloud Plugin) fail to authorize after starting up.
I have tried using several of the default TeamCity Linux images (jetbrains/teamcity-agent Tags | Docker Hub). The container starts up, then restarts the agent server after upgrading the plugins. After the restart, it is no longer authorized. I see from the log files that the authorization token has changed. I have attempted to manually set the authorizationToken value in the buildAgent.properties file in the agent, but it is overwritten when the agent restarts.
Here are the logs from the agent: https://www.dropbox.com/scl/fi/ts95hn12elr1d1y0ewkm3/AgentLogs.zip?rlkey=sw5bmukosof085zsenwzvdogf&st=32f617i7&dl=0
Please sign in to leave a comment.
The Docker Cloud plugin is written and supported by a third-party and it has not been updated for some time. However, we have had similar reports with Azure and AWS with this release of TeamCity and it is likely related. I have created an issue in our YouTrack for Docker Cloud agents here: https://youtrack.jetbrains.com/issue/TW-88362/Docker-Cloud-agents-not-automatically-authorized-after-update.
Hello,
Could you please attach a screenshot of Agent Parameters tab for an agent which could not authorize?
Please try the plugin attached to this bug report: https://youtrack.jetbrains.com/issue/TW-88362
Our tests show that it works just fine.
Hi Pavel, thank you for the new version of the plugin. This has corrected the issue and our agents are correctly authorizing once again. Do you still need that screenshot?
Also - thank you very much for taking on some maintenance of that older plugin, we very much appreciate your effort.
No, I don't need a screenshot because we finally reproduced the problem locally.
Thank you for the update and sorry for the troubles.