The HE VM fails to start due to missing volume

Solution Verified - Updated -

Issue

HE fails to start with error message in the agent.log

MainThread::ERROR::2021-01-23 21:38:40,446::agent::144::ovirt_hosted_engine_ha.agent.agent.Agent::(_run_agent) Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py", line 131, in _run_agent
    return action(he)
  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py", line 55, in action_proper
    return he.start_monitoring()
  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py", line 413, in start_monitoring
    self._initialize_broker()
  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py", line 535, in _initialize_broker
    m.get('options', {}))
  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py", line 83, in start_monitor
    .format(type, options, e))
RequestError: Failed to start monitor ping, options {'addr': '192.168.137.1'}: [Errno 2] No such file or directory

Meanwhile broker.log reports

MainThread::WARNING::2021-01-23 21:38:41,221::storage_broker::97::ovirt_hosted_engine_ha.broker.storage_broker.StorageBroker::(__init__) Can't connect vdsm storage: Command Image.prepare with args {'imageID': '10a55669-0a20-4989-a9c7-5ff3
f1af582a', 'storagepoolID': '00000000-0000-0000-0000-000000000000', 'volumeID': '0f018ac7-955d-4db5-947a-b6205c5ae268', 'storagedomainID': '062b59c0-84d1-4da0-a23e-0c009c1a5de6'} failed:
(code=201, message=Volume does not exist: (u'0f018ac7-955d-4db5-947a-b6205c5ae268',)) 

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