This is a worse manifestation of #596
az vm extension set -n CustomScriptForLinux --publisher Microsoft.OSTCExtensions --auto-upgrade-minor-version -g ahmet-test --vm-name ub16 --settings '{"commandToExecute":"date"}'
This command normally takes 1-2 minutes to complete...
Start this command and wait 3 seconds and start hitting ctrl+c, you won't be able to exit it.
➜ ~ az vm extension set -n CustomScriptForLinux --publisher Microsoft.OSTCExtensions --auto-upgrade-minor-version -g ahmet-test --vm-name ub16 --settings '{"commandToExecute":"date"}'
^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C
^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C
^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C
^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C
^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z
^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z
I had to stop the process using OS X kill command.
I encourage you to try this, mostly because my az is aliased to docker run --rm -i -t [...] az and it might be a signal handling issue in az CLI (docker sends SIGTERM on Ctrl+C) or might be some signal forwarding issue in Docker CLI. So I'm not 100% sure if the problem is isolated to az CLI.
You should be able to repro this easily on Linux/OS X outside container if it's an az CLI issue.
This is a worse manifestation of #596
This command normally takes 1-2 minutes to complete...
Start this command and wait 3 seconds and start hitting ctrl+c, you won't be able to exit it.
I had to stop the process using OS X
killcommand.I encourage you to try this, mostly because my
azis aliased todocker run --rm -i -t [...] azand it might be a signal handling issue in az CLI (docker sends SIGTERM on Ctrl+C) or might be some signal forwarding issue in Docker CLI. So I'm not 100% sure if the problem is isolated toazCLI.You should be able to repro this easily on Linux/OS X outside container if it's an az CLI issue.