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.