-
Notifications
You must be signed in to change notification settings - Fork 472
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
Local Storage Datastore SPARSE
parameter is ignored via KVM SSH driver
#6487
Closed
TGM opened this issue
Jan 30, 2024
· 2 comments
· Fixed by OpenNebula/docs#2894 or OpenNebula/docs#2903
Closed
Local Storage Datastore SPARSE
parameter is ignored via KVM SSH driver
#6487
TGM opened this issue
Jan 30, 2024
· 2 comments
· Fixed by OpenNebula/docs#2894 or OpenNebula/docs#2903
Milestone
Comments
BUMP |
planned for next maintenance |
Aletibazo
added a commit
to Aletibazo/one_issues
that referenced
this issue
Apr 12, 2024
…parameter from the Datastore was ignored. - Added function get_ds_attribute to tm_common.sh to get a given attribute from a Datastore - Using falloc preallocation mode on the qemu-img commands since it is faster than using full preallocation - Note the cloning script when using the TM_MAD = ssh does not use qemu-img command. Instead it uses the tar command, hence it ignores the QCOW2_OPTIONS parameter Signed-off-by: Alejandro Mosteiro <amosteiro@opennebula.io>
Aletibazo
added a commit
to Aletibazo/docs
that referenced
this issue
Apr 15, 2024
Updated Local Storage Datastore - Added note on QCOW2_OPTIONS attribute - Fixed typo Signed-off-by: Alejandro Mosteiro <amosteiro@opennebula.io>
4 tasks
tinova
pushed a commit
to OpenNebula/docs
that referenced
this issue
Apr 15, 2024
- Added note on QCOW2_OPTIONS attribute - Fixed typo Signed-off-by: Alejandro Mosteiro <amosteiro@opennebula.io>
tinova
pushed a commit
to OpenNebula/docs
that referenced
this issue
Apr 15, 2024
- Added note on QCOW2_OPTIONS attribute - Fixed typo Signed-off-by: Alejandro Mosteiro <amosteiro@opennebula.io> (cherry picked from commit a2d615a)
tinova
pushed a commit
to OpenNebula/docs
that referenced
this issue
Apr 15, 2024
- Added note on QCOW2_OPTIONS attribute - Fixed typo Signed-off-by: Alejandro Mosteiro <amosteiro@opennebula.io> (cherry picked from commit a2d615a)
tinova
pushed a commit
to OpenNebula/docs
that referenced
this issue
Apr 15, 2024
- Added note on QCOW2_OPTIONS attribute - Fixed typo Signed-off-by: Alejandro Mosteiro <amosteiro@opennebula.io> (cherry picked from commit a2d615a)
tinova
pushed a commit
to OpenNebula/docs
that referenced
this issue
Apr 15, 2024
- Added note on QCOW2_OPTIONS attribute - Fixed typo Signed-off-by: Alejandro Mosteiro <amosteiro@opennebula.io> (cherry picked from commit a2d615a)
Aletibazo
added a commit
to Aletibazo/one_issues
that referenced
this issue
Apr 17, 2024
Edited clone on qcow2 so it does not override the CLONE_CMD when FORMAT = "raw"' Signed-off-by: Alejandro Mosteiro <amosteiro@opennebula.io>
Aletibazo
added a commit
to Aletibazo/docs
that referenced
this issue
Apr 25, 2024
Updated Local Storage and NAS/SAN Storage to better explain how SPARSE attribute works. For Local Storage, deleted the reference to the QCOW2_OPTIONS and QCOW2_STANDALONE attributes, since they\'re not relevant for TM_MAD = ssh Signed-off-by: Alejandro Mosteiro <amosteiro@opennebula.io>
4 tasks
Aletibazo
added a commit
to Aletibazo/docs
that referenced
this issue
Apr 30, 2024
Updated SPARSE attribute description to make clear that QCOW2_STANDALONE is needed on system Datastore Signed-off-by: Alejandro Mosteiro <amosteiro@opennebula.io>
Aletibazo
added a commit
to Aletibazo/docs
that referenced
this issue
May 8, 2024
Updating resolved issues for 6.8.4 refering SPARSE attribute from issue #6487 Signed-off-by: Alejandro Mosteiro <amosteiro@opennebula.io>
Aletibazo
added a commit
to Aletibazo/docs
that referenced
this issue
May 8, 2024
Updating resolved issues for 6.4.6 refering SPARSE attribute from issue #6487 Signed-off-by: Alejandro Mosteiro <amosteiro@opennebula.io>
3 tasks
Aletibazo
added a commit
to Aletibazo/docs
that referenced
this issue
May 9, 2024
Fixed link on resolved issues for 6.4.6 from last commit. Signed-off-by: Alejandro Mosteiro <amosteiro@opennebula.io>
Aletibazo
added a commit
to Aletibazo/docs
that referenced
this issue
May 9, 2024
Fix typo and link on resolved issues for 6.8.4 from last commit. Signed-off-by: Alejandro Mosteiro <amosteiro@opennebula.io>
tinova
pushed a commit
to OpenNebula/docs
that referenced
this issue
May 9, 2024
Signed-off-by: Alejandro Mosteiro <amosteiro@opennebula.io>
tinova
pushed a commit
to OpenNebula/docs
that referenced
this issue
May 9, 2024
tinova
pushed a commit
to OpenNebula/docs
that referenced
this issue
May 9, 2024
tinova
pushed a commit
to OpenNebula/docs
that referenced
this issue
May 9, 2024
tinova
pushed a commit
to OpenNebula/docs
that referenced
this issue
May 9, 2024
Signed-off-by: Alejandro Mosteiro <amosteiro@opennebula.io>
tinova
added a commit
to OpenNebula/docs
that referenced
this issue
Jun 11, 2024
tinova
added a commit
to OpenNebula/docs
that referenced
this issue
Jun 11, 2024
This reverts commit dd05390.
tinova
added a commit
to OpenNebula/docs
that referenced
this issue
Jun 11, 2024
This reverts commit 188da16.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Hello,
This bug is present on both OpenNebula 6.4.0.1 and OpenNebula 6.8.0, probably all version in between.
The
SPARSE=no
parameter is ignored due to the fact that is not taken into account on:one/src/tm_mad/ssh/clone
Line 110 in 41461d4
one/src/tm_mad/ssh/clone
Line 119 in 41461d4
This happens for both RAW and QCOW2 images.
Please note the fact that SPARSE works in conjuctions with
QCOW2_OPTIONS="-o preallocation=falloc"
OR..full
for QCOW2 images, but NOT neccesarly for RAW, alltough RAW should use the same preallocation options as described in the qemu-img manual.QCOW2_OPTIONS
is allso ignored when usingTM_MAD=ssh
Docs: https://docs.opennebula.io/6.8/open_cluster_deployment/storage_setup/local_ds.html?highlight=sparse#additional-configuration
To Reproduce
Create a cluster with 1 datastore.
Add the SPARSE=no in the DS (ignored)
Add the QCOW2_OPTIONS="-o preallocation=falloc" or "...full" in
/etc/one/tmrc
(ignored)Create a new image format = RAW | QCOW2
Create a new VM using the RAW image.
Create a new VM using the QCOW2 image.
Expected behavior
The preallocated space should be taken into account on the hypervisor.
Can be tested with
df -h
or via the monitoring GUI.Actual behavior
The deployed VM does not take into account the defined parameters.
The text was updated successfully, but these errors were encountered: