-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Trusted Launch - DiskRP CLI #17599
Comments
@khyewei I provide two solutions. |
(1) --security-type, enum, value: TrustedLaunch cc: @anshulsolanki21 |
@khyewei I got an error. Could you have a look? Thanks!
|
SecurityType can be specified only with TVM capable image (Gen2 image with TVM tags) . The image used is Gen1 and validation fails indicating SecurityType as invalid.
Retrieved VM image: {
"properties": {
"osDiskImage": {
"operatingSystem": "Linux",
"sizeInBytes": 32213303808,
"sizeinGB": 31
},
"dataDiskImages": [],
"replicaType": "Unmanaged",
"hyperVGeneration": "V1",
"disallowed": {
"vmDiskType": "None"
}
},
"location": "westus",
"name": "18.04.202002180",
"id": "/Subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202002180"
}
From: Khye Wei ***@***.***>
Sent: Wednesday, April 21, 2021 1:45 AM
To: Azure/azure-cli ***@***.***>; Azure/azure-cli ***@***.***>; Anshul Solanki ***@***.***>; Abhishek Verma (AZURE) ***@***.***>
Subject: RE: [Azure/azure-cli] Trusted Launch - DiskRP CLI (#17599)
+ @***@***.***>, @***@***.***>
Anshul, could you pls take a look?
Khye
From: Feiyue Yu ***@***.******@***.***>>
Sent: Monday, April 19, 2021 10:46 PM
To: Azure/azure-cli ***@***.******@***.***>>
Cc: Khye Wei ***@***.******@***.***>>; Mention ***@***.******@***.***>>
Subject: Re: [Azure/azure-cli] Trusted Launch - DiskRP CLI (#17599)
@khyewei<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkhyewei&data=04%7C01%7CAnshul.Solanki%40microsoft.com%7Cbb6e6c74977148b6105e08d90438fd0f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637545465085703549%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ZveRsa2EV0awmNEtu6g1hJwwCXMROw7DbM4cTkO6tDI%3D&reserved=0> I got an error. Could you have a look? Thanks!
azure.core.pipeline.policies._universal: Request URL: 'https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/fy/providers/Microsoft.Compute/disks/d5?api-version=2020-12-01'
azure.core.pipeline.policies._universal: Request method: 'PUT'
azure.core.pipeline.policies._universal: Request body:
azure.core.pipeline.policies._universal: {"location": "westus", "tags": {}, "sku": {"name": "Premium_LRS"}, "properties": {"creationData": {"createOption": "FromImage", "imageReference": {"id": "/Subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202002180"}}, "securityProfile": {"securityType": "TrustedLaunch"}}}
azure.core.pipeline.policies._universal: Response content:
azure.core.pipeline.policies._universal: {
"error": {
"code": "InvalidParameter",
"message": "The value of parameter securityType is invalid.",
"target": "securityType"
}
}
-
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-cli%2Fissues%2F17599%23issuecomment-822990628&data=04%7C01%7CAnshul.Solanki%40microsoft.com%7Cbb6e6c74977148b6105e08d90438fd0f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637545465085703549%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=OhEEDmNjuq0tcOfdDtQi9LOvGl2%2FsVvc54SnYAU4YGI%3D&reserved=0>, or unsubscribe<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAPDSMKNZA3T6GTVLZGZHXJLTJUIKFANCNFSM42RSYWOA&data=04%7C01%7CAnshul.Solanki%40microsoft.com%7Cbb6e6c74977148b6105e08d90438fd0f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637545465085713544%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Is%2FVOW9EO0jd%2FSM0bDnF4QWcnLDfBg5klnx5jUq6uJ8%3D&reserved=0>.
|
Here's the list of Trusted Launch supported images:
Preview: Trusted launch for Azure VMs - Azure Virtual Machines | Microsoft Docs<https://docs.microsoft.com/en-us/azure/virtual-machines/trusted-launch#public-preview-limitations>
Khye
From: Anshul Solanki ***@***.***>
Sent: Tuesday, April 20, 2021 1:48 PM
To: Khye Wei ***@***.***>; Azure/azure-cli ***@***.***>; Azure/azure-cli ***@***.***>; Abhishek Verma (AZURE) ***@***.***>
Subject: RE: [Azure/azure-cli] Trusted Launch - DiskRP CLI (#17599)
SecurityType can be specified only with TVM capable image (Gen2 image with TVM tags) . The image used is Gen1 and validation fails indicating SecurityType as invalid.
Retrieved VM image: {
"properties": {
"osDiskImage": {
"operatingSystem": "Linux",
"sizeInBytes": 32213303808,
"sizeinGB": 31
},
"dataDiskImages": [],
"replicaType": "Unmanaged",
"hyperVGeneration": "V1",
"disallowed": {
"vmDiskType": "None"
}
},
"location": "westus",
"name": "18.04.202002180",
"id": "/Subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202002180"
}
From: Khye Wei ***@***.******@***.***>>
Sent: Wednesday, April 21, 2021 1:45 AM
To: Azure/azure-cli ***@***.******@***.***>>; Azure/azure-cli ***@***.******@***.***>>; Anshul Solanki ***@***.******@***.***>>; Abhishek Verma (AZURE) ***@***.******@***.***>>
Subject: RE: [Azure/azure-cli] Trusted Launch - DiskRP CLI (#17599)
+ @***@***.***>, @***@***.***>
Anshul, could you pls take a look?
Khye
From: Feiyue Yu ***@***.******@***.***>>
Sent: Monday, April 19, 2021 10:46 PM
To: Azure/azure-cli ***@***.******@***.***>>
Cc: Khye Wei ***@***.******@***.***>>; Mention ***@***.******@***.***>>
Subject: Re: [Azure/azure-cli] Trusted Launch - DiskRP CLI (#17599)
@khyewei<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkhyewei&data=04%7C01%7CKhye.Wei%40microsoft.com%7Cfdcde954815d447d067908d9043d8a38%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637545484647408051%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=no6OY3m2jY51zcm%2FCoYyD2VbMRS4FVxV1Q65SHJk%2FcE%3D&reserved=0> I got an error. Could you have a look? Thanks!
azure.core.pipeline.policies._universal: Request URL: 'https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/fy/providers/Microsoft.Compute/disks/d5?api-version=2020-12-01'
azure.core.pipeline.policies._universal: Request method: 'PUT'
azure.core.pipeline.policies._universal: Request body:
azure.core.pipeline.policies._universal: {"location": "westus", "tags": {}, "sku": {"name": "Premium_LRS"}, "properties": {"creationData": {"createOption": "FromImage", "imageReference": {"id": "/Subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202002180"}}, "securityProfile": {"securityType": "TrustedLaunch"}}}
azure.core.pipeline.policies._universal: Response content:
azure.core.pipeline.policies._universal: {
"error": {
"code": "InvalidParameter",
"message": "The value of parameter securityType is invalid.",
"target": "securityType"
}
}
-
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-cli%2Fissues%2F17599%23issuecomment-822990628&data=04%7C01%7CKhye.Wei%40microsoft.com%7Cfdcde954815d447d067908d9043d8a38%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637545484647408051%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=qE4O8OWwDOog3u8OKcOZSD50zyZYG0fNyDpQ40eAzbI%3D&reserved=0>, or unsubscribe<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAPDSMKNZA3T6GTVLZGZHXJLTJUIKFANCNFSM42RSYWOA&data=04%7C01%7CKhye.Wei%40microsoft.com%7Cfdcde954815d447d067908d9043d8a38%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637545484647418048%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=kFGQ%2FpviqRZ5ZwhDyO%2BCWATO4k2xC3q49qCHcLLO4Uc%3D&reserved=0>.
|
Thank you @khyewei. I got same error. I used Ubuntu 18.04 latest version and set Hyper V generation to V2.
|
Hi, The new image again seems incompatible for TVM disk creation. It is Gen1 image and does not contain TVM tags.
Also I think TVM is not enabled in WestUS region, can we try creating disk in SouthCentralUS?
Retrieved VM image: {
"properties": {
"osDiskImage": {
"operatingSystem": "Linux",
"sizeInBytes": 32213303808,
"sizeinGB": 31
},
"dataDiskImages": [],
"replicaType": "Unmanaged",
"hyperVGeneration": "V1",
"disallowed": {
"vmDiskType": "None"
}
},
"location": "westus",
"name": "18.04.202104150",
"id": "/Subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202104150"
}
Thanks,
Anshul
From: Khye Wei ***@***.***>
Sent: Wednesday, April 21, 2021 9:06 AM
To: Azure/azure-cli ***@***.***>; Azure/azure-cli ***@***.***>; Anshul Solanki ***@***.***>
Subject: RE: [Azure/azure-cli] Trusted Launch - DiskRP CLI (#17599)
+ @***@***.***>
From: Feiyue Yu ***@***.******@***.***>>
Sent: Tuesday, April 20, 2021 8:30 PM
To: Azure/azure-cli ***@***.******@***.***>>
Cc: Khye Wei ***@***.******@***.***>>; Mention ***@***.******@***.***>>
Subject: Re: [Azure/azure-cli] Trusted Launch - DiskRP CLI (#17599)
Thank you @khyewei<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkhyewei&data=04%7C01%7CAnshul.Solanki%40microsoft.com%7Ca9c2131724cf424cba5208d90476a325%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637545729880610021%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=19j9KvpvL3WQBg5PL65w9WpZr%2BsZSbwarVzh81JQZH4%3D&reserved=0>. I got same error. I used Ubuntu 18.04 latest version and set Hyper V generation to V2.
azure.core.pipeline.policies._universal: Request body:
azure.core.pipeline.policies._universal: {"location": "westus", "tags": {}, "sku": {"name": "Premium_LRS"}, "properties": {"hyperVGeneration": "V2", "creationData": {"createOption": "FromImage", "imageReference": {"id": "/Subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202104150"}}, "securityProfile": {"securityType": "TrustedLaunch"}}}
-
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-cli%2Fissues%2F17599%23issuecomment-823751048&data=04%7C01%7CAnshul.Solanki%40microsoft.com%7Ca9c2131724cf424cba5208d90476a325%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637545729880610021%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=MRtubgEAqXj04qEa%2F%2BgehrvviKePs3iP18QSgEF6hqY%3D&reserved=0>, or unsubscribe<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAPDSMKNEW3L5UM7QYECZ3ETTJZBEJANCNFSM42RSYWOA&data=04%7C01%7CAnshul.Solanki%40microsoft.com%7Ca9c2131724cf424cba5208d90476a325%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637545729880620019%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=I5glLx6M3H6L3F7HvD4l%2BkAittojFF3Xk4xZOTfsnX4%3D&reserved=0>.
|
@***@***.***>, could you pls try:
https://management.azure.com/subscriptions/{{subscriptionId}}/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18_04-lts-gen2/versions/18.04.202004290?api-version=2020-12-01<https://management.azure.com/subscriptions/%7b%7bsubscriptionId%7d%7d/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18_04-lts-gen2/versions/18.04.202004290?api-version=2020-12-01>
Khye
From: Anshul Solanki ***@***.***>
Sent: Tuesday, April 20, 2021 10:42 PM
To: Khye Wei ***@***.***>; Azure/azure-cli ***@***.***>; Azure/azure-cli ***@***.***>
Subject: RE: [Azure/azure-cli] Trusted Launch - DiskRP CLI (#17599)
Hi, The new image again seems incompatible for TVM disk creation. It is Gen1 image and does not contain TVM tags.
Also I think TVM is not enabled in WestUS region, can we try creating disk in SouthCentralUS?
Retrieved VM image: {
"properties": {
"osDiskImage": {
"operatingSystem": "Linux",
"sizeInBytes": 32213303808,
"sizeinGB": 31
},
"dataDiskImages": [],
"replicaType": "Unmanaged",
"hyperVGeneration": "V1",
"disallowed": {
"vmDiskType": "None"
}
},
"location": "westus",
"name": "18.04.202104150",
"id": "/Subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202104150"
}
Thanks,
Anshul
From: Khye Wei ***@***.******@***.***>>
Sent: Wednesday, April 21, 2021 9:06 AM
To: Azure/azure-cli ***@***.******@***.***>>; Azure/azure-cli ***@***.******@***.***>>; Anshul Solanki ***@***.******@***.***>>
Subject: RE: [Azure/azure-cli] Trusted Launch - DiskRP CLI (#17599)
+ @***@***.***>
From: Feiyue Yu ***@***.******@***.***>>
Sent: Tuesday, April 20, 2021 8:30 PM
To: Azure/azure-cli ***@***.******@***.***>>
Cc: Khye Wei ***@***.******@***.***>>; Mention ***@***.******@***.***>>
Subject: Re: [Azure/azure-cli] Trusted Launch - DiskRP CLI (#17599)
Thank you @khyewei<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkhyewei&data=04%7C01%7CKhye.Wei%40microsoft.com%7Cb9d76cb3999e4eef36a808d904882f18%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637545805243133646%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=xqMxJqxgwIVpUdziTLcv72twgVzSbjnOhkdVgLBTiBc%3D&reserved=0>. I got same error. I used Ubuntu 18.04 latest version and set Hyper V generation to V2.
azure.core.pipeline.policies._universal: Request body:
azure.core.pipeline.policies._universal: {"location": "westus", "tags": {}, "sku": {"name": "Premium_LRS"}, "properties": {"hyperVGeneration": "V2", "creationData": {"createOption": "FromImage", "imageReference": {"id": "/Subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202104150"}}, "securityProfile": {"securityType": "TrustedLaunch"}}}
-
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-cli%2Fissues%2F17599%23issuecomment-823751048&data=04%7C01%7CKhye.Wei%40microsoft.com%7Cb9d76cb3999e4eef36a808d904882f18%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637545805243133646%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=dDJP1X%2FnJeFm79JrPZvppP26C%2FOR%2BwbzeCO8%2FRHQzgI%3D&reserved=0>, or unsubscribe<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAPDSMKNEW3L5UM7QYECZ3ETTJZBEJANCNFSM42RSYWOA&data=04%7C01%7CKhye.Wei%40microsoft.com%7Cb9d76cb3999e4eef36a808d904882f18%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637545805243143640%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=L%2FYTukwyb47ZAl1C2WVqIOrT2JnvX55YZPxEM3w0KR4%3D&reserved=0>.
|
@***@***.***>, did it work for you?
Khye
From: Khye Wei
Sent: Tuesday, April 20, 2021 10:46 PM
To: Anshul Solanki ***@***.***>; Azure/azure-cli ***@***.***>; Azure/azure-cli ***@***.***>; Feiyue Yu ***@***.***>
Subject: RE: [Azure/azure-cli] Trusted Launch - DiskRP CLI (#17599)
@***@***.***>, could you pls try:
https://management.azure.com/subscriptions/{{subscriptionId}}/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18_04-lts-gen2/versions/18.04.202004290?api-version=2020-12-01<https://management.azure.com/subscriptions/%7b%7bsubscriptionId%7d%7d/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18_04-lts-gen2/versions/18.04.202004290?api-version=2020-12-01>
Khye
From: Anshul Solanki ***@***.******@***.***>>
Sent: Tuesday, April 20, 2021 10:42 PM
To: Khye Wei ***@***.******@***.***>>; Azure/azure-cli ***@***.******@***.***>>; Azure/azure-cli ***@***.******@***.***>>
Subject: RE: [Azure/azure-cli] Trusted Launch - DiskRP CLI (#17599)
Hi, The new image again seems incompatible for TVM disk creation. It is Gen1 image and does not contain TVM tags.
Also I think TVM is not enabled in WestUS region, can we try creating disk in SouthCentralUS?
Retrieved VM image: {
"properties": {
"osDiskImage": {
"operatingSystem": "Linux",
"sizeInBytes": 32213303808,
"sizeinGB": 31
},
"dataDiskImages": [],
"replicaType": "Unmanaged",
"hyperVGeneration": "V1",
"disallowed": {
"vmDiskType": "None"
}
},
"location": "westus",
"name": "18.04.202104150",
"id": "/Subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202104150"
}
Thanks,
Anshul
From: Khye Wei ***@***.******@***.***>>
Sent: Wednesday, April 21, 2021 9:06 AM
To: Azure/azure-cli ***@***.******@***.***>>; Azure/azure-cli ***@***.******@***.***>>; Anshul Solanki ***@***.******@***.***>>
Subject: RE: [Azure/azure-cli] Trusted Launch - DiskRP CLI (#17599)
+ @***@***.***>
From: Feiyue Yu ***@***.******@***.***>>
Sent: Tuesday, April 20, 2021 8:30 PM
To: Azure/azure-cli ***@***.******@***.***>>
Cc: Khye Wei ***@***.******@***.***>>; Mention ***@***.******@***.***>>
Subject: Re: [Azure/azure-cli] Trusted Launch - DiskRP CLI (#17599)
Thank you @khyewei<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkhyewei&data=04%7C01%7CKhye.Wei%40microsoft.com%7Cb9d76cb3999e4eef36a808d904882f18%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637545805243133646%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=xqMxJqxgwIVpUdziTLcv72twgVzSbjnOhkdVgLBTiBc%3D&reserved=0>. I got same error. I used Ubuntu 18.04 latest version and set Hyper V generation to V2.
azure.core.pipeline.policies._universal: Request body:
azure.core.pipeline.policies._universal: {"location": "westus", "tags": {}, "sku": {"name": "Premium_LRS"}, "properties": {"hyperVGeneration": "V2", "creationData": {"createOption": "FromImage", "imageReference": {"id": "/Subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202104150"}}, "securityProfile": {"securityType": "TrustedLaunch"}}}
-
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-cli%2Fissues%2F17599%23issuecomment-823751048&data=04%7C01%7CKhye.Wei%40microsoft.com%7Cb9d76cb3999e4eef36a808d904882f18%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637545805243133646%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=dDJP1X%2FnJeFm79JrPZvppP26C%2FOR%2BwbzeCO8%2FRHQzgI%3D&reserved=0>, or unsubscribe<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAPDSMKNEW3L5UM7QYECZ3ETTJZBEJANCNFSM42RSYWOA&data=04%7C01%7CKhye.Wei%40microsoft.com%7Cb9d76cb3999e4eef36a808d904882f18%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637545805243143640%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=L%2FYTukwyb47ZAl1C2WVqIOrT2JnvX55YZPxEM3w0KR4%3D&reserved=0>.
|
@khye ***@***.***> Yes, thank you very much!
…________________________________
From: Khye Wei ***@***.***>
Sent: Thursday, April 22, 2021 12:06 PM
To: Anshul Solanki ***@***.***>; Azure/azure-cli ***@***.***>; Azure/azure-cli ***@***.***>; Feiyue Yu ***@***.***>
Subject: RE: [Azure/azure-cli] Trusted Launch - DiskRP CLI (#17599)
@***@***.***>, did it work for you?
Khye
From: Khye Wei
Sent: Tuesday, April 20, 2021 10:46 PM
To: Anshul Solanki ***@***.***>; Azure/azure-cli ***@***.***>; Azure/azure-cli ***@***.***>; Feiyue Yu ***@***.***>
Subject: RE: [Azure/azure-cli] Trusted Launch - DiskRP CLI (#17599)
@***@***.***>, could you pls try:
https://management.azure.com/subscriptions/{{subscriptionId}}/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18_04-lts-gen2/versions/18.04.202004290?api-version=2020-12-01<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmanagement.azure.com%2Fsubscriptions%2F%257b%257bsubscriptionId%257d%257d%2Fproviders%2FMicrosoft.Compute%2Flocations%2Fwestus%2Fpublishers%2FCanonical%2Fartifacttypes%2Fvmimage%2Foffers%2FUbuntuServer%2Fskus%2F18_04-lts-gen2%2Fversions%2F18.04.202004290%3Fapi-version%3D2020-12-01&data=04%7C01%7CFeiyue.Yu%40microsoft.com%7Ca7df2fb83c6e4c7f734d08d90543fa10%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637546611796345371%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=6GXjd6HOHzCOw5F2LH0ISN13zYZcBxDanaRdE50e2i8%3D&reserved=0>
Khye
From: Anshul Solanki ***@***.******@***.***>>
Sent: Tuesday, April 20, 2021 10:42 PM
To: Khye Wei ***@***.******@***.***>>; Azure/azure-cli ***@***.******@***.***>>; Azure/azure-cli ***@***.******@***.***>>
Subject: RE: [Azure/azure-cli] Trusted Launch - DiskRP CLI (#17599)
Hi, The new image again seems incompatible for TVM disk creation. It is Gen1 image and does not contain TVM tags.
Also I think TVM is not enabled in WestUS region, can we try creating disk in SouthCentralUS?
Retrieved VM image: {
"properties": {
"osDiskImage": {
"operatingSystem": "Linux",
"sizeInBytes": 32213303808,
"sizeinGB": 31
},
"dataDiskImages": [],
"replicaType": "Unmanaged",
"hyperVGeneration": "V1",
"disallowed": {
"vmDiskType": "None"
}
},
"location": "westus",
"name": "18.04.202104150",
"id": "/Subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202104150"
}
Thanks,
Anshul
From: Khye Wei ***@***.******@***.***>>
Sent: Wednesday, April 21, 2021 9:06 AM
To: Azure/azure-cli ***@***.******@***.***>>; Azure/azure-cli ***@***.******@***.***>>; Anshul Solanki ***@***.******@***.***>>
Subject: RE: [Azure/azure-cli] Trusted Launch - DiskRP CLI (#17599)
+ @***@***.***>
From: Feiyue Yu ***@***.******@***.***>>
Sent: Tuesday, April 20, 2021 8:30 PM
To: Azure/azure-cli ***@***.******@***.***>>
Cc: Khye Wei ***@***.******@***.***>>; Mention ***@***.******@***.***>>
Subject: Re: [Azure/azure-cli] Trusted Launch - DiskRP CLI (#17599)
Thank you @khyewei<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkhyewei&data=04%7C01%7CFeiyue.Yu%40microsoft.com%7Ca7df2fb83c6e4c7f734d08d90543fa10%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637546611796350351%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=HUTovguE%2FbAPW8K%2BwccsT6RFMkNHQyZvJ2ax8NSDy90%3D&reserved=0>. I got same error. I used Ubuntu 18.04 latest version and set Hyper V generation to V2.
azure.core.pipeline.policies._universal: Request body:
azure.core.pipeline.policies._universal: {"location": "westus", "tags": {}, "sku": {"name": "Premium_LRS"}, "properties": {"hyperVGeneration": "V2", "creationData": {"createOption": "FromImage", "imageReference": {"id": "/Subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202104150"}}, "securityProfile": {"securityType": "TrustedLaunch"}}}
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-cli%2Fissues%2F17599%23issuecomment-823751048&data=04%7C01%7CFeiyue.Yu%40microsoft.com%7Ca7df2fb83c6e4c7f734d08d90543fa10%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637546611796355331%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=zUyVC21P4YqPuykWMOywq7ElbMslblvW4tvljnb5oiw%3D&reserved=0>, or unsubscribe<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAPDSMKNEW3L5UM7QYECZ3ETTJZBEJANCNFSM42RSYWOA&data=04%7C01%7CFeiyue.Yu%40microsoft.com%7Ca7df2fb83c6e4c7f734d08d90543fa10%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637546611796360309%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=P6tSjM475W9ZoE8lLh%2F%2BZUYfko1%2B%2BFCyjN6SStMm3Js%3D&reserved=0>.
|
Resource Provider
Microsoft.compute\disk
Description of Feature or Work Requested
Release DiskRP CLI for Trusted Launch public preview.
// more details on SecurityType
Minimum API Version Required
2020-12
Swagger Link
Azure/azure-rest-api-specs#12796
Target Date
ASAP
The text was updated successfully, but these errors were encountered: