-
Notifications
You must be signed in to change notification settings - Fork 559
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
Invalid cluster name is generated if username has uppercase or invalid characters #1161
Comments
Hi @romilbhardwaj , |
Thanks for taking this up @Akshat977! |
Any updates on this Git issue @Akshat977 ? |
Hey @Akshat977, since we did not hear back from you for a long time, we will reassign the issue soon. Please tell us your progress, if you are working on it. : ) |
Hey @Michaelvll , can you please review my pull request? |
If the user does not specify a cluster name, we randomly generate a name appended with the username appended to it. E.g.,
If the username has underscores or capital letters then it generates an invalid cluster name which fails our regex check:
skypilot/sky/backends/backend_utils.py
Lines 1809 to 1826 in 10967e6
We should maybe run .lower() on the username and remove any invalid characters from it when generating cluster name.
The text was updated successfully, but these errors were encountered: