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

Failed to run Event Hub command using CLI 2.38.0

Open yuanchenCY opened this issue 3 years ago • 9 comments

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

Related command

az eventhubs eventhub list --resource-group MediaRG --namespace-name test01 az eventhubs eventhub show --resource-group MediaRG --namespace-name test01 --name test az eventhubs namespace network-rule update --resource-group MediaRG --namespace-name test01 --public-network-access Disabled --enable-trusted-service-access true

Describe the bug

We are using Azure CLI 2.38.0, the latest version. But when we tried to run the event hub commands, below errors were returned: image The latest API version is not found.

To Reproduce

  1. Install Azure CLI 2.38.0
  2. Run the command listed in "Related command"

Expected behavior

The commands should run successfully.

Environment summary

Azure China CLI 2.38.0

yuanchenCY avatar Jul 20 '22 08:07 yuanchenCY

route to CXP team

yonzhan avatar Jul 20 '22 10:07 yonzhan

@yuanchenCY I think this api version is not supported for Azure China environment however redirecting this to services team to confirm back on the same. Thanks.

SaurabhSharma-MSFT avatar Jul 21 '22 22:07 SaurabhSharma-MSFT

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Saglodha.

Issue Details

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

Related command

az eventhubs eventhub list --resource-group MediaRG --namespace-name test01 az eventhubs eventhub show --resource-group MediaRG --namespace-name test01 --name test az eventhubs namespace network-rule update --resource-group MediaRG --namespace-name test01 --public-network-access Disabled --enable-trusted-service-access true

Describe the bug

We are using Azure CLI 2.38.0, the latest version. But when we tried to run the event hub commands, below errors were returned: image The latest API version is not found.

To Reproduce

  1. Install Azure CLI 2.38.0
  2. Run the command listed in "Related command"

Expected behavior

The commands should run successfully.

Environment summary

Azure China CLI 2.38.0

Author: yuanchenCY
Assignees: SaurabhSharma-MSFT
Labels:

Service Attention, Event Hubs, customer-reported, Auto-Assign

Milestone: Backlog

ghost avatar Jul 21 '22 22:07 ghost

@yuanchenCY I think this api version is not supported for Azure China environment however redirecting this to services team to confirm back on the same. Thanks.

If this is not yet supported, which CLI version with supported API version could we use to run network-rule update command for event hub in Azure China?

yuanchenCY avatar Jul 22 '22 01:07 yuanchenCY

@yuanchenCY - You can try to use CLI version 2.37.0 for Azure China environment. Please let us know if you bump into any issues there as well.

Saglodha avatar Jul 26 '22 18:07 Saglodha

@yuanchenCY - You can try to use CLI version 2.37.0 for Azure China environment. Please let us know if you bump into any issues there as well.

@Saglodha I tried 2.37.0, but also failed: image We found there is no update command in 2.37.0: image

yuanchenCY avatar Jul 27 '22 05:07 yuanchenCY

@yuanchenCY - Thanks for sharing details, update cmdlet was released in latest release hence it is probably not deployed in China environment

We should be pushing another update that should resolve this. 2nd week of August should be ETA.

Saglodha avatar Jul 27 '22 19:07 Saglodha

@yuanchenCY - Thanks for sharing details, update cmdlet was released in latest release hence it is probably not deployed in China environment

We should be pushing another update that should resolve this. 2nd week of August should be ETA.

Thanks @Saglodha for sharing the plan with us. Looking forward to the new update to Azure China.

yuanchenCY avatar Jul 28 '22 01:07 yuanchenCY

@yuanchenCY , Update should be live in China region. Can you please retry the operation and share feedback? Thanks.

Saglodha avatar Aug 12 '22 07:08 Saglodha

Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!

ghost avatar Aug 19 '22 08:08 ghost