Bug 2193233

Summary: lvmdevices --test flag message doesn't really apply to command
Product: Red Hat Enterprise Linux 9 Reporter: Corey Marthaler <cmarthal>
Component: lvm2Assignee: LVM Team <lvm-team>
lvm2 sub component: Devices, Filtering and Stacking QA Contact: cluster-qe <cluster-qe>
Status: NEW --- Docs Contact:
Severity: low    
Priority: unspecified CC: agk, heinzm, jbrassow, msnitzer, prajnoha, zkabelac
Version: 9.3   
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Description Corey Marthaler 2023-05-04 19:22:58 UTC
Description of problem:
This is a fairly minor gripe... since lvmdevices is just a system.devices file editor, and if we're going to support the --test flag with it, then the current message of "TEST MODE: Metadata will NOT be updated and volumes will not be (de)activated." doesn't really apply to this command. Something more along the lines of "TEST MODE: system.devices file will not be altered" would be more appropriate.


[root@grant-01 ~]# lvmdevices --test --deldev /dev/sdg1
  TEST MODE: Metadata will NOT be updated and volumes will not be (de)activated.
[root@grant-01 ~]# lvmdevices --test --adddev /dev/sdg1
  TEST MODE: Metadata will NOT be updated and volumes will not be (de)activated.


Version-Release number of selected component (if applicable):
lvm2-2.03.21-1.el9    BUILT: Fri Apr 21 02:33:33 PM CEST 2023
lvm2-libs-2.03.21-1.el9    BUILT: Fri Apr 21 02:33:33 PM CEST 2023