GOCD ECS elastic plugin is not assigning in ecs instance

15 views
Skip to first unread message

pradeep devaraj

unread,
Sep 9, 2024, 12:30:53 PMSep 9
to go-cd
Hi All, 

GoCD server elastic agent was working fine till evening, all of a sudden we are getting a error like "Skipping current create agent request" instance is creating and adding into cluster but container is not creating in it and pipelines are not running. 

GOCD version:
23.4.0 (17731-4deb96d823b921419680560be080588e900d406e).
ECS plugin version: 

GoCD Elastic Agent Plugin for Amazon ECS
  • Version7.3.0-416
 
Error: 
[go] Received a request to create an agent for the job: [SpecOps_ElasticAgent_img_test/63/Elastic-stage/3/Elastic-stage-1]
[go] An ECS task to perform current job is already scheduled on instance i-0732a4688d***4bb. Skipping current create agent request.
[go] Received a request to create an agent for the job: [SpecOps_ElasticAgent_img_test/63/Elastic-stage/3/Elastic-stage-1]
[go] An ECS task to perform current job is already scheduled on instance i-0732a4688d***a4bb. Skipping current create agent request.

Error: 
  • Notification update failed for plugin: cd.go.contrib.plugins.configrepo.groovy09 Sep, 2024 at 21:54:14 Local Time

    The plugin sent a response that could not be understood by Go. Plugin returned with code '500' and the following response: 'Failed to handle request stage-status due to:You must configure the GoCD Server Base URL; it must not be null or blank'

Error: in go-server logs:

2024-09-09 16:09:18,139 ERROR [108@MessageListener for WorkFinder] JMSMessageListenerAdapter:87 - Exception thrown in message handling by listener com.thoughtworks.go.server.messaging.scheduling.WorkFinder@d6f4534
java.lang.RuntimeException: The plugin sent a response that could not be understood by Go. Plugin returned with code '500' and the following response: 'Failed to handle request cd.go.elastic-agent.should-assign-work due to:The security token included in the request is invalid. (Service: AmazonECS; Status Code: 400; Error Code: UnrecognizedClientException; Request ID: 3cd29f72-5498-42a6-816d-0d63af6e4796; Proxy: null)'

Chad Wilson

unread,
Sep 10, 2024, 11:27:48 AMSep 10
to go...@googlegroups.com
And what did you do to try and resolve it or to check further your configuration?

Anyway, use the latest version of the plugin for a start, it's not possible to support old versions. AWS change their APIs, SDKs and services too quickly. https://github.com/gocd/gocd-ecs-elastic-agent/releases/tag/v7.4.1-699

If that doesn't work, double check your role permissions against the docs.

Otherwise look at the plugin-specific logs for more detail, not just the server or job logs.

-Chad

--
You received this message because you are subscribed to the Google Groups "go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/eaff6ffe-7c46-4dc3-885c-29b62cbec1c8n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages