aws-quickstart/quickstart-apache-superset

Error botocore , EFS mount via IP

vtimbadiya opened this issue · 1 comments

I m trying to build superset using template for my POC, i m getting below , this is because i have different DNS options set for my existing VPC since it creates its own private DNS zone which doesn't have forward in our DNS, if can mount via that will be solution but got an error for botocore

ResourceInitializationError: failed to invoke EFS utils commands to set up EFS volumes: stderr: Failed to resolve "--" - check that your file system ID is correct, and ensure that the VPC has an EFS mount target for this file system ID. See https://docs.aws.amazon.com/console/efs/mount-dns-name for more detail. Attempting to lookup mount target ip address using botocore. Failed to import necessary dependency botocore, please install botocore first. : unsuccessful EFS utils command execution; code: 1

I was able to resolve this error by adding ingress on port 2049 to the superset SG.

Default2049Ingress: Properties: CidrIp: 0.0.0.0/0 Description: efs:2049/tcp on default network FromPort: 2049 GroupId: Ref: DefaultNetwork IpProtocol: TCP ToPort: 2049 Type: AWS::EC2::SecurityGroupIngress