Skip to content

Reduce size of ParallelClusterComponent #6906

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

Open
wants to merge 1 commit into
base: release-3.13
Choose a base branch
from

Conversation

himani2411
Copy link
Contributor

@himani2411 himani2411 commented Jul 1, 2025

Description of changes

  • Reduce size of ParallelClusterComponent as it causes below error during image build creation

Resource handler returned message: "Model validation failed (#: #: only 1 subschema matches out of 2) #/Data: expected maxLength: 16000, actual: 17100 (#/Data)" (RequestToken: <Token>, HandlerErrorCode: InvalidRequest)

Current Size is 15206
Limitation of Data is 16000 is as per https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-imagebuilder-component.html

Tests

  • Ran updated Unit Test
  • Passed Manual Build image Creation with Vanilla AL2 AMI which was previously giving the above error

References

  • Link to impacted open issues.
  • Link to related PRs in other packages (i.e. cookbook, node).
  • Link to documentation useful to understand the changes.

Checklist

  • Make sure you are pointing to the right branch.
  • If you're creating a patch for a branch other than develop add the branch name as prefix in the PR title (e.g. [release-3.6]).
  • Check all commits' messages are clear, describing what and why vs how.
  • Make sure to have added unit tests or integration tests to cover the new/modified code.
  • Check if documentation is impacted by this change.

Please review the guidelines for contributing and Pull Request Instructions.

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

@himani2411 himani2411 requested review from a team as code owners July 1, 2025 18:18
@himani2411 himani2411 added skip-changelog-update Disables the check that enforces changelog updates in PRs 3.x labels Jul 1, 2025
@himani2411 himani2411 changed the base branch from develop to release-3.13 July 1, 2025 18:23
…Model Validation error`

[Isolated] Reducing size of parallelcluster.yaml as we keep getting `Model Validation error`

* Add Unit Test
@himani2411 himani2411 force-pushed the release-3.13.2-jul1 branch from 9aeae9e to 071fb75 Compare July 1, 2025 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x skip-changelog-update Disables the check that enforces changelog updates in PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant