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

feat(fsx): support HDD storage type for a Lustre file systems #30207

Merged
merged 33 commits into from
Oct 10, 2024

Conversation

badmintoncryer
Copy link
Contributor

Issue # (if applicable)

Closes #30206.

Reason for this change

AWS FSx for Luster file systems supports HDD storage type and LusterFileSystem construct cannot configure it.

Description of changes

  • Add storageType for fsx.FileStstemProps
    • For future expansion, storageType is added not to LusterFileSystemProps but to FileSystemProps because HDD storage is also supported by Windows file systems.
  • Update the validation of the props below to address the HDD storage type.
    • LusterConfiguration.perUnitStorageThroughput
    • FileSystemProps.storageCapacityGiB

Description of how you validated changes

Added both unit and integ tests.

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@github-actions github-actions bot added star-contributor [Pilot] contributed between 25-49 PRs to the CDK feature-request A feature should be added or improved. p2 labels May 15, 2024
@aws-cdk-automation aws-cdk-automation requested a review from a team May 15, 2024 13:10
@badmintoncryer badmintoncryer force-pushed the storageTypeForLuster branch from 75a2e79 to f6ed95d Compare May 15, 2024 13:10
Copy link
Collaborator

@aws-cdk-automation aws-cdk-automation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pull request linter has failed. See the aws-cdk-automation comment below for failure reasons. If you believe this pull request should receive an exemption, please comment and provide a justification.

A comment requesting an exemption should contain the text Exemption Request. Additionally, if clarification is needed add Clarification Request to a comment.

@badmintoncryer badmintoncryer changed the title feat(fsx): HDD storage for Lustre file systems feat(fsx): support HDD storage type for Lustre file systems May 15, 2024
@aws-cdk-automation aws-cdk-automation dismissed their stale review May 15, 2024 13:13

✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.

@aws-cdk-automation aws-cdk-automation added the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label May 15, 2024
@aws-cdk-automation
Copy link
Collaborator

This PR has been in the MERGE CONFLICTS state for 3 weeks, and looks abandoned. To keep this PR from being closed, please continue work on it. If not, it will automatically be closed in a week.

@badmintoncryer badmintoncryer changed the title feat(fsx): support HDD storage type for Lustre file systems feat(fsx): support HDD storage type for a Lustre file systems Jun 24, 2024
@github-actions github-actions bot added the effort/medium Medium work item – several days of effort label Jun 24, 2024
Copy link
Contributor

@lpizzinidev lpizzinidev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍 Left some comments for adjustments

@aws-cdk-automation aws-cdk-automation removed the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label Aug 1, 2024
Co-authored-by: Luca Pizzini <lpizzini7@gmail.com>
badmintoncryer and others added 5 commits August 5, 2024 22:44
@badmintoncryer
Copy link
Contributor Author

@lpizzinidev Thank you for your review! I've addressed your comments.

Copy link
Contributor

@lpizzinidev lpizzinidev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍

packages/aws-cdk-lib/aws-fsx/lib/lustre-file-system.ts Outdated Show resolved Hide resolved
packages/aws-cdk-lib/aws-fsx/README.md Outdated Show resolved Hide resolved
@aws-cdk-automation aws-cdk-automation added the pr/needs-maintainer-review This PR needs a review from a Core Team Member label Aug 6, 2024
Copy link
Contributor

@GavinZZ GavinZZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! That's a lot of validations but I think you handled them nicely.

Copy link
Contributor

mergify bot commented Oct 10, 2024

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation aws-cdk-automation removed the pr/needs-maintainer-review This PR needs a review from a Core Team Member label Oct 10, 2024
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: a095800
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify mergify bot merged commit 2d9aefb into aws:main Oct 10, 2024
12 checks passed
Copy link
Contributor

mergify bot commented Oct 10, 2024

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

Copy link

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 10, 2024
@badmintoncryer badmintoncryer deleted the storageTypeForLuster branch October 10, 2024 23:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2 star-contributor [Pilot] contributed between 25-49 PRs to the CDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fsx: HDD storageType for luster file system
4 participants