Certain VM Related Operations such as Reboot, Power on/off Fail in the Oracle VM Manager

(Doc ID 2343390.1)

Last updated on DECEMBER 28, 2017

Applies to:

Oracle VM - Version 3.2.11 and later
Linux x86-64

Symptoms

Certain VM related operations such as VM power on/off, either fail or does not complete in the Oracle VM Manager.

ovs-agent.log shows lock issues:


[2017-11-16 23:34:03 25289] ERROR (service:96) catch_error: Lock file /var/run/ovs-agent/vm-list.lock failed: timeout occured.
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/agent/lib/service.py", line 94, in wrapper
return func(*args)
File "/usr/lib64/python2.4/site-packages/agent/api/hypervisor/xenxm.py", line 246, in list_vms
return get_vms()
File "/usr/lib64/python2.4/site-packages/agent/lib/xenxm.py", line 123, in get_vms
lock.acquire(wait=120)
File "/usr/lib64/python2.4/site-packages/agent/lib/filelock.py", line 90, in acquire
raise LockError("Lock file %s failed: timeout occured." % self.filename)
LockError: Lock file /var/run/ovs-agent/vm-list.lock failed: timeout occured.
...
[2017-11-25 04:15:55 19248] ERROR (service:96) catch_error: Lock file /var/run/ovs-agent/vm-list.lock failed: timeout occured.
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/agent/lib/service.py", line 94, in wrapper
return func(*args)
File "/usr/lib64/python2.4/site-packages/agent/api/hypervisor/xenxm.py", line 246, in list_vms
return get_vms()
File "/usr/lib64/python2.4/site-packages/agent/lib/xenxm.py", line 123, in get_vms
lock.acquire(wait=120)
File "/usr/lib64/python2.4/site-packages/agent/lib/filelock.py", line 90, in acquire
raise LockError("Lock file %s failed: timeout occured." % self.filename)
LockError: Lock file /var/run/ovs-agent/vm-list.lock failed: timeout occured.
[2017-11-25 04:18:00 16121] DEBUG (linuxstats:44) Error getting VM stats: Lock file /var/run/ovs-agent/vm-list.lock failed: timeout occured.
[2017-11-25 04:18:05 20248] ERROR (service:96) catch_error: Lock file /var/run/ovs-agent/vm-list.lock failed: timeout occured.
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/agent/lib/service.py", line 94, in wrapper
return func(*args)
File "/usr/lib64/python2.4/site-packages/agent/api/hypervisor/xenxm.py", line 246, in list_vms
return get_vms()
File "/usr/lib64/python2.4/site-packages/agent/lib/xenxm.py", line 123, in get_vms
lock.acquire(wait=120)
File "/usr/lib64/python2.4/site-packages/agent/lib/filelock.py", line 90, in acquire
raise LockError("Lock file %s failed: timeout occured." % self.filename)
LockError: Lock file /var/run/ovs-agent/vm-list.lock failed: timeout occured.

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms