This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
Bug 1855709 - [RFE] cinder backup needs to restore thin volumes (new volumes only)
Summary: [RFE] cinder backup needs to restore thin volumes (new volumes only)
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-cinder
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Alpha
: ---
Assignee: Pete Zaitcev
QA Contact: Evelina Shames
RHOS Documentation Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-10 09:38 UTC by ggrimaux
Modified: 2023-11-24 18:28 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-24 18:27:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 2007615 0 None None None 2023-02-16 22:08:57 UTC
OpenStack gerrit 852654 0 None NEW Restore into sparse volumes 2022-12-10 00:17:21 UTC
OpenStack gerrit 877799 0 None MERGED Restore into sparse volumes 2023-08-31 13:19:48 UTC
OpenStack gerrit 888905 0 None MERGED Fix a regression in restoring to sparse volumes 2023-08-31 13:20:20 UTC
Red Hat Issue Tracker   OSP-2156 0 None None None 2023-11-24 18:27:03 UTC
Red Hat Issue Tracker OSP-30557 0 None None None 2023-11-24 18:28:13 UTC

Description ggrimaux 2020-07-10 09:38:39 UTC
Description of problem:
The current default behavior during a cinder-backup/cinder-restore procedure is that thin volumes are restored as thick. Taking much more space than necessary and creating problems during migration.

It would be good if the original volume size is kept during backup/restore procedure.

Version-Release number of selected component (if applicable):
rhosp13/openstack-cinder-api:124

How reproducible:
100%

Steps to Reproduce:
1.Create empty volume (10GB size but 0B used)
2.Cinder-backup to export the volume
3.Cinder-restore to import the volume
4.Volume now  uses 10GB of disk space

Actual results:
Thin volume become thick

Expected results:
Thin volume stay thin

Additional info:

Comment 1 Gregory Charot 2022-01-03 16:40:09 UTC
This RFE will be reviewed during the Z PTG and planned accordingly if higher OSP18 priorities are progressing as expected.

Comment 2 Gregory Charot 2022-04-21 16:48:31 UTC
This feature was reviewed during the PTG. For now we are only going to implement restoring thin backups to new volumes. Restoring to existing volumes (like the original one) requires more investigation and the implementation is much more complex.

This RFE now only covers restoring backup as thin for new volumes.


Note You need to log in before you can comment on or make changes to this bug.