-
Notifications
You must be signed in to change notification settings - Fork 3.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
Virtualbox-iso: NVMe not exporting properly #8317
Comments
Hi @breisig! Can you please provide a complete minimal buildfile? I'm finding difficult to reproduce this. |
Same here, using Windows 10, Packer 1.5.1 and VirtualBox 6.1.2. I tried with and without |
I made a buildfile that reproduces this issue by modifying roboxes.org’s alpine install: https://gist.github.com/davecardwell/e44d5ce3dcd1395a52a33e15f8301251 Commented on the gist with the log output I see. However, I believe the issue is with VirtualBox, not Packer, and it’s falling out of this switch statement: There is no branch for |
I raised a bug with VirtualBox at https://www.virtualbox.org/ticket/19320 and will have a crack at implementing NVMe import/export and see if they’ll accept a patch for it. |
Issue in VirtualBox issue tracker still seems to be unresolved. @davecardwell maybe you can resent your message to the (dev) mailinglist so this subject gets some attention? |
@harmjanblok Unfortunately I didn’t get a reply to my ticket, patch, or email to the dev list, and have since moved onto another project. Perhaps you could follow up on the mailing list with a link to my original bug report at https://www.virtualbox.org/ticket/19320 and see if there is any interest now? |
This issue has been automatically migrated to hashicorp/packer-plugin-virtualbox#10 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-virtualbox#10. |
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. |
Overview of the Issue
I am running the latest packer 1.4.5 which now supports running NVMe support in the latest Virtualbox [I am running the latest 6.0.14]. To allow virtualbox to boot an NVMe device, you have force it in EFI mode and set the ISO interface to sata to allow ISO booting in EFI mode using the following config options.
So it looks like packer sets the NVMe device and my CentOS 8 source can install onto it but it seems when packer is shutting down the virtualbox image and and it tries to export, the following error message occurs.
This issue doesn't happen when using setting it from pcie -> back to sata mode nd putting it in bios mode.
Operating system and Environment details
The text was updated successfully, but these errors were encountered: