With this update, the getFileStats action of VDSM now correctly reports file statistics for ISO storage domains on all storage formats supported by Red Hat Enterprise Virtualization and not just NFS storage.
Created attachment 873204[details]
engine and vdsm logs
Description of problem:
Refreshing the images list for POSIXFS and local ISO domains fails on vdsm.
Version-Release number of selected component (if applicable):
vdsm-4.14.2-0.3.el6ev.x86_64
How reproducible:
Always
Steps to Reproduce:
1. Create a local or POSIXFS ISO domain
2. Refresh images list
Actual results:
vdsm fails to perform getFileStats for non-NFS ISO domains. Error message in vdsm.log:
Thread-43643::ERROR::2014-03-11 16:33:34,712::dispatcher::67::Storage.Dispatcher.Protect::(run) {'status': {'message': "Cannot get file stats: ('b2980e96-b241-4388-8bc3-233640fd1151',)", 'code': 330}}
Expected results:
Refresh images list for local and POSIXFS ISO domains should succeed
Additional info:
vdsm and engine logs
engine.log:
2014-03-11 16:33:50,445 ERROR [org.ovirt.engine.core.bll.IsoDomainListSyncronizer] (ajp-/127.0.0.1:8702-3) org.ovirt.engine.core.common.errors.VdcBLLException: VdcBLLException: org.ovirt.engine.core.vdsbroker.irsbroker.IrsOperationFailedNoFailoverException: IRSGenericException: IRSErrorException: Cannot get file stats: ('b2980e96-b241-4388-8bc3-233640fd1151',) (Failed with error GET_FILE_LIST_ERROR and code 330)
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHBA-2014-0504.html
Created attachment 873204 [details] engine and vdsm logs Description of problem: Refreshing the images list for POSIXFS and local ISO domains fails on vdsm. Version-Release number of selected component (if applicable): vdsm-4.14.2-0.3.el6ev.x86_64 How reproducible: Always Steps to Reproduce: 1. Create a local or POSIXFS ISO domain 2. Refresh images list Actual results: vdsm fails to perform getFileStats for non-NFS ISO domains. Error message in vdsm.log: Thread-43643::ERROR::2014-03-11 16:33:34,712::dispatcher::67::Storage.Dispatcher.Protect::(run) {'status': {'message': "Cannot get file stats: ('b2980e96-b241-4388-8bc3-233640fd1151',)", 'code': 330}} Expected results: Refresh images list for local and POSIXFS ISO domains should succeed Additional info: vdsm and engine logs engine.log: 2014-03-11 16:33:50,445 ERROR [org.ovirt.engine.core.bll.IsoDomainListSyncronizer] (ajp-/127.0.0.1:8702-3) org.ovirt.engine.core.common.errors.VdcBLLException: VdcBLLException: org.ovirt.engine.core.vdsbroker.irsbroker.IrsOperationFailedNoFailoverException: IRSGenericException: IRSErrorException: Cannot get file stats: ('b2980e96-b241-4388-8bc3-233640fd1151',) (Failed with error GET_FILE_LIST_ERROR and code 330)