[Integ] Add integration test for Pcluster Build Image in proxied environment #7324
Merged
himani2411 merged 2 commits intoaws:developfrom Apr 9, 2026
Merged
[Integ] Add integration test for Pcluster Build Image in proxied environment #7324himani2411 merged 2 commits intoaws:developfrom
himani2411 merged 2 commits intoaws:developfrom
Conversation
59fbda1 to
cc68d2e
Compare
6d28a85 to
04b5a8c
Compare
gmarciani
reviewed
Apr 2, 2026
...egration-tests/tests/createami/test_createami/test_build_image_no_internet/image.config.yaml
Outdated
Show resolved
Hide resolved
gmarciani
reviewed
Apr 2, 2026
...egration-tests/tests/createami/test_createami/test_build_image_no_internet/image.config.yaml
Show resolved
Hide resolved
gmarciani
reviewed
Apr 2, 2026
| stack_parameters = [ | ||
| {"ParameterKey": "Keypair", "ParameterValue": request.config.getoption("key_name")}, | ||
| {"ParameterKey": "VpcCidr", "ParameterValue": "10.0.0.0/16"}, | ||
| {"ParameterKey": "SSHCidr", "ParameterValue": "0.0.0.0/0"}, |
Contributor
There was a problem hiding this comment.
Not introduced by this PR, so we can address in a different PR, but this is allowing global access to SSH port and could cause alarms. What about restricting the access to the VPC CIDR instead?
Contributor
Author
There was a problem hiding this comment.
One of the checks we do as part of the test_proxy test to to be able to login into the HeadNode using a Bastion instance from another VPC, which is why I will keep the current SSHCidr. Since we have had no issues so far and this is an ephemeral stack we can decrease the priority for this specific change.
a2a02fa to
5abd7f3
Compare
himani2411
commented
Apr 6, 2026
Switch proxy to al2023 Fix allowlist
a9dbb22 to
5a35651
Compare
gmarciani
previously approved these changes
Apr 8, 2026
5a35651 to
46185d1
Compare
* Use EnableBuildImageProxy to distinguish between Build Image Proxy and Cluster Proxy (default)
* [DevSetting] Use install_http_proxy_address for setting up Proxy environment during build image
* Add snap store allowlist to overcome dpkg lock issue when installing DCV
* Enable IP forwarding to avoid Kernel dropping packets in ConfigureSystem Step of parallelcluster.yaml
* allowlist for awscli cloudfront url and global s3 endpoint
* Add access to FSX repos, efa installer, Rust and Index which are pre-req for Efs-utils using tiny proxy allowlist
* Skip awsbatch cli
* Add AmazonS3ReadOnlyAccess so that Presigned URL for S3 Node package is created
* using s3 bucket url to avoid proxy connection issue for github endpoint
```
url -sS -L -w '%{http_code}' -o /etc/chef/aws-parallelcluster-cookbook.tgz https://github.com/aws/aws-parallelcluster-cookbook/tarball/refs/heads/develop
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
```
* Upgrade Proxy instance OS to ubuntu22
46185d1 to
1aefb9f
Compare
gmarciani
approved these changes
Apr 9, 2026
Contributor
|
We agreed on addressing the compatibility with other partitions in a separate PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of changes
Adds integration test which creates a proxied environment for testing ParallelCluster Build Image.
Updated proxy.yaml by introducing EnableBuildImageProxy to distinguish build-time from cluster-time proxy configurations. Key changes include:
Tests
References
Checklist
developadd the branch name as prefix in the PR title (e.g.[release-3.6]).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.