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

[AKS] BREAKING CHANGE: aks create: Change the default value of --enable-msi-auth-for-monitoring to true and add check for airgap clouds #26356

Merged
merged 12 commits into from
May 18, 2023

Conversation

wanlonghenry
Copy link
Contributor

Related command

Description

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature


This checklist is used to make sure that common guidelines for a pull request are followed.

@azure-client-tools-bot-prd
Copy link

azure-client-tools-bot-prd bot commented May 6, 2023

️✔️AzureCLI-FullTest
️✔️acr
️✔️2020-09-01-hybrid
️✔️3.10
️✔️3.9
️✔️latest
️✔️3.10
️✔️3.9
️✔️acs
️✔️2020-09-01-hybrid
️✔️3.10
️✔️3.9
️✔️latest
️✔️3.10
️✔️3.9
️✔️advisor
️✔️latest
️✔️3.10
️✔️3.9
️✔️ams
️✔️latest
️✔️3.10
️✔️3.9
️✔️apim
️✔️latest
️✔️3.10
️✔️3.9
️✔️appconfig
️✔️latest
️✔️3.10
️✔️3.9
️✔️appservice
️✔️latest
️✔️3.10
️✔️3.9
️✔️aro
️✔️latest
️✔️3.10
️✔️3.9
️✔️backup
️✔️latest
️✔️3.10
️✔️3.9
️✔️batch
️✔️latest
️✔️3.10
️✔️3.9
️✔️batchai
️✔️latest
️✔️3.10
️✔️3.9
️✔️billing
️✔️latest
️✔️3.10
️✔️3.9
️✔️botservice
️✔️latest
️✔️3.10
️✔️3.9
️✔️cdn
️✔️latest
️✔️3.10
️✔️3.9
️✔️cloud
️✔️latest
️✔️3.10
️✔️3.9
️✔️cognitiveservices
️✔️latest
️✔️3.10
️✔️3.9
️✔️config
️✔️latest
️✔️3.10
️✔️3.9
️✔️configure
️✔️latest
️✔️3.10
️✔️3.9
️✔️consumption
️✔️latest
️✔️3.10
️✔️3.9
️✔️container
️✔️latest
️✔️3.10
️✔️3.9
️✔️core
️✔️2018-03-01-hybrid
️✔️3.10
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.10
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.10
️✔️3.9
️✔️latest
️✔️3.10
️✔️3.9
️✔️cosmosdb
️✔️latest
️✔️3.10
️✔️3.9
️✔️databoxedge
️✔️2019-03-01-hybrid
️✔️3.10
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.10
️✔️3.9
️✔️latest
️✔️3.10
️✔️3.9
️✔️dla
️✔️latest
️✔️3.10
️✔️3.9
️✔️dls
️✔️latest
️✔️3.10
️✔️3.9
️✔️dms
️✔️latest
️✔️3.10
️✔️3.9
️✔️eventgrid
️✔️latest
️✔️3.10
️✔️3.9
️✔️eventhubs
️✔️latest
️✔️3.10
️✔️3.9
️✔️feedback
️✔️latest
️✔️3.10
️✔️3.9
️✔️find
️✔️latest
️✔️3.10
️✔️3.9
️✔️hdinsight
️✔️latest
️✔️3.10
️✔️3.9
️✔️identity
️✔️latest
️✔️3.10
️✔️3.9
️✔️iot
️✔️2019-03-01-hybrid
️✔️3.10
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.10
️✔️3.9
️✔️latest
️✔️3.10
️✔️3.9
️✔️keyvault
️✔️2018-03-01-hybrid
️✔️3.10
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.10
️✔️3.9
️✔️latest
️✔️3.10
️✔️3.9
️✔️kusto
️✔️latest
️✔️3.10
️✔️3.9
️✔️lab
️✔️latest
️✔️3.10
️✔️3.9
️✔️managedservices
️✔️latest
️✔️3.10
️✔️3.9
️✔️maps
️✔️latest
️✔️3.10
️✔️3.9
️✔️marketplaceordering
️✔️latest
️✔️3.10
️✔️3.9
️✔️monitor
️✔️latest
️✔️3.10
️✔️3.9
️✔️netappfiles
️✔️latest
️✔️3.10
️✔️3.9
️✔️network
️✔️2018-03-01-hybrid
️✔️3.10
️✔️3.9
️✔️latest
️✔️3.10
️✔️3.9
️✔️policyinsights
️✔️latest
️✔️3.10
️✔️3.9
️✔️privatedns
️✔️latest
️✔️3.10
️✔️3.9
️✔️profile
️✔️latest
️✔️3.10
️✔️3.9
️✔️rdbms
️✔️latest
️✔️3.10
️✔️3.9
️✔️redis
️✔️latest
️✔️3.10
️✔️3.9
️✔️relay
️✔️latest
️✔️3.10
️✔️3.9
️✔️resource
️✔️2018-03-01-hybrid
️✔️3.10
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.10
️✔️3.9
️✔️latest
️✔️3.10
️✔️3.9
️✔️role
️✔️latest
️✔️3.10
️✔️3.9
️✔️search
️✔️latest
️✔️3.10
️✔️3.9
️✔️security
️✔️latest
️✔️3.10
️✔️3.9
️✔️servicebus
️✔️latest
️✔️3.10
️✔️3.9
️✔️serviceconnector
️✔️latest
️✔️3.10
️✔️3.9
️✔️servicefabric
️✔️latest
️✔️3.10
️✔️3.9
️✔️signalr
️✔️latest
️✔️3.10
️✔️3.9
️✔️sql
️✔️latest
️✔️3.10
️✔️3.9
️✔️sqlvm
️✔️latest
️✔️3.10
️✔️3.9
️✔️storage
️✔️2018-03-01-hybrid
️✔️3.10
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.10
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.10
️✔️3.9
️✔️latest
️✔️3.10
️✔️3.9
️✔️synapse
️✔️latest
️✔️3.10
️✔️3.9
️✔️telemetry
️✔️2018-03-01-hybrid
️✔️3.10
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.10
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.10
️✔️3.9
️✔️latest
️✔️3.10
️✔️3.9
️✔️util
️✔️latest
️✔️3.10
️✔️3.9
️✔️vm
️✔️2018-03-01-hybrid
️✔️3.10
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.10
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.10
️✔️3.9
️✔️latest
️✔️3.10
️✔️3.9

@yonzhan
Copy link
Collaborator

yonzhan commented May 6, 2023

Thank you for your contribution! We will review the pull request and get back to you soon.

@wanlonghenry wanlonghenry changed the title MSI default change to true and add check for airgap [AKS] aks create: Change enable_msi_auth_for_monitoring default to true and add check for airgap clouds May 8, 2023
@wanlonghenry wanlonghenry changed the title [AKS] aks create: Change enable_msi_auth_for_monitoring default to true and add check for airgap clouds [AKS] **aks create**: Change **enable_msi_auth_for_monitoring** default to true and add check for airgap clouds May 8, 2023
@wanlonghenry wanlonghenry changed the title [AKS] **aks create**: Change **enable_msi_auth_for_monitoring** default to true and add check for airgap clouds [AKS] aks create: Change enable_msi_auth_for_monitoring default to true and add check for airgap clouds May 8, 2023
@wanlonghenry wanlonghenry changed the title [AKS] aks create: Change enable_msi_auth_for_monitoring default to true and add check for airgap clouds ## [AKS] aks create: Change enable_msi_auth_for_monitoring default to true and add check for airgap clouds May 8, 2023
@wanlonghenry wanlonghenry changed the title ## [AKS] aks create: Change enable_msi_auth_for_monitoring default to true and add check for airgap clouds [AKS] aks create: Change enable_msi_auth_for_monitoring default to true and add check for airgap clouds May 8, 2023
@wanlonghenry wanlonghenry marked this pull request as ready for review May 11, 2023 23:48
@zhoxing-ms
Copy link
Contributor

E vcr.errors.CannotOverwriteExistingCassetteException: Can't overwrite existing cassette ('/mnt/vss/_work/1/s/src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_with_custom_monitoring_workspace.yaml') in your current record mode ('once').
No match for the request (<Request (GET) https://management.azure.com//subscriptions/00000000-0000-0000-0000-000000000000/locations?api-version=2019-11-01>) was found.

Please note that the GET Location request is missing from the recording file. Please use az config get defaults.location to confirm if the default location was set locally during the recording test. If so, please use the az config unset defaults.location command to delete the default location and then record the yaml file again

@wanlonghenry
Copy link
Contributor Author

@zhoxing-ms thank you for the detailed guide, I just updated the recording file and all checks have passed, could you please review the whole PR when available, thanks!

@zhoxing-ms
Copy link
Contributor

zhoxing-ms commented May 17, 2023

@wanlonghenry Please note that we are launching the release for this sprint this week. Please resolve all comments by tomorrow, otherwise the release of this PR will have to be postponed to the next sprint (07-04)

@wanlonghenry
Copy link
Contributor Author

image
image

@wanlonghenry
Copy link
Contributor Author

wanlonghenry commented May 18, 2023

@zhoxing-ms I addressed all comments and also attached the test screenshots, please review and check, thank you!

@zhoxing-ms zhoxing-ms changed the title [AKS] aks create: Change enable_msi_auth_for_monitoring default to true and add check for airgap clouds [AKS] aks create: Change --enable-msi-auth-for-monitoring default to true and add check for airgap clouds May 18, 2023
@zhoxing-ms zhoxing-ms changed the title [AKS] aks create: Change --enable-msi-auth-for-monitoring default to true and add check for airgap clouds [AKS] aks create: Change the default value of --enable-msi-auth-for-monitoring to true and add check for airgap clouds May 18, 2023
@zhoxing-ms zhoxing-ms changed the title [AKS] aks create: Change the default value of --enable-msi-auth-for-monitoring to true and add check for airgap clouds [AKS] BREAKING CHANGE: aks create: Change the default value of --enable-msi-auth-for-monitoring to true and add check for airgap clouds May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants