Deploy Hosted Engine fails at "Set VLAN ID at datacenter level"

Hi, Trying to deploy ovirt 4.3-stable Hosted Engine with cockpit This fails with the following : [ INFO ] TASK [ovirt.hosted_engine_setup : Set VLAN ID at datacenter level] [ ERROR ] Exception: Entity 'None' was not found. [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Entity 'None' was not found."} Any idea? Guillaume Pavese Ingénieur Système et Réseau Interactiv-Group -- Ce message et toutes les pièces jointes (ci-après le “message”) sont établis à l’intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le détruire et d’en avertir immédiatement l’expéditeur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L’internet ne permettant pas d’assurer l’intégrité de ce message . Interactiv-group (et ses filiales) décline(nt) toute responsabilité au titre de ce message, dans l’hypothèse ou il aurait été modifié. IT, ES, UK. <https://interactiv-group.com/disclaimer.html>

On Wed, Jan 29, 2020 at 9:46 AM Guillaume Pavese < guillaume.pavese@interactiv-group.com> wrote:
Hi, Trying to deploy ovirt 4.3-stable Hosted Engine with cockpit
This fails with the following :
[ INFO ] TASK [ovirt.hosted_engine_setup : Set VLAN ID at datacenter level] [ ERROR ] Exception: Entity 'None' was not found. [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Entity 'None' was not found."}
Any idea?
Please check/share /var/log/ovirt-hosted-engine-setup/*. Thanks. Best regards, -- Didi

Tried again on command line without using cockpit, it fails at the same spot less /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20200129084806-26ohxb.log 2020-01-29 09:12:33,966+0100 INFO otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:109 TASK [ovirt.hosted_engine_setup : Set VLAN ID at datacenter level] 2020-01-29 09:12:35,871+0100 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:103 {u'invocation': {u'module_args': {u'comment': None, u'external_prov ider': None, u'timeout': 180, u'description': None, u'name': u'ovirtmgmt', u'poll_interval': 3, u'state': u'present', u'nested_attributes': [], u'label': None, u'fetch_nested': False , u'vm_network': None, u'data_center': u'Default', u'clusters': None, u'vlan_tag': 8, u'mtu': None, u'id': None, u'wait': True}}, u'msg': u"Entity 'None' was not found.", u'exception ': u'Traceback (most recent call last):\n File "/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py", line 327, in main\n File "/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py", line 592, in create\n new_entity = self.build_entity() \n File "/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py", line 175, in build_entity\n File "/tmp/ansible_o virt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py", line 327, in get_id_by_name\n raise Exception("Entity \'%s\' was not found." % name)\ nException: Entity \'None\' was not found.\n', u'changed': False, u'_ansible_no_log': False} 2020-01-29 09:12:35,972+0100 ERROR otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:107 Exception: Entity 'None' was not found. 2020-01-29 09:12:36,073+0100 ERROR otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:107 fatal: [localhost]: FAILED! => {"changed": false, "msg": "Entity 'None' was not found."} I guess the pb may be "vm_network': None" but i can't find other relevant message in logs ; in engine-logs/messages I see that the vm gets a dhcp ip by cloudinit Guillaume Pavese Ingénieur Système et Réseau Interactiv-Group On Wed, Jan 29, 2020 at 5:13 PM Yedidyah Bar David <didi@redhat.com> wrote:
On Wed, Jan 29, 2020 at 9:46 AM Guillaume Pavese < guillaume.pavese@interactiv-group.com> wrote:
Hi, Trying to deploy ovirt 4.3-stable Hosted Engine with cockpit
This fails with the following :
[ INFO ] TASK [ovirt.hosted_engine_setup : Set VLAN ID at datacenter level] [ ERROR ] Exception: Entity 'None' was not found. [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Entity 'None' was not found."}
Any idea?
Please check/share /var/log/ovirt-hosted-engine-setup/*. Thanks.
Best regards, -- Didi
-- Ce message et toutes les pièces jointes (ci-après le “message”) sont établis à l’intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le détruire et d’en avertir immédiatement l’expéditeur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L’internet ne permettant pas d’assurer l’intégrité de ce message . Interactiv-group (et ses filiales) décline(nt) toute responsabilité au titre de ce message, dans l’hypothèse ou il aurait été modifié. IT, ES, UK. <https://interactiv-group.com/disclaimer.html>

so, greping for vm_network, I see in /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-ansible-bootstrap_local_vm-20200129085524-jufqvt.log 2020-01-29 09:12:34,522+0100 DEBUG ansible on_any args TASK: ovirt.hosted_engine_setup : Set VLAN ID at datacenter level kwargs is_conditional:False 2020-01-29 09:12:34,523+0100 DEBUG ansible on_any args localhostTASK: ovirt.hosted_engine_setup : Set VLAN ID at datacenter level kwargs 2020-01-29 09:12:36,388+0100 DEBUG var changed: host "localhost" var "ansible_failed_result" type "<type 'dict'>" value: "{ "_ansible_no_log": false, "_ansible_parsed": true, "changed": false, "exception": "Traceback (most recent call last):\n File \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py\", line 327, in main\n File \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py\", line 592, in create\n new_entity = self.build_entity()\n File \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py\", line 175, in build_entity\n File \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py\", line 327, in get_id_by_name\n raise Exception(\"Entity '%s' was not found.\" % name)\nException: Entity 'None' was not found.\n", "failed": true, "invocation": { "module_args": { "clusters": null, "comment": null, "data_center": "Default", "description": null, "external_provider": null, "fetch_nested": false, "id": null, "label": null, "mtu": null, "name": "ovirtmgmt", "nested_attributes": [], "poll_interval": 3, "state": "present", "timeout": 180, "vlan_tag": 8, "vm_network": null, "wait": true } }, "msg": "Entity 'None' was not found." }" Guillaume Pavese Ingénieur Système et Réseau Interactiv-Group On Wed, Jan 29, 2020 at 5:33 PM Guillaume Pavese < guillaume.pavese@interactiv-group.com> wrote:
Tried again on command line without using cockpit, it fails at the same spot
less /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20200129084806-26ohxb.log
2020-01-29 09:12:33,966+0100 INFO otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:109 TASK [ovirt.hosted_engine_setup : Set VLAN ID at datacenter level] 2020-01-29 09:12:35,871+0100 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:103 {u'invocation': {u'module_args': {u'comment': None, u'external_prov ider': None, u'timeout': 180, u'description': None, u'name': u'ovirtmgmt', u'poll_interval': 3, u'state': u'present', u'nested_attributes': [], u'label': None, u'fetch_nested': False , u'vm_network': None, u'data_center': u'Default', u'clusters': None, u'vlan_tag': 8, u'mtu': None, u'id': None, u'wait': True}}, u'msg': u"Entity 'None' was not found.", u'exception ': u'Traceback (most recent call last):\n File "/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py", line 327, in main\n File "/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py", line 592, in create\n new_entity = self.build_entity() \n File "/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py", line 175, in build_entity\n File "/tmp/ansible_o virt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py", line 327, in get_id_by_name\n raise Exception("Entity \'%s\' was not found." % name)\ nException: Entity \'None\' was not found.\n', u'changed': False, u'_ansible_no_log': False} 2020-01-29 09:12:35,972+0100 ERROR otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:107 Exception: Entity 'None' was not found. 2020-01-29 09:12:36,073+0100 ERROR otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:107 fatal: [localhost]: FAILED! => {"changed": false, "msg": "Entity 'None' was not found."}
I guess the pb may be "vm_network': None" but i can't find other relevant message in logs ; in engine-logs/messages I see that the vm gets a dhcp ip by cloudinit
Guillaume Pavese Ingénieur Système et Réseau Interactiv-Group
On Wed, Jan 29, 2020 at 5:13 PM Yedidyah Bar David <didi@redhat.com> wrote:
On Wed, Jan 29, 2020 at 9:46 AM Guillaume Pavese < guillaume.pavese@interactiv-group.com> wrote:
Hi, Trying to deploy ovirt 4.3-stable Hosted Engine with cockpit
This fails with the following :
[ INFO ] TASK [ovirt.hosted_engine_setup : Set VLAN ID at datacenter level] [ ERROR ] Exception: Entity 'None' was not found. [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Entity 'None' was not found."}
Any idea?
Please check/share /var/log/ovirt-hosted-engine-setup/*. Thanks.
Best regards, -- Didi
-- Ce message et toutes les pièces jointes (ci-après le “message”) sont établis à l’intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le détruire et d’en avertir immédiatement l’expéditeur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L’internet ne permettant pas d’assurer l’intégrité de ce message . Interactiv-group (et ses filiales) décline(nt) toute responsabilité au titre de ce message, dans l’hypothèse ou il aurait été modifié. IT, ES, UK. <https://interactiv-group.com/disclaimer.html>

On Wed, Jan 29, 2020 at 10:48 AM Guillaume Pavese < guillaume.pavese@interactiv-group.com> wrote:
so, greping for vm_network, I see in /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-ansible-bootstrap_local_vm-20200129085524-jufqvt.log
2020-01-29 09:12:34,522+0100 DEBUG ansible on_any args TASK: ovirt.hosted_engine_setup : Set VLAN ID at datacenter level kwargs is_conditional:False 2020-01-29 09:12:34,523+0100 DEBUG ansible on_any args localhostTASK: ovirt.hosted_engine_setup : Set VLAN ID at datacenter level kwargs 2020-01-29 09:12:36,388+0100 DEBUG var changed: host "localhost" var "ansible_failed_result" type "<type 'dict'>" value: "{ "_ansible_no_log": false, "_ansible_parsed": true, "changed": false, "exception": "Traceback (most recent call last):\n File \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py\", line 327, in main\n File \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py\", line 592, in create\n new_entity = self.build_entity()\n File \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py\", line 175, in build_entity\n File \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py\", line 327, in get_id_by_name\n raise Exception(\"Entity '%s' was not found.\" % name)\nException: Entity 'None' was not found.\n", "failed": true, "invocation": { "module_args": { "clusters": null, "comment": null, "data_center": "Default", "description": null, "external_provider": null, "fetch_nested": false, "id": null, "label": null, "mtu": null, "name": "ovirtmgmt", "nested_attributes": [], "poll_interval": 3, "state": "present", "timeout": 180, "vlan_tag": 8, "vm_network": null, "wait": true } }, "msg": "Entity 'None' was not found." }"
Did you change anything in the engine? Or just let the deploy script setup a default engine? Also, please check/share relevant parts from engine.log and setup log (/var/log/ovirt-engine/setup/*) from the engine VM. If it's still running, you can ssh to it from the host, search the logs for 'local_vm_ip' to find it. You might also find these logs inside the hosted-engine-setup logs dir. Adding Martin. Martin, any idea what might have caused it to fail at this point? Seems like the failing line is (from ovirt_network.py): ons_service = self._connection.system_service().openstack_network_providers_service() on_service = ons_service.provider_service(get_id_by_name(ons_service, self.param('external_provider'))) I have no idea how this might be affected by whether or not you manually configure or not, openstack/networks etc. . Best regards,
Guillaume Pavese Ingénieur Système et Réseau Interactiv-Group
On Wed, Jan 29, 2020 at 5:33 PM Guillaume Pavese < guillaume.pavese@interactiv-group.com> wrote:
Tried again on command line without using cockpit, it fails at the same spot
less /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20200129084806-26ohxb.log
2020-01-29 09:12:33,966+0100 INFO otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:109 TASK [ovirt.hosted_engine_setup : Set VLAN ID at datacenter level] 2020-01-29 09:12:35,871+0100 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:103 {u'invocation': {u'module_args': {u'comment': None, u'external_prov ider': None, u'timeout': 180, u'description': None, u'name': u'ovirtmgmt', u'poll_interval': 3, u'state': u'present', u'nested_attributes': [], u'label': None, u'fetch_nested': False , u'vm_network': None, u'data_center': u'Default', u'clusters': None, u'vlan_tag': 8, u'mtu': None, u'id': None, u'wait': True}}, u'msg': u"Entity 'None' was not found.", u'exception ': u'Traceback (most recent call last):\n File "/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py", line 327, in main\n File "/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py", line 592, in create\n new_entity = self.build_entity() \n File "/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py", line 175, in build_entity\n File "/tmp/ansible_o virt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py", line 327, in get_id_by_name\n raise Exception("Entity \'%s\' was not found." % name)\ nException: Entity \'None\' was not found.\n', u'changed': False, u'_ansible_no_log': False} 2020-01-29 09:12:35,972+0100 ERROR otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:107 Exception: Entity 'None' was not found. 2020-01-29 09:12:36,073+0100 ERROR otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:107 fatal: [localhost]: FAILED! => {"changed": false, "msg": "Entity 'None' was not found."}
I guess the pb may be "vm_network': None" but i can't find other relevant message in logs ; in engine-logs/messages I see that the vm gets a dhcp ip by cloudinit
Guillaume Pavese Ingénieur Système et Réseau Interactiv-Group
On Wed, Jan 29, 2020 at 5:13 PM Yedidyah Bar David <didi@redhat.com> wrote:
On Wed, Jan 29, 2020 at 9:46 AM Guillaume Pavese < guillaume.pavese@interactiv-group.com> wrote:
Hi, Trying to deploy ovirt 4.3-stable Hosted Engine with cockpit
This fails with the following :
[ INFO ] TASK [ovirt.hosted_engine_setup : Set VLAN ID at datacenter level] [ ERROR ] Exception: Entity 'None' was not found. [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Entity 'None' was not found."}
Any idea?
Please check/share /var/log/ovirt-hosted-engine-setup/*. Thanks.
Best regards, -- Didi
Ce message et toutes les pièces jointes (ci-après le “message”) sont établis à l’intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le détruire et d’en avertir immédiatement l’expéditeur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L’internet ne permettant pas d’assurer l’intégrité de ce message . Interactiv-group (et ses filiales) décline(nt) toute responsabilité au titre de ce message, dans l’hypothèse ou il aurait été modifié. IT, ES, UK. <https://interactiv-group.com/disclaimer.html>
-- Didi

Thanks for looking into it. Unfortunately as soon as the setup hit this error, the playbook starts cleaning after itself and the vm get shutdown However, searching for "local_vm_ip" in /var/log/ovirt-hosted-engine-setup/ gives : ovirt-hosted-engine-setup-20200129084806-26ohxb.log : 2334:2020-01-29 09:02:52,577+0100 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:1 03 local_vm_ip: {'stderr_lines': [], u'changed': True, u'end': u'2020-01-29 09:02:50.884126', u'stdout': u'192.168.222.15', u'cmd': u"virsh -r net-dhcp-leases default | grep -i 00:16:3e:54:7f:92 | awk '{ print $5 }' | cut -f1 -d'/'", 'failed': False, 'attempts': 3, u'stderr': u'', u'rc': 0, u'delta': u'0:00:00.164512', 'stdout_lines': [u'192.168.222.15'], u'start': u'2020-01-29 09:02:50.719614'} and /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-ansible-bootstrap_local_vm-20200129085524-jufqvt.log : 2020-01-29 09:02:51,606+0100 DEBUG var changed: host "localhost" var "local_vm_ip" type "<type 'dict'>" value: "{ "attempts": 3, "changed": true, "cmd": "virsh -r net-dhcp-leases default | grep -i 00:16:3e:54:7f:92 | awk '{ print $5 }' | cut -f1 -d'/'", "delta": "0:00:00.164512", "end": "2020-01-29 09:02:50.884126", "failed": false, "rc": 0, "start": "2020-01-29 09:02:50.719614", "stderr": "", "stderr_lines": [], "stdout": "192.168.222.15", "stdout_lines": [ "192.168.222.15" ] }" 2020-01-29 09:02:51,606+0100 INFO ansible ok {'status': 'OK', 'ansible_type': 'task', 'ansible_task': u'Get local VM IP', 'task_duration': 22, 'ansible_host': u'localhost', 'ansible_playbook': u'/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml'} I uploaded the logs from /var/log/ovirt-hosted-engine-setup/ here : https://drive.google.com/open?id=1Z_cwfA4NpiLFnPQrW4NVZ2BPNmHweCk9 Best regards, Guillaume Pavese Ingénieur Système et Réseau Interactiv-Group On Wed, Jan 29, 2020 at 6:07 PM Yedidyah Bar David <didi@redhat.com> wrote:
On Wed, Jan 29, 2020 at 10:48 AM Guillaume Pavese < guillaume.pavese@interactiv-group.com> wrote:
so, greping for vm_network, I see in /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-ansible-bootstrap_local_vm-20200129085524-jufqvt.log
2020-01-29 09:12:34,522+0100 DEBUG ansible on_any args TASK: ovirt.hosted_engine_setup : Set VLAN ID at datacenter level kwargs is_conditional:False 2020-01-29 09:12:34,523+0100 DEBUG ansible on_any args localhostTASK: ovirt.hosted_engine_setup : Set VLAN ID at datacenter level kwargs 2020-01-29 09:12:36,388+0100 DEBUG var changed: host "localhost" var "ansible_failed_result" type "<type 'dict'>" value: "{ "_ansible_no_log": false, "_ansible_parsed": true, "changed": false, "exception": "Traceback (most recent call last):\n File \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py\", line 327, in main\n File \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py\", line 592, in create\n new_entity = self.build_entity()\n File \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py\", line 175, in build_entity\n File \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py\", line 327, in get_id_by_name\n raise Exception(\"Entity '%s' was not found.\" % name)\nException: Entity 'None' was not found.\n", "failed": true, "invocation": { "module_args": { "clusters": null, "comment": null, "data_center": "Default", "description": null, "external_provider": null, "fetch_nested": false, "id": null, "label": null, "mtu": null, "name": "ovirtmgmt", "nested_attributes": [], "poll_interval": 3, "state": "present", "timeout": 180, "vlan_tag": 8, "vm_network": null, "wait": true } }, "msg": "Entity 'None' was not found." }"
Did you change anything in the engine? Or just let the deploy script setup a default engine?
Also, please check/share relevant parts from engine.log and setup log (/var/log/ovirt-engine/setup/*) from the engine VM. If it's still running, you can ssh to it from the host, search the logs for 'local_vm_ip' to find it. You might also find these logs inside the hosted-engine-setup logs dir.
Adding Martin. Martin, any idea what might have caused it to fail at this point? Seems like the failing line is (from ovirt_network.py):
ons_service = self._connection.system_service().openstack_network_providers_service() on_service = ons_service.provider_service(get_id_by_name(ons_service, self.param('external_provider')))
I have no idea how this might be affected by whether or not you manually configure or not, openstack/networks etc. .
Best regards,
Guillaume Pavese Ingénieur Système et Réseau Interactiv-Group
On Wed, Jan 29, 2020 at 5:33 PM Guillaume Pavese < guillaume.pavese@interactiv-group.com> wrote:
Tried again on command line without using cockpit, it fails at the same spot
less /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20200129084806-26ohxb.log
2020-01-29 09:12:33,966+0100 INFO otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:109 TASK [ovirt.hosted_engine_setup : Set VLAN ID at datacenter level] 2020-01-29 09:12:35,871+0100 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:103 {u'invocation': {u'module_args': {u'comment': None, u'external_prov ider': None, u'timeout': 180, u'description': None, u'name': u'ovirtmgmt', u'poll_interval': 3, u'state': u'present', u'nested_attributes': [], u'label': None, u'fetch_nested': False , u'vm_network': None, u'data_center': u'Default', u'clusters': None, u'vlan_tag': 8, u'mtu': None, u'id': None, u'wait': True}}, u'msg': u"Entity 'None' was not found.", u'exception ': u'Traceback (most recent call last):\n File "/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py", line 327, in main\n File "/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py", line 592, in create\n new_entity = self.build_entity() \n File "/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py", line 175, in build_entity\n File "/tmp/ansible_o virt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py", line 327, in get_id_by_name\n raise Exception("Entity \'%s\' was not found." % name)\ nException: Entity \'None\' was not found.\n', u'changed': False, u'_ansible_no_log': False} 2020-01-29 09:12:35,972+0100 ERROR otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:107 Exception: Entity 'None' was not found. 2020-01-29 09:12:36,073+0100 ERROR otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:107 fatal: [localhost]: FAILED! => {"changed": false, "msg": "Entity 'None' was not found."}
I guess the pb may be "vm_network': None" but i can't find other relevant message in logs ; in engine-logs/messages I see that the vm gets a dhcp ip by cloudinit
Guillaume Pavese Ingénieur Système et Réseau Interactiv-Group
On Wed, Jan 29, 2020 at 5:13 PM Yedidyah Bar David <didi@redhat.com> wrote:
On Wed, Jan 29, 2020 at 9:46 AM Guillaume Pavese < guillaume.pavese@interactiv-group.com> wrote:
Hi, Trying to deploy ovirt 4.3-stable Hosted Engine with cockpit
This fails with the following :
[ INFO ] TASK [ovirt.hosted_engine_setup : Set VLAN ID at datacenter level] [ ERROR ] Exception: Entity 'None' was not found. [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Entity 'None' was not found."}
Any idea?
Please check/share /var/log/ovirt-hosted-engine-setup/*. Thanks.
Best regards, -- Didi
Ce message et toutes les pièces jointes (ci-après le “message”) sont établis à l’intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le détruire et d’en avertir immédiatement l’expéditeur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L’internet ne permettant pas d’assurer l’intégrité de ce message . Interactiv-group (et ses filiales) décline(nt) toute responsabilité au titre de ce message, dans l’hypothèse ou il aurait été modifié. IT, ES, UK. <https://interactiv-group.com/disclaimer.html>
-- Didi
-- Ce message et toutes les pièces jointes (ci-après le “message”) sont établis à l’intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le détruire et d’en avertir immédiatement l’expéditeur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L’internet ne permettant pas d’assurer l’intégrité de ce message . Interactiv-group (et ses filiales) décline(nt) toute responsabilité au titre de ce message, dans l’hypothèse ou il aurait été modifié. IT, ES, UK. <https://interactiv-group.com/disclaimer.html>

To answer your question, I used cockpit hosted engine deployment and "hosted-engine --deploy" with default settings Best, Guillaume Pavese Ingénieur Système et Réseau Interactiv-Group On Wed, Jan 29, 2020 at 7:36 PM Guillaume Pavese < guillaume.pavese@interactiv-group.com> wrote:
Thanks for looking into it.
Unfortunately as soon as the setup hit this error, the playbook starts cleaning after itself and the vm get shutdown However, searching for "local_vm_ip" in /var/log/ovirt-hosted-engine-setup/ gives :
ovirt-hosted-engine-setup-20200129084806-26ohxb.log : 2334:2020-01-29 09:02:52,577+0100 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:1 03 local_vm_ip: {'stderr_lines': [], u'changed': True, u'end': u'2020-01-29 09:02:50.884126', u'stdout': u'192.168.222.15', u'cmd': u"virsh -r net-dhcp-leases default | grep -i 00:16:3e:54:7f:92 | awk '{ print $5 }' | cut -f1 -d'/'", 'failed': False, 'attempts': 3, u'stderr': u'', u'rc': 0, u'delta': u'0:00:00.164512', 'stdout_lines': [u'192.168.222.15'], u'start': u'2020-01-29 09:02:50.719614'}
and
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-ansible-bootstrap_local_vm-20200129085524-jufqvt.log : 2020-01-29 09:02:51,606+0100 DEBUG var changed: host "localhost" var "local_vm_ip" type "<type 'dict'>" value: "{ "attempts": 3, "changed": true, "cmd": "virsh -r net-dhcp-leases default | grep -i 00:16:3e:54:7f:92 | awk '{ print $5 }' | cut -f1 -d'/'", "delta": "0:00:00.164512", "end": "2020-01-29 09:02:50.884126", "failed": false, "rc": 0, "start": "2020-01-29 09:02:50.719614", "stderr": "", "stderr_lines": [], "stdout": "192.168.222.15", "stdout_lines": [ "192.168.222.15" ] }" 2020-01-29 09:02:51,606+0100 INFO ansible ok {'status': 'OK', 'ansible_type': 'task', 'ansible_task': u'Get local VM IP', 'task_duration': 22, 'ansible_host': u'localhost', 'ansible_playbook': u'/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml'}
I uploaded the logs from /var/log/ovirt-hosted-engine-setup/ here : https://drive.google.com/open?id=1Z_cwfA4NpiLFnPQrW4NVZ2BPNmHweCk9
Best regards,
Guillaume Pavese Ingénieur Système et Réseau Interactiv-Group
On Wed, Jan 29, 2020 at 6:07 PM Yedidyah Bar David <didi@redhat.com> wrote:
On Wed, Jan 29, 2020 at 10:48 AM Guillaume Pavese < guillaume.pavese@interactiv-group.com> wrote:
so, greping for vm_network, I see in /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-ansible-bootstrap_local_vm-20200129085524-jufqvt.log
2020-01-29 09:12:34,522+0100 DEBUG ansible on_any args TASK: ovirt.hosted_engine_setup : Set VLAN ID at datacenter level kwargs is_conditional:False 2020-01-29 09:12:34,523+0100 DEBUG ansible on_any args localhostTASK: ovirt.hosted_engine_setup : Set VLAN ID at datacenter level kwargs 2020-01-29 09:12:36,388+0100 DEBUG var changed: host "localhost" var "ansible_failed_result" type "<type 'dict'>" value: "{ "_ansible_no_log": false, "_ansible_parsed": true, "changed": false, "exception": "Traceback (most recent call last):\n File \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py\", line 327, in main\n File \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py\", line 592, in create\n new_entity = self.build_entity()\n File \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py\", line 175, in build_entity\n File \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py\", line 327, in get_id_by_name\n raise Exception(\"Entity '%s' was not found.\" % name)\nException: Entity 'None' was not found.\n", "failed": true, "invocation": { "module_args": { "clusters": null, "comment": null, "data_center": "Default", "description": null, "external_provider": null, "fetch_nested": false, "id": null, "label": null, "mtu": null, "name": "ovirtmgmt", "nested_attributes": [], "poll_interval": 3, "state": "present", "timeout": 180, "vlan_tag": 8, "vm_network": null, "wait": true } }, "msg": "Entity 'None' was not found." }"
Did you change anything in the engine? Or just let the deploy script setup a default engine?
Also, please check/share relevant parts from engine.log and setup log (/var/log/ovirt-engine/setup/*) from the engine VM. If it's still running, you can ssh to it from the host, search the logs for 'local_vm_ip' to find it. You might also find these logs inside the hosted-engine-setup logs dir.
Adding Martin. Martin, any idea what might have caused it to fail at this point? Seems like the failing line is (from ovirt_network.py):
ons_service = self._connection.system_service().openstack_network_providers_service() on_service = ons_service.provider_service(get_id_by_name(ons_service, self.param('external_provider')))
I have no idea how this might be affected by whether or not you manually configure or not, openstack/networks etc. .
Best regards,
Guillaume Pavese Ingénieur Système et Réseau Interactiv-Group
On Wed, Jan 29, 2020 at 5:33 PM Guillaume Pavese < guillaume.pavese@interactiv-group.com> wrote:
Tried again on command line without using cockpit, it fails at the same spot
less /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20200129084806-26ohxb.log
2020-01-29 09:12:33,966+0100 INFO otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:109 TASK [ovirt.hosted_engine_setup : Set VLAN ID at datacenter level] 2020-01-29 09:12:35,871+0100 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:103 {u'invocation': {u'module_args': {u'comment': None, u'external_prov ider': None, u'timeout': 180, u'description': None, u'name': u'ovirtmgmt', u'poll_interval': 3, u'state': u'present', u'nested_attributes': [], u'label': None, u'fetch_nested': False , u'vm_network': None, u'data_center': u'Default', u'clusters': None, u'vlan_tag': 8, u'mtu': None, u'id': None, u'wait': True}}, u'msg': u"Entity 'None' was not found.", u'exception ': u'Traceback (most recent call last):\n File "/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py", line 327, in main\n File "/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py", line 592, in create\n new_entity = self.build_entity() \n File "/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py", line 175, in build_entity\n File "/tmp/ansible_o virt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py", line 327, in get_id_by_name\n raise Exception("Entity \'%s\' was not found." % name)\ nException: Entity \'None\' was not found.\n', u'changed': False, u'_ansible_no_log': False} 2020-01-29 09:12:35,972+0100 ERROR otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:107 Exception: Entity 'None' was not found. 2020-01-29 09:12:36,073+0100 ERROR otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:107 fatal: [localhost]: FAILED! => {"changed": false, "msg": "Entity 'None' was not found."}
I guess the pb may be "vm_network': None" but i can't find other relevant message in logs ; in engine-logs/messages I see that the vm gets a dhcp ip by cloudinit
Guillaume Pavese Ingénieur Système et Réseau Interactiv-Group
On Wed, Jan 29, 2020 at 5:13 PM Yedidyah Bar David <didi@redhat.com> wrote:
On Wed, Jan 29, 2020 at 9:46 AM Guillaume Pavese < guillaume.pavese@interactiv-group.com> wrote:
Hi, Trying to deploy ovirt 4.3-stable Hosted Engine with cockpit
This fails with the following :
[ INFO ] TASK [ovirt.hosted_engine_setup : Set VLAN ID at datacenter level] [ ERROR ] Exception: Entity 'None' was not found. [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Entity 'None' was not found."}
Any idea?
Please check/share /var/log/ovirt-hosted-engine-setup/*. Thanks.
Best regards, -- Didi
Ce message et toutes les pièces jointes (ci-après le “message”) sont établis à l’intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le détruire et d’en avertir immédiatement l’expéditeur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L’internet ne permettant pas d’assurer l’intégrité de ce message . Interactiv-group (et ses filiales) décline(nt) toute responsabilité au titre de ce message, dans l’hypothèse ou il aurait été modifié. IT, ES, UK. <https://interactiv-group.com/disclaimer.html>
-- Didi
-- Ce message et toutes les pièces jointes (ci-après le “message”) sont établis à l’intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le détruire et d’en avertir immédiatement l’expéditeur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L’internet ne permettant pas d’assurer l’intégrité de ce message . Interactiv-group (et ses filiales) décline(nt) toute responsabilité au titre de ce message, dans l’hypothèse ou il aurait été modifié. IT, ES, UK. <https://interactiv-group.com/disclaimer.html>

Hi, this issue was already submitted and I created the patch and already done backport for it. You can put the module from master to library until it's released with the patch. https://github.com/ansible/ansible/issues/66858 With regards, Martin Nečas Dne st 29. 1. 2020 10:07 uživatel Yedidyah Bar David <didi@redhat.com> napsal:
On Wed, Jan 29, 2020 at 10:48 AM Guillaume Pavese < guillaume.pavese@interactiv-group.com> wrote:
so, greping for vm_network, I see in /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-ansible-bootstrap_local_vm-20200129085524-jufqvt.log
2020-01-29 09:12:34,522+0100 DEBUG ansible on_any args TASK: ovirt.hosted_engine_setup : Set VLAN ID at datacenter level kwargs is_conditional:False 2020-01-29 09:12:34,523+0100 DEBUG ansible on_any args localhostTASK: ovirt.hosted_engine_setup : Set VLAN ID at datacenter level kwargs 2020-01-29 09:12:36,388+0100 DEBUG var changed: host "localhost" var "ansible_failed_result" type "<type 'dict'>" value: "{ "_ansible_no_log": false, "_ansible_parsed": true, "changed": false, "exception": "Traceback (most recent call last):\n File \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py\", line 327, in main\n File \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py\", line 592, in create\n new_entity = self.build_entity()\n File \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py\", line 175, in build_entity\n File \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py\", line 327, in get_id_by_name\n raise Exception(\"Entity '%s' was not found.\" % name)\nException: Entity 'None' was not found.\n", "failed": true, "invocation": { "module_args": { "clusters": null, "comment": null, "data_center": "Default", "description": null, "external_provider": null, "fetch_nested": false, "id": null, "label": null, "mtu": null, "name": "ovirtmgmt", "nested_attributes": [], "poll_interval": 3, "state": "present", "timeout": 180, "vlan_tag": 8, "vm_network": null, "wait": true } }, "msg": "Entity 'None' was not found." }"
Did you change anything in the engine? Or just let the deploy script setup a default engine?
Also, please check/share relevant parts from engine.log and setup log (/var/log/ovirt-engine/setup/*) from the engine VM. If it's still running, you can ssh to it from the host, search the logs for 'local_vm_ip' to find it. You might also find these logs inside the hosted-engine-setup logs dir.
Adding Martin. Martin, any idea what might have caused it to fail at this point? Seems like the failing line is (from ovirt_network.py):
ons_service = self._connection.system_service().openstack_network_providers_service() on_service = ons_service.provider_service(get_id_by_name(ons_service, self.param('external_provider')))
I have no idea how this might be affected by whether or not you manually configure or not, openstack/networks etc. .
Best regards,
Guillaume Pavese Ingénieur Système et Réseau Interactiv-Group
On Wed, Jan 29, 2020 at 5:33 PM Guillaume Pavese < guillaume.pavese@interactiv-group.com> wrote:
Tried again on command line without using cockpit, it fails at the same spot
less /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20200129084806-26ohxb.log
2020-01-29 09:12:33,966+0100 INFO otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:109 TASK [ovirt.hosted_engine_setup : Set VLAN ID at datacenter level] 2020-01-29 09:12:35,871+0100 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:103 {u'invocation': {u'module_args': {u'comment': None, u'external_prov ider': None, u'timeout': 180, u'description': None, u'name': u'ovirtmgmt', u'poll_interval': 3, u'state': u'present', u'nested_attributes': [], u'label': None, u'fetch_nested': False , u'vm_network': None, u'data_center': u'Default', u'clusters': None, u'vlan_tag': 8, u'mtu': None, u'id': None, u'wait': True}}, u'msg': u"Entity 'None' was not found.", u'exception ': u'Traceback (most recent call last):\n File "/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py", line 327, in main\n File "/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py", line 592, in create\n new_entity = self.build_entity() \n File "/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py", line 175, in build_entity\n File "/tmp/ansible_o virt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py", line 327, in get_id_by_name\n raise Exception("Entity \'%s\' was not found." % name)\ nException: Entity \'None\' was not found.\n', u'changed': False, u'_ansible_no_log': False} 2020-01-29 09:12:35,972+0100 ERROR otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:107 Exception: Entity 'None' was not found. 2020-01-29 09:12:36,073+0100 ERROR otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:107 fatal: [localhost]: FAILED! => {"changed": false, "msg": "Entity 'None' was not found."}
I guess the pb may be "vm_network': None" but i can't find other relevant message in logs ; in engine-logs/messages I see that the vm gets a dhcp ip by cloudinit
Guillaume Pavese Ingénieur Système et Réseau Interactiv-Group
On Wed, Jan 29, 2020 at 5:13 PM Yedidyah Bar David <didi@redhat.com> wrote:
On Wed, Jan 29, 2020 at 9:46 AM Guillaume Pavese < guillaume.pavese@interactiv-group.com> wrote:
Hi, Trying to deploy ovirt 4.3-stable Hosted Engine with cockpit
This fails with the following :
[ INFO ] TASK [ovirt.hosted_engine_setup : Set VLAN ID at datacenter level] [ ERROR ] Exception: Entity 'None' was not found. [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Entity 'None' was not found."}
Any idea?
Please check/share /var/log/ovirt-hosted-engine-setup/*. Thanks.
Best regards, -- Didi
Ce message et toutes les pièces jointes (ci-après le “message”) sont établis à l’intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le détruire et d’en avertir immédiatement l’expéditeur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L’internet ne permettant pas d’assurer l’intégrité de ce message . Interactiv-group (et ses filiales) décline(nt) toute responsabilité au titre de ce message, dans l’hypothèse ou il aurait été modifié. IT, ES, UK. <https://interactiv-group.com/disclaimer.html>
-- Didi

That was it! Thanks for your help Best regards, Guillaume Pavese Ingénieur Système et Réseau Interactiv-Group On Wed, Jan 29, 2020 at 7:42 PM Martin Necas <mnecas@redhat.com> wrote:
Hi,
this issue was already submitted and I created the patch and already done backport for it. You can put the module from master to library until it's released with the patch.
https://github.com/ansible/ansible/issues/66858
With regards, Martin Nečas
Dne st 29. 1. 2020 10:07 uživatel Yedidyah Bar David <didi@redhat.com> napsal:
On Wed, Jan 29, 2020 at 10:48 AM Guillaume Pavese < guillaume.pavese@interactiv-group.com> wrote:
so, greping for vm_network, I see in /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-ansible-bootstrap_local_vm-20200129085524-jufqvt.log
2020-01-29 09:12:34,522+0100 DEBUG ansible on_any args TASK: ovirt.hosted_engine_setup : Set VLAN ID at datacenter level kwargs is_conditional:False 2020-01-29 09:12:34,523+0100 DEBUG ansible on_any args localhostTASK: ovirt.hosted_engine_setup : Set VLAN ID at datacenter level kwargs 2020-01-29 09:12:36,388+0100 DEBUG var changed: host "localhost" var "ansible_failed_result" type "<type 'dict'>" value: "{ "_ansible_no_log": false, "_ansible_parsed": true, "changed": false, "exception": "Traceback (most recent call last):\n File \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py\", line 327, in main\n File \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py\", line 592, in create\n new_entity = self.build_entity()\n File \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py\", line 175, in build_entity\n File \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py\", line 327, in get_id_by_name\n raise Exception(\"Entity '%s' was not found.\" % name)\nException: Entity 'None' was not found.\n", "failed": true, "invocation": { "module_args": { "clusters": null, "comment": null, "data_center": "Default", "description": null, "external_provider": null, "fetch_nested": false, "id": null, "label": null, "mtu": null, "name": "ovirtmgmt", "nested_attributes": [], "poll_interval": 3, "state": "present", "timeout": 180, "vlan_tag": 8, "vm_network": null, "wait": true } }, "msg": "Entity 'None' was not found." }"
Did you change anything in the engine? Or just let the deploy script setup a default engine?
Also, please check/share relevant parts from engine.log and setup log (/var/log/ovirt-engine/setup/*) from the engine VM. If it's still running, you can ssh to it from the host, search the logs for 'local_vm_ip' to find it. You might also find these logs inside the hosted-engine-setup logs dir.
Adding Martin. Martin, any idea what might have caused it to fail at this point? Seems like the failing line is (from ovirt_network.py):
ons_service = self._connection.system_service().openstack_network_providers_service() on_service = ons_service.provider_service(get_id_by_name(ons_service, self.param('external_provider')))
I have no idea how this might be affected by whether or not you manually configure or not, openstack/networks etc. .
Best regards,
Guillaume Pavese Ingénieur Système et Réseau Interactiv-Group
On Wed, Jan 29, 2020 at 5:33 PM Guillaume Pavese < guillaume.pavese@interactiv-group.com> wrote:
Tried again on command line without using cockpit, it fails at the same spot
less /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20200129084806-26ohxb.log
2020-01-29 09:12:33,966+0100 INFO otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:109 TASK [ovirt.hosted_engine_setup : Set VLAN ID at datacenter level] 2020-01-29 09:12:35,871+0100 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:103 {u'invocation': {u'module_args': {u'comment': None, u'external_prov ider': None, u'timeout': 180, u'description': None, u'name': u'ovirtmgmt', u'poll_interval': 3, u'state': u'present', u'nested_attributes': [], u'label': None, u'fetch_nested': False , u'vm_network': None, u'data_center': u'Default', u'clusters': None, u'vlan_tag': 8, u'mtu': None, u'id': None, u'wait': True}}, u'msg': u"Entity 'None' was not found.", u'exception ': u'Traceback (most recent call last):\n File "/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py", line 327, in main\n File "/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py", line 592, in create\n new_entity = self.build_entity() \n File "/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py", line 175, in build_entity\n File "/tmp/ansible_o virt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py", line 327, in get_id_by_name\n raise Exception("Entity \'%s\' was not found." % name)\ nException: Entity \'None\' was not found.\n', u'changed': False, u'_ansible_no_log': False} 2020-01-29 09:12:35,972+0100 ERROR otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:107 Exception: Entity 'None' was not found. 2020-01-29 09:12:36,073+0100 ERROR otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:107 fatal: [localhost]: FAILED! => {"changed": false, "msg": "Entity 'None' was not found."}
I guess the pb may be "vm_network': None" but i can't find other relevant message in logs ; in engine-logs/messages I see that the vm gets a dhcp ip by cloudinit
Guillaume Pavese Ingénieur Système et Réseau Interactiv-Group
On Wed, Jan 29, 2020 at 5:13 PM Yedidyah Bar David <didi@redhat.com> wrote:
On Wed, Jan 29, 2020 at 9:46 AM Guillaume Pavese < guillaume.pavese@interactiv-group.com> wrote:
Hi, Trying to deploy ovirt 4.3-stable Hosted Engine with cockpit
This fails with the following :
[ INFO ] TASK [ovirt.hosted_engine_setup : Set VLAN ID at datacenter level] [ ERROR ] Exception: Entity 'None' was not found. [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Entity 'None' was not found."}
Any idea?
Please check/share /var/log/ovirt-hosted-engine-setup/*. Thanks.
Best regards, -- Didi
Ce message et toutes les pièces jointes (ci-après le “message”) sont établis à l’intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le détruire et d’en avertir immédiatement l’expéditeur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L’internet ne permettant pas d’assurer l’intégrité de ce message . Interactiv-group (et ses filiales) décline(nt) toute responsabilité au titre de ce message, dans l’hypothèse ou il aurait été modifié. IT, ES, UK. <https://interactiv-group.com/disclaimer.html>
-- Didi
-- Ce message et toutes les pièces jointes (ci-après le “message”) sont établis à l’intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le détruire et d’en avertir immédiatement l’expéditeur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L’internet ne permettant pas d’assurer l’intégrité de ce message . Interactiv-group (et ses filiales) décline(nt) toute responsabilité au titre de ce message, dans l’hypothèse ou il aurait été modifié. IT, ES, UK. <https://interactiv-group.com/disclaimer.html>

Hello, I am having this same issue and have inserted the three new lines from https://github.com/ansible/ansible/issues/66858 into "/lib/python2.7/site-packages/ansible/modules/cloud/ovirt/ovirt_network.py" yet the issue still occurs when attempting deployement. I have rebooted the oVirt Node hosts since patching to no avail. Do I need to insert the fix elsewhere or take other action to properly apply this fix? Thank you very much for your assistance. Respectfully, Charles

Are you trying to deploy the hosted engine to a Storage Domain which is in a separate network with a VLAN? If this is the issue you must inform VDSM the network so it finds the path. This must be informed during the playbook phase where it asks for the shared storage settings. For example: storage-network.json: {"networks": {"storage": {"bonding": "bond0", "bridged": false, "vlan": 192, "ipaddr": "192.168.10.1", "netmask": "255.255.255.248", "defaultRoute": false}}, "bondings": {}, "options": {"connectivityCheck": false}} vdsm-client -f storage-network.json Host setupNetworks Sent from my iPhone
On 4 Feb 2020, at 19:15, "clam2718@gmail.com" <clam2718@gmail.com> wrote:
Hello,
I am having this same issue and have inserted the three new lines from
https://github.com/ansible/ansible/issues/66858
into "/lib/python2.7/site-packages/ansible/modules/cloud/ovirt/ovirt_network.py" yet the issue still occurs when attempting deployement. I have rebooted the oVirt Node hosts since patching to no avail. Do I need to insert the fix elsewhere or take other action to properly apply this fix?
Thank you very much for your assistance.
Respectfully, Charles _______________________________________________ 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/UKWVUWZBISU75R...

[edit: include users@ovirt.org] Thank you so very much Vinícius, I am trying to deploy the hosted engine to a Gluster Storage Domain on a separate network with a VLAN. I had utilized the Cockpit Hyperconverged wizard. Where do I find storage-network.json, and do I then is it best to run the deployment from the command line or Cockpit? Gratefully, Charles On Tue, Feb 4, 2020 at 5:19 PM Vinícius Ferrão <ferrao@versatushpc.com.br> wrote:
Are you trying to deploy the hosted engine to a Storage Domain which is in a separate network with a VLAN?
If this is the issue you must inform VDSM the network so it finds the path. This must be informed during the playbook phase where it asks for the shared storage settings.
For example:
storage-network.json:
{"networks": {"storage": {"bonding": "bond0", "bridged": false, "vlan": 192, "ipaddr": "192.168.10.1", "netmask": "255.255.255.248", "defaultRoute": false}}, "bondings": {}, "options": {"connectivityCheck": false}}
vdsm-client -f storage-network.json Host setupNetworks
Sent from my iPhone
On 4 Feb 2020, at 19:15, "clam2718@gmail.com" <clam2718@gmail.com> wrote:
Hello,
I am having this same issue and have inserted the three new lines from
https://github.com/ansible/ansible/issues/66858
into "/lib/python2.7/site-packages/ansible/modules/cloud/ovirt/ovirt_network.py" yet the issue still occurs when attempting deployement. I have rebooted the oVirt Node hosts since patching to no avail. Do I need to insert the fix elsewhere or take other action to properly apply this fix?
Thank you very much for your assistance.
Respectfully, Charles _______________________________________________ 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/UKWVUWZBISU75R...

I have a question I haven't seen yet: I have a Centos 7 Hypervisor running libvirt. I want to bring it into the ovirt cluster with the vm's still running. Is that possible or do the vm's need imported first? I had 4 Centos 7 Hypervisors and migrated the vm's off of them to a single KVM host and added the other kvm hosts them to the ovirt cluster. No glusterfs yet. I am adding 40 TB gross of storage configured on Raid 10 via iscsi then I will implement the glusterfs for shared storage. Is this practical? Do I need to rethink my game plan or am I on the right track? SO question 1 is, can I add the hypervisor to the ovirt engine then migrate the vm's? Is using the iscsi to create pools/volumes then implementing glusterfs the right order? Thanks in advance for your time and answers. Eric Evans Digital Data Services LLC. 304.660.9080 -----Original Message----- From: clam2718@gmail.com <clam2718@gmail.com> Sent: Tuesday, February 04, 2020 5:12 PM To: users@ovirt.org Subject: [ovirt-users] Re: Deploy Hosted Engine fails at "Set VLAN ID at datacenter level" Hello, I am having this same issue and have inserted the three new lines from https://github.com/ansible/ansible/issues/66858 into "/lib/python2.7/site-packages/ansible/modules/cloud/ovirt/ovirt_network.py" yet the issue still occurs when attempting deployement. I have rebooted the oVirt Node hosts since patching to no avail. Do I need to insert the fix elsewhere or take other action to properly apply this fix? Thank you very much for your assistance. Respectfully, Charles _______________________________________________ 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/UKWVUWZBISU75R...

according to https://github.com/ansible/ansible/pull/66859/commits/5e021952f5ef26b7ad8490... There is only 1 line to insert, not 3 : if self.param('external_provider'): Guillaume Pavese Ingénieur Système et Réseau Interactiv-Group On Wed, Feb 5, 2020 at 7:12 AM <clam2718@gmail.com> wrote:
Hello,
I am having this same issue and have inserted the three new lines from
https://github.com/ansible/ansible/issues/66858
into "/lib/python2.7/site-packages/ansible/modules/cloud/ovirt/ovirt_network.py" yet the issue still occurs when attempting deployement. I have rebooted the oVirt Node hosts since patching to no avail. Do I need to insert the fix elsewhere or take other action to properly apply this fix?
Thank you very much for your assistance.
Respectfully, Charles _______________________________________________ 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/UKWVUWZBISU75R...
-- Ce message et toutes les pièces jointes (ci-après le “message”) sont établis à l’intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le détruire et d’en avertir immédiatement l’expéditeur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L’internet ne permettant pas d’assurer l’intégrité de ce message . Interactiv-group (et ses filiales) décline(nt) toute responsabilité au titre de ce message, dans l’hypothèse ou il aurait été modifié. IT, ES, UK. <https://interactiv-group.com/disclaimer.html>

Thank you Guillaume! My mistake. Resolved. I am now having further issues I believe to be because I am using tagged VLANs with NIC teaming. It appears that teaming is not well supported in oVirt - is that accurate, and that I should rebuild using bonds. If you have any experience to shed light on this it is much appreciated. [ INFO ] TASK [ovirt.hosted_engine_setup : Fail with error description] [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "The host has been set in non_operational status, deployment errors: code 505: Host fmov1n1.bcn.dtcorp.com installation failed. Failed to configure management network on the host., code 9000: Failed to verify Power Management configuration for Host fmov1n1.bcn.dtcorp.com., fix accordingly and re-deploy."} Thanks so very much, Charles

Yes, that's indeed the case for teaming. I think NetworkManager isn't supported either. I use bonding with vlan set by initscripts Guillaume Pavese Ingénieur Système et Réseau Interactiv-Group On Thu, Feb 6, 2020 at 2:48 AM <clam2718@gmail.com> wrote:
Thank you Guillaume! My mistake. Resolved.
I am now having further issues I believe to be because I am using tagged VLANs with NIC teaming. It appears that teaming is not well supported in oVirt - is that accurate, and that I should rebuild using bonds. If you have any experience to shed light on this it is much appreciated.
[ INFO ] TASK [ovirt.hosted_engine_setup : Fail with error description] [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "The host has been set in non_operational status, deployment errors: code 505: Host fmov1n1.bcn.dtcorp.com installation failed. Failed to configure management network on the host., code 9000: Failed to verify Power Management configuration for Host fmov1n1.bcn.dtcorp.com., fix accordingly and re-deploy."}
Thanks so very much, Charles _______________________________________________ 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/LPUANZALZ7L5ZC...
-- Ce message et toutes les pièces jointes (ci-après le “message”) sont établis à l’intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le détruire et d’en avertir immédiatement l’expéditeur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L’internet ne permettant pas d’assurer l’intégrité de ce message . Interactiv-group (et ses filiales) décline(nt) toute responsabilité au titre de ce message, dans l’hypothèse ou il aurait été modifié. IT, ES, UK. <https://interactiv-group.com/disclaimer.html>

I have a hypervisor with nic bonding in place and it has some communication issues. It constantly goes up and down and into non operational mode but comes back up. Is there a fix for this? Using Mode 4 for bonding. Eric Evans Digital Data Services LLC. 304.660.9080 -----Original Message----- From: clam2718@gmail.com <clam2718@gmail.com> Sent: Wednesday, February 05, 2020 12:48 PM To: users@ovirt.org Subject: [ovirt-users] Re: Deploy Hosted Engine fails at "Set VLAN ID at datacenter level" Thank you Guillaume! My mistake. Resolved. I am now having further issues I believe to be because I am using tagged VLANs with NIC teaming. It appears that teaming is not well supported in oVirt - is that accurate, and that I should rebuild using bonds. If you have any experience to shed light on this it is much appreciated. [ INFO ] TASK [ovirt.hosted_engine_setup : Fail with error description] [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "The host has been set in non_operational status, deployment errors: code 505: Host fmov1n1.bcn.dtcorp.com installation failed. Failed to configure management network on the host., code 9000: Failed to verify Power Management configuration for Host fmov1n1.bcn.dtcorp.com., fix accordingly and re-deploy."} Thanks so very much, Charles _______________________________________________ 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/LPUANZALZ7L5ZC...

The switches are configured for LACP Active mode?
On 5 Feb 2020, at 17:40, eevans@digitaldatatechs.com wrote:
I have a hypervisor with nic bonding in place and it has some communication issues. It constantly goes up and down and into non operational mode but comes back up. Is there a fix for this? Using Mode 4 for bonding.
Eric Evans Digital Data Services LLC. 304.660.9080
-----Original Message----- From: clam2718@gmail.com <clam2718@gmail.com> Sent: Wednesday, February 05, 2020 12:48 PM To: users@ovirt.org Subject: [ovirt-users] Re: Deploy Hosted Engine fails at "Set VLAN ID at datacenter level"
Thank you Guillaume! My mistake. Resolved.
I am now having further issues I believe to be because I am using tagged VLANs with NIC teaming. It appears that teaming is not well supported in oVirt - is that accurate, and that I should rebuild using bonds. If you have any experience to shed light on this it is much appreciated.
[ INFO ] TASK [ovirt.hosted_engine_setup : Fail with error description] [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "The host has been set in non_operational status, deployment errors: code 505: Host fmov1n1.bcn.dtcorp.com installation failed. Failed to configure management network on the host., code 9000: Failed to verify Power Management configuration for Host fmov1n1.bcn.dtcorp.com., fix accordingly and re-deploy."}
Thanks so very much, Charles _______________________________________________ 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/LPUANZALZ7L5ZC... _______________________________________________ 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/NB3OJYAHUG3YWT...

I tried to set lags but it killed communication altogether. So no they are not. Eric Evans Digital Data Services LLC. 304.660.9080 -----Original Message----- From: Vinícius Ferrão <ferrao@versatushpc.com.br> Sent: Wednesday, February 05, 2020 3:55 PM To: eevans@digitaldatatechs.com Cc: users@ovirt.org Subject: [ovirt-users] Re: Deploy Hosted Engine fails at "Set VLAN ID at datacenter level" The switches are configured for LACP Active mode?
On 5 Feb 2020, at 17:40, eevans@digitaldatatechs.com wrote:
I have a hypervisor with nic bonding in place and it has some communication issues. It constantly goes up and down and into non operational mode but comes back up. Is there a fix for this? Using Mode 4 for bonding.
Eric Evans Digital Data Services LLC. 304.660.9080
-----Original Message----- From: clam2718@gmail.com <clam2718@gmail.com> Sent: Wednesday, February 05, 2020 12:48 PM To: users@ovirt.org Subject: [ovirt-users] Re: Deploy Hosted Engine fails at "Set VLAN ID at datacenter level"
Thank you Guillaume! My mistake. Resolved.
I am now having further issues I believe to be because I am using tagged VLANs with NIC teaming. It appears that teaming is not well supported in oVirt - is that accurate, and that I should rebuild using bonds. If you have any experience to shed light on this it is much appreciated.
[ INFO ] TASK [ovirt.hosted_engine_setup : Fail with error description] [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "The host has been set in non_operational status, deployment errors: code 505: Host fmov1n1.bcn.dtcorp.com installation failed. Failed to configure management network on the host., code 9000: Failed to verify Power Management configuration for Host fmov1n1.bcn.dtcorp.com., fix accordingly and re-deploy."}
Thanks so very much, Charles _______________________________________________ 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/LPUANZAL Z7L5ZC26XE65AKFJCPUINU2N/ _______________________________________________ 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/NB3OJYAH UG3YWTV3KHPGEYFVUM3ZZHIA/
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/MRNRY7MDEFUF4T...

Mode 4 is LACP. So the switches must be talking LACP.
On 5 Feb 2020, at 18:28, eevans@digitaldatatechs.com wrote:
I tried to set lags but it killed communication altogether. So no they are not.
Eric Evans Digital Data Services LLC. 304.660.9080
-----Original Message----- From: Vinícius Ferrão <ferrao@versatushpc.com.br> Sent: Wednesday, February 05, 2020 3:55 PM To: eevans@digitaldatatechs.com Cc: users@ovirt.org Subject: [ovirt-users] Re: Deploy Hosted Engine fails at "Set VLAN ID at datacenter level"
The switches are configured for LACP Active mode?
On 5 Feb 2020, at 17:40, eevans@digitaldatatechs.com wrote:
I have a hypervisor with nic bonding in place and it has some communication issues. It constantly goes up and down and into non operational mode but comes back up. Is there a fix for this? Using Mode 4 for bonding.
Eric Evans Digital Data Services LLC. 304.660.9080
-----Original Message----- From: clam2718@gmail.com <clam2718@gmail.com> Sent: Wednesday, February 05, 2020 12:48 PM To: users@ovirt.org Subject: [ovirt-users] Re: Deploy Hosted Engine fails at "Set VLAN ID at datacenter level"
Thank you Guillaume! My mistake. Resolved.
I am now having further issues I believe to be because I am using tagged VLANs with NIC teaming. It appears that teaming is not well supported in oVirt - is that accurate, and that I should rebuild using bonds. If you have any experience to shed light on this it is much appreciated.
[ INFO ] TASK [ovirt.hosted_engine_setup : Fail with error description] [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "The host has been set in non_operational status, deployment errors: code 505: Host fmov1n1.bcn.dtcorp.com installation failed. Failed to configure management network on the host., code 9000: Failed to verify Power Management configuration for Host fmov1n1.bcn.dtcorp.com., fix accordingly and re-deploy."}
Thanks so very much, Charles _______________________________________________ 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/LPUANZAL Z7L5ZC26XE65AKFJCPUINU2N/ _______________________________________________ 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/NB3OJYAH UG3YWTV3KHPGEYFVUM3ZZHIA/
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/MRNRY7MDEFUF4T...

So if the bond is set to mode 4 I should LAG the ports it connects to? It doesn't affect an identical server not in the ovirt cluster and shows 2 Gb connection. I have tried mode 1 and 2 with the same result. Also, the other ovirt node is in mode 4 and no issues at all. Eric Evans Digital Data Services LLC. 304.660.9080 -----Original Message----- From: Vinícius Ferrão <ferrao@versatushpc.com.br> Sent: Wednesday, February 05, 2020 4:51 PM To: eevans@digitaldatatechs.com Cc: users@ovirt.org Subject: [ovirt-users] Re: Deploy Hosted Engine fails at "Set VLAN ID at datacenter level" Mode 4 is LACP. So the switches must be talking LACP.
On 5 Feb 2020, at 18:28, eevans@digitaldatatechs.com wrote:
I tried to set lags but it killed communication altogether. So no they are not.
Eric Evans Digital Data Services LLC. 304.660.9080
-----Original Message----- From: Vinícius Ferrão <ferrao@versatushpc.com.br> Sent: Wednesday, February 05, 2020 3:55 PM To: eevans@digitaldatatechs.com Cc: users@ovirt.org Subject: [ovirt-users] Re: Deploy Hosted Engine fails at "Set VLAN ID at datacenter level"
The switches are configured for LACP Active mode?
On 5 Feb 2020, at 17:40, eevans@digitaldatatechs.com wrote:
I have a hypervisor with nic bonding in place and it has some communication issues. It constantly goes up and down and into non operational mode but comes back up. Is there a fix for this? Using Mode 4 for bonding.
Eric Evans Digital Data Services LLC. 304.660.9080
-----Original Message----- From: clam2718@gmail.com <clam2718@gmail.com> Sent: Wednesday, February 05, 2020 12:48 PM To: users@ovirt.org Subject: [ovirt-users] Re: Deploy Hosted Engine fails at "Set VLAN ID at datacenter level"
Thank you Guillaume! My mistake. Resolved.
I am now having further issues I believe to be because I am using tagged VLANs with NIC teaming. It appears that teaming is not well supported in oVirt - is that accurate, and that I should rebuild using bonds. If you have any experience to shed light on this it is much appreciated.
[ INFO ] TASK [ovirt.hosted_engine_setup : Fail with error description] [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "The host has been set in non_operational status, deployment errors: code 505: Host fmov1n1.bcn.dtcorp.com installation failed. Failed to configure management network on the host., code 9000: Failed to verify Power Management configuration for Host fmov1n1.bcn.dtcorp.com., fix accordingly and re-deploy."}
Thanks so very much, Charles _______________________________________________ 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/LPUANZA L Z7L5ZC26XE65AKFJCPUINU2N/ _______________________________________________ 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/NB3OJYA H UG3YWTV3KHPGEYFVUM3ZZHIA/
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/MRNRY7MD EFUF4T72UQTPB4YNGAXKO4IJ/
_______________________________________________ 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/D6JR7VG4XAMY3G...

Man, Mode 4 is LACP. You must use the correct technology or things will get messy. I run a lot of RHV and oVirt clusters with Mode 4, 802.3ad, LACP or any other name you want to use. But you must comply with the rules. I do recommend some reading about bonding modes, don’t just enable them and see what happens, this is not responsible at all. https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualizat... And man, open a new thread, this one was from a VLAN issue on the storage network.
On 5 Feb 2020, at 19:53, eevans@digitaldatatechs.com wrote:
So if the bond is set to mode 4 I should LAG the ports it connects to? It doesn't affect an identical server not in the ovirt cluster and shows 2 Gb connection. I have tried mode 1 and 2 with the same result. Also, the other ovirt node is in mode 4 and no issues at all.
Eric Evans Digital Data Services LLC. 304.660.9080
-----Original Message----- From: Vinícius Ferrão <ferrao@versatushpc.com.br> Sent: Wednesday, February 05, 2020 4:51 PM To: eevans@digitaldatatechs.com Cc: users@ovirt.org Subject: [ovirt-users] Re: Deploy Hosted Engine fails at "Set VLAN ID at datacenter level"
Mode 4 is LACP.
So the switches must be talking LACP.
On 5 Feb 2020, at 18:28, eevans@digitaldatatechs.com wrote:
I tried to set lags but it killed communication altogether. So no they are not.
Eric Evans Digital Data Services LLC. 304.660.9080
-----Original Message----- From: Vinícius Ferrão <ferrao@versatushpc.com.br> Sent: Wednesday, February 05, 2020 3:55 PM To: eevans@digitaldatatechs.com Cc: users@ovirt.org Subject: [ovirt-users] Re: Deploy Hosted Engine fails at "Set VLAN ID at datacenter level"
The switches are configured for LACP Active mode?
On 5 Feb 2020, at 17:40, eevans@digitaldatatechs.com wrote:
I have a hypervisor with nic bonding in place and it has some communication issues. It constantly goes up and down and into non operational mode but comes back up. Is there a fix for this? Using Mode 4 for bonding.
Eric Evans Digital Data Services LLC. 304.660.9080
-----Original Message----- From: clam2718@gmail.com <clam2718@gmail.com> Sent: Wednesday, February 05, 2020 12:48 PM To: users@ovirt.org Subject: [ovirt-users] Re: Deploy Hosted Engine fails at "Set VLAN ID at datacenter level"
Thank you Guillaume! My mistake. Resolved.
I am now having further issues I believe to be because I am using tagged VLANs with NIC teaming. It appears that teaming is not well supported in oVirt - is that accurate, and that I should rebuild using bonds. If you have any experience to shed light on this it is much appreciated.
[ INFO ] TASK [ovirt.hosted_engine_setup : Fail with error description] [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "The host has been set in non_operational status, deployment errors: code 505: Host fmov1n1.bcn.dtcorp.com installation failed. Failed to configure management network on the host., code 9000: Failed to verify Power Management configuration for Host fmov1n1.bcn.dtcorp.com., fix accordingly and re-deploy."}
Thanks so very much, Charles _______________________________________________ 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/LPUANZA L Z7L5ZC26XE65AKFJCPUINU2N/ _______________________________________________ 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/NB3OJYA H UG3YWTV3KHPGEYFVUM3ZZHIA/
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/MRNRY7MD EFUF4T72UQTPB4YNGAXKO4IJ/
_______________________________________________ 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/D6JR7VG4XAMY3G...

Same server, I am having an issue getting an nfs export into the data domain. I have 2 set identically and one works without a problem, but the second is having connection issues and it says there is incorrect permission for it to be mounted. I tried 777 and owner/group nfsnobody. I also tried owner/group vdsm:kvm with 777 and still an issue. The selinux contest is nfs_t. Firewall is disabled. No idea why and can't find anything in the logs that indicate why. I attached a screen shot of the permission denial from the ovirt-engine console. Eric Evans Digital Data Services LLC. 304.660.9080 -----Original Message----- From: Vinícius Ferrão <ferrao@versatushpc.com.br> Sent: Wednesday, February 05, 2020 3:55 PM To: eevans@digitaldatatechs.com Cc: users@ovirt.org Subject: [ovirt-users] Re: Deploy Hosted Engine fails at "Set VLAN ID at datacenter level" The switches are configured for LACP Active mode?
On 5 Feb 2020, at 17:40, eevans@digitaldatatechs.com wrote:
I have a hypervisor with nic bonding in place and it has some communication issues. It constantly goes up and down and into non operational mode but comes back up. Is there a fix for this? Using Mode 4 for bonding.
Eric Evans Digital Data Services LLC. 304.660.9080
-----Original Message----- From: clam2718@gmail.com <clam2718@gmail.com> Sent: Wednesday, February 05, 2020 12:48 PM To: users@ovirt.org Subject: [ovirt-users] Re: Deploy Hosted Engine fails at "Set VLAN ID at datacenter level"
Thank you Guillaume! My mistake. Resolved.
I am now having further issues I believe to be because I am using tagged VLANs with NIC teaming. It appears that teaming is not well supported in oVirt - is that accurate, and that I should rebuild using bonds. If you have any experience to shed light on this it is much appreciated.
[ INFO ] TASK [ovirt.hosted_engine_setup : Fail with error description] [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "The host has been set in non_operational status, deployment errors: code 505: Host fmov1n1.bcn.dtcorp.com installation failed. Failed to configure management network on the host., code 9000: Failed to verify Power Management configuration for Host fmov1n1.bcn.dtcorp.com., fix accordingly and re-deploy."}
Thanks so very much, Charles _______________________________________________ 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/LPUANZAL Z7L5ZC26XE65AKFJCPUINU2N/ _______________________________________________ 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/NB3OJYAH UG3YWTV3KHPGEYFVUM3ZZHIA/
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/MRNRY7MDEFUF4T...

Mode 4 requires support and configuration on your switches Mode 1 should be the most compatible one ; I think Mode 2 supports tagged vlan too but I had some problems when I tried it Guillaume Pavese Ingénieur Système et Réseau Interactiv-Group On Thu, Feb 6, 2020 at 5:45 AM <eevans@digitaldatatechs.com> wrote:
I have a hypervisor with nic bonding in place and it has some communication issues. It constantly goes up and down and into non operational mode but comes back up. Is there a fix for this? Using Mode 4 for bonding.
Eric Evans Digital Data Services LLC. 304.660.9080
-----Original Message----- From: clam2718@gmail.com <clam2718@gmail.com> Sent: Wednesday, February 05, 2020 12:48 PM To: users@ovirt.org Subject: [ovirt-users] Re: Deploy Hosted Engine fails at "Set VLAN ID at datacenter level"
Thank you Guillaume! My mistake. Resolved.
I am now having further issues I believe to be because I am using tagged VLANs with NIC teaming. It appears that teaming is not well supported in oVirt - is that accurate, and that I should rebuild using bonds. If you have any experience to shed light on this it is much appreciated.
[ INFO ] TASK [ovirt.hosted_engine_setup : Fail with error description] [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "The host has been set in non_operational status, deployment errors: code 505: Host fmov1n1.bcn.dtcorp.com installation failed. Failed to configure management network on the host., code 9000: Failed to verify Power Management configuration for Host fmov1n1.bcn.dtcorp.com., fix accordingly and re-deploy."}
Thanks so very much, Charles _______________________________________________ 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/LPUANZALZ7L5ZC... _______________________________________________ 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/NB3OJYAHUG3YWT...
-- Ce message et toutes les pièces jointes (ci-après le “message”) sont établis à l’intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le détruire et d’en avertir immédiatement l’expéditeur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L’internet ne permettant pas d’assurer l’intégrité de ce message . Interactiv-group (et ses filiales) décline(nt) toute responsabilité au titre de ce message, dans l’hypothèse ou il aurait été modifié. IT, ES, UK. <https://interactiv-group.com/disclaimer.html>
participants (7)
-
Charles Lam
-
clam2718@gmail.com
-
eevans@digitaldatatechs.com
-
Guillaume Pavese
-
Martin Necas
-
Vinícius Ferrão
-
Yedidyah Bar David