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

[UX] SkyServe terminate_replica output messages too verbose and confusing #4591

Open
andylizf opened this issue Jan 18, 2025 · 0 comments
Open

Comments

@andylizf
Copy link
Contributor

andyl@andylizf-dev-server ~/skypilot (fix-aws-name) [1]> sky serve dow
n sky-service-c4d3 --replica-id 1

Terminating replica ID 1 in 'sky-service-c4d3'. Proceed? [Y/n]: 
ValueError: Replica 1 for service sky-service-c4d3 does not exist.

sky.exceptions.CommandError: Command $([ -s ~/.sky/python_path ] && cat ~/.sky/python_path 2> /dev/null || which python3) -u -c 'from sky... failed with return code 1.
Failed to terminate the replica

The above exception was the direct cause of the following exception:

RuntimeError: Failed to terminate the replica

Expected:

andyl@andylizf-dev-server ~/skypilot (fix-aws-name) [1]> sky serve dow
n sky-service-c4d3 --replica-id 1

Terminating replica ID 1 in 'sky-service-c4d3'. Proceed? [Y/n]: 
RuntimeError: Failed to terminate the replica, since
replica 1 for service sky-service-c4d3 does not exist.

Also happens for those endpoints that use HTTP for calling functionalities remotely.

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

1 participant