Failed to add rhel host to rhv engine server with error - VDSM host-38 command Get Host Capabilities failed: Internal JSON-RPC error: {'reason': "'libvirt'"}
Created attachment 1819038[details]
log for engine.log
Description of problem:
Failed to add rhel host to rhv engine server with error - VDSM host-38 command Get Host Capabilities failed: Internal JSON-RPC error: {'reason': "'libvirt'"}
Version-Release number of selected component (if applicable):
RHV ENGINE INFO:
rhvm-4.4.8.5-0.4.el8ev.noarch
ovirt-engine-4.4.8.5-0.4.el8ev.noarch
RHEL HOST INFO:
libvirt-7.6.0-2.module+el8.5.0+12219+a5ea13d2.x86_64
vdsm-4.40.80.5-1.el8ev.x86_64
How reproducible:
100%
Steps to Reproduce:
1. Setup the rhv engine server.
2. Install an RHEL-AV 8.5.0 host and add it to the rhv engine.
# ansible-playbook playbooks/rhv_host_deploy.yaml
...
TASK [host_deploy : Login to rhvm] *****************************************************************
ok: [hp-dl385g10-03.lab.eng.pek2.redhat.com]
TASK [host_deploy : Register host] *****************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: Exception: Error message: ['Host host-38 installation failed. Failed to configure management network on the host.', 'VDSM host-38 command CollectVdsNetworkDataAfterInstallationVDS failed: Internal JSON-RPC error: {\'reason\': "\'libvirt\'"}']
failed: [$rhv-server] (item={'cluster': 'Default', 'name': 'host-38', 'address': '$rhv_host_ip'}) => {"ansible_loop_var": "item", "changed": false, "item": {"address": "$rhv_host_ip", "cluster": "Default", "name": "host-38"}, "msg": "Error message: ['Host host-38 installation failed. Failed to configure management network on the host.', 'VDSM host-38 command CollectVdsNetworkDataAfterInstallationVDS failed: Internal JSON-RPC error: {\\'reason\\': \"\\'libvirt\\'\"}']"}
PLAY RECAP *****************************************************************************************
$rhv_server : ok=2 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
Actual results:
As the description.
Expected results:
Fix it.
Additional info:
I will attach the vdsm.log and libvirtd.log and engine.log, thanks.
(In reply to Michal Skrivanek from comment #3)
> needs 4.4.9 backport
Hi Michal,
Any workaround at this moment before backporting to 4.4.9, thanks.
BR,
juzhou.
(In reply to zhoujunqin from comment #4)
> (In reply to Michal Skrivanek from comment #3)
> > needs 4.4.9 backport
>
> Hi Michal,
> Any workaround at this moment before backporting to 4.4.9, thanks.
>
> BR,
> juzhou.
yes, you can apply that same patch locally on running env, or possibly downgrade the rpm package to 8.4 version
Verified on:
vdsm-4.40.80.6-1.el8ev.x86_64
libvirt-7.0.0-14.4.module+el8.4.0+12413+d23780e6.x86_64
Host with RHEL8.5 AV successfully installed in a RHV 4.4.8.4-0.7.el8ev
Created attachment 1819038 [details] log for engine.log Description of problem: Failed to add rhel host to rhv engine server with error - VDSM host-38 command Get Host Capabilities failed: Internal JSON-RPC error: {'reason': "'libvirt'"} Version-Release number of selected component (if applicable): RHV ENGINE INFO: rhvm-4.4.8.5-0.4.el8ev.noarch ovirt-engine-4.4.8.5-0.4.el8ev.noarch RHEL HOST INFO: libvirt-7.6.0-2.module+el8.5.0+12219+a5ea13d2.x86_64 vdsm-4.40.80.5-1.el8ev.x86_64 How reproducible: 100% Steps to Reproduce: 1. Setup the rhv engine server. 2. Install an RHEL-AV 8.5.0 host and add it to the rhv engine. # ansible-playbook playbooks/rhv_host_deploy.yaml ... TASK [host_deploy : Login to rhvm] ***************************************************************** ok: [hp-dl385g10-03.lab.eng.pek2.redhat.com] TASK [host_deploy : Register host] ***************************************************************** An exception occurred during task execution. To see the full traceback, use -vvv. The error was: Exception: Error message: ['Host host-38 installation failed. Failed to configure management network on the host.', 'VDSM host-38 command CollectVdsNetworkDataAfterInstallationVDS failed: Internal JSON-RPC error: {\'reason\': "\'libvirt\'"}'] failed: [$rhv-server] (item={'cluster': 'Default', 'name': 'host-38', 'address': '$rhv_host_ip'}) => {"ansible_loop_var": "item", "changed": false, "item": {"address": "$rhv_host_ip", "cluster": "Default", "name": "host-38"}, "msg": "Error message: ['Host host-38 installation failed. Failed to configure management network on the host.', 'VDSM host-38 command CollectVdsNetworkDataAfterInstallationVDS failed: Internal JSON-RPC error: {\\'reason\\': \"\\'libvirt\\'\"}']"} PLAY RECAP ***************************************************************************************** $rhv_server : ok=2 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 Actual results: As the description. Expected results: Fix it. Additional info: I will attach the vdsm.log and libvirtd.log and engine.log, thanks.