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

upgrade metadata call to use IMDSv2, only supported version soon #2532

Closed
wants to merge 1 commit into from

Conversation

wdvr
Copy link
Contributor

@wdvr wdvr commented Nov 1, 2024

Summary:
Soon we will only support metadata fetching for EC2 instances via IMDSv2 - this upgrades the existing v1 call to a v2 call - no functional changes

Test plan:
testing if the release_build.yaml workflow correctly fetches the instance metadata

NOTE: this workflow only runs on pypi release

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 1, 2024
wdvr added a commit to pytorch/test-infra that referenced this pull request Nov 1, 2024
this is a follow up on PR #5783 that enabled IMDSv2. We're about to
remove support for IMDSv1 on our AWS account globally

This is part of an effort to move all our calls across all pytorch repos
to v2.

See also:
pytorch/FBGEMM#3297
pytorch/pytorch#138286
pytorch/torchsnapshot#180
pytorch/torchrec#2532
pytorch/torcheval#210
@facebook-github-bot
Copy link
Contributor

@PaulZhang12 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants