Bug 1512624

Summary: vdo activation fails if created with prior version/build
Product: Red Hat Enterprise Linux 7 Reporter: Corey Marthaler <cmarthal>
Component: kmod-kvdoAssignee: corwin <corwin>
Status: CLOSED NOTABUG QA Contact: vdo-qe
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.5CC: awalsh, bgurney, jkrysl, limershe
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-16 02:39:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Corey Marthaler 2017-11-13 17:02:16 UTC
Description of problem:

Shouldn't vdo volumes survive upgrades?

vdo-6.1.0.34-8    BUILT: Fri Nov  3 06:58:45 CDT 2017
kmod-kvdo-6.1.0.34-7.el7    BUILT: Fri Nov  3 06:44:06 CDT 2017

[root@mckinley-04 ~]# vdo create --name virt_vdovolume --vdoLogicalSize 20G --device /dev/snapper_thinp/origin
Creating VDO virt_vdovolume
Starting VDO virt_vdovolume
Starting compression on VDO virt_vdovolume
VDO instance 31 volume is ready at /dev/mapper/virt_vdovolume


Preparing...                          ################################# [100%]
Updating / installing...
   1:kmod-kvdo-6.1.0.46-8.el7         ################################# [ 25%]
   2:vdo-6.1.0.46-9                   ################################# [ 50%]
Cleaning up / removing...
   3:vdo-6.1.0.34-8                   ################################# [ 75%]
   4:kmod-kvdo-6.1.0.34-7.el7         ################################# [100%]

# reboot


vdo-6.1.0.46-9    BUILT: Fri Nov 10 15:47:57 CST 2017
kmod-kvdo-6.1.0.46-8.el7    BUILT: Fri Nov 10 16:03:57 CST 2017

# underlying storage is active and ready:
[root@mckinley-04 ~]# lvs -a /dev/snapper_thinp/origin
  LV     VG            Attr       LSize  Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  origin snapper_thinp Vwi-a-t--- 10.00g POOL        1.41
[root@mckinley-04 ~]# ls /dev/snapper_thinp/origin
/dev/snapper_thinp/origin


[root@mckinley-04 ~]# vdo activate --name virt_vdovolume
vdo: ERROR - vdodumpconfig: allocateVDO failed for '/dev/snapper_thinp/origin' with VDO Status: Component id mismatch in decoder

Nov 13 10:55:00 mckinley-04 UDS/vdodumpconfig[2304]: ERROR  (vdodumpconfig/2304) release version 0 requires an upgrade: VDO Status: Unsupported component version (2058)
Nov 13 10:55:00 mckinley-04 UDS/vdodumpconfig[2304]: ERROR  (vdodumpconfig/2304) decodeSuperBlock ID mismatch, expected 0, got 5: VDO Status: Component id mismatch in decoder (2059)
Nov 13 10:55:00 mckinley-04 vdo: ERROR - vdodumpconfig: allocateVDO failed for '/dev/snapper_thinp/origin' with VDO Status: Component id mismatch in decoder

Comment 2 Andy Walsh 2017-11-14 19:17:38 UTC
This looks like it might be a duplicate of BZ 1510176.

Comment 3 corwin 2017-11-14 21:07:33 UTC
Upgrades from version 6.1.0.34 to version 6.1.0.46 are not supported. Upgrades will be supported probably from version .46 and certainly from whatever version ends up in the beta code freeze to subsequent 6.1 versions.

Comment 5 corwin 2018-07-11 17:39:14 UTC
This issue only applied to the specific release and is no longer an issue.

Comment 6 Andy Walsh 2018-07-16 02:39:12 UTC
Not MODIFIED, but CLOSED.