Hi, i'm unable to run the elastic agent on ec2, this is the content of /home/bamboo/bamboo-elastic-agent.out
Syncing Elastic Bamboo Agent files...
2016-08-29 13:47:29,694 INFO [main] [S3Sync] Syncing from: bamboo-agent-release-eu-c1/5.12.4-D20160704T134120/aa02e30788f7683b8f5431d112a3a6dec65b44065b68d45b46c102a9452b0435/ to /opt/bamboo-elastic-agent
2016-08-29 13:47:33,963 INFO [main] [S3Synchroniser] Syncing s3://bamboo-agent-release-eu-c1/5.12.4-D20160704T134120/aa02e30788f7683b8f5431d112a3a6dec65b44065b68d45b46c102a9452b0435/ to /opt/bamboo-elastic-agent
2016-08-29 13:47:33,964 INFO [main] [AmazonClients] Detecting bucket location for [bamboo-agent-release-eu-c1]
2016-08-29 13:47:35,224 WARN [main] [AmazonClients] Unable to get bucket location for [bamboo-agent-release-eu-c1], using default. Error: com.amazonaws.services.s3.model.AmazonS3Exception: Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: E65F0E5DDB161097), S3 Extended Request ID: sCPjXw3WYC4z2g1JPvI3YICbBMq7hof0sazlaUkXfzokPOhVNzJFDGfseofzOio5pZXMHpZ4F7M=
2016-08-29 13:47:35,224 INFO [main] [S3Synchroniser] Fetching the list of remote objects...
2016-08-29 13:47:35,241 ERROR [main] [ElasticAgentInstaller] Unable to access S3 bucket, dumping the route table:
2016-08-29 13:47:35,241 INFO [main] [ElasticAgentInstaller] Starting [route, -n]
Exception in thread "main" java.io.IOException: Cannot run program "route": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at com.atlassian.bamboo.agent.elastic.installer.ElasticAgentInstaller.runCommand(ElasticAgentInstaller.java:133)
at com.atlassian.bamboo.agent.elastic.installer.ElasticAgentInstaller.dumpRouteTable(ElasticAgentInstaller.java:123)
at com.atlassian.bamboo.agent.elastic.installer.ElasticAgentInstaller.install(ElasticAgentInstaller.java:83)
at com.atlassian.bamboo.agent.elastic.installer.ElasticAgentInstaller.main(ElasticAgentInstaller.java:197)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:248)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 4 more
any ideas how to solve it?
thanks
I've refreshed the permissions, can you check now?
now worked fine. how can we make sure this won't happen again? what was the problem?
thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Amazon added a new IP range and we didn't have it whitelisted. That happens very rarely, it's unlikely to happen to you again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.