Description of problem: Calling getImagesList doesn't return list of images [root@puma27 f62c3fa9-3727-4c3c-a1d2-6b5a43f2c217]# ll /rhev/data-center/eab0122c-10f5-4802-bfd3-f47a01ec9b5c/08b71a28-e356-42e6-bff8-4e191090a8d1/images/ total 4 drwxr-xr-x. 2 vdsm kvm 4096 Jul 9 2013 f62c3fa9-3727-4c3c-a1d2-6b5a43f2c217 [root@puma27 f62c3fa9-3727-4c3c-a1d2-6b5a43f2c217]# vdsClient -s 0 getImagesList 08b71a28-e356-42e6-bff8-4e191090a8d1a c b d f - 1 3 2 5 4 7 6 9 Version-Release number of selected component (if applicable): vdsm-4.11.0-89.git8bf916a.el6.x86_64 How reproducible: Always Steps to Reproduce: 1. call getImagesList on SD that contains images 2. 3. Actual results: see desc Expected results: list of images Additional info: Thread-5841::DEBUG::2013-07-09 15:14:08,158::BindingXMLRPC::177::vds::(wrapper) client [10.35.160.63] Thread-5841::DEBUG::2013-07-09 15:14:08,159::task::579::TaskManager.Task::(_updateState) Task=`80cc508b-c5d0-4380-a0ad-e94fe4de424b`::moving from state init -> state preparing Thread-5841::INFO::2013-07-09 15:14:08,159::logUtils::44::dispatcher::(wrapper) Run and protect: getImagesList(sdUUID='08b71a28-e356-42e6-bff8-4e191090a8d1', options=None) Thread-5841::DEBUG::2013-07-09 15:14:08,160::resourceManager::197::ResourceManager.Request::(__init__) ResName=`Storage.08b71a28-e356-42e6-bff8-4e191090a8d1`ReqID=`50114ac4-ff68-4178-85a2-b7416b983bc8`::Request was made in '/usr/share/vdsm/storage/hsm.py' line '3241' at 'getImagesList' Thread-5841::DEBUG::2013-07-09 15:14:08,160::resourceManager::541::ResourceManager::(registerResource) Trying to register resource 'Storage.08b71a28-e356-42e6-bff8-4e191090a8d1' for lock type 'shared' Thread-5841::DEBUG::2013-07-09 15:14:08,161::resourceManager::600::ResourceManager::(registerResource) Resource 'Storage.08b71a28-e356-42e6-bff8-4e191090a8d1' is free. Now locking as 'shared' (1 active user) Thread-5841::DEBUG::2013-07-09 15:14:08,161::resourceManager::237::ResourceManager.Request::(grant) ResName=`Storage.08b71a28-e356-42e6-bff8-4e191090a8d1`ReqID=`50114ac4-ff68-4178-85a2-b7416b983bc8`::Granted request Thread-5841::DEBUG::2013-07-09 15:14:08,162::task::811::TaskManager.Task::(resourceAcquired) Task=`80cc508b-c5d0-4380-a0ad-e94fe4de424b`::_resourcesAcquired: Storage.08b71a28-e356-42e6-bff8-4e191090a8d1 (shared) Thread-5841::DEBUG::2013-07-09 15:14:08,162::task::974::TaskManager.Task::(_decref) Task=`80cc508b-c5d0-4380-a0ad-e94fe4de424b`::ref 1 aborting False Thread-5841::INFO::2013-07-09 15:14:08,169::logUtils::47::dispatcher::(wrapper) Run and protect: getImagesList, Return response: {'imageslist': ['a', 'c', 'b', 'd', 'f', '-', '1', '3', '2', '5', '4', '7', '6', '9']} Thread-5841::DEBUG::2013-07-09 15:14:08,169::task::1168::TaskManager.Task::(prepare) Task=`80cc508b-c5d0-4380-a0ad-e94fe4de424b`::finished: {'imageslist': ['a', 'c', 'b', 'd', 'f', '-', '1', '3', '2', '5', '4', '7', '6', '9']} Thread-5841::DEBUG::2013-07-09 15:14:08,169::task::579::TaskManager.Task::(_updateState) Task=`80cc508b-c5d0-4380-a0ad-e94fe4de424b`::moving from state preparing -> state finished
Doesn't reproduce on iscsi
Verified vdsm-4.12.0-rc1.12.git8ee6885.el6.x86_64
This bug is currently attached to errata RHBA-2013:15291. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag. Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information: * Cause: What actions or circumstances cause this bug to present. * Consequence: What happens when the bug presents. * Fix: What was done to fix the bug. * Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore') Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug. For further details on the Cause, Consequence, Fix, Result format please refer to: https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes Thanks in advance.
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-0040.html