Bug 215342 - blktap should error out if disk image is not found prior to starting domain
Summary: blktap should error out if disk image is not found prior to starting domain
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: xen
Version: 5.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Mark McLoughlin
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 227613 234654 240441
TreeView+ depends on / blocked
 
Reported: 2006-11-13 16:25 UTC by Chris Lalancette
Modified: 2018-10-19 21:31 UTC (History)
3 users (show)

Fixed In Version: RHEA-2007-0635
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-11-07 17:08:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Fix for blktap missing file (727 bytes, patch)
2006-11-13 16:25 UTC, Chris Lalancette
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2007:0635 0 normal SHIPPED_LIVE xen enhancement update 2007-10-30 15:49:02 UTC

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



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