New Hosted Engine install, 'hosted-engine --vm-status' failes with python traceback
Issue
- New RHEV installation (Hosted Engine)
- When trying to run 'hosted-engine --vm-status' we get:
# hosted-engine --vm-status
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_hosted_engine_setup/vm_status.py", line 117, in <module>
if not status_checker.print_status():
File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/vm_status.py", line 60, in print_status
all_host_stats = ha_cli.get_all_host_stats()
File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py", line 160, in get_all_host_stats
return self.get_all_stats(self.StatModes.HOST)
File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py", line 107, in get_all_stats
stats = self._parse_stats(stats, mode)
File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py", line 146, in _parse_stats
md = metadata.parse_metadata_to_dict(host_id, data)
File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/metadata.py", line 156, in parse_metadata_to_dict
constants.METADATA_FEATURE_VERSION))
ovirt_hosted_engine_ha.lib.exceptions.FatalMetadataError: Metadata version 3 from host 55 too new for this agent (highest compatible version: 1)
- Running
hosted-engine --clean-metadatadoes not help - Running
hosted-engine --clean-metadata --force-cleandoes not help - restarting the host and/or rhevm instance does not help
Environment
- Red Hat Enterprise Virtualization 3.6, Hosted Engine (iscsi)
- Hosted Engine was installed previously on the current iscsi device
- 'unclean' iscsi device for Hosted Engine (or not completely wiped after previous use)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.