Azure / azure-cli

Azure Command-Line Interface
MIT License
3.93k stars 2.9k forks source link

Support Auto OS Upgrade and Update Policy arguments in Az VMSS Update #29355

Closed maulikshah23 closed 18 hours ago

maulikshah23 commented 2 weeks ago

Preconditions

Related command

az vmss create --name myScaleSet --resource-group myResourceGroup --enable-auto-os-upgrade true --upgrade-policy-mode Rolling

the above command is supported during provisioning, however the below command needs to be supported for customers enabling auto upgrade post provisioning

az vmss update --name myScaleSet --resource-group myResourceGroup --enable-auto-os-upgrade true --upgrade-policy-mode Rolling

Resource Provider

Compute Resource Provider

Description of Feature or Work Requested

The az vmss update command does not allow customers to enable Auto OS Image Upgrade with rolling upgrade policy from CLI. Customers have to use powershell or other mechanisms to complete this action.

To improve customer experience, both the az vmss create and az vmss update commands need to be supported.

Minimum API Version Required

Use Compute API version 2018-10-01 or higher

Swagger PR link / SDK link

N/A

Request Example

PUT or PATCH on /subscriptions/subscription_id/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myScaleSet?api-version=2021-03-01

Target Date

2024-07-30

PM Contact

Maulik Shah

Engineer Contact

Mike Richmond

Additional context

No response

yonzhan commented 2 weeks ago

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

yanzhudd commented 2 weeks ago

Hi @maulikshah23, can I ask if this feature is related to security?

maulikshah23 commented 2 weeks ago

Hi Yan, Yes this is related to Auto patching with is part of security wave 2.

Maulik

Get Outlook for iOShttps://aka.ms/o0ukef


From: Yan Zhu @.> Sent: Wednesday, July 10, 2024 9:42:38 PM To: Azure/azure-cli @.> Cc: Mention @.>; Author @.> Subject: Re: [Azure/azure-cli] Support Auto OS Upgrade and Update Policy arguments in Az VMSS Update (Issue #29355)

Hi @maulikshah23https://github.com/maulikshah23, can I ask if this feature is related to security?

— Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-cli/issues/29355#issuecomment-2221880481 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZ6Y2KOOSRFGIPLYUI6GXT3ZLXWJ7BFKMF2HI4TJMJ2XIZLTS6BKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLAVFOZQWY5LFVE2DCOBZGM3DQNZZURXGC3LFVFUGC427NRQWEZLMQKSXMYLMOVS2UMRTHE2TIOJTGY2DBJDOMFWWLKLIMFZV63DBMJSWZAVFOZQWY5LFVIZTONRTGQZTIOBUGSSG4YLNMWUWQYLTL5WGCYTFNSBKK5TBNR2WLKRUGM4TGOJWGEZTSONENZQW2ZNJNBQXGX3MMFRGK3FMON2WE2TFMN2F65DZOBS2YSLTON2WKQ3PNVWWK3TUUZ2G64DJMNZZNAVEOR4XAZNKOJSXA33TNF2G64TZUV3GC3DVMWUDKMJQGQYDQOBWQKSHI6LQMWSWS43TOVS2K5TBNR2WLKRSGQYDCMRVGUZDGOECUR2HS4DFUVWGCYTFNSSXMYLMOVS2SNBRHA4TGNRYG44YFJDUPFYGLJLMMFRGK3FFOZQWY5LFVIZDGOJVGQ4TGNRUGCBKI5DZOBS2K3DBMJSWZJLWMFWHKZNKGM3TMMZUGM2DQNBUQKSHI6LQMWSWYYLCMVWKK5TBNR2WLKRUGM4TGOJWGEZTSONHORZGSZ3HMVZKMY3SMVQXIZI. You are receiving this email because you were mentioned.

Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

yanzhudd commented 2 weeks ago

Target Date 2024-07-30

Hi @maulikshah23, currently we may not have more effort to develop this feature. May I ask if it would be acceptable to have the next sprint (09-03) as the ETA?

maulikshah23 commented 2 weeks ago

Hi Yan,

Is it possible to bring this in prior to 9/3?

Would an August timeframe work for your team?

Maulik


From: Yan Zhu @.> Sent: Thursday, July 11, 2024 1:23 AM To: Azure/azure-cli @.> Cc: Mention @.>; Author @.>; Comment @.***> Subject: Re: [Azure/azure-cli] Support Auto OS Upgrade and Update Policy arguments in Az VMSS Update (Issue #29355)

Target Date 2024-07-30

Hi @maulikshah23https://github.com/maulikshah23, currently we may not have more effort to develop this feature. May I ask if it would be acceptable to have the next sprint (09-03) as the ETA?

— Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-cli/issues/29355#issuecomment-2222127188 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZ6Y2KOOZSWDGJX5FJ4MKO3ZLYQE5BFKMF2HI4TJMJ2XIZLTS6BKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLAVFOZQWY5LFVE2DCOBZGM3DQNZZURXGC3LFVFUGC427NRQWEZLMQKSXMYLMOVS2UMRTHE2TIOJTGY2DBJDOMFWWLKLIMFZV63DBMJSWZAVFOZQWY5LFVIZTONRTGQZTIOBUGSSG4YLNMWUWQYLTL5WGCYTFNSBKK5TBNR2WLKRUGM4TGOJWGEZTSONENZQW2ZNJNBQXGX3MMFRGK3FMON2WE2TFMN2F65DZOBS2YSLTON2WKQ3PNVWWK3TUUZ2G64DJMNZZNAVEOR4XAZNKOJSXA33TNF2G64TZUV3GC3DVMWUDKMJQGQYDQOBWQKSHI6LQMWSWS43TOVS2K5TBNR2WLKRSGQYDCMRVGUZDGOECUR2HS4DFUVWGCYTFNSSXMYLMOVS2SNBRHA4TGNRYG44YFJDUPFYGLJLMMFRGK3FFOZQWY5LFVIZDGOJVGQ4TGNRUGCBKI5DZOBS2K3DBMJSWZJLWMFWHKZNKGM3TMMZUGM2DQNBUQKSHI6LQMWSWYYLCMVWKK5TBNR2WLKRUGM4TGOJWGEZTSONHORZGSZ3HMVZKMY3SMVQXIZI. You are receiving this email because you were mentioned.

Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

yanzhudd commented 2 weeks ago

okay, we will release this feature in this sprint (08-06)

maulikshah23 commented 2 weeks ago

Appreciate the quick response Yan.

Get Outlook for iOShttps://aka.ms/o0ukef


From: Yan Zhu @.> Sent: Thursday, July 11, 2024 9:30:41 PM To: Azure/azure-cli @.> Cc: Author @.>; Comment @.> Subject: Re: [Azure/azure-cli] Support Auto OS Upgrade and Update Policy arguments in Az VMSS Update (Issue #29355)

okay, we will release this feature in this sprint (08-06)

— Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-cli/issues/29355#issuecomment-2224312592 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZ6Y2KN3WOKNLWXQTLKGKBLZL45VFBFKMF2HI4TJMJ2XIZLTS6BKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLAVFOZQWY5LFVE2DCOBZGM3DQNZZURXGC3LFVFUGC427NRQWEZLMQKSXMYLMOVS2UMRTHE2TIOJTGY2DBJDOMFWWLKLIMFZV63DBMJSWZAVFOZQWY5LFVIZTONRTGQZTIOBUGSSG4YLNMWUWQYLTL5WGCYTFNSBKK5TBNR2WLKRUGM4TGOJWGEZTSONENZQW2ZNJNBQXGX3MMFRGK3FMON2WE2TFMN2F65DZOBS2YSLTON2WKQ3PNVWWK3TUUZ2G64DJMNZZNAVEOR4XAZNKOJSXA33TNF2G64TZUV3GC3DVMWUDKMJQGQYDQOBWQKSHI6LQMWSWS43TOVS2K5TBNR2WLKRSGQYDCMRVGUZDGOECUR2HS4DFUVWGCYTFNSSXMYLMOVS2SNBRHA4TGNRYG44YFJDUPFYGLJLMMFRGK3FFOZQWY5LFVIZDGOJVGQ4TGNRUGCBKI5DZOBS2K3DBMJSWZJLWMFWHKZNKGM3TMMZUGM2DQNBUQKSHI6LQMWSWYYLCMVWKK5TBNR2WLKRUGM4TGOJWGEZTSONHORZGSZ3HMVZKMY3SMVQXIZI. You are receiving this email because you authored the thread.

Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.