Presenting NFS repository to OVM 3.4.1 server fails with [Errno 5] Input/output
(Doc ID 2276638.1)
Last updated on OCTOBER 13, 2022
Applies to:
Oracle VM - Version 3.4.1 and laterOracle Cloud Infrastructure - Version N/A and later
Linux x86-64
Symptoms
On Oracle VM 3.4, when presenting NFS repository to non-certified storage appliance,the mount succeeds but OVM operation fails with EIO when it tries to acquire lock on .ovsrepo file.
Below error is noticed in the Oracle VM Manager GUI when trying to present the nfs repository.
-
Present Repository: ovs-repo to Server:<hostname>
OVMAPI_4010E Attempt to send command: add_repository to server: <hostname> failed. OVMAPI_4004E Sync command failed on server: <IP>. Command: add_repository, Server error: org.apache.xmlrpc.XmlRpcException: <class 'agent.lib.filelock.LockError'>:Lock file /OVS/Repositories/0004fb00000300007eecb4773d8a1c7d/.ovsrepo failed: [Errno 5] Input/output error [Tue Feb 21 15:00:10 AST 2017]
On Oracle VM Server, ovs-agent.log shows below errors:
-
2017-02-21 14:59:57 9439] DEBUG (nfs_linux:91) mount successful
[2017-02-21 14:59:57 9439] DEBUG (service:77) call complete:
storage_plugin_mount
[2017-02-21 14:59:58 9453] DEBUG (service:75) call start:
add_repository('<IP>:/data/repo_snapshots', '0004fb00000300
007eecb4773d8a1c7d')
[2017-02-21 15:00:10 9453] ERROR (service:97) catch_error: Lock file
/OVS/Repositories/0004fb00000300007eecb4773d8a1c7d/.ovsrep
o failed: [Errno 5] Input/output error
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/agent/lib/service.py", line 95, in
wrapper
return func(*args)
File "/usr/lib64/python2.6/site-packages/agent/api/repository.py", line
308, in add_repository
info = get_repository_info(repo_mount_point)
File "/usr/lib64/python2.6/site-packages/agent/api/repository.py", line 70,
in get_repository_info
lock.acquire(wait=360)
File "/usr/lib64/python2.6/site-packages/agent/lib/filelock.py", line 54,
in acquire
(self.filename, e))
LockError: Lock file
/OVS/Repositories/0004fb00000300007eecb4773d8a1c7d/.ovsrepo failed: [Errno 5]
Input/output error
[2017-02-21 15:00:13 9581] DEBUG (service:77) call start:
get_api_versionno_subtree_check
Changes
NA
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |