The engine VM fails to start due to:

2018-08-28 13:08:24,081+0300 INFO  (vm/2825b884) [root] /usr/libexec/vdsm/hooks/before_device_create/10_allocate_net: rc=2 err=vm net allocation hook: [unexpected error]: Traceback (most recent call last):
  File "/usr/libexec/vdsm/hooks/before_device_create/10_allocate_net", line 105, in <module>
    main()
  File "/usr/libexec/vdsm/hooks/before_device_create/10_allocate_net", line 93, in main
    allocate_random_network(device_xml)
  File "/usr/libexec/vdsm/hooks/before_device_create/10_allocate_net", line 62, in allocate_random_network
    net = _get_random_network()
  File "/usr/libexec/vdsm/hooks/before_device_create/10_allocate_net", line 50, in _get_random_network
    available_nets = _parse_nets()
  File "/usr/libexec/vdsm/hooks/before_device_create/10_allocate_net", line 46, in _parse_nets
    return [net for net in os.environ[AVAIL_NETS_KEY].split()]
  File "/usr/lib64/python2.7/UserDict.py", line 23, in __getitem__
    raise KeyError(key)
KeyError: 'equivnets'

And /usr/libexec/vdsm/hooks/before_device_create/10_allocate_net comes from vdsm-hook-allocate_net rpm which is not installed by default.
The point is why you have it during hosted-engine-setup: did you manually installed vdsm-hook-allocate_net ? do you really need it?
Can you please remove it and try to deploy again?




On Tue, Aug 28, 2018 at 1:09 PM <mustafa.taha.mu95@gmail.com> wrote:
ok i send it to your mail
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/FSDWKPNX7CPP5OIXJ6DEB7N4SO37HUT7/