MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.28k stars 21.47k forks source link

Documentation for enabling istio on existing cluster returns error #120606

Closed SompoMHeckmann closed 8 months ago

SompoMHeckmann commented 8 months ago

az aks mesh enable --name $env:CLUSTER --resource-group $env:RESOURCE_GROUP

returns

(BadRequest) Requested change in revisions is not allowed. Reason: Revision asm-1-17 is not supported by the service mesh add-on. Code: BadRequest Message: Requested change in revisions is not allowed. Reason: Revision asm-1-17 is not supported by the service mesh add-on.

needed to specifically set the revision with az aks mesh enable --name $env:CLUSTER --resource-group $env:RESOURCE_GROUP --revision "asm-1-19"


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

SaibabaBalapur-MSFT commented 8 months ago

@SompoMHeckmann Thanks for your feedback! We will investigate and update as appropriate.

schaffererin commented 8 months ago

reassign:schaffererin

schaffererin commented 8 months ago

Hi, @SompoMHeckmann! Thank you for your feedback.

I was able to successfully run az aks mesh enable --name $CLUSTER --resource-group $RESOURCE_GROUP on an existing cluster without receiving an error message. I then created another cluster and ran the az aks mesh enable --name $CLUSTER --resource-group $RESOURCE_GROUP --revision 'asm-1-19' command on it, which was also successful. As it stands, I don't see an issue with the documentation itself.

I feel like I might be missing a bit of context here, so I'd appreciate if you could provide a bit more clarity. From my understanding, your running of az aks mesh enable --name $CLUSTER --resource-group $RESOURCE_GROUP (without the revision parameter) returned a revision-related error message? Is that correct? Did you try to run az aks mesh enable --name $CLUSTER --resource-group $RESOURCE_GROUP --revision 'asm-1-19' afterward?

Thank you!

SompoMHeckmann commented 8 months ago

That is correct. I tried to install and received the error message. I had az preview installed a while back, but had it removed while attempting. Thinking that may be the cause, I reinstalled it and installed istio successfully with az aks mesh enable --name $CLUSTER --resource-group $RESOURCE_GROUP. Then I uninstalled istio and AK preview. Tried to install istio again with the same error message. I then added the revision and successfully installed. Researching the error, I came across another user having the same issue on https://serverfault.com/questions/1155856/azure-istio-revision-asm-1-17-is-not-supported-by-the-service-mesh-add-on/1155942#1155942 .

This was done from Azure Cloud Shell using powershell.

I was able to run az aks mesh disable --name $env:CLUSTER --resource-group $env:RESOURCE_GROUP and az aks mesh enable --name $env:CLUSTER --resource-group $env:RESOURCE_GROUP successfully today.

schaffererin commented 8 months ago

Thanks for the update! I will now close this GitHub issue. #please-close