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@gmail.com> wrote:attached engine.log from engine VMthank you.On 18 May 2018 at 08:10, Simone Tiraboschi <stirabos@redhat.com> wrote:Hi,can you please attach the whole engine.log file?On Fri, May 18, 2018 at 8:43 AM, <03ce007@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.vdsbroker.monitoring.VmDevicesMonitor ing] (EE-ManagedThreadFactory-engin eScheduled-Thread-78) [6768004b] Exception:: org.springframework.dao.DataIn tegrityViolationException: 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-engin eScheduled-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-engin e-Thread-2) [1a833057] Exception during connection
...
...
...
2018-05-17 11:20:00,386+01 ERROR [org.ovirt.engine.core.vdsbroker.HostDevListByCapsVDSCommand ] (EE-ManagedThreadFactory-engin e-Thread-2) [1a833057] Command 'HostDevListByCapsVDSCommand(H ostName = ovirt, VdsIdAndVdsVDSCommandParameter sBase:{hostId='1a6a47e6-934e-4 3f7-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-engin eScheduled-Thread-14) [] Exception during connection
2018-05-17 11:20:03,292+01 ERROR [org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring] (EE-ManagedThreadFactory-engin eScheduled-Thread-14) [] Unable to RefreshCapabilities: UnknownHostException: ovirt
2018-05-17 11:20:03,294+01 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesAs yncVDSCommand] (EE-ManagedThreadFactory-engin eScheduled-Thread-14) [] Command 'org.ovirt.engine.core.vdsbrok er.vdsbroker.GetCapabilitiesAs yncVDSCommand' return value 'org.ovirt.engine.core.vdsbrok er.vdsbroker.VDSInfoReturn@46e 3da89'
2018-05-17 11:20:03,294+01 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesAs yncVDSCommand] (EE-ManagedThreadFactory-engin eScheduled-Thread-14) [] HostName = ovirt
2018-05-17 11:20:03,297+01 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesAs yncVDSCommand] (EE-ManagedThreadFactory-engin eScheduled-Thread-14) [] Command 'GetCapabilitiesAsyncVDSComman d(HostName = ovirt, VdsIdAndVdsVDSCommandParameter sBase:{hostId='1a6a47e6-934e-4 3f7-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.dbbroker.auditloghandling.AuditLo gDirector] (EE-ManagedThreadFactory-engin eScheduled-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-engin eScheduled-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@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org