Bug 1664070

Summary: lvmdbusd needs to learn about vdo 'D' and 'd' lv_attrs
Product: Red Hat Enterprise Linux 8 Reporter: Corey Marthaler <cmarthal>
Component: lvm2Assignee: Tony Asleson <tasleson>
lvm2 sub component: lvmdbusd QA Contact: cluster-qe <cluster-qe>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: unspecified CC: agk, coughlan, heinzm, jbrassow, mcsontos, mmcgrath, msnitzer, prajnoha, tasleson, zkabelac
Version: 8.0   
Target Milestone: rc   
Target Release: 8.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: lvm2-2.03.07-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-28 16:58:57 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:
Bug Depends On: 1680951    
Bug Blocks:    

Description Corey Marthaler 2019-01-07 16:06:22 UTC
Description of problem:

[root@hayes-01 ~]# lvs -a -o +devices
  LV             VG Attr       LSize   Pool   Origin Data%  Meta%  Move Log Cpy%Sync Convert Devices        
  my_vdo         VG vwi-a-v--- <96.69g vpool0        0.00                                    vpool0(0)      
  vpool0         VG dwi-ao---- 100.00g               3.19                                    vpool0_vdata(0)
  [vpool0_vdata] VG Dwi-ao---- 100.00g                                                       /dev/sdb1(0)   


Jan  7 09:58:05 hayes-01 lvm[2438]: Monitoring VDO pool VG-vpool0.
Jan  7 09:58:05 hayes-01 lvmdbusd[2188]: 2188:2188 - LV 3D1hOd-A4gL-SRJx-fvC5-BefV-ZqmT-NACLOD [vpool0_vdata] with lv_attr Dwi-ao----, lv_attr[0] = 'D' is non
Jan  7 09:58:05 hayes-01 lvmdbusd[2188]: 2188:2188 - LV KHKesM-JBjM-e3Pq-jBbc-arNd-1CN9-IeQh3O vpool0 with lv_attr dwi-ao----, lv_attr[0] = 'd' is not known
Jan  7 09:58:05 hayes-01 lvmdbusd[2188]: 2188:2188 - LV KHKesM-JBjM-e3Pq-jBbc-arNd-1CN9-IeQh3O vpool0 with lv_attr dwi-ao----, lv_attr[0] = 'd' is not known


Version-Release number of selected component (if applicable):
4.18.0-57.el8.x86_64

kernel-4.18.0-57.el8    BUILT: Tue Dec 18 09:30:11 CST 2018
lvm2-2.03.02-2.el8    BUILT: Fri Jan  4 03:49:30 CST 2019
lvm2-libs-2.03.02-2.el8    BUILT: Fri Jan  4 03:49:30 CST 2019
lvm2-dbusd-2.03.02-2.el8    BUILT: Fri Jan  4 03:51:41 CST 2019
lvm2-lockd-2.03.02-2.el8    BUILT: Fri Jan  4 03:49:30 CST 2019
boom-boot-0.9-5.el8    BUILT: Wed Sep 19 16:56:59 CDT 2018
cmirror-2.03.02-2.el8    BUILT: Fri Jan  4 03:49:30 CST 2019
device-mapper-1.02.155-2.el8    BUILT: Fri Jan  4 03:49:30 CST 2019
device-mapper-libs-1.02.155-2.el8    BUILT: Fri Jan  4 03:49:30 CST 2019
device-mapper-event-1.02.155-2.el8    BUILT: Fri Jan  4 03:49:30 CST 2019
device-mapper-event-libs-1.02.155-2.el8    BUILT: Fri Jan  4 03:49:30 CST 2019
device-mapper-persistent-data-0.7.6-1.el8    BUILT: Sun Aug 12 04:21:55 CDT 2018
sanlock-3.6.0-4.el8    BUILT: Thu Oct  4 12:10:37 CDT 2018
sanlock-lib-3.6.0-4.el8    BUILT: Thu Oct  4 12:10:37 CDT 2018
vdo-6.2.0.293-10.el8    BUILT: Fri Dec 14 18:18:47 CST 2018
kmod-kvdo-6.2.0.293-40.el8    BUILT: Wed Dec 19 10:06:09 CST 2018

Comment 3 Zdenek Kabelac 2019-01-17 15:58:22 UTC
Ok - here  it's need to add whole  VDO naming terminology into all lvmdbus namespaces.

So this has not yet happened and it's not going to be minimalist patch.

There could be thought probably made 'quiet' warning message about unsupported type of LV being found - and let continue working with other objects.

Comment 10 Corey Marthaler 2019-12-05 23:11:45 UTC
Fix verified in the latest rpms.


kernel-4.18.0-151.el8    BUILT: Fri Nov 15 13:14:53 CST 2019
lvm2-2.03.07-1.el8    BUILT: Mon Dec  2 00:09:32 CST 2019
lvm2-libs-2.03.07-1.el8    BUILT: Mon Dec  2 00:09:32 CST 2019
lvm2-dbusd-2.03.07-1.el8    BUILT: Mon Dec  2 00:12:23 CST 2019
lvm2-lockd-2.03.07-1.el8    BUILT: Mon Dec  2 00:09:32 CST 2019
device-mapper-1.02.167-1.el8    BUILT: Mon Dec  2 00:09:32 CST 2019
device-mapper-libs-1.02.167-1.el8    BUILT: Mon Dec  2 00:09:32 CST 2019
device-mapper-event-1.02.167-1.el8    BUILT: Mon Dec  2 00:09:32 CST 2019
device-mapper-event-libs-1.02.167-1.el8    BUILT: Mon Dec  2 00:09:32 CST 2019
device-mapper-persistent-data-0.8.5-2.el8    BUILT: Wed Jun  5 10:28:04 CDT 2019



[root@hayes-02 ~]# grep lvmdbusd /var/log/messages | grep Dwi
[root@hayes-02 ~]# 


[root@hayes-02 ~]# lvs
  LV         VG         Attr       LSize    Pool                Origin           Data%  Meta%  Move Log            Cpy%Sync Convert
  cache1     activator1 Cwi---C---  100.00m [cache1_fast_cpool] [cache1_corig]                                                     
  linear1    activator1 -wi-------  100.00m                                                                                        
  mirror1    activator1 mwi---m---  100.00m                                                         [mirror1_mlog]                 
  pool1      activator1 twi---t---  100.00m                                                                                        
  raid01     activator1 rwi---r---  104.00m                                                                                        
  raid101    activator1 rwi---r---  104.00m                                                                                        
  raid11     activator1 rwi---r---  100.00m                                                                                        
  raid41     activator1 rwi---r---  104.00m                                                                                        
  raid51     activator1 rwi---r---  104.00m                                                                                        
  raid61     activator1 rwi---r---  108.00m                                                                                        
  stripe1    activator1 -wi-------  100.00m                                                                                        
  upconvert1 activator1 rwi---r---  100.00m                                                                                        
  vdo1       activator1 vwi---v--- 1016.00m vpool0                                                                                 
  virt1      activator1 Vwi---t---   76.00m pool1                                                                                  
  vpool0     activator1 dwi-------    4.00g                                                                                        
  wcache1    activator1 Cwi---C---  100.00m [wcache1_fast_cvol] [wcache1_wcorig]                                                   
  cache1     activator2 Cwi---C---  100.00m [cache1_fast_cpool] [cache1_corig]                                                     
  linear1    activator2 -wi-------  100.00m                                                                                        
  mirror1    activator2 mwi---m---  100.00m                                                         [mirror1_mlog]                 
  pool1      activator2 twi---t---  100.00m                                                                                        
  raid01     activator2 rwi---r---  104.00m                                                                                        
  raid101    activator2 rwi---r---  104.00m                                                                                        
  raid11     activator2 rwi---r---  100.00m                                                                                        
  raid41     activator2 rwi---r---  104.00m                                                                                        
  raid51     activator2 rwi---r---  104.00m                                                                                        
  raid61     activator2 rwi---r---  108.00m                                                                                        
  stripe1    activator2 -wi-------  100.00m                                                                                        
  upconvert1 activator2 rwi---r---  100.00m                                                                                        
  vdo1       activator2 vwi---v--- 1016.00m vpool0                                                                                 
  virt1      activator2 Vwi---t---   76.00m pool1                                                                                  
  vpool0     activator2 dwi-------    4.00g                                                                                        
  wcache1    activator2 Cwi---C---  100.00m [wcache1_fast_cvol] [wcache1_wcorig]                                                   
  cache1     activator3 Cwi---C---  100.00m [cache1_fast_cpool] [cache1_corig]                                                     
  linear1    activator3 -wi-------  100.00m                                                                                        
  mirror1    activator3 mwi---m---  100.00m                                                         [mirror1_mlog]                 
  pool1      activator3 twi---t---  100.00m                                                                                        
  raid01     activator3 rwi---r---  104.00m                                                                                        
  raid101    activator3 rwi---r---  104.00m                                                                                        
  raid11     activator3 rwi---r---  100.00m                                                                                        
  raid41     activator3 rwi---r---  104.00m                                                                                        
  raid51     activator3 rwi---r---  104.00m                                                                                        
  raid61     activator3 rwi---r---  108.00m                                                                                        
  stripe1    activator3 -wi-------  100.00m                                                                                        
  upconvert1 activator3 rwi---r---  100.00m                                                                                        
  vdo1       activator3 vwi---v--- 1016.00m vpool0                                                                                 
  virt1      activator3 Vwi---t---   76.00m pool1                                                                                  
  vpool0     activator3 dwi-------    4.00g                                                                                        
  wcache1    activator3 Cwi---C---  100.00m [wcache1_fast_cvol] [wcache1_wcorig]

Comment 12 errata-xmlrpc 2020-04-28 16:58:57 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://access.redhat.com/errata/RHEA-2020:1881