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.
Jaroslav, - Did you run this with --force? - How do you reproduce this issue? - What is "kvm is comming from IDM"? do you mean there is no kvm group?
(In reply to Nir Soffer from comment #1) > Jaroslav, > - Did you run this with --force? > - How do you reproduce this issue? > - What is "kvm is comming from IDM"? do you mean there is no kvm group? I am sorry. I am not the original reporter. It is dkelson so I am resetting the needinfo. Please note that this bug I cloned from bug 1396675. It was the only way how to move it from rhel product to rhev product. I am sorry about that.
(In reply to Nir Soffer from comment #1) > Jaroslav, > - Did you run this with --force? Yes > - How do you reproduce this issue? Have your box attached to a FreeIPA/IDM server with a kvm group defined in IDM. > - What is "kvm is comming from IDM"? do you mean there is no kvm group? There IS a kvm group, but it is in IDM not in /etc/group, thus vdsm-tool is unable to add the sanlock user to the kvm group.