On Fri, May 18, 2018 at 10:09 AM, Sumit Bharadia <03ce007(a)gmail.com> wrote:
attached, initial engine.log from engine VM
OK, your issue is here:
2018-05-18 09:05:27,756+01 ERROR
[org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient]
(EE-ManagedThreadFactory-engineScheduled-Thread-12) [294c1528] Exception
during connection
2018-05-18 09:05:27,763+01 ERROR
[org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring]
(EE-ManagedThreadFactory-engineScheduled-Thread-12) [294c1528] Unable to
RefreshCapabilities: UnknownHostException: ovirt
2018-05-18 09:05:27,766+01 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesAsyncVDSCommand]
(EE-ManagedThreadFactory-engineScheduled-Thread-12) [294c1528] Command
'GetCapabilitiesAsyncVDSCommand(HostName = ovirt,
VdsIdAndVdsVDSCommandParametersBase:{hostId='80fed076-1789-4e8e-bbd9-cfde1b0faea2',
vds='Host[ovirt,80fed076-1789-4e8e-bbd9-cfde1b0faea2]'})' execution failed:
java.net.UnknownHostException: ovirt
2018-05-18 09:05:27,786+01 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(EE-ManagedThreadFactory-engineScheduled-Thread-14) [294c1528] EVENT_ID:
VDS_BROKER_COMMAND_FAILURE(10,802), VDSM ovirt command
GetCapabilitiesAsyncVDS failed: Connection issue ovirt
2018-05-18 09:05:27,786+01 ERROR
[org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring]
(EE-ManagedThreadFactory-engineScheduled-Thread-14) [294c1528] Unable to
RefreshCapabilities: VDSNetworkException: VDSGenericException:
VDSNetworkException: Connection issue ovirt
When the engine VM restarts from the shared storage your engine VM could
not resolve 'ovirt' address and so the host becomes unresponsive at engine
eyes.
Is your DNS properly working? if not, please take care that
hosted-engine-setup has an option for injecting a value into /etc/hosts on
the engine VM for you.
thank you.
On 18 May 2018 at 08:35, Simone Tiraboschi <stirabos(a)redhat.com> wrote:
> Here engine.log got already rotated, we need the initial engine.log; can
> you please look for that?
>
>
> On Fri, May 18, 2018 at 9:34 AM, Sumit Bharadia <03ce007(a)gmail.com>
> wrote:
>
>> attached engine.log from engine VM
>>
>> thank you.
>>
>> On 18 May 2018 at 08:10, Simone Tiraboschi <stirabos(a)redhat.com> wrote:
>>
>>> Hi,
>>> can you please attach the whole engine.log file?
>>>
>>> On Fri, May 18, 2018 at 8:43 AM, <03ce007(a)gmail.com> wrote:
>>>
>>>> I am trying to setup self-hosted-engine (4.2) on a single machine
>>>> running centos 7.4.
>>>>
>>>> I ran hosted-engine deploy script and it ran all the way through but
>>>> failed on last task (at "Wait for the local bootstrap VM to be down
at
>>>> engine eyes") while creating the local engine VM. However, the
--vm-status
>>>> shows the engine status as up and is in good health, but I cannot
interact
>>>> with host installed on engine VM.
>>>>
>>>> The host within engine VM shows it is in non-responsive state, not
>>>> clear why and what caused it. I can ssh into the local engine VM and the
>>>> engine.log has below entries -
>>>>
>>>> 2018-05-17 11:03:57,739+01 ERROR [org.ovirt.engine.core.vdsbrok
>>>> er.monitoring.VmDevicesMonitoring]
(EE-ManagedThreadFactory-engineScheduled-Thread-78)
>>>> [6768004b] Exception::
org.springframework.dao.DataIntegrityViolationException:
>>>> CallableStatementCallback; SQL [{call insertvmdevice(?, ?, ?, ?, ?, ?,
?,
>>>> ?, ?, ?, ?, ?, ?, ?)}]; ERROR: insert or update on table
"vm_device"
>>>> violates foreign key constraint "fk_vm_device_vm_static"
>>>> Detail: Key (vm_id)=(114581bb-7fef-4b08-8e3c-85dd5a9e680b) is not
>>>> present in table "vm_static".
>>>> ...
>>>> ...
>>>> ...
>>>> 2018-05-17 11:03:59,957+01 ERROR
[org.ovirt.engine.core.bll.pm.FenceProxyLocator]
>>>> (EE-ManagedThreadFactory-engineScheduled-Thread-44) [2bf8b18f] Can
>>>> not run fence action on host 'ovirt', no suitable proxy host was
found.
>>>> ...
>>>> ...
>>>> ...
>>>> 2018-05-17 11:20:00,093+01 ERROR
[org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient]
>>>> (EE-ManagedThreadFactory-engine-Thread-2) [1a833057] Exception during
>>>> connection
>>>> ...
>>>> ...
>>>> ...
>>>> 2018-05-17 11:20:00,386+01 ERROR [org.ovirt.engine.core.vdsbrok
>>>> er.HostDevListByCapsVDSCommand]
(EE-ManagedThreadFactory-engine-Thread-2)
>>>> [1a833057] Command 'HostDevListByCapsVDSCommand(HostName = ovirt,
>>>>
VdsIdAndVdsVDSCommandParametersBase:{hostId='1a6a47e6-934e-43f7-ad5b-ba8f8ff8df99',
>>>> vds='Host[ovirt,1a6a47e6-934e-43f7-ad5b-ba8f8ff8df99]'})'
execution
>>>> failed: java.net.UnknownHostException: ovirt: Name or service not known
>>>> ...
>>>> ...
>>>> ...
>>>> 2018-05-17 11:20:03,287+01 ERROR
[org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient]
>>>> (EE-ManagedThreadFactory-engineScheduled-Thread-14) [] Exception
>>>> during connection
>>>> 2018-05-17 11:20:03,292+01 ERROR
[org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring]
>>>> (EE-ManagedThreadFactory-engineScheduled-Thread-14) [] Unable to
>>>> RefreshCapabilities: UnknownHostException: ovirt
>>>> 2018-05-17 11:20:03,294+01 INFO [org.ovirt.engine.core.vdsbrok
>>>> er.vdsbroker.GetCapabilitiesAsyncVDSCommand]
>>>> (EE-ManagedThreadFactory-engineScheduled-Thread-14) [] Command
>>>>
'org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesAsyncVDSCommand'
>>>> return value 'org.ovirt.engine.core.vdsbrok
>>>> er.vdsbroker.VDSInfoReturn@46e3da89'
>>>> 2018-05-17 11:20:03,294+01 INFO [org.ovirt.engine.core.vdsbrok
>>>> er.vdsbroker.GetCapabilitiesAsyncVDSCommand]
>>>> (EE-ManagedThreadFactory-engineScheduled-Thread-14) [] HostName =
>>>> ovirt
>>>> 2018-05-17 11:20:03,297+01 ERROR [org.ovirt.engine.core.vdsbrok
>>>> er.vdsbroker.GetCapabilitiesAsyncVDSCommand]
>>>> (EE-ManagedThreadFactory-engineScheduled-Thread-14) [] Command
>>>> 'GetCapabilitiesAsyncVDSCommand(HostName = ovirt,
>>>>
VdsIdAndVdsVDSCommandParametersBase:{hostId='1a6a47e6-934e-43f7-ad5b-ba8f8ff8df99',
>>>> vds='Host[ovirt,1a6a47e6-934e-43f7-ad5b-ba8f8ff8df99]'})'
execution
>>>> failed: java.net.UnknownHostException: ovirt
>>>> 2018-05-17 11:20:03,316+01 ERROR [org.ovirt.engine.core.dal.dbb
>>>> roker.auditloghandling.AuditLogDirector]
>>>> (EE-ManagedThreadFactory-engineScheduled-Thread-15) [] EVENT_ID:
>>>> VDS_BROKER_COMMAND_FAILURE(10,802), VDSM ovirt command
>>>> GetCapabilitiesAsyncVDS failed: Connection issue ovirt
>>>> 2018-05-17 11:20:03,317+01 ERROR
[org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring]
>>>> (EE-ManagedThreadFactory-engineScheduled-Thread-15) [] Unable to
>>>> RefreshCapabilities: VDSNetworkException: VDSGenericException:
>>>> VDSNetworkException: Connection issue ovirt
>>>> ...
>>>> ...
>>>> ...
>>>>
>>>>
>>>> and then above 5 ERROR messages are keep getting repeated.
>>>>
>>>> Why the connection fails when I can still ssh into the engine? where
>>>> is the issue here?
>>>> _______________________________________________
>>>> Users mailing list -- users(a)ovirt.org
>>>> To unsubscribe send an email to users-leave(a)ovirt.org
>>>>
>>>
>>>
>>
>