Error when trying to add another HostedEngine host
Issue
- When trying to add another host to a HostedEngine (RHEV) environment, we see the following error:
[ ERROR ] Failed to execute stage 'Setup validation': Metadata version 2 from host 25 too new for this agent (highest compatible version: 1)
- On the functioning host, we also see a similar error when trying to call the 'status' command, ie:
[root@rhevh01 ~]# hosted-engine --vm-status
Traceback (most recent call last):
File "/usr/lib64/python2.6/runpy.py", line 122, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib64/python2.6/runpy.py", line 34, in _run_code
exec code in run_globals
File "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_setup/vm_status.py", line 116, in <module>
if not status_checker.print_status():
File "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_setup/vm_status.py", line 59, in print_status
all_host_stats = ha_cli.get_all_host_stats()
File "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/client/client.py", line 157, in get_all_host_stats
return self.get_all_stats(self.StatModes.HOST)
File "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/client/client.py", line 104, in get_all_stats
stats = self._parse_stats(stats, mode)
File "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/client/client.py", line 143, in _parse_stats
md = metadata.parse_metadata_to_dict(host_id, data)
File "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/lib/metadata.py", line 147, in parse_metadata_to_dict
constants.METADATA_FEATURE_VERSION))
ovirt_hosted_engine_ha.lib.exceptions.FatalMetadataError: Metadata version 2 from host 25 too new for this agent (highest compatible version: 1)
Environment
- Red Hat Enterprise Virtualization 3.5.4.2-1.3 (HostedEngine)
- Red Hat Enterprise Linux 6.7 (rhev hosts)
- libvirt-0.10.2-54.el6.x86_64
- vdsm-4.16.26-1.el6ev.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.