
hi , i am a new user of ovirt , i want to setup self host , i follow the step in https://www.ovirt.org/documentation/self-hosted/chap-Deploying_Self-Hoste... , after i configure storage this error appear fatal: [localhost]: FAILED! => {"changed": false, "msg": "Engine VM is not running, please check vdsm logs"} how can i fixed it ?

On Tue, Aug 28, 2018 at 11:55 AM <mustafa.taha.mu95@gmail.com> wrote:
hi , i am a new user of ovirt , i want to setup self host , i follow the step in https://www.ovirt.org/documentation/self-hosted/chap-Deploying_Self-Hoste... , after i configure storage this error appear fatal: [localhost]: FAILED! => {"changed": false, "msg": "Engine VM is not running, please check vdsm logs"} how can i fixed it ?
Hi, can you please attach vdsm logs (/var/log/vdsm/vdsm.log) from the deployment time?
_______________________________________________ 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/FC43EOM3EHXDL6...

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/FSDWKPNX7CPP5O...

when i use hosted-engine --vm-status this will appear --== Host 1 status ==-- conf_on_shared_storage : True Status up-to-date : True Hostname : node.exalt.ps Host ID : 1 Engine status : {"reason": "bad vm status", "health": "bad", "vm": "down_unexpected", "detail": "Down"} Score : 0 stopped : False Local maintenance : False crc32 : 446b72bf local_conf_timestamp : 7526 Host timestamp : 7526 Extra metadata (valid at timestamp): metadata_parse_version=1 metadata_feature_version=1 timestamp=7526 (Tue Aug 28 14:09:17 2018) host-id=1 score=0 vm_conf_refresh_time=7526 (Tue Aug 28 14:09:18 2018) conf_on_shared_storage=True maintenance=False state=EngineUnexpectedlyDown stopped=False timeout=Thu Jan 1 04:13:56 1970

when i use hosted-engine --vm-status this will appear --== Host 1 status ==-- conf_on_shared_storage : True Status up-to-date : True Hostname : node.exalt.ps Host ID : 1 Engine status : {"reason": "bad vm status", "health": "bad", "vm": "down_unexpected", "detail": "Down"} Score : 0 stopped : False Local maintenance : False crc32 : 446b72bf local_conf_timestamp : 7526 Host timestamp : 7526 Extra metadata (valid at timestamp): metadata_parse_version=1 metadata_feature_version=1 timestamp=7526 (Tue Aug 28 14:09:17 2018) host-id=1 score=0 vm_conf_refresh_time=7526 (Tue Aug 28 14:09:18 2018) conf_on_shared_storage=True maintenance=False state=EngineUnexpectedlyDown stopped=False timeout=Thu Jan 1 04:13:56 1970

Hi, mustafa.taha.mu95@gmail.com writes:
when i use hosted-engine --vm-status
this will appear [snip]
Did you actually install and configure the hosted-engine VM? -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH warlord@MIT.EDU PGP key available
participants (3)
-
Derek Atkins
-
mustafa.taha.mu95@gmail.com
-
Simone Tiraboschi