Bug 209138 - xenguest-install creates invalid Xen config files for block-backed images
Summary: xenguest-install creates invalid Xen config files for block-backed images
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-xeninst
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: FC6Blocker
TreeView+ depends on / blocked
 
Reported: 2006-10-03 15:19 UTC by Stephen Tweedie
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-10-03 17:31:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Stephen Tweedie 2006-10-03 15:19:34 UTC
Description of problem:
xenguest-install creates "block:" types instead of "phy:" for the "disk=" line
in a xen guest config file if the disk image is on a block device.  This results
in a non-bootable guest: it installs OK, but cannot be run thereafter.

Version-Release number of selected component (if applicable):
python-xeninst-0.93.0-1

How reproducible:
100%

Steps to Reproduce:
1. Install to any block device
2. Try to run the resulting guest
3. Inspect the /etc/xen config file
  
Actual results:
# xm create -c rhel5
Using config file "/etc/xen/rhel5".
Going to boot Red Hat Enterprise Linux Server (2.6.18-1.2704.el5xen)
  kernel: /vmlinuz-2.6.18-1.2704.el5xen
  initrd: /initrd-2.6.18-1.2704.el5xen.img
Error: Device 51712 (vbd) could not be connected. Hotplug scripts not working.

Config file contains "disk = [ 'block:$DEV,xvda,w', ]"

Expected results:
Guest should boot
Config file should contain "disk = [ 'phy:$DEV,xvda,w', ]"

Comment 1 Jeremy Katz 2006-10-03 17:31:03 UTC
Fixed in 0.94


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