My Oracle Support Banner

OLVM: VDSM Fails to Start with Error "Vdsm user could not manage to run sudo operation: (stderr: b'sudo: a password is required\n'). Verify sudoer rules configuration" (Doc ID 2930644.1)

Last updated on OCTOBER 09, 2024

Applies to:

Linux OS - Version Oracle Linux 7.6 with Unbreakable Enterprise Kernel [4.14.35] and later
Information in this document applies to any platform.

Symptoms

KVM host's status changed to "non-responsive" after a root password change and subsequent reboot of the host.
In this particular case, the OLVM UI was showing event "Failed to Reconstruct Master Domain for Data Center" and the KVM host set to non-responsive.

/var/log/vdsm/vdsm.log:

2023-01-11 02:02:50,225-0500 WARN (jsonrpc/3) [storage.LVM] ##########-###-##-########### can't be reloaded, please check your storage connections. (lvm:102)
2023-01-11 02:02:50,275-0500 ERROR (jsonrpc/3) [storage.LVM] Reloading VGs failed vgs=[u'##########-###-##-###########'] rc=1 out=[] err=['sudo: a password is required'] (lvm:571)

2023-01-11 02:02:50,973-0500 INFO (jsonrpc/7) [vdsm.api] FINISH connectStoragePool error=Cannot find master domain: u'spUUID=##########-###-##-###########, msdUUID=##########-###-##-###########' from=::ffff:###.##.##.##,57990, flow_id=2a1da2af, task_id=##########-###-##-########### (api:52)
2023-01-11 02:02:50,973-0500 ERROR (jsonrpc/7) [storage.TaskManager.Task] (Task='##########-###-##-###########') Unexpected error (task:875)

/var/log/messages:

Feb 9 23:27:28 <hostname> /vdsmd[2668243]: VDSM failed to start: Vdsm user could not manage to run sudo operation: (stderr: b'sudo: a password is required\n'). Verify sudoer rules configuration

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.