Hi,
On Fri, Jan 15, 2021 at 7:10 AM Kim Yuan Lee <netgoogling(a)gmail.com> wrote:
Hi Didi,
I sent this to the list, but I cc you here as I think I didn't format the email
correctly using the web interface :)
I didn't see your message to the list. Now adding the list back.
Dear Ovirt list,
I saw some failures in /var/log/ovirt-hosted-engine-setup such as:
1) Install oVirt Engine packages for restoring backup
2) Copy engine logs etc
But I'm not sure what is the root cause for the setup to fail?
Attached is the log file for your reference. Could you please advise? Thanks.
It seems to have failed in:
2021-01-14 19:30:59,509+0800 DEBUG ansible on_any args TASK:
ovirt.hosted_engine_setup : Install Oracle oVirt repo kwargs
is_conditional:False
2021-01-14 19:30:59,509+0800 DEBUG ansible on_any args localhostTASK:
ovirt.hosted_engine_setup : Install Oracle oVirt repo kwargs
2021-01-14 19:31:01,189+0800 INFO ansible ok {'status': 'OK',
'ansible_type': 'task', 'ansible_task': u'Install Oracle oVirt
repo',
'task_duration': 1, 'ansible_host': u'localhost',
'ansible_playbook':
u'/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml'}
2021-01-14 19:31:01,189+0800 DEBUG ansible on_any args
<ansible.executor.task_result.TaskResult object at 0x7faffb39f590>
kwargs
2021-01-14 19:31:01,443+0800 INFO ansible task start {'status': 'OK',
'ansible_task': u'ovirt.hosted_engine_setup : Install oVirt Engine
packages for restoring backup', 'ansible_playbook':
u'/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml',
'ansible_type': 'task'}
2021-01-14 19:31:01,443+0800 DEBUG ansible on_any args TASK:
ovirt.hosted_engine_setup : Install oVirt Engine packages for
restoring backup kwargs is_conditional:False
2021-01-14 19:31:01,444+0800 DEBUG ansible on_any args localhostTASK:
ovirt.hosted_engine_setup : Install oVirt Engine packages for
restoring backup kwargs
2021-01-14 19:31:18,336+0800 ERROR ansible failed {'status': 'FAILED',
'ansible_type': 'task', 'ansible_task': u'Install oVirt
Engine
packages for restoring backup', 'ansible_result': u"type: <type
'dict'>\nstr: {'_ansible_no_log': False,
'_ansible_delegated_vars':
{'ansible_host': u'engine.orakvm2.local'}, u'changed': False,
u'results': [u'Loaded plugins: ulninfo\\nResolving Dependencies\\n-->
Running transaction check\\n---> Package ovirt-engine.noarch
0:4.3.6.6-1.0.8.el7 will be installed\\n--> Processing De",
'task_duration': 17, 'ansible_host': u'localhost',
'ansible_playbook':
u'/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml'}
This is Oracle-specific code, not part of oVirt. I suggest that you
contact Oracle.
Good luck and best regards,
Sincerely, Lee.
On Thu, Jan 14, 2021 at 2:46 PM Yedidyah Bar David <didi(a)redhat.com> wrote:
>
> Hi,
>
> On Wed, Jan 13, 2021 at 7:16 PM <netgoogling(a)gmail.com> wrote:
> >
> > Dear list,
> >
> > I have tried setting up self-hosting engine on a host with ONE Nic (Ovirt 4.4
CentOS 8 Stream). I followed the Quick Start Guide, and tried the command line self-host
setup, but ended up with the following error:
> >
> > {u'msg': u'There was a failure deploying the engine on the local
engine VM. The system may not be provisioned according to the playbook results....
> >
> > I tried on another host with TWO NICs (Ovirt 4.3 Oracle Linux 7 Update 9). This
time I setup a bridge BR0 and disable EM1 (the first Ethernet interface on the host), and
then created Bond0 on-top of BR0. Both Bond0 and EM2 (the second Ethernet interface on
the host) were up. And then I tried again using Ovirt-Cockpit wizard, with the Engine VM
set on BR0, and the deployment of Engine VM simply failed. The Engine and Host are using
the same network numbers (192.168.2.0/24) and they resolved correctly. I read the logs in
var/log/ovirt-engine/engine.log but there wasn't any error reported.
> >
> > I have already tried many times for the past few days and I'm at my
wits-end. May I know:
> > 1) Is it possible to install Self-hosted engine with just ONE NIC?
>
> Generally speaking, yes.
>
> > 2) Any suggestion how to troubleshoot these problems? And tested network
configurations?
>
> Please check/share all relevant logs. If unsure, all of /var/log.
> Specifically, /var/log/ovirt-hosted-engine-setup/* (also engine-logs
> subdirs, if relevant) and /var/log/vdsm/* on the hosts.
>
> Good luck and best regards,
> --
> Didi
>
--
Didi