ansible-devops icon indicating copy to clipboard operation
ansible-devops copied to clipboard

Only one AWS EFS file system mount target created

Open JedrekWie opened this issue 2 years ago • 1 comments

As a part of ocp_efs role EFS gets setup. One of the steps is to create mount target with reference to the appropriate security group - see ref. below: https://github.com/ibm-mas/ansible-devops/blob/99d394389ed59f9201c0f5e4318dacea8597c113/ibm/mas_devops/roles/ocp_efs/tasks/efs-setup.yml#L110

As it's working today only one mount target gets created for given combination of [file-system-id, subnet-id, security-groups]. I'm not sure how exactly networking layout looks like for AWS ROSA but this is insufficient for multi-worker node OCP cluster provisioned using ibm.mas_devops.ocp_aws_provision playbook, when you've specified IPI_COMPUTE_REPLICAS variables of value grater than 1. In that case OpenShift installer creates worker nodes in different availability zones and therefore different private subnets. This creates a need to setup mount targets for all private subnets where worker nodes exist in.

Having said perhaps ocp_efs could be slightly extended to respect IPI_COMPUTE_REPLICAS and create mount targets for as many subnets as worker nodes?

JedrekWie avatar May 11 '23 12:05 JedrekWie

@prasanthgelli1 it appear you are the one who created this role, can you help assess the issue, please?

andrercm avatar Jun 12 '23 18:06 andrercm

I don't think there's any chance we get around to this, mainly due to lack of funding/resources in AWS to enable the team to work on enhancements specific to AWS, so I am closing this issue.

durera avatar Jan 19 '25 00:01 durera