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

Haoyang Haven Liu haven.liu at ucla.edu
Tue May 26 05:34:00 UTC 2015


Hello,

I tried to follow <http://www.ovirt.org/Migrate_to_Hosted_Engine <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 at ovirt ~]# systemctl status ovirt-engine
ovirt-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 ago
 Main 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 1
May 25 22:26:12 ovirt.polysep.ucla.edu systemd[1]: ovirt-engine.service: main process exited, code=exited, status=1/FAILURE
May 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 at ovirt ~]# cat /var/log/ovirt-engine/console.log 
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000412180000, 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 at ovirt ~]# free -m
              total        used        free      shared  buff/cache   available
Mem:           3791         123        3175          28         492        3428
Swap:          2559           0        2559
[root at ovirt ~]# 

The hs_error.log is attached.

Any help is appreciated.

Haven



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20150526/e87f18c1/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hs_error.log
Type: application/octet-stream
Size: 17186 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20150526/e87f18c1/attachment-0001.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20150526/e87f18c1/attachment-0003.html>


More information about the Users mailing list