Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

EC2 (elastic image configurations) Edited

Deleted user Mar 11, 2019

Hi

I am using Bamboo version 6.8.0 build 60803. I have been trying to start an image.

I tried using the Ubuntu stock image also created a custom image but I get the following error below.

AMI id's tried (ami-03e33ef7c2dadcd95, ami-0d39d5e951ea90a74 the are others as well)

2019-03-11 15:07:59,378 INFO [18-BAM::Default Agent::Agent:pool-33-thread-1] [BuildAgentControllerImpl] Agent 360449 checking build queue for executables...
2019-03-11 15:08:35,963 INFO [http-nio-8085-exec-6] [AccessLogFilter] kwinl GET http://localhost:8085/admin/elastic/image/configuration/viewElasticImageConfigurations.action 242016kb
2019-03-11 15:08:44,786 INFO [http-nio-8085-exec-10] [AccessLogFilter] kwinl GET http://localhost:8085/rest/troubleshooting/1.0/check/kwinl?_=1552309723961 414329kb
2019-03-11 15:11:45,903 INFO [http-nio-8085-exec-8] [AccessLogFilter] kwinl GET http://localhost:8085/admin/elastic/prepareElasticInstances.action?elasticImageConfigurationId=458794 396839kb
2019-03-11 15:11:49,201 INFO [http-nio-8085-exec-18] [AccessLogFilter] kwinl GET http://localhost:8085/rest/troubleshooting/1.0/check/kwinl?_=1552309907377 379478kb
2019-03-11 15:11:51,021 INFO [http-nio-8085-exec-1] [AccessLogFilter] kwinl POST http://localhost:8085/admin/elastic/createElasticInstances.action 377831kb
2019-03-11 15:11:55,222 INFO [http-nio-8085-exec-1] [BCKeyStoreFactory] Key pair generation took 2.508 s
2019-03-11 15:11:55,244 INFO [elastic-pool-2-thread-4] [RemoteElasticInstanceEbsHelperImpl] Running non-BDM EBS handling code
2019-03-11 15:11:55,248 INFO [http-nio-8085-exec-1] [ElasticFunctionalityFacadeImpl] Requested that new elastic instance be created for configuration: Ubuntu / ami-0d39d5e951ea90a74
2019-03-11 15:11:55,258 INFO [elastic-pool-2-thread-7] [AwsInstanceLauncher] Ordering EC2 instance of image ami-0d39d5e951ea90a74
2019-03-11 15:11:55,288 INFO [http-nio-8085-exec-1] [AccessLogFilter] kwinl GET http://localhost:8085/admin/elastic/manageElasticInstances.action 319717kb
2019-03-11 15:11:56,218 ERROR [elastic-pool-2-thread-7] [RemoteEC2InstanceImpl] EC2 instance order for image ami-0d39d5e951ea90a74 failed.
com.amazonaws.services.ec2.model.AmazonEC2Exception: The requested configuration is currently not supported. Please check the documentation for supported configurations. (Service: AmazonEC2; Status Code: 400; Error Code: Unsupported; Request ID: 848d8bdd-bb02-4b3d-91f3-b37f223a31d8)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleErrorResponse(AmazonHttpClient.java:1658)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeOneRequest(AmazonHttpClient.java:1322)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1072)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:745)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:719)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:701)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:669)
at com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:651)
at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:515)
at com.amazonaws.services.ec2.AmazonEC2Client.doInvoke(AmazonEC2Client.java:17597)
at com.amazonaws.services.ec2.AmazonEC2Client.invoke(AmazonEC2Client.java:17566)
at com.amazonaws.services.ec2.AmazonEC2Client.invoke(AmazonEC2Client.java:17555)
at com.amazonaws.services.ec2.AmazonEC2Client.executeRunInstances(AmazonEC2Client.java:16897)
at com.amazonaws.services.ec2.AmazonEC2Client.runInstances(AmazonEC2Client.java:16869)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.atlassian.aws.CallTimingProxy$1.invoke(CallTimingProxy.java:34)
at com.sun.proxy.$Proxy1687.runInstances(Unknown Source)
at com.atlassian.aws.ec2.awssdk.launch.AwsInstanceLauncher.runInstance(AwsInstanceLauncher.java:101)
at com.atlassian.aws.ec2.awssdk.launch.AwsInstanceLauncher.call(AwsInstanceLauncher.java:69)
at com.atlassian.aws.ec2.RemoteEC2InstanceImpl.launchInstance(RemoteEC2InstanceImpl.java:363)
at com.atlassian.aws.ec2.RemoteEC2InstanceImpl.backgroundStart(RemoteEC2InstanceImpl.java:346)
at com.atlassian.aws.ec2.RemoteEC2InstanceImpl.access$100(RemoteEC2InstanceImpl.java:39)
at com.atlassian.aws.ec2.RemoteEC2InstanceImpl$1.run(RemoteEC2InstanceImpl.java:95)
at com.atlassian.aws.ec2.RemoteEC2InstanceImpl$CatchingRunnableDecorator.run(RemoteEC2InstanceImpl.java:79)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2019-03-11 15:11:56,223 INFO [elastic-pool-2-thread-7] [DefaultErrorHandler] Recording an error: EC2 Instance failed to start: EC2 instance order for image ami-0d39d5e951ea90a74 failed.
2019-03-11 15:11:56,223 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-5] [AbstractNotificationEventListener] Could not find any plan matching the event com.atlassian.bamboo.event.BambooErrorEvent[source=com.atlassian.bamboo.logger.DefaultErrorHandler@5b719466], no notifications will be sent.
2019-03-11 15:11:56,225 INFO [elastic-pool-2-thread-7] [ElasticInstanceManagementListener] Detected that a pending instance request for image [Ubuntu], ami: ami-0d39d5e951ea90a74 has been abandoned.
2019-03-11 15:11:56,757 INFO [http-nio-8085-exec-5] [AccessLogFilter] kwinl GET http://localhost:8085/rest/troubleshooting/1.0/check/kwinl?_=1552309916062 301422kb
2019-03-11 15:12:06,718 INFO [http-nio-8085-exec-10] [AccessLogFilter] kwinl GET http://localhost:8085/ajax/viewElasticSnippet.action?_=1552309916064 299564kb
2019-03-11 15:12:13,552 INFO [http-nio-8085-exec-11] [AccessLogFilter] kwinl POST http://localhost:8085/removeErrorFromLog.action?errorKey=Elastic+Bamboo&error=6 297025kb
2019-03-11 15:12:13,573 INFO [http-nio-8085-exec-14] [AccessLogFilter] kwinl GET http://localhost:8085/start.action 295954kb
2019-03-11 15:12:13,596 INFO [http-nio-8085-exec-14] [AccessLogFilter] kwinl GET http://localhost:8085/allPlans.action 294983kb
2019-03-11 15:12:19,732 INFO [http-nio-8085-exec-24] [AccessLogFilter] kwinl GET http://localhost:8085/ajax/viewElasticSnippet.action?_=1552309916065 285645kb
2019-03-11 15:12:33,584 INFO [http-nio-8085-exec-17] [AccessLogFilter] kwinl GET http://localhost:8085/ajax/viewElasticSnippet.action?_=1552309916067 283279kb
2019-03-11 15:12:59,379 INFO [18-BAM::Default Agent::Agent:pool-33-thread-1] [BuildAgentControllerImpl] Agent 360449 checking build queue for executables...
2019-03-11 15:13:27,372 INFO [http-nio-8085-exec-7] [AccessLogFilter] kwinl GET http://localhost:8085/ajax/viewElasticSnippet.action?_=1552309916069 276983kb
2019-03-11 15:13:31,923 INFO [http-nio-8085-exec-19] [AccessLogFilter] kwinl GET http://localhost:8085/admin/elastic/manageElasticInstances.action 275024kb
2019-03-11 15:13:33,322 INFO [http-nio-8085-exec-4] [AccessLogFilter] kwinl GET http://localhost:8085/rest/troubleshooting/1.0/check/kwinl?_=1552310012595 261559kb
2019-03-11 15:13:40,533 INFO [http-nio-8085-exec-3] [AccessLogFilter] kwinl GET http://localhost:8085/admin/elastic/image/configuration/viewElasticImageConfigurations.action 259586kb
2019-03-11 15:13:43,264 INFO [http-nio-8085-exec-6] [AccessLogFilter] kwinl GET http://localhost:8085/ajax/viewElasticSnippet.action?_=1552310012597 250952kb
2019-03-11 15:13:47,557 INFO [http-nio-8085-exec-22] [AccessLogFilter] kwinl GET http://localhost:8085/rest/troubleshooting/1.0/check/kwinl?_=1552310026778 228503kb
2019-03-11 15:13:50,714 INFO [http-nio-8085-exec-10] [AccessLogFilter] kwinl GET http://localhost:8085/admin/elastic/prepareElasticInstances.action?elasticImageConfigurationId=458794 227159kb
2019-03-11 15:13:52,381 INFO [http-nio-8085-exec-14] [AccessLogFilter] kwinl GET http://localhost:8085/rest/troubleshooting/1.0/check/kwinl?_=1552310031749 423641kb
2019-03-11 15:13:54,471 INFO [http-nio-8085-exec-20] [AccessLogFilter] kwinl POST http://localhost:8085/admin/elastic/createElasticInstances.action 422810kb
2019-03-11 15:13:56,274 INFO [elastic-pool-2-thread-8] [RemoteElasticInstanceEbsHelperImpl] Running non-BDM EBS handling code
2019-03-11 15:13:56,277 INFO [http-nio-8085-exec-20] [ElasticFunctionalityFacadeImpl] Requested that new elastic instance be created for configuration: Ubuntu / ami-0d39d5e951ea90a74
2019-03-11 15:13:56,288 INFO [elastic-pool-2-thread-2] [AwsInstanceLauncher] Ordering EC2 instance of image ami-0d39d5e951ea90a74
2019-03-11 15:13:56,300 INFO [http-nio-8085-exec-20] [AccessLogFilter] kwinl GET http://localhost:8085/admin/elastic/manageElasticInstances.action 395069kb
2019-03-11 15:13:57,072 ERROR [elastic-pool-2-thread-2] [RemoteEC2InstanceImpl] EC2 instance order for image ami-0d39d5e951ea90a74 failed.
com.amazonaws.services.ec2.model.AmazonEC2Exception: The requested configuration is currently not supported. Please check the documentation for supported configurations. (Service: AmazonEC2; Status Code: 400; Error Code: Unsupported; Request ID: 735fdda3-8f5b-4fdf-8fd8-8fd17a06a9be)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleErrorResponse(AmazonHttpClient.java:1658)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeOneRequest(AmazonHttpClient.java:1322)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1072)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:745)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:719)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:701)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:669)
at com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:651)
at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:515)
at com.amazonaws.services.ec2.AmazonEC2Client.doInvoke(AmazonEC2Client.java:17597)
at com.amazonaws.services.ec2.AmazonEC2Client.invoke(AmazonEC2Client.java:17566)
at com.amazonaws.services.ec2.AmazonEC2Client.invoke(AmazonEC2Client.java:17555)
at com.amazonaws.services.ec2.AmazonEC2Client.executeRunInstances(AmazonEC2Client.java:16897)
at com.amazonaws.services.ec2.AmazonEC2Client.runInstances(AmazonEC2Client.java:16869)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.atlassian.aws.CallTimingProxy$1.invoke(CallTimingProxy.java:34)
at com.sun.proxy.$Proxy1687.runInstances(Unknown Source)
at com.atlassian.aws.ec2.awssdk.launch.AwsInstanceLauncher.runInstance(AwsInstanceLauncher.java:101)
at com.atlassian.aws.ec2.awssdk.launch.AwsInstanceLauncher.call(AwsInstanceLauncher.java:69)
at com.atlassian.aws.ec2.RemoteEC2InstanceImpl.launchInstance(RemoteEC2InstanceImpl.java:363)
at com.atlassian.aws.ec2.RemoteEC2InstanceImpl.backgroundStart(RemoteEC2InstanceImpl.java:346)
at com.atlassian.aws.ec2.RemoteEC2InstanceImpl.access$100(RemoteEC2InstanceImpl.java:39)
at com.atlassian.aws.ec2.RemoteEC2InstanceImpl$1.run(RemoteEC2InstanceImpl.java:95)
at com.atlassian.aws.ec2.RemoteEC2InstanceImpl$CatchingRunnableDecorator.run(RemoteEC2InstanceImpl.java:79)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2019-03-11 15:13:57,075 INFO [elastic-pool-2-thread-2] [DefaultErrorHandler] Recording an error: EC2 Instance failed to start: EC2 instance order for image ami-0d39d5e951ea90a74 failed.
2019-03-11 15:13:57,079 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-7] [AbstractNotificationEventListener] Could not find any plan matching the event com.atlassian.bamboo.event.BambooErrorEvent[source=com.atlassian.bamboo.logger.DefaultErrorHandler@5b719466], no notifications will be sent.
2019-03-11 15:13:57,082 INFO [elastic-pool-2-thread-2] [ElasticInstanceManagementListener] Detected that a pending instance request for image [Ubuntu], ami: ami-0d39d5e951ea90a74 has been abandoned.
2019-03-11 15:13:58,033 INFO [http-nio-8085-exec-17] [AccessLogFilter] kwinl GET http://localhost:8085/rest/troubleshooting/1.0/check/kwinl?_=1552310037396 377742kb

 

2 answers

0 votes
edwin Community Leader Mar 12, 2019

Hi @[deleted] ,

Please check the VPC where these instances are being launched and confirm the VPC is using the default tenancy.

0 votes
Deleted user Mar 13, 2019

Hi, I found the solution.

 

I changed the region to EU(Ireland) and Avakiabikity Zone: Chosen by EC2

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

595 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you