azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

Errors with dynamic extension install ?

Open chenlomis opened this issue 6 years ago • 5 comments

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug Testing out new dynamic extension install feature

To Reproduce

  1. az config set extension.run_after_dynamic_install=yes_without_prompt -- succeeded image

  2. run az mysql up -- failed image

3)az databricks workspace create -- also failed image

Expected behavior no fail

Environment summary Windows image

Additional context image

chenlomis avatar Aug 21 '20 03:08 chenlomis

yes_prompt also failed: image

but no and yes did not fail: image

chenlomis avatar Aug 21 '20 03:08 chenlomis

dynamic extension install

yonzhan avatar Aug 21 '20 10:08 yonzhan

hi @fengzhou-msft could you pls help a look? thanks.

yungezz avatar Aug 24 '20 03:08 yungezz

run_after_dynamic_install is currently a boolean, only supports yes or no while use_dynamic_install is a string and supports yes_prompt, yes_without_prompt, no.

fengzhou-msft avatar Aug 24 '20 03:08 fengzhou-msft

Oh okay. Thanks! I see what happened here. Conflated the use dynamic install with run after dynamic install

Awesome! Fixed the command and they worked image

chenlomis avatar Aug 24 '20 03:08 chenlomis