[ovirt-users] hosted engine does not start

2019-04-15 Thread Stefan Wolf
Hello all,

 

after a powerloss the hosted engine won’t start up anymore.

I ‘ve the current ovirt installed.

Storage is glusterfs und it is up and running

 

It is trying to start up hosted engine but it does not work, but I can’t see
where the problem is.

 

[root@kvm320 ~]# hosted-engine --vm-status

 

 

--== Host 1 status ==--

 

conf_on_shared_storage : True

Status up-to-date  : True

Hostname   : kvm380.durchhalten.intern

Host ID: 1

Engine status  : {"reason": "bad vm status", "health":
"bad", "vm": "down", "detail": "Down"}

Score  : 1800

stopped: False

Local maintenance  : False

crc32  : 3ad6d0bd

local_conf_timestamp   : 14594

Host timestamp : 14594

Extra metadata (valid at timestamp):

   metadata_parse_version=1

metadata_feature_version=1

timestamp=14594 (Mon Apr 15 21:25:12 2019)

host-id=1

score=1800

vm_conf_refresh_time=14594 (Mon Apr 15 21:25:12 2019)

conf_on_shared_storage=True

maintenance=False

state=GlobalMaintenance

stopped=False

 

 

--== Host 2 status ==--

 

conf_on_shared_storage : True

Status up-to-date  : True

Hostname   : kvm320.durchhalten.intern

Host ID: 2

Engine status  : {"reason": "failed liveliness check",
"health": "bad", "vm": "up", "detail": "Up"}

Score  : 0

stopped: False

Local maintenance  : False

crc32  : e7d4840d

local_conf_timestamp   : 21500

Host timestamp : 21500

Extra metadata (valid at timestamp):

metadata_parse_version=1

metadata_feature_version=1

timestamp=21500 (Mon Apr 15 21:25:22 2019)

host-id=2

score=0

vm_conf_refresh_time=21500 (Mon Apr 15 21:25:22 2019)

conf_on_shared_storage=True

maintenance=False

state=ReinitializeFSM

stopped=False

 

 

--== Host 3 status ==--

 

conf_on_shared_storage : True

Status up-to-date  : True

Hostname   : kvm360.durchhalten.intern

Host ID: 3

Engine status  : {"reason": "vm not running on this
host", "health": "bad", "vm": "down", "detail": "unknown"}

Score  : 1800

stopped: False

Local maintenance  : False

crc32  : cf9221cb

local_conf_timestamp   : 22121

Host timestamp : 22120

Extra metadata (valid at timestamp):

metadata_parse_version=1

metadata_feature_version=1

timestamp=22120 (Mon Apr 15 21:25:18 2019)

host-id=3

score=1800

vm_conf_refresh_time=22121 (Mon Apr 15 21:25:18 2019)

conf_on_shared_storage=True

maintenance=False

state=GlobalMaintenance

stopped=False

 

[root@kvm320 ~]# virsh -r list

IdName   Status



6 HostedEngine   laufend

 

[root@kvm320 ~]# hosted-engine --console

The engine VM is running on this host

Verbunden mit der Domain: HostedEngine

Escape-Zeichen ist ^]

Fehler: Interner Fehler: Zeichengerät  kann nicht gefunden warden

 

In engish it should be this

 

[root@mgmt~]# hosted-engine --console
The engine VM is running on this host
Connected to domain HostedEngine
Escape character is ^]
error: internal error: cannot find character device

 

This is in the log

 

[root@kvm320 ~]# tail -f /var/log/ovirt-hosted-engine-ha/agent.log

MainThread::INFO::2019-04-15
21:28:33,032::hosted_engine::491::ovirt_hosted_engine_ha.agent.hosted_engine
.HostedEngine::(_monitoring_loop) Current state EngineStarting (score: 1800)

MainThread::INFO::2019-04-15
21:28:43,050::states::779::ovirt_hosted_engine_ha.agent.hosted_engine.Hosted
Engine::(consume) VM is powering up..

MainThread::INFO::2019-04-15
21:28:43,165::hosted_engine::491::ovirt_hosted_engine_ha.agent.hosted_engine
.HostedEngine::(_monitoring_loop) Current state EngineStarting (score: 1800)

MainThread::INFO::2019-04-15
21:28:53,183::states::779::ovirt_hosted_engine_ha.agent.hosted_engine.Hosted
Engine::(consume) VM is powering up..

MainThread::INFO::2019-04-15
21:28:53,300::hosted_engine::491::ovirt_hosted_engine_ha.agent.hosted_engine
.HostedEngine::(_monitoring_loop) Current state EngineStarting (score: 1800)

MainThread::INFO::2019-04-15
21:29:03,317::states::779::ovirt_hosted_engine_ha.agent.hosted_engine.Hosted
Engine::(consume) VM is powering up..


[ovirt-users] hosted engine does not start correctly (CentOS 7.1, overt-engine 3.5.2)

2015-05-25 Thread Haoyang Haven Liu
Hello,I tried to follow http://www.ovirt.org/Migrate_to_Hosted_Engine to migrate an existing ovirt environment. I managed to complete the “engine-backup —mode=restore…” step, and the following “engine-setup” step appear to have completed. However, the ovirt-engine service was not started successfully has errors:[root@ovirt ~]# systemctl status ovirt-engineovirt-engine.service - oVirt Engine Loaded: loaded (/usr/lib/systemd/system/ovirt-engine.service; enabled) Active: failed (Result: exit-code) since Mon 2015-05-25 22:26:12 PDT; 43s agoMain PID: 15931 (code=exited, status=1/FAILURE)May 25 22:26:11 ovirt.polysep.ucla.edu systemd[1]: Started oVirt Engine.May 25 22:26:12 ovirt.polysep.ucla.edu ovirt-engine.py[15931]: 2015-05-25 22:26:12,269 ovirt-engine: ERROR run:532 Error: process termina...code 1May 25 22:26:12 ovirt.polysep.ucla.edu systemd[1]: ovirt-engine.service: main process exited, code=exited, status=1/FAILUREMay 25 22:26:12 ovirt.polysep.ucla.edu systemd[1]: Unit ovirt-engine.service entered failed state.Hint: Some lines were ellipsized, use -l to show in full.Additionally, /var/log/ovirt-engine/console.log complains “cannot allocate memory”. The VM engine has 4GB of memory, but ovirt-engine engine seems to want ~11GB of memory, is that right?[root@ovirt ~]# cat /var/log/ovirt-engine/console.logOpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00041218, 11250696192, 0) failed; error='Cannot allocate memory' (errno=12)## There is insufficient memory for the Java Runtime Environment to continue.# Native memory allocation (malloc) failed to allocate 11250696192 bytes for committing reserved memory.# An error report file with more information is saved as:# /tmp/jvm-15974/hs_error.log[root@ovirt ~]# free -m   totalusedfree   shared buff/cache  availableMem:  3791 1233175 28 4923428Swap: 2559  02559[root@ovirt ~]#The hs_error.log is attached.Any help is appreciated.Haven

hs_error.log
Description: Binary data
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users