[RHV] The status of the Manager virtual machine is "reason": "failed liveliness check", "health": "bad", "vm": "up", "detail": "up".

Solution Verified - Updated -

Issue

  • The hosted-engine --vm-status is failed liveliness check but Manager virtual machine, HE VM is accessible via ssh:-
# hosted-engine --vm-status

--== Host 1 status ==--

Status up-to-date              : True
Hostname                       : hypervisor.example.com
Host ID                        : 1
Engine status                  : {"reason": "vm not running on this host", "health": "bad", "vm": "down", "detail": "unknown"}
Score                          : 3400
stopped                        : False
Local maintenance              : False
crc32                          : 99e57eba
Host timestamp                 : 248542
  • The ovirt-log-collector command fails with following error:-
Traceback (most recent call last):
  File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/lib/python2.7/site-packages/ovirt_log_collector/__main__.py", line 1572, in <module>
    DEFAULT_SCRATCH_DIR = tempfile.mkdtemp(prefix='logcollector-')
  File "/usr/lib64/python2.7/tempfile.py", line 321, in mkdtemp
    dir = gettempdir()
  File "/usr/lib64/python2.7/tempfile.py", line 265, in gettempdir
    tempdir = _get_default_tempdir()
  File "/usr/lib64/python2.7/tempfile.py", line 212, in _get_default_tempdir
    ("No usable temporary directory found in %s" % dirlist))
IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/root']

Environment

  • Red Hat Virtualization [RHV] 4.3.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In