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

[AWS] AWS throws InvalidGroup.Duplicate when user submits a lot of parallel launch #4578

Open
Michaelvll opened this issue Jan 16, 2025 · 2 comments

Comments

@Michaelvll
Copy link
Collaborator

To reproduce:
seq 10 | xargs -P 16 -n 1 bash -c 'sky launch -c test-$0 --cpus 2 --use-spot --down -i0 -y &'

Observed this with error

ot error(s) in AWS:[sky.exceptions.NoClusterLaunchedError] Failed to create security group. Error: botocore.exceptions.ClientError: An error occurred (InvalidGroup.Duplicate) when calling the CreateSecurityGroup operation: The security group 'sky-sg-root-xxx' already exists for VPC 'vpc-xxxxxxx'
@cg505
Copy link
Collaborator

cg505 commented Jan 16, 2025

Does this need to be a new VPC that you haven't used skypilot on before?

@Michaelvll
Copy link
Collaborator Author

I don't think it is a new VPC. The issue happens for only some of the launches. This issue happens for some of the tests with pytest tests/test_smoke.py --aws.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants