Bug 1810910
Summary: | [blivet]Package libblockdev-nvdimm is missing in Rhel 8 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Gobinda Das <godas> |
Component: | python-blivet | Assignee: | Vojtech Trefny <vtrefny> |
Status: | CLOSED WONTFIX | QA Contact: | Release Test Team <release-test-team-automation> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 8.2 | CC: | blivet-maint-list, coughlan, dlehman, jstodola, kmajumde, rcyriac, rhs-bugs, sabose, sasundar, sbonazzo, vtrefny |
Target Milestone: | rc | ||
Target Release: | 8.2 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1810905 | Environment: | |
Last Closed: | 2021-09-06 07:27:07 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: | |||
Bug Blocks: | 1810905 |
Description
Gobinda Das
2020-03-06 08:08:53 UTC
upstream PR with the fix: https://github.com/storaged-project/blivet/pull/738 I installed libblockdev-nvdimm manually in my server but still issue persists and now it's something different. [root@tendrl25 ~]# rpm -qa | grep libblockdev-nvdimm libblockdev-nvdimm-2.19-12.el8.x86_64 [root@tendrl25 ~]# /usr/bin/python3 Python 3.6.8 (default, Dec 5 2019, 15:45:45) [GCC 8.3.1 20191121 (Red Hat 8.3.1-5)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import blivet ** (process:185621): WARNING **: 09:28:39.436: failed to load module lvm: libbd_lvm.so.2: cannot open shared object file: No such file or directory ** (process:185621): WARNING **: 09:28:39.439: failed to load module mpath: libbd_mpath.so.2: cannot open shared object file: No such file or directory ** (process:185621): WARNING **: 09:28:39.439: failed to load module dm: libbd_dm.so.2: cannot open shared object file: No such file or directory >>> blivetEnv = blivet.Blivet() >>> blivetEnv.reset() ** (process:185621): CRITICAL **: 09:29:13.331: The function 'bd_lvm_pvs' called, but not implemented! ** (process:185621): CRITICAL **: 09:29:13.421: The function 'bd_dm_get_subsystem_from_name' called, but not implemented! Traceback (most recent call last): File "/usr/lib64/python3.6/site-packages/gi/overrides/BlockDev.py", line 967, in wrapped ret = orig_obj(*args, **kwargs) GLib.Error: g-bd-init-error-quark: The function 'bd_dm_get_subsystem_from_name' called, but not implemented! (1) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock return m(*args, **kwargs) File "/usr/lib/python3.6/site-packages/blivet/blivet.py", line 161, in reset self.devicetree.populate(cleanup_only=cleanup_only) File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock return m(*args, **kwargs) File "/usr/lib/python3.6/site-packages/blivet/populator/populator.py", line 413, in populate self._populate() File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock return m(*args, **kwargs) File "/usr/lib/python3.6/site-packages/blivet/populator/populator.py", line 461, in _populate self.handle_device(dev) File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock return m(*args, **kwargs) File "/usr/lib/python3.6/site-packages/blivet/populator/populator.py", line 261, in handle_device helper_class = self._get_device_helper(info) File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock return m(*args, **kwargs) File "/usr/lib/python3.6/site-packages/blivet/populator/populator.py", line 226, in _get_device_helper return get_device_helper(info) File "/usr/lib/python3.6/site-packages/blivet/populator/helpers/__init__.py", line 53, in get_device_helper return _six.next((h for h in _device_helpers if h.match(data)), None) File "/usr/lib/python3.6/site-packages/blivet/populator/helpers/__init__.py", line 53, in <genexpr> return _six.next((h for h in _device_helpers if h.match(data)), None) File "/usr/lib/python3.6/site-packages/blivet/populator/helpers/luks.py", line 43, in match return udev.device_is_dm_luks(data) File "/usr/lib/python3.6/site-packages/blivet/udev.py", line 633, in device_is_dm_luks is_crypt = device_dm_subsystem_match(info, "crypt") File "/usr/lib/python3.6/site-packages/blivet/udev.py", line 614, in device_dm_subsystem_match _subsystem = blockdev.dm.get_subsystem_from_name(name) File "/usr/lib64/python3.6/site-packages/gi/overrides/BlockDev.py", line 985, in wrapped raise self._xrules[e_type].new_exc(msg) gi.overrides.BlockDev.BlockDevNotImplementedError: The function 'bd_dm_get_subsystem_from_name' called, but not implemented! Any idea? (In reply to Gobinda Das from comment #11) > I installed libblockdev-nvdimm manually in my server but still issue > persists and now it's something different. > > Any idea? This is another symptom of blivet not being good at handling missing dependencies. This was always an issue and we are working on fixing this but it's still work in progress and definitely not ready for 8.2. We had a fix for the missing NVDIMM plugin ready because this was a newly added feature, but currently blivet won't work correctly without following libblockdev plugins: swap, crypto, loop, mdraid, mpath, dm. I again suggest installing "libblockdev-plugins-all" as a workaround for this problem. The RHEL installation media seems to pick up the libblockdev plugin packages (all of them) because anaconda requires libblockdev-plugins-all. How is it that your installation media does not have all of anaconda's dependencies? I must be missing something. Ah, I think the answer to my question is that you are not using anaconda. If that is correct, probably the best solution is for you to add 'Requires: libblockdev-plugins-all' to the same spec file that has 'Requires: python3-blivet'. Is that possible? Sandro, here is the patch https://gerrit.ovirt.org/#/c/107620/ to add libblockdev-plugins-all dependency in vdsm-gluster. Will this enough to pull libblockdev-plugins-all ? (In reply to Gobinda Das from comment #15) > Sandro, here is the patch https://gerrit.ovirt.org/#/c/107620/ to add > libblockdev-plugins-all dependency in vdsm-gluster. Will this enough to pull > libblockdev-plugins-all ? It will be enough but sounds like a workaround for a blivet bug, will work for us but anyone else using blivet out of anaconda or vdsm scenario will hit this again. Moving this back to NEW as I don't see a blivet build solving this. After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days |