Bug 674763

Summary: Cannot start hvm guest with empty cdrom
Product: Red Hat Enterprise Linux 5 Reporter: Miroslav Rezanina <mrezanin>
Component: xenAssignee: Xen Maintainance List <xen-maint>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: urgent Docs Contact:
Priority: high    
Version: 5.7CC: mjenner, pcao, xen-maint, yuzhou
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: xen-3.0.3-123.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-21 09:14:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 514499    

Description Miroslav Rezanina 2011-02-03 08:37:52 UTC
Description of problem:
When trying to create hvm guest with cdrom device without specified media, creation fail with "Block device must have physical details specified.". This happens only when xm create is used, with virsh start/virt-manager guest is created successfully.


Version-Release number of selected component (if applicable):
xen-3.0.3-122.el5

How reproducible:
Always

Steps to Reproduce:
1. use disk = [ "...", ",hdc:cdrom,r" ] configuration
2. use xm create to start guest
3. use virsh start to start guest
  
Actual results:
Step 2. fail 

Expected results:
Step 2. succeed

Additional info:
This problem is caused by patch for bz 658712 - Add syntax check for block device. Device uname is "" instead of None so incorrect path is used and error invoked.

Comment 5 Yuyu Zhou 2011-03-17 11:16:10 UTC
Reproduced on xen-3.0.3-122.el5 and verified on xen-3.0.3-123.el5

Steps
1. use disk = [ "...", ",hdc:cdrom,r" ] configuration
2. use xm create to start guest
3. use VNC to monitor the booting guest

on xen-3.0.3-122.el5:
Step 2. fail 

on xen-3.0.3-123.el5
Step 2. succeed
Setp 3. the guest boot succeed.

So change the Status to verified.

Comment 6 Yuyu Zhou 2011-03-18 06:30:33 UTC
Plus, also verified on xen-3.0.3-126.el5.

Comment 7 errata-xmlrpc 2011-07-21 09:14:59 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 therefore 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/RHBA-2011-1070.html

Comment 8 errata-xmlrpc 2011-07-21 12:07:29 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 therefore 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/RHBA-2011-1070.html