/etc/sudoers.d/60_ovirt-ha had /usr/sbin/service as hardcoded path and the path is different on different OS. For example it's fin for Fedora but I have RHEL 6.5 and it's in /sbin/service not /usr/sbin/services --------------- MainThread::ERROR::2013-09-30 12:20:50,461::hosted_engine::326::HostedEngine::(_cond_start_service) Starting sanlock MainThread::WARNING::2013-09-30 12:20:56,014::hosted_engine::238::HostedEngine::(start_monitoring) Error while monitoring engine: Could not start sanlock: sudo: no tty present and no askpass program specified MainThread::WARNING::2013-09-30 12:20:56,015::hosted_engine::241::HostedEngine::(start_monitoring) Unexpected error Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py", line 228, in start_monitoring self._initialize_sanlock() File "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py", line 351, in _initialize_sanlock self._cond_start_service('sanlock') File "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py", line 335, in _cond_start_service .format(service_name, res[1])) Exception: Could not start sanlock: sudo: no tty present and no askpass program specified
Sandro is this handled by the setup? Please check if related to RHEL 6.5.
(In reply to Doron Fediuck from comment #1) > Sandro is this handled by the setup? > Please check if related to RHEL 6.5. No it's not handled by setup, it's provided by ha package. It's a packaging issue: the configure script should detect `service` path and configure the sudoers file accordingly to that path.
Reassigning to Greg. Greg if you have more urgent issues to fix, I can take care of it tomorrow.
patch merged upstream master
It seems that built package still have this issue. Need to figure out why.
*** Bug 1018706 has been marked as a duplicate of this bug. ***
Merged Change-Id: I1e069cefbd55a4aa7a85abd48beded57846ce78f
fixed.
This bug is currently attached to errata RHEA-2013:15591. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag. Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information: * Cause: What actions or circumstances cause this bug to present. * Consequence: What happens when the bug presents. * Fix: What was done to fix the bug. * Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore') Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug. For further details on the Cause, Consequence, Fix, Result format please refer to: https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes Thanks in advance.
hosted engine is a new package, does not need errata for specific bugs during its development.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2014-0080.html