How do I share the logs with the list? The log file is 86k in length...Can this be done
as an attachment?
Upload to some file sharing service, such as dropbox or google drive,
and post a link.
If you find a bug, please open a bug on oVirt and attach your logs to
it (and post the bug number).
Thanks,
-----Original Message-----
From: Yedidyah Bar David <didi(a)redhat.com>
Sent: Thursday, May 20, 2021 8:40 AM
To: Germann, Ken (US) <Ken.Germann(a)L3Harris.com>
Cc: users <users(a)ovirt.org>
Subject: [EXTERNAL] Re: Re: [ovirt-users] I am trying to setup ovirt hosted engine.
On Thu, May 20, 2021 at 3:34 PM <Ken.Germann(a)l3harris.com> wrote:
>
> I am using a plain nic. I am using eth2. Here is the configuration for ifcfg-eth2:
>
> TYPE=Ethernet
>
> BOOTPROTO=static
>
> DEFROUTE=yes
>
> NAME=eth2
>
> DEVICE=eth2
>
> IPADDR=192.168.0.8
>
> PREFIX=24
>
> NETMASK=255.255.255.0
>
> ONBOOT=yes
>
>
>
> The logs say the selected bridge interface does not exist…
Indeed, but that's not your problem.
>
>
>
> The logs say:
>
> 2021-05-20 06:46:34,377-0400 DEBUG
> otopi.ovirt_hosted_engine_setup.ansible_utils
> ansible_utils._process_output:103 otopi_host_net: {u'failed': False,
> u'changed': False, u'ansible_facts': {u'otopi_host_net':
[u'eth0',
> u'eth2', u'eth1']}}
>
> 2021-05-20 06:46:34,577-0400 INFO
> otopi.ovirt_hosted_engine_setup.ansible_utils
> ansible_utils._process_output:109 TASK [ovirt.hosted_engine_setup :
> Validate selected bridge interface if management bridge does not
> exists]
>
> 2021-05-20 06:46:34,979-0400 DEBUG
> otopi.ovirt_hosted_engine_setup.ansible_utils
> ansible_utils._process_output:103 {u'msg': u'The selected network
> interface is not valid', u'changed': False, u'_ansible_no_log':
False}
>
> 2021-05-20 06:46:35,080-0400 ERROR
> otopi.ovirt_hosted_engine_setup.ansible_utils
> ansible_utils._process_output:107 fatal: [localhost]: FAILED! =>
> {"changed": false, "msg": "The selected network interface
is not
> valid"}
This is your problem, as you already understood.
The code emitting this is:
https://github.com/oVirt/ovirt-ansible-collection/blob/master/roles/hoste...
You can try to follow both code and logs in parallel and understand why it decided
it's not valid.
Or you can share the logs with the list and hopefully someone will be able to
understand...
Best regards,
>
> 2021-05-20 06:46:35,281-0400 DEBUG
> otopi.ovirt_hosted_engine_setup.ansible_utils
> ansible_utils._process_output:103 PLAY RECAP [localhost] : ok: 21
> changed: 0 unreachable: 0 skipped: 1 failed: 1
>
>
>
>
>
> From: Yedidyah Bar David <didi(a)redhat.com>
> Sent: Thursday, May 20, 2021 7:38 AM
> To: Germann, Ken (US) <Ken.Germann(a)L3Harris.com>
> Cc: users <users(a)ovirt.org>
> Subject: [EXTERNAL] Re: [ovirt-users] I am trying to setup ovirt hosted engine.
>
>
>
> On Thu, May 20, 2021 at 2:13 PM Ken.Germann--- via Users <users(a)ovirt.org>
wrote:
>
> I select eth2 as the default interface for the management network for the VM
network.
>
>
>
> I get this error:
>
> [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false,
"msg":
> "The selected network interface is not valid"}
>
> [ ERROR ] Failed to execute stage 'Closing up': Failed executing
> ansible-playbook
>
>
>
> It appears to be expecting a bridge interface to be setup…
>
>
>
> No, it expects a plain nic. There must be some other reason.
>
> You might be able to understand by checking the logs.
>
>
>
> Best regards,
>
> --
>
> Didi
>
>
>
> CONFIDENTIALITY NOTICE: This email and any attachments are for the sole use of the
intended recipient and may contain material that is proprietary, confidential, privileged
or otherwise legally protected or restricted under applicable government laws. Any review,
disclosure, distributing or other use without expressed permission of the sender is
strictly prohibited. If you are not the intended recipient, please contact the sender and
delete all copies without reading, printing, or saving.
>
--
Didi