Bug 215342

Summary: blktap should error out if disk image is not found prior to starting domain
Product: Red Hat Enterprise Linux 5 Reporter: Chris Lalancette <clalance>
Component: xenAssignee: Mark McLoughlin <markmc>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0CC: konradr, tao, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHEA-2007-0635 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-07 17:08:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 227613, 234654, 240441    
Attachments:
Description Flags
Fix for blktap missing file none

Description Chris Lalancette 2006-11-13 16:25:28 UTC
Description of problem:

blktap doesn't tell you if your disk image file doesn't exist which can confuse
users as the domain starts, but doesn't find the root device.

Version-Release number of selected component (if applicable):
xen-3.0.3-3 (although I looked at current CVS as of 11/13, and the fix is not in
there, either).

IBM also provided the upstream changeset that fixes this:  12322:d173b32f54ab
I'll attach the patch.

Comment 1 Chris Lalancette 2006-11-13 16:25:33 UTC
Created attachment 141068 [details]
Fix for blktap missing file

Comment 3 RHEL Program Management 2006-11-15 20:01:07 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 5 Konrad Rzeszutek 2006-12-11 22:56:02 UTC
Stephan,

Is there anything IBM can do to help get this fixed?

Thanks.

Comment 9 Jay Turner 2007-05-09 19:32:49 UTC
QE ack for RHEL5.1.  Straightforward to test.

Comment 10 Daniel Berrangé 2007-06-16 00:28:43 UTC
This is now built into xen-3.0.3-29.el5  in dist-5E-qu-candidate. To test try

 - Create a VM config file with a single disk backed by a file & using tap:aio:
 - In the 'disks' config line, insert a delibrate typo in the disk filename
 - Try to start the guest

A friendly error message should be displayed and the guest should not start.


Comment 13 errata-xmlrpc 2007-11-07 17:08:27 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2007-0635.html