Make ubuntu cloud images work with zvols#541
Open
dfberlin wants to merge 1 commit intochurchers:masterfrom
Open
Make ubuntu cloud images work with zvols#541dfberlin wants to merge 1 commit intochurchers:masterfrom
dfberlin wants to merge 1 commit intochurchers:masterfrom
Conversation
…a device busy error previously. core::create_cloud_init(): Canged device type to virtio-blk to enable Ubuntu cloud images.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Version 1.5 as in the FreeBSD packages fails to import a Ubuntu 22.04 Cloud image - and most likely others.
The following command lead to an error by qemu-img dd -> device busy.
The changes I made repeat the qemu-img command for up to 30 times with a 1 second sleep to allow the zvol to come up and be actually ready to be written on.
Additionally the hard coded disk type in core::create_cloud_init has been changed to virtio-blk, since at least the Ubuntu cloud images require this to have cloud init working.
This is my first ever pull request - so in case there is something wrong, just let me know ;)
Greetings,
Dirk