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

[Azure] Invalid state string when querying the instance status #3134

Closed
Michaelvll opened this issue Feb 9, 2024 · 0 comments · Fixed by #3132
Closed

[Azure] Invalid state string when querying the instance status #3134

Michaelvll opened this issue Feb 9, 2024 · 0 comments · Fixed by #3132
Labels
bug Something isn't working clouds Cloud support and cloud-specifc features core Features/bugs related to core

Comments

@Michaelvll
Copy link
Collaborator

A user reported an issue when running sky serve with spot replicas, where they got an empty string from the azure cli.

E 02-08 21:57:24 replica_managers.py:1000]   File "/home/azureuser/miniconda3/lib/python3.10/site-packages/sky/backends/backend_utils.py", line 1765, in _update_cluster_status_no_lock
E 02-08 21:57:24 replica_managers.py:1000]     node_statuses = _query_cluster_status_via_cloud_api(handle)
E 02-08 21:57:24 replica_managers.py:1000]   File "/home/azureuser/miniconda3/lib/python3.10/site-packages/sky/backends/backend_utils.py", line 1630, in _query_cluster_status_via_cloud_api
E 02-08 21:57:24 replica_managers.py:1000]     node_statuses = cloud.query_status(
E 02-08 21:57:24 replica_managers.py:1000]   File "/home/azureuser/miniconda3/lib/python3.10/site-packages/sky/clouds/azure.py", line 655, in query_status
E 02-08 21:57:24 replica_managers.py:1000]     node_status = status_map[s]
E 02-08 21:57:24 replica_managers.py:1000] KeyError: ''
@Michaelvll Michaelvll added clouds Cloud support and cloud-specifc features core Features/bugs related to core bug Something isn't working labels Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working clouds Cloud support and cloud-specifc features core Features/bugs related to core
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant