-
Notifications
You must be signed in to change notification settings - Fork 4k
ZonePlacementPolicy not enforced at VM creation #27855
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
Comments
At the end of the command you are calling, could you add '-debug' at the end? this will output the API request and response for us to help troubleshoot. And please share the command and the output for us |
DEBUG: ClientCertificateCredential.GetToken invoked. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId: HTTP Method: Absolute Uri: Headers: Body: DEBUG: ============================ HTTP RESPONSE ============================ Status Code: Headers: Body: DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: Absolute Uri: Headers: Body: DEBUG: ============================ HTTP RESPONSE ============================ Status Code: Headers: Body: DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: Headers: Body: DEBUG: ============================ HTTP RESPONSE ============================ Status Code: Headers: Body: DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: Absolute Uri: Headers: Body: DEBUG: ============================ HTTP RESPONSE ============================ Status Code: Headers: Body: DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: Absolute Uri: Headers: Body: DEBUG: ============================ HTTP RESPONSE ============================ Status Code: Headers: Body: DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: Absolute Uri: Headers: Body: DEBUG: ============================ HTTP RESPONSE ============================ Status Code: Headers: Body: DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: Absolute Uri: Headers: Body: DEBUG: ============================ HTTP RESPONSE ============================ Status Code: Headers: Body: DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: Absolute Uri: Headers: Body: DEBUG: ============================ HTTP RESPONSE ============================ Status Code: Headers: Body: DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: Absolute Uri: Headers: Body: DEBUG: ============================ HTTP RESPONSE ============================ Status Code: Headers: Body: DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: Absolute Uri: Headers: Body: DEBUG: ============================ HTTP RESPONSE ============================ Status Code: Headers: Body: DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: Absolute Uri: Headers: Body: DEBUG: ============================ HTTP RESPONSE ============================ Status Code: Headers: Body: DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: Absolute Uri: Headers: Body: DEBUG: ============================ HTTP RESPONSE ============================ Status Code: Headers: Body: DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: Absolute Uri: Headers: Body: DEBUG: ============================ HTTP RESPONSE ============================ Status Code: Headers: Body: DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: Absolute Uri: Headers: Body: DEBUG: ============================ HTTP RESPONSE ============================ Status Code: Headers: Body: DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: Absolute Uri: Headers: Body: DEBUG: ============================ HTTP RESPONSE ============================ Status Code: Headers: Body: DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: Absolute Uri: Headers: Body: DEBUG: ============================ HTTP RESPONSE ============================ Status Code: Headers: Body: DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: Absolute Uri: Headers: Body: DEBUG: ============================ HTTP RESPONSE ============================ Status Code: Headers: Body: DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: Absolute Uri: Headers: Body: DEBUG: ============================ HTTP RESPONSE ============================ Status Code: Headers: Body: DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: Absolute Uri: Headers: Body: DEBUG: ============================ HTTP RESPONSE ============================ Status Code: Headers: Body: DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: Absolute Uri: Headers: Body: DEBUG: ============================ HTTP RESPONSE ============================ Status Code: Headers: Body: DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: Absolute Uri: Headers: Body: DEBUG: ============================ HTTP RESPONSE ============================ Status Code: Headers: Body: DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: Absolute Uri: Headers: Body: DEBUG: ============================ HTTP RESPONSE ============================ Status Code: Headers: Body: DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: Absolute Uri: Headers: Body: DEBUG: ============================ HTTP RESPONSE ============================ Status Code: Headers: Body: DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: Headers: Body: DEBUG: ============================ HTTP RESPONSE ============================ Status Code: Headers: Body: DEBUG: 8:09:11 pm - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True]. |
Thank you very much for sharing this. I found the issue in code and made a fix: #27858 |
@grizzlytheodore Please close the issue after the patch release is released in next week. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Drewm3, @TravisCragg-MSFT, @nikhilpatel909, @sandeepraichura, @hilaryw29, @GabstaMSFT, @ramankumarlive, @ushnaarshadkhan. |
Description
The documentation states that the -ZonePlacementPolicy Any parameter should trigger the Azure-selected availability zone feature the same way it is selected in the portal. however, using this parameter has no effect and the VM gets created without an availability zone.
repro with v10.0.0 of the Az.Compute module
Issue script & Debug output
Environment data
Module versions
Error output
The text was updated successfully, but these errors were encountered: