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

"Blob based disk to VM with managed disks is not supported" #8925

Closed
ampc opened this issue Mar 20, 2020 · 3 comments
Closed

"Blob based disk to VM with managed disks is not supported" #8925

ampc opened this issue Mar 20, 2020 · 3 comments

Comments

@ampc
Copy link

ampc commented Mar 20, 2020

Overview of the Issue

Hello, I'm trying to build a image with additional disks but packer returns an error about blob based disk to VM with managed disks is not supported.

Reproduction Steps

Create a managed image with additional disks

Packer version

1.5.4

Simplified Packer Buildfile

https://gist.github.com/ampc/28f6d91a9409fb1d2808f5f7ea7ff654#file-packer-json

Operating system and Environment details

Ubuntu 16.04

Log Fragments and crash.log files

https://gist.github.com/ampc/28f6d91a9409fb1d2808f5f7ea7ff654#file-packer-log

@ampc ampc added the bug label Mar 20, 2020
@bencebano
Copy link

Hi All,

I have the exact same issue, when trying to add a datadisk to our platinum windows image.
We are using packer 1.4.5 and provisioner-windows-update 0.8.0

"os_disk_size_gb": "127", "disk_additional_size": [ 32 ], "managed_image_storage_account_type": "Premium_LRS",

It does through the same error:

1585537062,,ui,say,==> azure-arm: ERROR: -> DeploymentFailed : At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.\n==> azure-arm: ERROR: -> Conflict\n==> azure-arm: ERROR: -> OperationNotAllowed : Addition of a blob based disk to VM with managed disks is not supported.\n==> azure-arm: 1

As per the documentation additional disks should use the same type as "managed_image_storage_account_type", however it seems this is not what is happening.

I have also found this article, how this should be done with arm templates.

Do we have information regarding this problem on packer side?

Many Thanks,
Bence

@vijayrajah
Copy link
Contributor

vijayrajah commented Apr 3, 2020

@bencebano .. There is a PR open for this.. 8192

@ghost
Copy link

ghost commented Apr 30, 2021

This issue has been automatically migrated to hashicorp/packer-plugin-azure#30 because it looks like an issue with that plugin. If you believe this is not an issue with the plugin, please reply to hashicorp/packer-plugin-azure#30.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants