Comments (5)
Hi @AjKundnani
Thanks for your confirmation! Sure, I'll add the warning message when rolling back to the Standard.
However, I cannot reproduce the second issue you mentioned:
Also, following command did not work while going from Gen1 OS image to Gen2 OS image with Trusted launch.
Could you please help to provide the az vmss create
command you used to create the resource clivmss01
?
BTW, I think this issue may not be related to this feature. I'll merge the PR firstly and then open another PR to fix this issue.
from azure-cli.
Hi @AjKundnani Thanks for your confirmation! Sure, I'll add the warning message when rolling back to the Standard.
However, I cannot reproduce the second issue you mentioned:
Also, following command did not work while going from Gen1 OS image to Gen2 OS image with Trusted launch.
Could you please help to provide the
az vmss create
command you used to create the resourceclivmss01
? BTW, I think this issue may not be related to this feature. I'll merge the PR firstly and then open another PR to fix this issue.
Created VMSS through portal. But did multiple roll backs and roll forwards which could've caused this issue.
Attempted with new Gen1 VMSS and upgraded to Trusted launch successfully using same command.
az vmss update -g cli-vmss-rg -n clivmss02 --security-type TrustedLaunch --set virtualMachineProfile.storageProfile.imageReference.sku=2022-datacenter-azure-edition
from azure-cli.
Thank you for opening this issue, we will look into it.
from azure-cli.
Hi @AjKundnani
could you please help to use this private package to verify if the changes meet your expectation?
from azure-cli.
Hi @AjKundnani could you please help to use this private package to verify if the changes meet your expectation?
@yanzhudd , request to add following warning message when user is rolling back from TrustedLaunch to Standard security type.
Turning off Trusted launch disables foundational security for your VMs. For more information, visit https://aka.ms/TrustedLaunch
Also, following command did not work while going from Gen1 OS image to Gen2 OS image with Trusted launch.
az vmss update -g cli-vmss-rg -n clivmss01 --security-type TrustedLaunch --set virtualMachineProfile.storageProfile.imageReference.sku=2022-datacenter-azure-edition
Trusted Launch security type is supported on Hyper-V Generation 2 OS Images. To know more please visit https://learn.microsoft.com/en-us/azure/virtual-machines/trusted-launch
(InvalidParameter) Disk Controller Type is only supported for VMs that are created from a Generation 2 Image or OS disk and VM Size that supports the same, refer to https://docs.microsoft.com/en-us/azure/virtual-machines/generation-2#creating-a-generation-2-vm for more details about creating Generation 2 VM.
Code: InvalidParameter
Message: Disk Controller Type is only supported for VMs that are created from a Generation 2 Image or OS disk and VM Size that supports the same, refer to https://docs.microsoft.com/en-us/azure/virtual-machines/generation-2#creating-a-generation-2-vm for more details about creating Generation 2 VM.
Target: storageProfile.diskControllerType
Validated following commands succesfully:
- az vmss update -g cli-vmss-rg -n clivmss01 --security-type Standard --set virtualMachineProfile.storageProfile.imageReference.sku=2019-datacenter
- az vmss update -g cli-vmss-rg -n clivmss01 --security-type Standard
- az vmss update -g cli-vmss-rg -n clivmss01 --security-type TrustedLaunch
from azure-cli.
Related Issues (20)
- Add document for disabling token cache encryption HOT 3
- `list-metadata` not displaying the right information HOT 3
- az consumption usage HOT 3
- multiple account HOT 3
- Revoke-AzureADUserAllRefreshToken HOT 2
- az deployment group create error message was insufficient. HOT 4
- Contant timeout deploying windows VM's HOT 4
- az cosmosdb sql container update - set TTL to OFF HOT 1
- az vm creation fails whilst using "--patch-mode" HOT 1
- Can not create disk with ConfidentialVM_NonPersistedTPM securityType HOT 1
- Add protocol parameter to "application-gateway http-listener" and "application-gateway listener" Commands HOT 4
- az aks update fails due to ERROR: (LinkedInvalidPropertyId) Property id '' at path 'properties.addonProfiles.omsagent.config.LogAnalyticsWorkspaceResourceID' is invalid. HOT 6
- az storage account create command does not find subscription from login HOT 3
- az login for service principal with certificate is failing HOT 2
- Azure Dogfood Subscription Request HOT 2
- az webapp list delivers only 58 results HOT 2
- Customer feedback | az network bastion | Remove the redundant AAD login section HOT 2
- Since the new Azure CLI login experience was added, `az ad signed-in-user show` no longer works HOT 3
- az containerapp update: Registering resource provider Microsoft.App ... The command failed with an unexpected error. HOT 2
- az login doesn't work anymore. Windows Terminal is getting hung HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-cli.