Bug 1199815 - Failed to auto shrink qcow block volumes on merge
Summary: Failed to auto shrink qcow block volumes on merge
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: vdsm
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: 3.5.1
Assignee: Adam Litke
QA Contact: lkuchlan
URL:
Whiteboard: storage
Depends On: 1196072
Blocks: 1193058
TreeView+ depends on / blocked
 
Reported: 2015-03-08 15:45 UTC by rhev-integ
Modified: 2016-02-10 16:57 UTC (History)
13 users (show)

Fixed In Version: vdsm-4.16.12.1-3.el6ev
Doc Type: Bug Fix
Doc Text:
Clone Of: 1196072
Environment:
Last Closed: 2015-04-28 18:52:25 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:
ylavi: Triaged+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0904 0 normal SHIPPED_LIVE vdsm 3.5.1 - bug fix and enhancement update 2015-04-28 22:50:53 UTC
oVirt gerrit 38355 0 master MERGED qemu-img: Handle image end offset on different lines of output Never
oVirt gerrit 38438 0 ovirt-3.5 MERGED qemu-img: Handle image end offset on different lines of output Never

Comment 2 Aharon Canan 2015-03-19 16:29:27 UTC
verified using vt14.1

1. Create Vm with 1 disk

[root@gold-vdsc /]# lvs
  LV                                   VG                                   Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  23683a37-b1ff-48b3-8023-2c97c8fb54f6 b8c2b603-b7bd-4a90-a468-4674b8b1bedb -wi------- 128.00m                                                    
  2c5135d1-976e-4f0c-b416-ba0a1921b6e3 b8c2b603-b7bd-4a90-a468-4674b8b1bedb -wi------- 128.00m                                                    
  986789ff-eafb-4372-a1cb-8a8337607f4f b8c2b603-b7bd-4a90-a468-4674b8b1bedb -wi-------   1.00g                                                    
  ids                                  b8c2b603-b7bd-4a90-a468-4674b8b1bedb -wi-ao---- 128.00m                                                    
  inbox                                b8c2b603-b7bd-4a90-a468-4674b8b1bedb -wi-a----- 128.00m                                                    
  leases                               b8c2b603-b7bd-4a90-a468-4674b8b1bedb -wi-a-----   2.00g                                                    
  master                               b8c2b603-b7bd-4a90-a468-4674b8b1bedb -wi-ao----   1.00g                                                    
  metadata                             b8c2b603-b7bd-4a90-a468-4674b8b1bedb -wi-a----- 512.00m                                                    
  outbox                               b8c2b603-b7bd-4a90-a468-4674b8b1bedb -wi-a----- 128.00m              

2. Create snapshot

[root@gold-vdsc /]# lvs
  LV                                   VG                                   Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  23683a37-b1ff-48b3-8023-2c97c8fb54f6 b8c2b603-b7bd-4a90-a468-4674b8b1bedb -wi------- 128.00m                                                    
  2c5135d1-976e-4f0c-b416-ba0a1921b6e3 b8c2b603-b7bd-4a90-a468-4674b8b1bedb -wi------- 128.00m                                                    
  986789ff-eafb-4372-a1cb-8a8337607f4f b8c2b603-b7bd-4a90-a468-4674b8b1bedb -wi-------   1.00g                                                    
  f1ac9976-03f6-4852-b9e8-a2ce0b6743e4 b8c2b603-b7bd-4a90-a468-4674b8b1bedb -wi-------   1.00g                                                    
  ids                                  b8c2b603-b7bd-4a90-a468-4674b8b1bedb -wi-ao---- 128.00m                                                    
  inbox                                b8c2b603-b7bd-4a90-a468-4674b8b1bedb -wi-a----- 128.00m                                                    
  leases                               b8c2b603-b7bd-4a90-a468-4674b8b1bedb -wi-a-----   2.00g                                                    
  master                               b8c2b603-b7bd-4a90-a468-4674b8b1bedb -wi-ao----   1.00g                                                    
  metadata                             b8c2b603-b7bd-4a90-a468-4674b8b1bedb -wi-a----- 512.00m                                                    
  outbox                               b8c2b603-b7bd-4a90-a468-4674b8b1bedb -wi-a----- 128.00m        


3. remove the snapshot

[root@gold-vdsc /]# lvs
  LV                                   VG                                   Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  23683a37-b1ff-48b3-8023-2c97c8fb54f6 b8c2b603-b7bd-4a90-a468-4674b8b1bedb -wi------- 128.00m                                                    
  2c5135d1-976e-4f0c-b416-ba0a1921b6e3 b8c2b603-b7bd-4a90-a468-4674b8b1bedb -wi------- 128.00m                                                    
  f1ac9976-03f6-4852-b9e8-a2ce0b6743e4 b8c2b603-b7bd-4a90-a468-4674b8b1bedb -wi-------   1.12g                                                    
  ids                                  b8c2b603-b7bd-4a90-a468-4674b8b1bedb -wi-ao---- 128.00m                                                    
  inbox                                b8c2b603-b7bd-4a90-a468-4674b8b1bedb -wi-a----- 128.00m                                                    
  leases                               b8c2b603-b7bd-4a90-a468-4674b8b1bedb -wi-a-----   2.00g                                                    
  master                               b8c2b603-b7bd-4a90-a468-4674b8b1bedb -wi-ao----   1.00g                                                    
  metadata                             b8c2b603-b7bd-4a90-a468-4674b8b1bedb -wi-a----- 512.00m                                                    
  outbox                               b8c2b603-b7bd-4a90-a468-4674b8b1bedb -wi-a----- 128.00m

Comment 4 errata-xmlrpc 2015-04-28 18:52:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0904.html


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