Bug 1968752

Summary: lvmdbusd MThreadRunner: exception during lvm vgsplit testing
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: high    
Priority: unspecified CC: agk, heinzm, jbrassow, mcsontos, msnitzer, prajnoha, tasleson, zkabelac
Version: 8.5   
Target Milestone: beta   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: lvm2-2.03.14-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-10 15:21: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:
Attachments:
Description Flags
dbus flight recorder none

Description Corey Marthaler 2021-06-07 22:03:39 UTC
Description of problem:
hayes-01 'pvcreate  /dev/sdi1 /dev/sdg1 /dev/sde1 /dev/sdd1 /dev/sdj1 /dev/sdb1 /dev/sdc1
============================================================
Iteration 1 of 20 started at Mon 07 Jun 2021 04:36:33 PM CDT
============================================================
SCENARIO - [split_no_meta_virt_devices]
Attmept to split out the thin virt volumes w/o meta data space from VG
vgcreate seven /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdj1 /dev/sdi1 /dev/sdb1 /dev/sdg1
Create a thin pool, virt, and snapshot volumes in the same vg (same pvs)
Create LV to be used as an EXTERNAL origin device
lvcreate --yes  -L 1G -n extorigin seven /dev/sdd1
Converting LV into an external thin origin device
lvconvert --thinpool seven/pool --originname EXT -T extorigin
  WARNING: Sum of all thin volume sizes (1.00 GiB) exceeds the size of thin pool seven/pool (100.00 MiB).
lvcreate --yes  -s /dev/seven/extorigin -n snap1
  WARNING: Sum of all thin volume sizes (2.00 GiB) exceeds the size of thin pool seven/pool (100.00 MiB).
  WARNING: Sum of all thin volume sizes (2.01 GiB) exceeds the size of thin pool seven/pool (100.00 MiB).
lvcreate --yes  -s /dev/seven/virt -n snap2
  WARNING: Sum of all thin volume sizes (2.02 GiB) exceeds the size of thin pool seven/pool (100.00 MiB).
deactivating entire volume group
hayes-01: vgsplit -n extorigin seven ten
hayes-01: vgsplit -n snap1 ten seven
  WARNING: updating old metadata to 16 on /dev/sdc1 for VG seven.
hayes-01: vgsplit -n virt seven ten
hayes-01: vgsplit -n snap2 ten seven
  WARNING: updating old metadata to 19 on /dev/sdc1 for VG seven.
Deactivating and removing volume groups...  
  WARNING: D-Bus notification failed: Connection timed out
  WARNING: D-Bus notification failed: Connection timed out
  WARNING: D-Bus notification failed: Connection timed out

Jun  7 16:36:52 hayes-01 qarshd[185841]: Running cmdline: vgsplit -n snap1 ten seven
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]: 182543:182543 - MThreadRunner: exception
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]: Traceback (most recent call last):
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:  File "/usr/lib/python3.6/site-packages/lvmdbusd/utils.py", line 666, in _run
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:    self.rc = self.f(*self.args)
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:  File "/usr/lib/python3.6/site-packages/lvmdbusd/fetch.py", line 36, in _main_thread_load
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:    cache_refresh=False)[1]
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:  File "/usr/lib/python3.6/site-packages/lvmdbusd/lv.py", line 146, in load_lvs
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:    lv_name, object_path, refresh, emit_signal, cache_refresh)
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:  File "/usr/lib/python3.6/site-packages/lvmdbusd/loader.py", line 68, in common
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:    num_changes += dbus_object.refresh(object_state=o)
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:  File "/usr/lib/python3.6/site-packages/lvmdbusd/automatedproperties.py", line 160, in refresh
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:    search = self.lvm_id
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:  File "/usr/lib/python3.6/site-packages/lvmdbusd/lv.py", line 483, in lvm_id
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:    return self.state.lvm_id
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:  File "/usr/lib/python3.6/site-packages/lvmdbusd/lv.py", line 173, in lvm_id
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:    return "%s/%s" % (self.vg_name_lookup(), self.Name)
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:  File "/usr/lib/python3.6/site-packages/lvmdbusd/lv.py", line 169, in vg_name_lookup
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:    return cfg.om.get_object_by_path(self.Vg).Name
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]: AttributeError: 'NoneType' object has no attribute 'Name'
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]: 182543:182543 - Exception will be raised in calling thread!
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]: 182543:182554 - update_thread exception:
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]: Traceback (most recent call last):
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:  File "/usr/lib/python3.6/site-packages/lvmdbusd/fetch.py", line 147, in update_thread
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:    need_main_thread)
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:  File "/usr/lib/python3.6/site-packages/lvmdbusd/fetch.py", line 62, in load
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:    rc = MThreadRunner(_main_thread_load, refresh, emit_signal).done()
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:  File "/usr/lib/python3.6/site-packages/lvmdbusd/utils.py", line 660, in done
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:    raise self.exception
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:  File "/usr/lib/python3.6/site-packages/lvmdbusd/utils.py", line 666, in _run
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:    self.rc = self.f(*self.args)
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:  File "/usr/lib/python3.6/site-packages/lvmdbusd/fetch.py", line 36, in _main_thread_load
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:    cache_refresh=False)[1]
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:  File "/usr/lib/python3.6/site-packages/lvmdbusd/lv.py", line 146, in load_lvs
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:    lv_name, object_path, refresh, emit_signal, cache_refresh)
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:  File "/usr/lib/python3.6/site-packages/lvmdbusd/loader.py", line 68, in common
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:    num_changes += dbus_object.refresh(object_state=o)
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:  File "/usr/lib/python3.6/site-packages/lvmdbusd/automatedproperties.py", line 160, in refresh
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:    search = self.lvm_id
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:  File "/usr/lib/python3.6/site-packages/lvmdbusd/lv.py", line 483, in lvm_id
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:    return self.state.lvm_id
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:  File "/usr/lib/python3.6/site-packages/lvmdbusd/lv.py", line 173, in lvm_id
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:    return "%s/%s" % (self.vg_name_lookup(), self.Name)
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:  File "/usr/lib/python3.6/site-packages/lvmdbusd/lv.py", line 169, in vg_name_lookup
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:    return cfg.om.get_object_by_path(self.Vg).Name
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]: AttributeError: 'NoneType' object has no attribute 'Name'
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]: 182543:182554 - LVM dbus flight recorder START
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]: 182543:182554 - EC= 0 for ['/usr/sbin/lvm', 'fullreport', '--noheading', '--separator', '{|}', '--nosuffix', '--unbuffered', '--units', 'b', '-a', '--configreport', 'pv', '-o', 'pv_name,pv_uuid,pv_fmt,pv_size,pv_free,pv_used,dev_size,pv_mda_size,pv_mda_free,pv_ba_start,pv_ba_size,pe_start,pv_pe_count,pv_pe_alloc_count,pv_attr,pv_tags,vg_name,vg_uuid,pv_missing', '--configreport', 'vg', '-o', 'vg_name,vg_uuid,vg_fmt,vg_size,vg_free,vg_sysid,vg_extent_size,vg_extent_count,vg_free_count,vg_profile,max_lv,max_pv,pv_count,lv_count,snap_count,vg_seqno,vg_mda_count,vg_mda_free,vg_mda_size,vg_mda_used_count,vg_attr,vg_tags', '--configreport', 'lv', '-o', 'lv_uuid,lv_name,lv_path,lv_size,vg_name,pool_lv_uuid,pool_lv,origin_uuid,origin,data_percent,lv_attr,lv_tags,vg_uuid,lv_active,data_lv,metadata_lv,lv_parent,lv_role,lv_layout,snap_percent,metadata_percent,copy_percent,sync_percent,lv_metadata_size,move_pv,move_pv_uuid,vdo_operating_mode,vdo_compression_state,vdo_index_state,vdo_used_size,vdo_saving_percent', '--configreport', 'seg', '-o', 'seg_pe_ranges,segtype,lv_uuid,vdo_compression,vdo_deduplication,vdo_use_metadata_hints,vdo_minimum_io_size,vdo_block_map_cache_size,vdo_block_map_era_length,vdo_use_sparse_index,vdo_index_memory_size,vdo_slab_size,vdo_ack_threads,vdo_bio_threads,vdo_bio_rotation,vdo_cpu_threads,vdo_hash_zone_threads,vdo_logical_threads,vdo_physical_threads,vdo_max_discard,vdo_write_policy,vdo_header_size', '--configreport', 'pvseg', '-o', 'pvseg_start,pvseg_size,segtype,pv_uuid,lv_uuid,pv_name', '--reportformat', 'json', '--config', 'global/notify_dbus=0']
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]: STARTED: 1623101812.850535, ENDED: 1623101812.909403
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]: STDOUT=  {
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:      "report": [
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:          {
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:              "vg": [
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:                  {"vg_name":"seven", "vg_uuid":"6oDgWY-qSxK-JZUe-O4hf-icld-2Jw0-V7kF7b", "vg_fmt":"lvm2", "vg_size":"13998879670272", "vg_free":"13997692682240", "vg_sysid":"", "vg_extent_size":"4194304", "vg_extent_count":"3337593", "vg_free_count":"3337310", "vg_profile":"", "max_lv":"0", "max_pv":"0", "pv_count":"7", "lv_count":"6", "snap_count":"0", "vg_seqno":"17", "vg_mda_count":"7", "vg_mda_free":"516608", "vg_mda_size":"1044480", "vg_mda_used_count":"7", "vg_attr":"wz--n-", "vg_tags":""}
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:              ]
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:              ,
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:              "pv": [
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:                  {"pv_name":"/dev/sdd1", "pv_uuid":"Ujx4T1-tG2C-CW1d-Wi5x-VHaD-4BF8-zokcEq", "pv_fmt":"lvm2", "pv_size":"1999839952896", "pv_free":"1999839952896", "pv_used":"0", "dev_size":"1999844106240", "pv_mda_size":"1044480", "pv_mda_free":"516608", "pv_ba_start":"0", "pv_ba_size":"0", "pe_start":"1048576", "pv_pe_count":"476799", "pv_pe_alloc_count":"0", "pv_attr":"a--", "pv_tags":"", "vg_name":"seven", "vg_uuid":"6oDgWY-qSxK-JZUe-O4hf-icld-2Jw0-V7kF7b", "pv_missing":""},
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:                  {"pv_name":"/dev/sde1", "pv_uuid":"Slao6t-n40H-49yx-sNSO-ajfb-G2fm-t5R24T", "pv_fmt":"lvm2", "pv_size":"1999839952896", "pv_free":"1999839952896", "pv_used":"0", "dev_size":"1999844106240", "pv_mda_size":"1044480", "pv_mda_free":"516608", "pv_ba_start":"0", "pv_ba_size":"0", "pe_start":"1048576", "pv_pe_count":"476799", "pv_pe_alloc_count":"0", "pv_attr":"a--", "pv_tags":"", "vg_name":"seven", "vg_uuid":"6oDgWY-qSxK-JZUe-O4hf-icld-2Jw0-V7kF7b", "pv_missing":""},
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:                  {"pv_name":"/dev/sdj1", "pv_uuid":"ikFvHZ-lNez-8PiB-J3Ol-m840-Fmfs-IMt5LO", "pv_fmt":"lvm2", "pv_size":"1999839952896", "pv_free":"1999839952896", "pv_used":"0", "dev_size":"1999844106240", "pv_mda_size":"1044480", "pv_mda_free":"516608", "pv_ba_start":"0", "pv_ba_size":"0", "pe_start":"1048576", "pv_pe_count":"476799", "pv_pe_alloc_count":"0", "pv_attr":"a--", "pv_tags":"", "vg_name":"seven", "vg_uuid":"6oDgWY-qSxK-JZUe-O4hf-icld-2Jw0-V7kF7b", "pv_missing":""},
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:                  {"pv_name":"/dev/sdi1", "pv_uuid":"g8KU2s-1aHo-X1ht-lNnA-QXYT-31WW-hnKPeS", "pv_fmt":"lvm2", "pv_size":"1999839952896", "pv_free":"1999839952896", "pv_used":"0", "dev_size":"1999844106240", "pv_mda_size":"1044480", "pv_mda_free":"516608", "pv_ba_start":"0", "pv_ba_size":"0", "pe_start":"1048576", "pv_pe_count":"476799", "pv_pe_alloc_count":"0", "pv_attr":"a--", "pv_tags":"", "vg_name":"seven", "vg_uuid":"6oDgWY-qSxK-JZUe-O4hf-icld-2Jw0-V7kF7b", "pv_missing":""},
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:                  {"pv_name":"/dev/sdb1", "pv_uuid":"V0sDJI-2QjS-4i1g-yR69-s8Lq-Vo7N-LupCg7", "pv_fmt":"lvm2", "pv_size":"1999839952896", "pv_free":"1999839952896", "pv_used":"0", "dev_size":"1999844106240", "pv_mda_size":"1044480", "pv_mda_free":"516608", "pv_ba_start":"0", "pv_ba_size":"0", "pe_start":"1048576", "pv_pe_count":"476799", "pv_pe_alloc_count":"0", "pv_attr":"a--", "pv_tags":"", "vg_name":"seven", "vg_uuid":"6oDgWY-qSxK-JZUe-O4hf-icld-2Jw0-V7kF7b", "pv_missing":""},
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:                  {"pv_name":"/dev/sdg1", "pv_uuid":"ELZplA-aX28-uRCF-O0dQ-LpFm-MODu-RCnL1r", "pv_fmt":"lvm2", "pv_size":"1999839952896", "pv_free":"1999839952896", "pv_used":"0", "dev_size":"1999844106240", "pv_mda_size":"1044480", "pv_mda_free":"516608", "pv_ba_start":"0", "pv_ba_size":"0", "pe_start":"1048576", "pv_pe_count":"476799", "pv_pe_alloc_count":"0", "pv_attr":"a--", "pv_tags":"", "vg_name":"seven", "vg_uuid":"6oDgWY-qSxK-JZUe-O4hf-icld-2Jw0-V7kF7b", "pv_missing":""},
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:                  {"pv_name":"/dev/sdc1", "pv_uuid":"t0bCO3-CuCD-OzNQ-28z7-mePQ-daZ2-qzLkaT", "pv_fmt":"lvm2", "pv_size":"1999839952896", "pv_free":"1998652964864", "pv_used":"1186988032", "dev_size":"1999844106240", "pv_mda_size":"1044480", "pv_mda_free":"516608", "pv_ba_start":"0", "pv_ba_size":"0", "pe_start":"1048576", "pv_pe_count":"476799", "pv_pe_alloc_count":"283", "pv_attr":"a--", "pv_tags":"", "vg_name":"seven", "vg_uuid":"6oDgWY-qSxK-JZUe-O4hf-icld-2Jw0-V7kF7b", "pv_missing":""}
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:              ]
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:              ,
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:              "lv": [
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:                  {"lv_uuid":"RVw0fo-gbRj-2bcw-BFlr-5dCy-XViw-AHF2Cd", "lv_name":"pool", "lv_path":"", "lv_size":"104857600", "vg_name":"seven", "pool_lv_uuid":"", "pool_lv":"", "origin_uuid":"", "origin":"", "data_percent":"", "lv_attr":"twi---tz--", "lv_tags":"", "vg_uuid":"6oDgWY-qSxK-JZUe-O4hf-icld-2Jw0-V7kF7b", "lv_active":"", "data_lv":"[pool_tdata]", "metadata_lv":"[pool_tmeta]", "lv_parent":"", "lv_role":"private", "lv_layout":"thin,pool", "snap_percent":"", "metadata_percent":"", "copy_percent":"", "sync_percent":"", "lv_metadata_size":"4194304", "move_pv":"", "move_pv_uuid":"", "vdo_operating_mode":"", "vdo_compression_state":"", "vdo_index_state":"", "vdo_used_size":"", "vdo_saving_percent":""},
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:                  {"lv_uuid":"OL0P7m-cBb1-38pp-hbHk-5Qn0-hhDE-iKJznF", "lv_name":"EXT", "lv_path":"/dev/seven/EXT", "lv_size":"1073741824", "vg_name":"seven", "pool_lv_uuid":"", "pool_lv":"", "origin_uuid":"", "origin":"", "data_percent":"", "lv_attr":"ori-------", "lv_tags":"", "vg_uuid":"6oDgWY-qSxK-JZUe-O4hf-icld-2Jw0-V7kF7b", "lv_active":"", "data_lv":"", "metadata_lv":"", "lv_parent":"", "lv_role":"public,origin,extthinorigin,multiextthinorigin", "lv_layout":"linear", "snap_percent":"", "metadata_percent":"", "copy_percent":"", "sync_percent":"", "lv_metadata_size":"", "move_pv":"", "move_pv_uuid":"", "vdo_operating_mode":"", "vdo_compression_state":"", "vdo_index_state":"", "vdo_used_size":"", "vdo_saving_percent":""},
Jun  7 16:36:52 hayes-01 lvmdbusd[182543]:                  {"lv_uuid":"Y89S2F-65j9-jRTI-Kf4p-WwnB-Cuws-bQOAC3", "lv_name":"extorigin", "lv_path":"/dev/seven/extorigin", "lv_size":"1073741824", "vg_name":"seven", "pool_lv_uuid":"RVw0fo-gbRj-2bcw-BFlr-5dCy-XViw-AHF2Cd", "pool_lv":"pool", "origin_uuid":"OL0P7m-cBb1-38pp-hbHk-5Qn0-hhDE-iKJznF", "origin":"EXT", "data_percent":"", "lv_attr":"Vwi---tz--", "lv_tags":"", "vg_uuid":"6oDgWY-qSxK-JZUe-O4hf-icld-2Jw0-V7kF7b", "lv_active":"", "data_lv":"", "metadata_lv":"", "



Version-Release number of selected component (if applicable):
kernel-4.18.0-310.el8    BUILT: Thu May 27 14:24:00 CDT 2021
lvm2-2.03.12-2.el8    BUILT: Tue Jun  1 06:55:37 CDT 2021
lvm2-libs-2.03.12-2.el8    BUILT: Tue Jun  1 06:55:37 CDT 2021
lvm2-dbusd-2.03.11-5.el8    BUILT: Fri Mar  5 07:13:23 CST 2021

Comment 1 Corey Marthaler 2021-06-07 22:37:34 UTC
FWIW - This happens with the latest rpm build as well.

lvm2-dbusd-2.03.12-2.el8    BUILT: Tue Jun  1 06:55:11 CDT 2021

Comment 2 Tony Asleson 2021-06-09 13:15:22 UTC
The flight recorder by default keeps the last 10 commands issued to lvm.  Please attach all for debug.  Starts with "LVM dbus flight recorder START" ends with "LVM dbus flight recorder END".

Comment 3 Corey Marthaler 2021-06-09 16:54:17 UTC
Created attachment 1789628 [details]
dbus flight recorder

Comment 4 Tony Asleson 2021-06-17 14:31:49 UTC
Correction committed upstream: https://sourceware.org/git/?p=lvm2.git;a=commit;h=f70d97b91620bc7c2e5c5ccc39913c54379322c2

Comment 7 Corey Marthaler 2021-11-03 02:44:07 UTC
Marking Verified:Tested in the latest rpms.

kernel-4.18.0-348.4.el8.kpq0    BUILT: Wed Oct 27 15:00:32 CDT 2021
lvm2-2.03.14-1.el8    BUILT: Wed Oct 20 10:18:17 CDT 2021
lvm2-libs-2.03.14-1.el8    BUILT: Wed Oct 20 10:18:17 CDT 2021
lvm2-dbusd-2.03.14-1.el8    BUILT: Wed Oct 20 10:18:48 CDT 2021


SCENARIO - [split_no_meta_virt_devices]
Attmept to split out the thin virt volumes w/o meta data space from VG
vgcreate seven /dev/sdi1 /dev/sde1 /dev/sdc1 /dev/sdd1 /dev/sdh1 /dev/sdj1 /dev/sdk1 /dev/sdg1 /dev/sdb1 /dev/sdl1 /dev/sdf1
  WARNING: Devices have inconsistent physical block sizes (512 and 4096).
Create a thin pool, virt, and snapshot volumes in the same vg (same pvs)
Create LV to be used as an EXTERNAL origin device
lvcreate --yes  -L 1G -n extorigin seven /dev/sde1
Converting LV into an external thin origin device
lvconvert --thinpool seven/pool --originname EXT -T extorigin
  WARNING: Sum of all thin volume sizes (1.00 GiB) exceeds the size of thin pool seven/pool (100.00 MiB).
lvcreate --yes  -s /dev/seven/extorigin -n snap1
  WARNING: Sum of all thin volume sizes (2.00 GiB) exceeds the size of thin pool seven/pool (100.00 MiB).
  WARNING: Sum of all thin volume sizes (2.01 GiB) exceeds the size of thin pool seven/pool (100.00 MiB).
lvcreate --yes  -s /dev/seven/virt -n snap2
  WARNING: Sum of all thin volume sizes (2.02 GiB) exceeds the size of thin pool seven/pool (100.00 MiB).
deactivating entire volume group
hayes-02: vgsplit -n extorigin seven ten
hayes-02: vgsplit -n snap1 ten seven
  WARNING: updating old metadata to 16 on /dev/sdi1 for VG seven.
hayes-02: vgsplit -n virt seven ten
hayes-02: vgsplit -n snap2 ten seven
  WARNING: updating old metadata to 19 on /dev/sdi1 for VG seven.
Deactivating and removing volume groups...

Comment 11 Corey Marthaler 2021-11-16 18:00:52 UTC
Marking Verified in the latest rpms.

kernel-4.18.0-348.4.el8.kpq0    BUILT: Wed Oct 27 15:00:32 CDT 2021
lvm2-2.03.14-1.el8    BUILT: Wed Oct 20 10:18:17 CDT 2021
lvm2-libs-2.03.14-1.el8    BUILT: Wed Oct 20 10:18:17 CDT 2021


SCENARIO - [split_no_meta_virt_devices]
Attmept to split out the thin virt volumes w/o meta data space from VG
vgcreate seven /dev/sdg1 /dev/sdb1 /dev/sdj1 /dev/sdf1 /dev/sdk1 /dev/sdd1 /dev/sdc1 /dev/sdh1 /dev/sde1 /dev/sdi1
Create a thin pool, virt, and snapshot volumes in the same vg (same pvs)
Create LV to be used as an EXTERNAL origin device
lvcreate --yes  -L 1G -n extorigin seven /dev/sdb1
Converting LV into an external thin origin device
lvconvert --thinpool seven/pool --originname EXT -T extorigin
  WARNING: Sum of all thin volume sizes (1.00 GiB) exceeds the size of thin pool seven/pool (100.00 MiB).
lvcreate --yes  -s /dev/seven/extorigin -n snap1
  WARNING: Sum of all thin volume sizes (2.00 GiB) exceeds the size of thin pool seven/pool (100.00 MiB).
  WARNING: Sum of all thin volume sizes (2.01 GiB) exceeds the size of thin pool seven/pool (100.00 MiB).
lvcreate --yes  -s /dev/seven/virt -n snap2
  WARNING: Sum of all thin volume sizes (2.02 GiB) exceeds the size of thin pool seven/pool (100.00 MiB).
deactivating entire volume group
hayes-01: vgsplit -n extorigin seven ten
hayes-01: vgsplit -n snap1 ten seven
  WARNING: updating old metadata to 16 on /dev/sdg1 for VG seven.
hayes-01: vgsplit -n virt seven ten
hayes-01: vgsplit -n snap2 ten seven
  WARNING: updating old metadata to 19 on /dev/sdg1 for VG seven.
Deactivating and removing volume groups...

Comment 13 errata-xmlrpc 2022-05-10 15:21: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 (lvm2 bug fix and enhancement update), 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/RHBA-2022:2038