Description of problem:
After installing a new domain via xenguest-install.py, using current rawhide,
which appears to complete successfully via vnc, starting the domain fails with:
# xm create -c xt5
Using config file "/etc/xen/xt5".
Traceback (most recent call last):
File "/usr/bin/pygrub", line 256, in ?
cf = get_config(file, isconfig)
File "/usr/bin/pygrub", line 139, in get_config
raise RuntimeError, "Unable to read filesystem"
RuntimeError: Unable to read filesystem
Error: Boot loader didn't return any data!
*** This is the output from the install:
XKB extension not present on :1
setsebool: SELinux is disabled.
sending termination signals...done
sending kill signals...done
libvir: Xen Daemon error : GET operation failed: No such domain 3
If your install completed successfully, you can restart your
guest by running 'xm create -c xt5'.
Config file and 'file' output for the disk image:
# Automatically generated xen config file
name = "xt5"
memory = "444"
disk = [ 'file:/opt/xen/xt5-disk,xvda,w' ]
vif = [ 'mac=00:16:3e:20:e9:5f, bridge=xenbr0' ]
uuid = "16129854-8ef8-e246-48be-c347d2ab0d53"
on_reboot = 'restart'
on_crash = 'restart'
# file /opt/xen/xt5-disk
/opt/xen/xt5-disk: x86 boot sector; partition 1: ID=0x83, active, starthead 1,
startsector 63, 208782 sectors; partition 2: ID=0x8e, starthead 0, startsector
208845, 3984120 sectors, code offset 0x48
What's the labeling of /opt/xen/xt5-disk? Are there any avc's?
selinux is disabled, the file was created by the installer.
# ls -laZ /opt/xen/xt5-disk
-rwxr-xr-x root root /opt/xen/xt5-disk
If you strace things, what happens?
(In reply to comment #3)
> If you strace things, what happens?
I can't see any problem, looks like something internal to pygrub but perhaps not
Created attachment 133435 [details]
strace of xm create
This means your /boot fs wasn't recognized as being ext
(In reply to comment #6)
> This means your /boot fs wasn't recognized as being ext
I lomounted it as ext3 just fine:
/opt/xen/xt5-disk on /opt/xen/foo type ext3 (ro,loop=/dev/loop0,offset=32256)
Perhaps a python library bug or missing lib?
change QA contact
It looks like this bug was filed a long time ago, on FC-5. Given that FC-5 is
end-of-life, can we close this out, or at least test it on newer Fedora?
This report targets FC5, which is now end-of-life.
Please re-test against Fedora 7 or later, and if the issue persists, open a new bug.