azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

az aks upgrade still prompts for confirmation even when -y or --yes specified

Open david618 opened this issue 6 years ago • 5 comments

Describe the bug When we run

az aks upgrade ...
Kubernetes may be unavailable during cluster upgrades.
Are you sure you want to perform this operation? (y/n):

When we add the -y or --yes

az aks upgrade --yes ...

It gets up past this first yes; then wait at another prompt.

Then either

Since control-plane-only argument is specified, this will upgrade only the control plane to 1.15.5. Node pool will not change. Continue? (y/N):

or

Since control-plane-only argument is not specified, this will upgrade the control plane AND all nodepools to version 1.15.5. Continue? (y/N):

To Reproduce Run az aks upgrade on a cluster with the -y or --yes option.

Expected behavior If -y or --yes is provided; the upgrade should proceed without prompts.

Environment summary Install Method

  • Ubuntu: apt-get
  • Mac: brew install

Azure CLI Version: 2.0.81

Additional context None

david618 avatar Feb 11 '20 21:02 david618

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/aks-pm

ghost avatar Feb 12 '20 01:02 ghost

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/aks-pm

ghost avatar Feb 12 '20 01:02 ghost

@david618 , thanks for reporting, we are looking at this.

arrownj avatar Feb 12 '20 01:02 arrownj

Duplicate of https://github.com/Azure/azure-cli/issues/11099

tdihp avatar Feb 29 '20 02:02 tdihp

Please check this fix for the latest status: https://github.com/Azure/azure-cli/pull/13741

Jen7714 avatar May 29 '20 16:05 Jen7714