Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Primary network interface is not provided for FSx (lustre), cannot mount onsite #14444

Closed
queglay opened this issue Aug 1, 2020 · 4 comments
Closed
Labels
bug Addresses a defect in current functionality. service/fsx Issues and PRs that pertain to the fsx service.

Comments

@queglay
Copy link

queglay commented Aug 1, 2020

Acquiring the primary network interface for FSx does not occur correctly with Terraform vs the AWS CLI (which does).

The primary interface is important, since there is more than one available, but the primary must be used to mount on prem.
https://docs.aws.amazon.com/fsx/latest/LustreGuide/mounting-on-premises.html

I'm guessing this is because the primary is some kind of load balancer.

According to that doc the primary in this case can be found with aws fsx describe-file-systems

This produces:

            "NetworkInterfaceIds": [
                "eni-03a2de807a87426b1", 
                "eni-01e3c19634c198b3b"
            ], 

So the primary would be eni-03a2de807a87426b1

However, the Terraform aws provider doesn't produce the same order:

1648[16:03:56] fsx_interface_ids = [
1649[16:03:56]   [
1650[16:03:56]     "eni-01e3c19634c198b3b",
1651[16:03:56]     "eni-03a2de807a87426b1",
1652[16:03:56]   ],

So its not possible using the terraform network list to determine the correct primary interface we would use to mount FSx onsite.

We have a need for aws_fsx_lustre_file_system attributes to respect the correct order or provide an additional attribute for the primary.

@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Aug 1, 2020
@ewbankkit ewbankkit added service/fsx Issues and PRs that pertain to the fsx service. bug Addresses a defect in current functionality. and removed needs-triage Waiting for first response or review from a maintainer. labels Aug 1, 2020
@ewbankkit
Copy link
Contributor

@queglay Thanks for raising this issue.
It looks like it will be addressed by #14314.

@queglay
Copy link
Author

queglay commented Aug 1, 2020

Thanks that's great to see! I ended up using a custom data source bash script to work around it for now and it worked out too.

@DrFaust92
Copy link
Collaborator

Closing this as #14314 is merged.

@ghost
Copy link

ghost commented Oct 19, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators Oct 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/fsx Issues and PRs that pertain to the fsx service.
Projects
None yet
Development

No branches or pull requests

3 participants