Why broker logs are showing "Failed to read metadata from hosted-engine.metadata No such file or directory"

Solution Verified - Updated -

Issue

  • Can see below events in the broker log. However, these error messages are not continuous and get fixed automatically.
Thread-2::ERROR::2017-11-09 12:49:48,822::storage_broker::138::ovirt_hosted_engine_ha.broker.storage_broker.StorageBroker::(get_raw_stats_for_service_type) Failed to read metadata from /rhev/data-center/mnt/blockSD/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa/ha_agent/hosted-engine.metadata
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/broker/storage_broker.py", line 129, in get_raw_stats_for_service_type
    f = os.open(path, direct_flag | os.O_RDONLY | os.O_SYNC)
OSError: [Errno 2] No such file or directory: '/rhev/data-center/mnt/blockSD/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa/ha_agent/hosted-engine.metadata'

Environment

  • Red Hat Virtualization 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content