Bug 209138 - xenguest-install creates invalid Xen config files for block-backed images
xenguest-install creates invalid Xen config files for block-backed images
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: python-xeninst (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
:
Depends On:
Blocks: FC6Blocker
  Show dependency treegraph
 
Reported: 2006-10-03 11:19 EDT by Stephen Tweedie
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-10-03 13:31:03 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Stephen Tweedie 2006-10-03 11:19:34 EDT
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 13:31:03 EDT
Fixed in 0.94

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