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

Unable to set upgrade policy to automatic during VMSS creation #29191

Closed
mimckitt opened this issue Jun 17, 2024 · 1 comment · Fixed by #29234
Closed

Unable to set upgrade policy to automatic during VMSS creation #29191

mimckitt opened this issue Jun 17, 2024 · 1 comment · Fixed by #29234
Assignees
Labels
Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team Compute az vm/vmss/image/disk/snapshot question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone

Comments

@mimckitt
Copy link
Contributor

mimckitt commented Jun 17, 2024

Describe the bug

creating a new scale set using the following command is accepted but the upgrade policy mode is not actually set to automatic. It remains set to manual.

az vmss create
--resource-group myResourceGroup
--name myScaleSet
--image Ubuntu2204
--orchestration-mode Flexible
--upgrade-policy-mode Automatic
--admin-username azureuser
--generate-ssh-keys

Related command

az vmss create

Errors

No errors, upgrade policy is set to manual instead of automatic as it should be.

Issue script & Debug output

Logs are very long. I can send offline if needed.

Expected behavior

The upgrade policy of the scale set should be set to Automatic.

Environment Summary

Using Azure Cloud Shell

Additional context

Note, updating the upgrade policy to automatic works fine.

az vmss update
--name myScaleSet
--resource-group myResourceGroup
--set upgradePolicy.mode=Automatic

Seeing similar issue with create VMSS for PowerShell: Azure/azure-powershell#25301

@mimckitt mimckitt added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Jun 17, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Compute az vm/vmss/image/disk/snapshot label Jun 17, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Auto-Assign Auto assign by bot label Jun 17, 2024
@yonzhan
Copy link
Collaborator

yonzhan commented Jun 17, 2024

Thank you for opening this issue, we will look into it.

@microsoft-github-policy-service microsoft-github-policy-service bot added Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Jun 17, 2024
@yonzhan yonzhan added this to the Backlog milestone Jun 17, 2024
@yonzhan yonzhan removed the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team Compute az vm/vmss/image/disk/snapshot question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
5 participants