Page MenuHomePhabricator

Recently created Jenkins agents use the wrong credential (jenkins-deploy-toolforge)
Closed, ResolvedPublic

Description

While looking at T393542: integration-agent-docker-1061 is offline, the agent log has:

ERROR: Failed to authenticate as jenkins-deploy with credential=jenkins-deploy-toolforge

That is a credential that was set for T157893 to have a Jenkins agent running on Toolforge. To connect to the VM inside the integration project, we use another credential.

There are three affected hosts, all got created recently (March 20) by @thcipriani

integration-agent-docker-1060/config.xml:    <credentialsId>jenkins-deploy-toolforge</credentialsId>
integration-agent-docker-1061/config.xml:    <credentialsId>jenkins-deploy-toolforge</credentialsId>
integration-agent-docker-1062/config.xml:    <credentialsId>jenkins-deploy-toolforge</credentialsId>

I'll fix them.

Event Timeline

Mentioned in SAL (#wikimedia-releng) [2025-05-07T06:57:56Z] <hashar> Added label blubber and pipelinelib to integration-agent-docker-1060 integration-agent-docker-1061 and integration-agent-docker-1062 # T393543

Mentioned in SAL (#wikimedia-releng) [2025-05-07T06:58:42Z] <hashar> Change ssh credentials for integration-agent-docker-1060 integration-agent-docker-1061 and integration-agent-docker-1062 to key to connect to labs instances set up with role::ci::slave::labs::common # T393543

hashar claimed this task.

Fixed by changing the credential being used and I have added the missing labels blubber and pipelinelib ;-]