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

Fix Azure CLI run command interaction with the terminal #311

Open
jeremyfowers opened this issue May 24, 2023 · 0 comments
Open

Fix Azure CLI run command interaction with the terminal #311

jeremyfowers opened this issue May 24, 2023 · 0 comments
Labels
azure Relating to running jobs in the Azure cloud bug Something isn't working new Work that hasn't started yet p2 not a priority

Comments

@jeremyfowers
Copy link
Contributor

The current implementation of Azure CLI's run command kind of breaks the terminal in at least 2 ways:

  • Printouts to the terminal are garbled
  • Terminal is frozen / not usable after the run command finishes

This behavior manifested after I started using timeout --foreground and ssh -tt so it is probably due to one of those.

Workaround:

  1. Dump run output into a log file, e.g., python control.py run stop --cluster --name exporttest --size 16 --hardware cpu-big-ram -f /home/jfowers/mlagility/models/*/*.py -a="--export-only --labels=test_group::mlagility" > log.txt
  2. Close the current terminal after the run command finishes

Setting p2 since there are reasonable workarounds

@jeremyfowers jeremyfowers added bug Something isn't working new Work that hasn't started yet p2 not a priority azure Relating to running jobs in the Azure cloud labels May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
azure Relating to running jobs in the Azure cloud bug Something isn't working new Work that hasn't started yet p2 not a priority
Projects
None yet
Development

No branches or pull requests

1 participant