Bug 1075172

Summary: [vdsm] getFileStats fails for local/POSIXFS ISO domain types
Product: Red Hat Enterprise Virtualization Manager Reporter: Elad <ebenahar>
Component: vdsmAssignee: Tal Nisan <tnisan>
Status: CLOSED ERRATA QA Contact: Elad <ebenahar>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.4.0CC: acanan, adahms, amureini, bazulay, gklein, iheim, knesenko, lpeer, scohen, yeylon
Target Milestone: ---Keywords: Regression
Target Release: 3.4.0   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: av5 Doc Type: Bug Fix
Doc Text:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-09 13:29:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1082326    
Bug Blocks: 1090946    
Attachments:
Description Flags
engine and vdsm logs none

Description Elad 2014-03-11 16:06:08 UTC
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)

Comment 1 Elad 2014-03-12 09:26:25 UTC
Adding regression flag since local and POSIXFS ISO domains were introduced, checked and verified on RHEV-3.3

Comment 4 Elad 2014-05-13 11:21:01 UTC
Refresh images list succeeds both in local and POSIXFS ISO domains.

Verified using av9.

Comment 5 errata-xmlrpc 2014-06-09 13:29:31 UTC
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