Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

AWS Elastic Beanstalk Environment task exception solution stack Edited

I keep getting this exception even though i'm selecting from the provided solution stack options, Does it want some other solution stack identifier?

04-Dec-2019 08:30:21 Starting task 'Create AWS ENS env' of type 'net.utoolity.atlassian.bamboo.tasks-for-aws:aws.elasticbeanstalk.environment'
04-Dec-2019 08:30:21 Setting maxErrorRetry=7 and awaitTransitionInterval=15000
04-Dec-2019 08:30:21 Using basic credentials entered directly in task configuration
04-Dec-2019 08:30:21 Selecting region ap-southeast-2
04-Dec-2019 08:30:22 Creating environment 'app-env' as 'WebServer (1.0)' tier for application 'app':
04-Dec-2019 08:30:22 ... using configuration source '64bit Amazon Linux 2018.03 v2.9.2 running Java 8'
04-Dec-2019 08:30:22 ElasticBeanstalk request rejected by AWS!
04-Dec-2019 08:30:22 com.amazonaws.services.elasticbeanstalk.model.AWSElasticBeanstalkException: No Solution Stack named '64bit Amazon Linux 2018.03 v2.9.2 running Java 8' found. (Service: AWSElasticBeanstalk; Status Code: 400; Error Code: InvalidParameterValue; Request ID: e80ba660-4ce5-423f-b9e8-8fb6f85b00e7)
04-Dec-2019 08:30:22 at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleErrorResponse(AmazonHttpClient.java:1712)
04-Dec-2019 08:30:22 at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeOneRequest(AmazonHttpClient.java:1367)
04-Dec-2019 08:30:22 at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1113)
04-Dec-2019 08:30:22 at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:770)
04-Dec-2019 08:30:22 at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:744)
04-Dec-2019 08:30:22 at com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:726)
04-Dec-2019 08:30:22 at com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:686)
04-Dec-2019 08:30:22 at com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:668)
04-Dec-2019 08:30:22 at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:532)
04-Dec-2019 08:30:22 at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:512)
04-Dec-2019 08:30:22 at com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalkClient.doInvoke(AWSElasticBeanstalkClient.java:3147)
04-Dec-2019 08:30:22 at com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalkClient.invoke(AWSElasticBeanstalkClient.java:3114)
04-Dec-2019 08:30:22 at com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalkClient.invoke(AWSElasticBeanstalkClient.java:3103)
04-Dec-2019 08:30:22 at com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalkClient.executeCreateEnvironment(AWSElasticBeanstalkClient.java:837)
04-Dec-2019 08:30:22 at com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalkClient.createEnvironment(AWSElasticBeanstalkClient.java:809)
04-Dec-2019 08:30:22 at net.utoolity.atlassian.bamboo.taws.ElasticBeanstalkEnvironmentTask.executeCreate(ElasticBeanstalkEnvironmentTask.java:327)
04-Dec-2019 08:30:22 at net.utoolity.atlassian.bamboo.taws.ElasticBeanstalkEnvironmentTask.execute(ElasticBeanstalkEnvironmentTask.java:138)
04-Dec-2019 08:30:22 at net.utoolity.atlassian.bamboo.taws.AWSTask.execute(AWSTask.java:164)
04-Dec-2019 08:30:22 at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(TaskExecutorImpl.java:319)
04-Dec-2019 08:30:22 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:252)
04-Dec-2019 08:30:22 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:319)
04-Dec-2019 08:30:22 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:112)
04-Dec-2019 08:30:22 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:73)
04-Dec-2019 08:30:22 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.executeBuildPhase(DefaultBuildAgent.java:203)
04-Dec-2019 08:30:22 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:175)
04-Dec-2019 08:30:22 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:131)
04-Dec-2019 08:30:22 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:185)
04-Dec-2019 08:30:22 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:125)
04-Dec-2019 08:30:22 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:126)
04-Dec-2019 08:30:22 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48)
04-Dec-2019 08:30:22 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
04-Dec-2019 08:30:22 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
04-Dec-2019 08:30:22 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
04-Dec-2019 08:30:22 at java.lang.Thread.run(Thread.java:748)
04-Dec-2019 08:30:22 Finished task 'Create AWS ENS env' with result: Error

1 answer

Thank you for using our apps, and sorry for not noticing your question here in time.

To hopefully help other users who might encounter the same issue, I'll post below the relevant summary of what we have figured out via your subsequent support request, thanks again for pointing out this usability flaw!

Cause

You are encountering a scenario that is partially new for me as well, but it turns out that AWS has been getting more aggressive in making superseded Elastic Beanstalk solution stacks unavailable for those customers that have never been using them, see Java SE Platform History:

Platform versions that you used to launch or update an environment in the last 30 days remain available (to the using account, in the used region) even after they are no longer current.

According to the history, the offending '64bit Amazon Linux 2018.03 v2.9.2 running Java 8' were current between September 6, 2019 and October 16, 2019, so if you have never used it before, it has apparently become inaccessible by now.

Workaround

As a workaround, you can always just specify the latest supported platform as a text string when specifying the 'Solution Stack Name' within the 'Create Environment' action of the AWS Elastic Beanstalk Environment task - so for Java SE this would be '64bit Amazon Linux 2018.03 v2.10.1 running Java 8' right now. Apparently this will remain available in your account once you have used it at least once.

Possible improvement

We always ship the latest solution stacks with our most recent patch release, but even the '64bit Amazon Linux 2018.03 v2.10.0 running Java 8' shipped with Tasks for AWS 2.19.1 is already outdated again. Accordingly, we need to think about how to improve on this going forward so that the workaround is at least easier to discover, or possibly entirely avoided by fetching the most current list at runtime for example (so far our app does not do any runtime lookups though).

Cheers,
Steffen

Suggest an answer

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

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

223 views 4 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