Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

Re-sync with internal repository#3

Closed
kiukchung wants to merge 1 commit intopytorch:masterfrom
kiukchung:fixup-T58025646-master
Closed

Re-sync with internal repository#3
kiukchung wants to merge 1 commit intopytorch:masterfrom
kiukchung:fixup-T58025646-master

Conversation

@kiukchung
Copy link
Copy Markdown
Contributor

The internal and external repositories are out of sync. This attempts to brings them back in sync by patching the GitHub repository. Please carefully review this patch. You must disable ShipIt for your project in order to merge this pull request. DO NOT IMPORT this pull request. Instead, merge it directly on GitHub using the MERGE BUTTON. Re-enable ShipIt after merging.

Copy link
Copy Markdown
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@kiukchung is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@kiukchung kiukchung closed this Nov 22, 2019
@kiukchung kiukchung deleted the fixup-T58025646-master branch November 22, 2019 23:42
facebook-github-bot pushed a commit that referenced this pull request Dec 5, 2019
…nt, fix bug in petctl setp where None was being passed to cfn param, pump docker logs to cloudwatch

Summary:
1. Uses docker log-driver == awslogs to make docker output go to cloud watch (see screenshots below)
2. #1 creates a log group called `torchelastic/$USER` in CW and creates log streams (one per worker) called `$job_name/$instance_id`
3. Fixes a bug in `petctl setup` where if no efs and s3 buckets are specified the `NoneType` is passed to the cfn template param which throws a validation error because it expects a string
4. Fixes an issue with cfn template where the CloudWatch IAM managed policy was being created with a specific name hence preventing multiple stacks from being created in the same account.

#thanks Vinicius Reis for testing `petctl` and reporting bugs #3 and #4.

{F223965947}
{F223965943}

Reviewed By: vreis

Differential Revision: D18826855

fbshipit-source-id: 2d75f607734135ab6d5301fc636501a38cfee9d9
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants