Bug 1396675

Summary: vdsm-tool configure --module sanlock doesn't actually confirm proper group membership
Product: Red Hat Enterprise Linux 7 Reporter: Dax Kelson <dkelson>
Component: qemu-kvm-rhevAssignee: Jaroslav Suchanek <jsuchane>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: knoel, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1413079 (view as bug list) Environment:
Last Closed: 2017-01-13 15:08:03 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:

Description Dax Kelson 2016-11-18 23:16:33 UTC
Description of problem:

TL;DR:

The "vdsm-tool configure --module sanlock" command should NOT report success if it isn't able to add the sanlock users to the groups and instead should report a helpful error message.

LONG VERSION:

vdsm-tool configure --module sanlock

The above command is supposed to add the sanlock user to the qemu and kvm groups.

If kvm is coming from IDM, this command will NOT be able to add the sanlock user to the group, however, the command will still report success! 

I know it is not advisable to have system group in IDM, but for other complicated reasons it was.

The "vdsm-tool configure" command should NOT report success if it isn't able to add the sanlock users to the groups and instead should report a helpful error message.

Comment 2 Jaroslav Suchanek 2017-01-13 15:08:03 UTC
Well I believe this is for RHV product. As I did not find any better way how to move it there I just cloned it as bug 1413079. Closing this one.