AWS EFS configuration for BitBucket data center as a shared volume on multiple nodes onEKS cluster?

devendradhoot October 11, 2021

BitBucket Team,

 

We are working on a migration project where we need to containerize BitBucket data center  from EC2 to EKS cluster for BitBucket.  

 

We are deploying the BitBucket on EKS using Helm chart. We now want to map EFS as a shared mount point on EKS cluster for data persistency on the cluster. We are getting below error when we configure with EFS mount.

===

Please stop the other instance of Bitbucket and restart this instance.

If you are absolutely certain that no other instance of Bitbucket is running, please remove the lock file '/var/atlassian/application-data/shared-home/.lock' and restart this instance.
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1786)
... 5 common frames omitted
Caused by: com.atlassian.stash.internal.home.HomeLockDeniedException: Home directory '/var/atlassian/application-data/shared-home' is already locked by another running instance of Bitbucket.

===

 

Can you please confirm if EFS is supported on multiple node in the EKS cluster. If yes, can you please help us point to correct direction.

 

Thanks.

1 answer

0 votes
Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 12, 2021

Hi,

EFS is not supported as a shared file system for Bitbucket Data Center due to performance concerns. NFS version 3 is the only supported option at this point.

Cheers,

Christian

Premier Support Engineer

Atlassian

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events