Bug 1782864 - python-lvm calls generate message lvmetad[861]: WARNING: Ignoring unsupported value for cmd.
Summary: python-lvm calls generate message lvmetad[861]: WARNING: Ignoring unsupported...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: lvm2
Version: 7.8
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Marian Csontos
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-12 14:16 UTC by John Pittman
Modified: 2023-03-24 16:25 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-11 15:35:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 4645171 0 None None None 2019-12-12 20:40:02 UTC

Description John Pittman 2019-12-12 14:16:26 UTC
Description of problem:

python-lvm calls generate message lvmetad[861]: WARNING: Ignoring unsupported value for cmd.

Version-Release number of selected component (if applicable):

kernel-3.10.0-1062.7.1.el7.x86_64
lvm2-2.02.185-2.el7_7.2.x86_64
lvm2-libs-2.02.185-2.el7_7.2.x86_64
lvm2-python-libs-2.02.185-2.el7_7.2.x86_64

How reproducible:

every time

Steps to Reproduce:

#!/usr/bin/python
import lvm
print(lvm.listVgNames())

Actual results:

Dec 12 09:07:27 localhost.localdomain lvmetad[861]: WARNING: Ignoring unsupported value for cmd.
Dec 12 09:07:27 localhost.localdomain lvmetad[861]: WARNING: Ignoring unsupported value for cmd.

Expected results:

No warning, or suppressed warning

Comment 2 loberman 2019-12-12 21:17:09 UTC
Deems issue is access as root is needed

[loberman@rhel7lobe Downloads]$ ./lv_test.py 
  /run/lvm/lvmetad.socket: access failed: Permission denied
  WARNING: Failed to connect to lvmetad. Falling back to device scanning.
()
[loberman@rhel7lobe Downloads]$ sudo ./lv_test.py 
('rhelnew',)

Comment 3 loberman 2019-12-12 21:20:18 UTC
Ok, John corrected me, its the message that is of concern.
He confirmed it also worked for him as root.

Comment 5 Marian Csontos 2020-01-09 14:10:48 UTC
cmd is not set by python library. This is harmless, as lvmetad is using this only in debug strings. Also there is pid field to identify process more precisely, but for humans the actual command would be more helpful. Definitely not worth a blocker.

Comment 7 Marian Csontos 2020-11-11 15:35:54 UTC
This is harmless and will not be fixed in RHEL7. Python bindings were removed in RHEL8 so there is nothing to do.


Note You need to log in before you can comment on or make changes to this bug.