Bug 576121

Summary: Re-basing a single snapshot by 'qemu-img reebase' (reebase spelled correctly is a keyword bellowed by bugzila bots)
Product: Red Hat Enterprise Linux 5 Reporter: Igor Lvovsky <ilvovsky>
Component: kvmAssignee: Kevin Wolf <kwolf>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.5CC: abaron, lpeer, tburke, virt-maint, ykaul
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 670162 (view as bug list) Environment:
Last Closed: 2011-01-14 16:27:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 580948, 670162    

Description Igor Lvovsky 2010-03-23 10:04:06 UTC
Description of problem:

We can't rebase a single snapshot.
    base -> sn1

Expected behavior: after qemu-img rebase 'sn1' should contain
(base+sn1) data and shouldn't point to 'base'

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Workaround suggested by kwolf:  base -> sn1
1. Create new empty image 'new-base' similar to 'base'
2. Rebase sn1 on top of 'new-base':
     qemu-img rebase -b new-base -F new-base-fmt sn1
3. Rebase unsafely sn1 on top of "":
     qemu-img rebase -u -b "" sn1
4. Delete 'base' and 'new-base'

Comment 3 RHEL Program Management 2011-01-11 21:15:45 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.

Comment 4 RHEL Program Management 2011-01-11 22:50:21 UTC
This request was erroneously denied for the current release of
Red Hat Enterprise Linux.  The error has been fixed and this
request has been re-proposed for the current release.