Details
-
Suggestion
-
Resolution: Fixed
-
None
Description
Since we allow customized elastic images on Bamboo, we should have instructions for customers on how to update their elastic images when Studio gets upgraded. Otherwise, they'll encounter errors with their agents not starting up:
Exception in thread "main" java.io.InvalidClassException: com.atlassian.bamboo.agent.elastic.ElasticAgentUserDataImpl; local class incompatible: stream classdesc serialVersionUID = 8007425760037335237, local class serialVersionUID = -3465981521537969205 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) at com.atlassian.urlfetcher.URLFetcherImpl.fetchSerializedObject(URLFetcherImpl.java:22) at com.atlassian.aws.ec2.EC2Utils.getUserData(EC2Utils.java:65) at com.atlassian.bamboo.agent.elastic.client.RetrieveMetaData.main(RetrieveMetaData.java:25)
Also, this page probably also needs to be updated as it seems to suggest that customers can only use the default elastic image:
- Bamboo in JIRA Studio only uses the default image supplied by Atlassian. Hence, you cannot customise the capabilities of elastic agents for Bamboo in JIRA Studio.