In RHV4.0, ovirt-engine does not shut down cleanly

Solution Unverified - Updated -

Issue

  • In RHV4.0, ovirt-engine does not shut down cleanly:
[root@<hostname> ~]# systemctl status ovirt-engine
● ovirt-engine.service - oVirt Engine
   Loaded: loaded (/usr/lib/systemd/system/ovirt-engine.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2016-11-07 11:18:04 AEST; 1 weeks 0 days ago
 Main PID: 4987 (ovirt-engine.py)
   CGroup: /system.slice/ovirt-engine.service
           ├─4987 /usr/bin/python /usr/share/ovirt-engine/services/ovirt-engine/ovirt-engine.py --redirect-output --systemd=notify start
           └─5018 ovirt-engine -server -XX:+TieredCompilation -Xms1024M -Xmx1024M -Djava.awt.headless=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djss...

Nov 07 11:18:02 <hostname> systemd[1]: Starting oVirt Engine...
Nov 07 11:18:04 <hostname> systemd[1]: Started oVirt Engine.
[root@<hostname> ~]# time systemctl stop ovirt-engine

real    0m10.192s
user    0m0.004s
sys 0m0.010s
[root@<hostname> ~]# systemctl status ovirt-engine
● ovirt-engine.service - oVirt Engine
   Loaded: loaded (/usr/lib/systemd/system/ovirt-engine.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2016-11-14 14:10:44 AEST; 3s ago
  Process: 4987 ExecStart=/usr/share/ovirt-engine/services/ovirt-engine/ovirt-engine.py --redirect-output --systemd=notify $EXTRA_ARGS start (code=exited, status=1/FAILURE)
 Main PID: 4987 (code=exited, status=1/FAILURE)

Nov 07 11:18:02 <hostname> systemd[1]: Starting oVirt Engine...
Nov 07 11:18:04 <hostname> systemd[1]: Started oVirt Engine.
Nov 14 14:10:34 <hostname> systemd[1]: Stopping oVirt Engine...
Nov 14 14:10:44 <hostname> ovirt-engine.py[4987]: 2016-11-14 14:10:44,618 ovirt-engine: ERROR run:532 Error: Had to kill process 5018
Nov 14 14:10:44 <hostname> systemd[1]: ovirt-engine.service: main process exited, code=exited, status=1/FAILURE
Nov 14 14:10:44 <hostname> systemd[1]: Stopped oVirt Engine.
Nov 14 14:10:44 <hostname> systemd[1]: Unit ovirt-engine.service entered failed state.
Nov 14 14:10:44 <hostname> systemd[1]: ovirt-engine.service failed.

Environment

  • Red Hat Virtualization 4.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content