Hosted engine broker fails to start due to corrupted metadata
Issue
RHV Hosted-engine broker service fails to start due to following error in the /var/log/ovirt-hosted-engine-ha/broker.log
StatusStorageThread::ERROR::2021-09-28 11:31:21,075::storage_broker::167::ovirt_hosted_engine_ha.broker.storage_broker.StorageBroker::(get_raw_stats) Corrupted metadata from /run/vdsm/storage/1ace8186-df46-4795-9f7c-6552283a3690/b8e4504d-408b-4e05-837c-45390ab1839e/97275924-03c8-417d-9dfe-ea16f7d7b044
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/broker/storage_broker.py", line 163, in get_raw_stats
data = bdata.decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb9 in position 4191756: invalid start byte
StatusStorageThread::ERROR::2021-09-28 11:31:21,075::status_broker::98::ovirt_hosted_engine_ha.broker.status_broker.StatusBroker.Update::(run) Failed to read state.
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/broker/storage_broker.py", line 163, in get_raw_stats
data = bdata.decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb9 in position 4191756: invalid start byte
Environment
- Red Hat Virtualization 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.