Azure-docs: Error with vmss option

Created on 28 Aug 2019  ·  12Comments  ·  Source: MicrosoftDocs/azure-docs

I'm getting this error
unrecognized arguments: --enable-vmss
Has --enable-vmss been removed from the aks-preview CLI extension? I used it in the past successfully, but no longer


Document Details

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

Pri2 container-servicsvc cxp in-progress product-question triaged

Most helpful comment

Yep you're really on the ball with this one - on 9/10 this SLB doc will be updated as well 👍

All 12 comments

@benc-uk still works for me. Can you try re-registering the preview features and try again?

Install the aks-preview extension

az extension add --name aks-preview

Update the extension to make sure you have the latest version installed

az extension update --name aks-preview

az feature register --namespace "Microsoft.ContainerService" --name "VMSSPreview"
az feature register --namespace "Microsoft.ContainerService" --name "AKSAzureStandardLoadBalancer"

I have already updated it and re-registered the features

I tried again and same problem

I am on

 $ az extension list                                                                                                   
[
  {
  "extensionType": "whl",  
  "name": "aks-preview",                                                                                                 
  "version": "0.4.11"                                                                                                  
  }
]

Got it. Are you running a local instance of CLI or the cloud shell?

Running locally

@benc-uk could you try with the Azure Cloud Shell? I used that environment and it worked yesterday.

Same issue in the Cloud Shell :(
My shell is reporting azure-cli 2.0.72

image

hmm looks like something is up with --enable-vmss.

@mlearned @sauryadas any idea on this?

@jluk might know.

Just ran it without --enable-vmss and I got a Standard SKU load balancer but also my cluster was backed with a VMSS

So maybe we've flipped to VMSS being the default ?

@benc-uk you are correct. However, we are re-enabling the --enable-vmss flag and reverting the default swap in order to give customers a notice on our release notes which are going out today. Expect the preview extension defaults to be changed on 9/10.

Sounds much like a case of "interesting" timing on my part!

Thanks for the investigation guys. I guess if --enable-vmss is coming back, there's no change to the docs needed

Yep you're really on the ball with this one - on 9/10 this SLB doc will be updated as well 👍

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mrdfuse picture mrdfuse  ·  3Comments

monteledwards picture monteledwards  ·  3Comments

DeepPuddles picture DeepPuddles  ·  3Comments

paulmarshall picture paulmarshall  ·  3Comments

Agazoth picture Agazoth  ·  3Comments