Azure-Samples/iotedge_config_cli

Silent hanging if Azure CLI command requires interactivity

Opened this issue · 0 comments

jlian commented

When running the tool as sudo. I noticed that it would just hang at "Creating 2 devices in hub jlian-sandbox". Finally figured out after when I ran sudo az iot hub device-identity create directly and it asked me if I wanted to install azure-iot extension [Y/n]. Once installed the tool no longer hangs.

Strangely I can't repro this anymore.

I think we should either make azure-iot extension a prerequisite in the docs or expose the interactivity through the tool.