Description of problem: When cleaning the metadata of a hosted-engine, the command fails with this error: # hosted-engine --clean-metadata --host-id=2 --force-clean /usr/sbin/hosted-engine: line 547: /usr/share/ovirt-hosted-engine-ha/ovirt-ha-agent: No such file or directory The new location of ovirt-ha-agent is /usr/libexec/ovirt-hosted-engine-ha/ovirt-ha-agent Version-Release number of selected component (if applicable): ovirt-hosted-engine-ha-2.5.0-1.el8ev.noarch ovirt-hosted-engine-setup-2.6.3-1.el8ev.noarch How reproducible: Always Steps to Reproduce: 1. Use the mentioned package versions (RHV 4.4 SP1) 2. Try to clean up the metadata of a hosted-engine host: hosted-engine --clean-metadata --host-id=2 --force-clean Actual results: /usr/sbin/hosted-engine: line 547: /usr/share/ovirt-hosted-engine-ha/ovirt-ha-agent: No such file or directory Expected results: No error Additional info:
Works just fine now: ovirt-hosted-engine-ha-2.5.0-1.el8ev.noarch ovirt-hosted-engine-setup-2.6.5-1.1.el8ev.noarch serval14 ~]# hosted-engine --vm-status --== Host serval14.lab.eng.tlv2.redhat.com (id: 1) status ==-- Host ID : 1 Host timestamp : 148876 Score : 3400 Engine status : {"vm": "up", "health": "good", "detail": "Up"} Hostname : serval14.lab.eng.tlv2.redhat.com Local maintenance : False stopped : False crc32 : 52ce64c3 conf_on_shared_storage : True local_conf_timestamp : 148876 Status up-to-date : True Extra metadata (valid at timestamp): metadata_parse_version=1 metadata_feature_version=1 timestamp=148876 (Thu Aug 11 19:35:06 2022) host-id=1 score=3400 vm_conf_refresh_time=148876 (Thu Aug 11 19:35:06 2022) conf_on_shared_storage=True maintenance=False state=EngineUp stopped=False --== Host serval15.lab.eng.tlv2.redhat.com (id: 2) status ==-- Host ID : 2 Host timestamp : 1650 Score : 0 Engine status : unknown stale-data Hostname : serval15.lab.eng.tlv2.redhat.com Local maintenance : False stopped : True crc32 : 6db44bdb conf_on_shared_storage : True local_conf_timestamp : 1640 Status up-to-date : False Extra metadata (valid at timestamp): metadata_parse_version=1 metadata_feature_version=1 timestamp=1650 (Thu Aug 11 19:31:59 2022) host-id=2 score=0 vm_conf_refresh_time=1640 (Thu Aug 11 19:31:49 2022) conf_on_shared_storage=True maintenance=False state=AgentStopped stopped=True [root@serval14 ~]# hosted-engine --clean-metadata --host-id=2 --force-clean INFO:ovirt_hosted_engine_ha.agent.agent.Agent:ovirt-hosted-engine-ha agent 2.5.0 started INFO:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine:Certificate common name not found, using hostname to identify host INFO:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine:Initializing ha-broker connection INFO:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine:Broker initialized, all submonitors started INFO:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine:Cleaning the metadata block! INFO:ovirt_hosted_engine_ha.agent.agent.Agent:Agent shutting down [root@serval14 ~]# hosted-engine --vm-status --== Host serval14.lab.eng.tlv2.redhat.com (id: 1) status ==-- Host ID : 1 Host timestamp : 148886 Score : 3400 Engine status : {"vm": "up", "health": "good", "detail": "Up"} Hostname : serval14.lab.eng.tlv2.redhat.com Local maintenance : False stopped : False crc32 : ec5cd732 conf_on_shared_storage : True local_conf_timestamp : 148886 Status up-to-date : True Extra metadata (valid at timestamp): metadata_parse_version=1 metadata_feature_version=1 timestamp=148886 (Thu Aug 11 19:35:16 2022) host-id=1 score=3400 vm_conf_refresh_time=148886 (Thu Aug 11 19:35:17 2022) conf_on_shared_storage=True maintenance=False state=EngineUp stopped=False [root@serval14 ~]#
This bug has low overall severity and is not going to be further verified by QE. If you believe special care is required, feel free to properly align relevant severity, flags and keywords to raise PM_Score or use one of the Bumps ('PrioBumpField', 'PrioBumpGSS', 'PrioBumpPM', 'PrioBumpQA') in Keywords to raise it's PM_Score above verification threashold (1000).
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: RHV RHEL Host (ovirt-host) [ovirt-4.5.2] security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:6392