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

fix creating a RAW vm from a COW template #466

Merged
merged 3 commits into from
Apr 11, 2022
Merged

Conversation

olirdx
Copy link
Contributor

@olirdx olirdx commented Mar 31, 2022

On a FC storage domain, creating a RAW vm (disk_format: "raw") from a COW template with vm_infra role gives as result : "Cannot add VM. Disk configuration (RAW Sparse backup-None) is incompatible with the storage domain type."
I could be wrong on diagnostic but this seems to be caused by the unset "sparse" option. This commit fix it on our infrastructure.

On a FC storage domain, creating a RAW vm (disk_format: "raw") from a COW template with vm_infra role gives as result : "Cannot add VM. Disk configuration (RAW Sparse backup-None) is incompatible with the storage domain type." 
I could be wrong on diagnostic but this seems to be caused by the unset "sparse" option. This commit fix it on our infrastructure.
@olirdx olirdx requested a review from mnecas as a code owner March 31, 2022 13:45
Copy link
Member

@mnecas mnecas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for the patch! LGTM

@mnecas mnecas merged commit 06eec0b into oVirt:master Apr 11, 2022
mnecas added a commit to mnecas/ovirt-ansible-collection that referenced this pull request Jun 13, 2022
* fix creating a RAW vm from a COW template

On a FC storage domain, creating a RAW vm (disk_format: "raw") from a COW template with vm_infra role gives as result : "Cannot add VM. Disk configuration (RAW Sparse backup-None) is incompatible with the storage domain type." 
I could be wrong on diagnostic but this seems to be caused by the unset "sparse" option. This commit fix it on our infrastructure.

* add changelog

Co-authored-by: Martin Nečas <necas.marty@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants