Bug 1161191 - resizing partition with unused LVM PV results in exception
resizing partition with unused LVM PV results in exception
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: YaST2
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: Arvin Schnell
Jiri Srain
Depends on:
  Show dependency treegraph
Reported: 2020-01-17 13:33 UTC by Arvin Schnell
Modified: 2020-01-17 16:00 UTC (History)
1 user (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---

YaST logs (2.83 MB, application/x-xz)
2020-01-17 13:34 UTC, Arvin Schnell

Note You need to log in before you can comment on or make changes to this bug.
Description Arvin Schnell 2020-01-17 13:33:10 UTC
Resizing a partition with an unused LVM PV in the expert partitioner
results in an exception during commit or when looking at the
"Installation Summary".
Comment 1 Arvin Schnell 2020-01-17 13:34:14 UTC
Created attachment 827730 [details]
YaST logs
Comment 2 Arvin Schnell 2020-01-17 13:52:07 UTC
Seems to be in LvmVg::Impl::action_is_my_pv_resize() where a check is
missing whether the LVM PV has a LVM VG.
Comment 3 Arvin Schnell 2020-01-17 14:10:53 UTC
PR: https://github.com/openSUSE/libstorage-ng/pull/701
Comment 4 Arvin Schnell 2020-01-17 16:00:12 UTC
Fixed in libstorage-ng version 4.2.56.