Azure-Samples / Azure-Samples/iotedge_config_cli
Silent hanging if Azure CLI command requires interactivity
- Dominant language
- Rust
- Stars
- 8
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the tool under sudo while running `az iot hub device-identity create`, especially when the azure-iot extension is not installed. The issue does not identify files or tests; done means avoiding a silent hang by documenting the extension prerequisite or exposing the command's interactivity.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, rust
- Domain
- cli, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100