Migrate from cloud

Hi guys, i migrated my bamboo cloud to server following the official docs, and all worked like a charm.

My problem begins when i try to run a deployment projects, i get an error like " Error when starting a new instance"

Here are my stack trace:

ERROR [scheduler_Worker-10] [ElasticInstancesMonitorJob] Failed to adjust the number of elastic agents.
com.atlassian.aws.AWSException: Error when starting a new instance
at com.atlassian.bamboo.agent.elastic.server.ElasticFunctionalityFacadeImpl.startupAgents(ElasticFunctionalityFacadeImpl.java:219)
at com.atlassian.bamboo.agent.elastic.schedule.ElasticInstancesMonitorJob.execute(ElasticInstancesMonitorJob.java:50)
at org.quartz.core.JobRunShell.run(JobRunShell.java:223)
at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:51)
at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
Caused by: java.lang.IllegalArgumentException
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:108)
at com.atlassian.aws.ec2.model.SubnetId.<init>(SubnetId.java:37)
at com.atlassian.aws.ec2.model.SubnetId.from(SubnetId.java:54)
at com.atlassian.aws.ec2.model.SubnetId$2.apply(SubnetId.java:30)
at com.atlassian.aws.ec2.model.SubnetId$2.apply(SubnetId.java:26)
at com.google.common.collect.Iterators$8.transform(Iterators.java:799)
at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:271)
at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:226)
at com.atlassian.aws.ec2.model.ResourceId.from(ResourceId.java:59)
at com.atlassian.aws.ec2.model.SubnetId.from(SubnetId.java:72)
at com.atlassian.bamboo.agent.elastic.server.ElasticFunctionalityFacadeImpl.getVpcsAndSubnets(ElasticFunctionalityFacadeImpl.java:273)
at com.atlassian.bamboo.agent.elastic.server.ElasticFunctionalityFacadeImpl.ensureSecurityGroupsExist(ElasticFunctionalityFacadeImpl.java:291)
at com.atlassian.bamboo.agent.elastic.server.ElasticFunctionalityFacadeImpl.startupAgents(ElasticFunctionalityFacadeImpl.java:181)
... 7 more

 

1 answer

0 votes

looks like configuration issue. Please create request at support.atlassian.com

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

509 views 0 9
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you