Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New version of AZ CLI (2.27.0) Is Not Usable when using what-if command #19124

Open
Qi-Jian-Huang-DevOps opened this issue Aug 4, 2021 · 11 comments
Labels
ARM az resource/group/lock/tag/deployment/policy/managementapp/account management-group customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-attention This issue needs attention from Azure service team or SDK team Service Attention This issue is responsible by Azure service team.

Comments

@Qi-Jian-Huang-DevOps
Copy link

New version of AZ CLI (2.27.0) is not usable, getting error

ERROR: 'NoEffect'

To Reproduce
Update your AZ CLI to latest (2.27.0), then run a what-if deployment such as
az deployment sub what-if -f ..

Note: 2.26.0 is working fine, no issue.

Expected behavior
Expected to run what-if with no problem

Environment summary
Latest microsoft hosted windows agent
AZ CLI 2.27.0

@ghost ghost added needs-triage This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that customer-reported Issues that are reported by GitHub users external to the Azure organization. labels Aug 4, 2021
@Qi-Jian-Huang-DevOps
Copy link
Author

This is breaking production deployment!

@bartek-lopatka
Copy link

We're having the same issue - if there are no changes reported by the what-if command, the AZ CLI returns ERROR: 'NoEffect'

@yonzhan yonzhan added the ARM az resource/group/lock/tag/deployment/policy/managementapp/account management-group label Aug 4, 2021
@ghost ghost removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Aug 4, 2021
@yonzhan yonzhan added Service Attention This issue is responsible by Azure service team. and removed question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Aug 4, 2021
@ghost
Copy link

ghost commented Aug 4, 2021

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

Issue Details

New version of AZ CLI (2.27.0) is not usable, getting error

ERROR: 'NoEffect'

To Reproduce
Update your AZ CLI to latest (2.27.0), then run a what-if deployment such as
az deployment sub what-if -f ..

Note: 2.26.0 is working fine, no issue.

Expected behavior
Expected to run what-if with no problem

Environment summary
Latest microsoft hosted windows agent
AZ CLI 2.27.0

Author: Qi-Jian-Huang-DevOps
Assignees: -
Labels:

ARM, Service Attention, customer-reported

Milestone: -

@yonzhan
Copy link
Collaborator

yonzhan commented Aug 4, 2021

route to service team

@zhoxing-ms
Copy link
Contributor

@shenglol Could you please take a look at this issue?

@Gordonby
Copy link

Gordonby commented Aug 9, 2021

Also affected by this. Working around with try/catch in automation.... But a NoEffect change should be at most a Warning, not an Error.

@samhughes91
Copy link

I'm having the same issues in our PRD environment.

@Gordonby do you mind sharing your try/catch solution? I tried this but failed. My PS knowledge is not up to the level I wish it was :)

@shenglol
Copy link
Contributor

Fixed in Azure CLI 2.27.1

@Qi-Jian-Huang-DevOps
Copy link
Author

@shenglol
looks like there is a delay (around 1 week) between the release available for users to download and available in Microsoft hosted agents.

@navba-MSFT
Copy link
Contributor

@Qi-Jian-Huang-DevOps Apologies for the late reply. Could you please let us know if you are still facing this issue with what-if parameter while using most recent version of the AzCLI ? Awaiting your reply.

@navba-MSFT navba-MSFT added the needs-author-feedback More information is needed from author to address the issue. label Mar 3, 2022
@Qi-Jian-Huang-DevOps
Copy link
Author

@navba-MSFT

yup, latest azCLI resolves the issue, thanks.

@ghost ghost added needs-team-attention This issue needs attention from Azure service team or SDK team and removed needs-author-feedback More information is needed from author to address the issue. labels Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARM az resource/group/lock/tag/deployment/policy/managementapp/account management-group customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-attention This issue needs attention from Azure service team or SDK team Service Attention This issue is responsible by Azure service team.
Projects
None yet
8 participants