Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1015964 - [VDSM] VDSM fails to Refresh image list for local ISO_DOMAIN (OSError: [Errno 2] No such file or directory: )
[VDSM] VDSM fails to Refresh image list for local ISO_DOMAIN (OSError: [Errno...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: vdsm (Show other bugs)
3.3.0
Unspecified Unspecified
unspecified Severity high
: ---
: 3.3.0
Assigned To: Sergey Gotliv
Leonid Natapov
storage
:
Depends On: 1018653
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-07 03:01 EDT by David Botzer
Modified: 2016-02-10 12:07 EST (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, VDSM failed to refresh the list of images for a local ISO domain. Now, the local ISO domain refreshes after files are deleted from it or copied to it.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-01-21 11:17:39 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Storage
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
amureini: Triaged+


Attachments (Terms of Use)
vdsm-17.1 (430.92 KB, application/x-gzip)
2013-10-07 03:01 EDT, David Botzer
no flags Details
engine (31.46 KB, application/x-gzip)
2013-10-07 03:03 EDT, David Botzer
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:0040 normal SHIPPED_LIVE vdsm bug fix and enhancement update 2014-01-21 15:26:21 EST

  None (edit)
Description David Botzer 2013-10-07 03:01:16 EDT
Created attachment 808734 [details]
vdsm-17.1

Description of problem:
[VDSM] VDSM fails to Refresh image list for local ISO_DOMAIN (OSError: [Errno 2] No such file or directory: )

Version-Release number of selected component (if applicable):
3.3/is17.1

vdsm-4.12.0-170.el6ev.x86_64
vdsm-cli-4.12.0-170.el6ev.noarch
vdsm-python-4.12.0-170.el6ev.x86_64
vdsm-xmlrpc-4.12.0-170.el6ev.noarch
vdsm-python-cpopen-4.12.0-170.el6ev.x86_64

libvirt-python-0.10.2-27.el6.x86_64
libvirt-client-0.10.2-27.el6.x86_64
libvirt-0.10.2-27.el6.x86_64
libvirt-lock-sanlock-0.10.2-27.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1.during engine-setup create Local ISO DOMAIN (use default)
2.Attach the ISO_DOMAIN to the new created DC
3.Upload some files using rhevm-iso-iploader, or copy manually to /var/lib/exports/iso
> rhevm-iso-uploader -i ISO_DOMAIN upload /usr/share/virtio-win/virtio-win.iso
4. Delete the uploaded files

Actual results:
Webadmin, Engine & VDSM gives error, 
Webadmin error: Refresh image list failed for domain(s): ISO_DOMAIN (All
file type). Please check domain activity. 

Expected results:
Should refresh & update on current list (Should be empty)

Additional info:
Engine :
2013-10-06 14:46:23,826 ERROR
[org.ovirt.engine.core.bll.IsoDomainListSyncronizer]
(ajp-/127.0.0.1:8702-6) The following storage domains had a problem
retrieving data from VDSM  ( Storage Pool Id:
ca9d2d6a-0f18-4d2a-a654-919f86384982 Storage domain Id:
efec1584-46e2-49b5-aaec-29ce5d198cc2 File type: All)

I get vdsm error:
Thread-181139::ERROR::2013-10-06
14:45:49,084::dispatcher::70::Storage.Dispatcher.Protect::(run) [Errno
2] No such file or directory: '/rhev/data-center/mnt/xxxx.xxx.com:_var_lib_exports_iso/efec1584-46e2-49b5-aaec-29ce5d198cc2/images/11111111-1111-1111-1111-111111111111/rhel-server-6.2-x86_64-dvd.iso'
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/dispatcher.py", line 62, in run
    result = ctask.prepare(self.func, *args, **kwargs)
  File "/usr/share/vdsm/storage/task.py", line 1159, in prepare
    raise self.error
OSError: [Errno 2] No such file or directory:
'/rhev/data-center/mnt/dbotzer-remotedb2.scl.lab.tlv.redhat.com:_var_lib_exports_iso/efec1584-46e2-49b5-aaec-29ce5d198cc2/
images/11111111-1111-1111-1111-111111111111/rhel-server-6.2-x86_64-dvd.iso'
Comment 1 David Botzer 2013-10-07 03:03:02 EDT
Created attachment 808735 [details]
engine
Comment 4 Sergey Gotliv 2013-11-05 04:16:54 EST
Please, retest it with kernel 2.6.32-428.el6.x86_64 which is already available.
Comment 5 Leonid Natapov 2013-11-27 04:30:05 EST
is 24.2. Local ISO domain refreshes after files being deleted from it or copied to it.
Comment 6 Charlie 2013-11-27 19:26:03 EST
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.
Comment 8 errata-xmlrpc 2014-01-21 11:17:39 EST
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

Note You need to log in before you can comment on or make changes to this bug.