CentOS-Stream-9 Ovirt 4.5 minimal install- engine log:
2025-02-10 07:53:09,247-06 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(ForkJoinPool-1-worker-11) [2fa77002] EVENT_ID: VM_DOWN_ERROR(119), VM clonezilla is down
with error. Exit message: Hook Error: (b'vm net allocation hook: [unexpected error]:
Traceback (most recent call last):\n File
"/usr/libexec/vdsm/hooks/before_device_create/10_allocate_net", line 91, in
<module>\n main()\n File
"/usr/libexec/vdsm/hooks/before_device_create/10_allocate_net", line 79, in
main\n allocate_random_network(device_xml)\n File
"/usr/libexec/vdsm/hooks/before_device_create/10_allocate_net", line 48, in
allocate_random_network\n net = _get_random_network()\n File
"/usr/libexec/vdsm/hooks/before_device_create/10_allocate_net", line 36, in
_get_random_network\n available_nets = _parse_nets()\n File
"/usr/libexec/vdsm/hooks/before_device_create/10_allocate_net", line 32, in
_parse_nets\n return [net for net in os.environ[AVAIL_NETS_KEY].split()]\n File
"/usr/lib64/python3.9/os.py", line 679, in __getitem__\n raise KeyError(key)
from None\nKeyError: \'equivnets\'\n\n\n',).
It doesn't matter if it's a fresh install or import. I go to ui and edit vm and
change to one of the default size templates, usually large, it boots with no nic and I can
add a nic once it's booted and restart it, then it gets an IP and is fine unless you
shut it down. In that case, you have to go through setting size and adding nic after vm
boot.
Any help would be appreciated.
Thanks in advance/
Show replies by date
UPDATE:
If I try to start a vm with a nic I get this error every time:
tail -n 100 -f /var/log/ovirt-engine/engine.log |grep error
<driver name="qemu" type="raw"
error_policy="report"/>
<driver name="qemu" io="threads" type="raw"
error_policy="stop" cache="none"/>
2025-02-11 03:33:44,423-06 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(ForkJoinPool-1-worker-19) [3e8277e8] EVENT_ID: VM_DOWN_ERROR(119), VM clonezilla is down
with error. Exit message: Hook Error: (b'vm net allocation hook: [unexpected error]:
Traceback (most recent call last):\n File
"/usr/libexec/vdsm/hooks/before_device_create/10_allocate_net", line 91, in
<module>\n main()\n File
"/usr/libexec/vdsm/hooks/before_device_create/10_allocate_net", line 79, in
main\n allocate_random_network(device_xml)\n File
"/usr/libexec/vdsm/hooks/before_device_create/10_allocate_net", line 48, in
allocate_random_network\n net = _get_random_network()\n File
"/usr/libexec/vdsm/hooks/before_device_create/10_allocate_net", line 36, in
_get_random_network\n available_nets = _parse_nets()\n File
"/usr/libexec/vdsm/hooks/before_device_create/10_allocate_net", line 32, in
_parse_nets\n return [net for net in os.environ[AVAIL_NETS_KEY].split()]\n File
"/usr/lib64/python3.9/os.py", line 679, in __getitem__\n raise KeyError(key)
from None\nKeyError: \'equivnets\'\n\n\n',).
Some
Finishing my thought, Something in the net allocation preboot is failing. I hope someone
smarter than me can help me out with the code change.
Thanks in advance.
Eric