Actions
Bug #23131
closedCeph allows to shrink the image size without giving any warning, where the image has actual data
Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Execution Steps:
-----------------
1. Create a glance image ( glance is integrated with ceph) using "cirros/ubuntu" images.
2. Shrink the image size in Ceph using "rbd resize --allow-shrink" CLI.
Reference:
-----------
Please refer the attached document for detailed step to check the data corruption after shrinking the image that contains actual data.
Observation:
-------------
Ceph allows to shrink the size of an image that contains actual data.
The shrinking of image will corrupt the data.
Solution:
-----------
There should be a warning message for the user, that will notify about "the shrinking of image can corrupt the data".
Files
Actions