[ovirt-users] [hosted-engine] Metadata too new error when adding 2nd host
วีร์ ศรีทิพโพธิ์
wee.s at forest.go.th
Wed Apr 20 06:29:39 UTC 2016
I'll try to clean to storage then report back.
This is what I got from "hosted-engine --vm-status" in host01:
[root at host01 ~]# 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 2 from host 52 too new for this agent (highest compatible version: 1)
----- ข้อความดั้งเดิม -----
จาก: "Yedidyah Bar David" <didi at redhat.com>
ถึง: "Wee Sritippho" <wee.s at forest.go.th>
สำเนา: "users" <users at ovirt.org>
ส่งแล้ว: พุธ, 20 เมษายน, 2016 1:20:44 PM
เรื่อง: Re: [ovirt-users] [hosted-engine] Metadata too new error when adding 2nd host
On Wed, Apr 20, 2016 at 7:15 AM, Wee Sritippho <wee.s at forest.go.th> wrote:
> Hi,
>
> I used CentOS-7-x86_64-Minimal-1511.iso to install the hosts and the engine.
>
> The 1st host and the hosted-engine were installed successfully, but the 2nd
> host failed with this error message:
>
> "Failed to execute stage 'Setup validation': Metadata version 2 from host 52
> too new for this agent (highest compatible version: 1)"
Assuming you never deployed a host with ID 52, this is likely a result of a
corruption or dirt or something like that.
What do you get on host 1 running 'hosted-engine --vm-status'?
I see that you use FC storage. In previous versions, we did not clean such
storage, so you might have dirt left. See also [1]. You can try cleaning
using [2].
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1238823
[2] https://www.ovirt.org/documentation/how-to/hosted-engine/#lockspace-corrupted-recovery-procedure
>
> Here is the package versions:
>
> [root at host02 ~]# rpm -qa | grep ovirt
> libgovirt-0.3.3-1.el7_2.1.x86_64
> ovirt-vmconsole-1.0.0-1.el7.centos.noarch
> ovirt-vmconsole-host-1.0.0-1.el7.centos.noarch
> ovirt-host-deploy-1.4.1-1.el7.centos.noarch
> ovirt-hosted-engine-ha-1.3.5.1-1.el7.centos.noarch
> ovirt-hosted-engine-setup-1.3.4.0-1.el7.centos.noarch
> ovirt-release36-007-1.noarch
> ovirt-engine-sdk-python-3.6.3.0-1.el7.centos.noarch
> ovirt-setup-lib-1.0.1-1.el7.centos.noarch
>
> [root at engine ~]# rpm -qa | grep ovirt
> ovirt-engine-setup-base-3.6.4.1-1.el7.centos.noarch
> ovirt-engine-setup-plugin-ovirt-engine-common-3.6.4.1-1.el7.centos.noarch
> ovirt-vmconsole-proxy-1.0.0-1.el7.centos.noarch
> ovirt-engine-tools-3.6.4.1-1.el7.centos.noarch
> ovirt-engine-vmconsole-proxy-helper-3.6.4.1-1.el7.centos.noarch
> ovirt-host-deploy-1.4.1-1.el7.centos.noarch
> ovirt-release36-007-1.noarch
> ovirt-engine-sdk-python-3.6.3.0-1.el7.centos.noarch
> ovirt-iso-uploader-3.6.0-1.el7.centos.noarch
> ovirt-engine-extensions-api-impl-3.6.4.1-1.el7.centos.noarch
> ovirt-setup-lib-1.0.1-1.el7.centos.noarch
> ovirt-host-deploy-java-1.4.1-1.el7.centos.noarch
> ovirt-engine-cli-3.6.2.0-1.el7.centos.noarch
> ovirt-engine-setup-plugin-websocket-proxy-3.6.4.1-1.el7.centos.noarch
> ovirt-vmconsole-1.0.0-1.el7.centos.noarch
> ovirt-engine-backend-3.6.4.1-1.el7.centos.noarch
> ovirt-engine-dbscripts-3.6.4.1-1.el7.centos.noarch
> ovirt-engine-webadmin-portal-3.6.4.1-1.el7.centos.noarch
> ovirt-engine-setup-3.6.4.1-1.el7.centos.noarch
> ovirt-engine-3.6.4.1-1.el7.centos.noarch
> ovirt-engine-setup-plugin-vmconsole-proxy-helper-3.6.4.1-1.el7.centos.noarch
> ovirt-guest-agent-common-1.0.11-1.el7.noarch
> ovirt-engine-wildfly-8.2.1-1.el7.x86_64
> ovirt-engine-wildfly-overlay-8.0.5-1.el7.noarch
> ovirt-engine-websocket-proxy-3.6.4.1-1.el7.centos.noarch
> ovirt-engine-restapi-3.6.4.1-1.el7.centos.noarch
> ovirt-engine-userportal-3.6.4.1-1.el7.centos.noarch
> ovirt-engine-setup-plugin-ovirt-engine-3.6.4.1-1.el7.centos.noarch
> ovirt-image-uploader-3.6.0-1.el7.centos.noarch
> ovirt-engine-extension-aaa-jdbc-1.0.6-1.el7.noarch
> ovirt-engine-lib-3.6.4.1-1.el7.centos.noarch
>
>
> Here are the log files:
> https://gist.github.com/weeix/1743f88d3afe1f405889a67ed4011141
>
> --
> Wee
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
--
Didi
More information about the Users
mailing list