PDA

View Full Version : Xen under Fedora 10_beta_x64


counterroot
5th November 2008, 11:19 AM
Hello all over there,

I have a Problem with my XEN-hypervisor under the actual Fedora 10_beta_x64. System is up2date.
When I try to connect the XEN-hypervisor with the virt-manager i get the Failure:
---------------------------------------------------
Unable to open connection to hypervisor URI 'xen:///':
<class 'libvirt.libvirtError'> internal error failed to connect to xend
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/connection.py", line 483, in _open_thread
None], flags)
File "/usr/lib64/python2.5/site-packages/libvirt.py", line 99, in openAuth
if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: internal error failed to connect to xend
---------------------------------------------------

$ /etc/init.d/libvirtd status
libvirtd (pid 2740) is running...

# yum install xen*
Loaded plugins: refresh-packagekit
Setting up Install Process
Parsing package install arguments
Package xen-3.3.0-1.fc10.x86_64 already installed and latest version
Package xen-devel-3.3.0-1.fc10.x86_64 already installed and latest version
Package xen-hypervisor-3.3.0-1.fc10.x86_64 already installed and latest version
Package xen-runtime-3.3.0-1.fc10.x86_64 already installed and latest version
Package xenwatch-0.5.3-1.fc10.x86_64 already installed and latest version
Package xenner-0.46-3.fc10.x86_64 already installed and latest version
Package xen-libs-3.3.0-1.fc10.x86_64 already installed and latest version
Nothing to do

anyone an idea?
pmb µatthias

// EDIT 08-11-05_11-37:
# xend
ERROR Internal error: Could not obtain handle on privileged command interface (2 = No such file or directory)
Traceback (most recent call last):
File "/usr/sbin/xend", line 16, in <module>
from xen.xend.server import SrvDaemon
File "/usr/lib64/python2.5/site-packages/xen/xend/server/SrvDaemon.py", line 26, in <module>
import relocate
File "/usr/lib64/python2.5/site-packages/xen/xend/server/relocate.py", line 28, in <module>
from xen.xend import XendDomain
File "/usr/lib64/python2.5/site-packages/xen/xend/XendDomain.py", line 35, in <module>
from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo
File "/usr/lib64/python2.5/site-packages/xen/xend/XendCheckpoint.py", line 20, in <module>
from xen.xend import balloon, sxp, image
File "/usr/lib64/python2.5/site-packages/xen/xend/image.py", line 44, in <module>
xc = xen.lowlevel.xc.xc()
xen.lowlevel.xc.Error: (1, 'Internal error', 'Could not obtain handle on privileged command interface (2 = No such file or directory)')

philippe_PMA
5th November 2008, 02:04 PM
Have a look there http://fedoraproject.org/wiki/Features/XenPvopsDom0#Current_status

i386 Dom0

* Not yet in rawhide kernel-xen

x86_64 Dom0

* No active work yet....

counterroot
10th November 2008, 12:04 AM
hmm... That could be the reason... Thx ;)

marko
10th November 2008, 10:53 PM
It's kind of confusing that the kernel config flags are still set to support Xen,
even though there's no working xen support

grep XEN /boot/config*

/boot/config-2.6.27.4-79.fc10.x86_64:CONFIG_XEN=y
/boot/config-2.6.27.4-79.fc10.x86_64:CONFIG_XEN_MAX_DOMAIN_MEMORY=32
/boot/config-2.6.27.4-79.fc10.x86_64:CONFIG_XEN_SAVE_RESTORE=y
/boot/config-2.6.27.4-79.fc10.x86_64:CONFIG_XEN_BLKDEV_FRONTEND=m
/boot/config-2.6.27.4-79.fc10.x86_64:CONFIG_NETXEN_NIC=m
/boot/config-2.6.27.4-79.fc10.x86_64:CONFIG_XEN_NETDEV_FRONTEND=m
/boot/config-2.6.27.4-79.fc10.x86_64:CONFIG_XEN_KBDDEV_FRONTEND=y
/boot/config-2.6.27.4-79.fc10.x86_64:CONFIG_HVC_XEN=y
/boot/config-2.6.27.4-79.fc10.x86_64:CONFIG_XEN_FBDEV_FRONTEND=y
/boot/config-2.6.27.4-79.fc10.x86_64:CONFIG_XEN_BALLOON=y
/boot/config-2.6.27.4-79.fc10.x86_64:CONFIG_XEN_SCRUB_PAGES=y

That's what convinced me I could try Xen in F10 Rawhide, but I got the same problems as the OP