You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Azure-arm.autogenerated_1: ERROR: -> OperationNotAllowed : Creation of managed images are not supported for virtual machine with TrustedLaunch security type."
#13189
Closed
mycheryhr opened this issue
Oct 18, 2024
· 2 comments
Base the Ubuntu 22.04 image on Azure galleries. I need to construct an application image using it as the foundation. The security type is Trusted Launch. The build process proceeds normally, however, an error arises during the push: Creation of managed images are not supported for virtual machine with TrustedLaunch security type.
It appears that Azure does not support creating an image with the security type set to TrustedLaunch, but it does support sharing it to a gallery as a VM image version. How can I accomplish this?
Overview of the Issue
A paragraph or two about the issue you're experiencing.
Reproduction Steps
Steps to reproduce this issue
Packer version
From Packer v1.11.2packer-plugin-azure_v2.0.5_x5.0_linux_amd64
Linux 5413070d-cf77-4f36-4f58-c9030abcbd6b 5.15.0-1073-azure #82~20.04.1-Ubuntu SMP Tue Sep 3 12:27:43 UTC 2024 x86_64 Linux
Log Fragments and crash.log files
==> azure-arm.autogenerated_1: performing CreateOrUpdate: images.ImagesClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: autorest/azure: Service returned an error. Status= Code="OperationNotAllowed" Message="Creation of managed images are not supported for virtual machine with TrustedLaunch security type."
The text was updated successfully, but these errors were encountered:
mycheryhr
changed the title
zure-arm.autogenerated_1: ERROR: -> OperationNotAllowed : Creation of managed images are not supported for virtual machine with TrustedLaunch security type."
Azure-arm.autogenerated_1: ERROR: -> OperationNotAllowed : Creation of managed images are not supported for virtual machine with TrustedLaunch security type."
Oct 18, 2024
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Community Note
Creation of managed images are not supported for virtual machine with TrustedLaunch security type.
Overview of the Issue
A paragraph or two about the issue you're experiencing.
Reproduction Steps
Steps to reproduce this issue
Packer version
From
Packer v1.11.2
packer-plugin-azure_v2.0.5_x5.0_linux_amd64
Simplified Packer Template
Operating system and Environment details
Linux 5413070d-cf77-4f36-4f58-c9030abcbd6b 5.15.0-1073-azure #82~20.04.1-Ubuntu SMP Tue Sep 3 12:27:43 UTC 2024 x86_64 Linux
Log Fragments and crash.log files
==> azure-arm.autogenerated_1: performing CreateOrUpdate: images.ImagesClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: autorest/azure: Service returned an error. Status= Code="OperationNotAllowed" Message="Creation of managed images are not supported for virtual machine with TrustedLaunch security type."
The text was updated successfully, but these errors were encountered: