Xen opensuse 13.2 unable to install vm guest "End of file while reading data Input/output error"

Scenario:

  • fresh new opensuse 13.2 installation
  • update with “zypper ref”, “zypper up”
  • with Yast GUI > virtualization > Install hypervisor and Tools > checked only “Xen server” & “Xen tools”
  • restart into Xen kernel
  • with GUI Virtual Machine Manager > Vm-install
  • setting of guest VM parameters
  • installation of guest machine from DVD begins, but soon after is interrupted with ERROR:

“End of file while reading data Input/output error”

and on another window:
“Error polling connection xen:///: internal error: client socket is closed”

Am I missing somethig?
Where to look for additional log(s), help ?
Is the HW used involved ? -> HP DL360 Gen9

Please help, I have rather only basic knowlege of linux.

Some specification

in journalctl I found:

Jan 06 10:27:20 Osuse13 libvirtd[1396]: this function is not supported by the connection driver: virDomainGetMetadata
Jan 06 10:27:20 Osuse13 libvirtd[1396]: this function is not supported by the connection driver: virDomainMemoryStats
Jan 06 10:27:20 Osuse13 kernel: libvirtd[1429]: segfault at ffffffffffffffff ip 00007fb2e1214614 sp 00007fb2da2440d8 error 7 in libc-2.19.so[7f
Jan 06 10:27:20 Osuse13 libvirtd[4655]: Module /usr/lib64/libvirt/connection-driver/libvirt_driver_vbox_network.so not accessible
Jan 06 10:27:20 Osuse13 libvirtd[4655]: Module /usr/lib64/libvirt/connection-driver/libvirt_driver_vbox_storage.so not accessible
Jan 06 10:27:20 Osuse13 libvirtd[4655]: Module /usr/lib64/libvirt/connection-driver/libvirt_driver_qemu.so not accessible
Jan 06 10:27:20 Osuse13 libvirtd[4655]: Module /usr/lib64/libvirt/connection-driver/libvirt_driver_lxc.so not accessible
Jan 06 10:27:20 Osuse13 libvirtd[4655]: Module /usr/lib64/libvirt/connection-driver/libvirt_driver_uml.so not accessible
Jan 06 10:27:20 Osuse13 libvirtd[4655]: Module /usr/lib64/libvirt/connection-driver/libvirt_driver_vbox.so not accessible
Jan 06 10:27:20 Osuse13 libvirtd[4655]: no connection driver available for qemu:///system

Seems to be a bug ?

Something seems to have caused your virtualization services to come to a screeching halt.
Have you tried rebooting and re-trying to install a new Guest?

TSU

Which packages are installed as far as your virtualization environment is concerned? Do a rpm -qa | egrep ‘libvirt|xen’ and check for the installed drivers (if any). As far as I can tell from the error log it seems that none of the drivers necessary for virtualization are installed. In YaST, enter libvirt-daemon as a search term and try to select anything that you may get - both the various daemons and their respective drivers.

First: rpm -qa | egrep ‘libvirt|xen’

Osuse13:~ # rpm -qa | egrep ‘libvirt|xen’
libvirt-daemon-driver-nwfilter-1.2.9-8.1.x86_64
libvirt-daemon-driver-xen-1.2.9-8.1.x86_64
libvirt-daemon-config-nwfilter-1.2.9-8.1.x86_64
xen-doc-html-4.4.1_06-5.1.x86_64
libvirt-python-1.2.9-1.2.x86_64
libvirt-client-1.2.9-8.1.x86_64
kernel-xen-devel-3.16.7-7.1.x86_64
kernel-xen-3.16.7-7.1.x86_64
libvirt-daemon-1.2.9-8.1.x86_64
libvirt-daemon-driver-interface-1.2.9-8.1.x86_64
libvirt-daemon-driver-vbox-1.2.9-8.1.x86_64
grub2-x86_64-xen-2.02~beta2-20.5.1.x86_64
xen-libs-4.4.1_06-5.1.x86_64
libvirt-daemon-driver-nodedev-1.2.9-8.1.x86_64
libvirt-1.2.9-8.1.x86_64
xen-4.4.1_06-5.1.x86_64
libvirt-daemon-driver-storage-1.2.9-8.1.x86_64
xen-tools-4.4.1_06-5.1.x86_64
libvirt-daemon-driver-qemu-1.2.9-8.1.x86_64
libvirt-daemon-driver-lxc-1.2.9-8.1.x86_64
libvirt-daemon-driver-libxl-1.2.9-8.1.x86_64
libvirt-daemon-driver-uml-1.2.9-8.1.x86_64
xen-kmp-desktop-4.4.1_06_k3.16.7_7-5.1.x86_64
libvirt-glib-1_0-0-0.1.9-2.1.4.x86_64
libvirt-daemon-config-network-1.2.9-8.1.x86_64
patterns-openSUSE-xen_server-20141007-2.1.x86_64
libvirt-daemon-xen-1.2.9-8.1.x86_64
libvirt-daemon-qemu-1.2.9-8.1.x86_64
libvirt-daemon-driver-network-1.2.9-8.1.x86_64
libvirt-daemon-driver-secret-1.2.9-8.1.x86_64
Osuse13:~ #

Second: YaST, libvirt-daemon
here is the result from which I removed summary and size columns

# Status Package Installed (Available)
[Keep] libvirt-daemon 1.2.9-8.1
[Keep] libvirt-daemon-config-network 1.2.9-8.1
[Keep] libvirt-daemon-config-nwfilter 1.2.9-8.1
[Keep] libvirt-daemon-driver-interface 1.2.9-8.1
[Keep] libvirt-daemon-driver-libxl 1.2.9-8.1
[Keep] libvirt-daemon-driver-lxc 1.2.9-8.1
[Keep] libvirt-daemon-driver-network 1.2.9-8.1
[Keep] libvirt-daemon-driver-nodedev 1.2.9-8.1
[Keep] libvirt-daemon-driver-nwfilter 1.2.9-8.1
[Keep] libvirt-daemon-driver-qemu 1.2.9-8.1
[Keep] libvirt-daemon-driver-secret 1.2.9-8.1
[Keep] libvirt-daemon-driver-storage 1.2.9-8.1
[Keep] libvirt-daemon-driver-uml 1.2.9-8.1
[Keep] libvirt-daemon-driver-vbox 1.2.9-8.1
[Keep] libvirt-daemon-driver-xen 1.2.9-8.1
[Keep] libvirt-daemon-qemu 1.2.9-8.1
[Keep] libvirt-daemon-xen 1.2.9-8.1
[Do Not Install] libvirt-daemon-debuginfo (1.2.9-8.1)
[Do Not Install] libvirt-daemon-driver-interface-debuginfo (1.2.9-8.1)
[Do Not Install] libvirt-daemon-driver-libxl-debuginfo (1.2.9-8.1)
[Do Not Install] libvirt-daemon-driver-lxc-debuginfo (1.2.9-8.1)
[Do Not Install] libvirt-daemon-driver-network-debuginfo (1.2.9-8.1)
[Do Not Install] libvirt-daemon-driver-nodedev-debuginfo (1.2.9-8.1)
[Do Not Install] libvirt-daemon-driver-nwfilter-debuginfo (1.2.9-8.1)
[Do Not Install] libvirt-daemon-driver-qemu-debuginfo (1.2.9-8.1)
[Do Not Install] libvirt-daemon-driver-secret-debuginfo (1.2.9-8.1)
[Do Not Install] libvirt-daemon-driver-storage-debuginfo (1.2.9-8.1)
[Do Not Install] libvirt-daemon-driver-uml-debuginfo (1.2.9-8.1)
[Do Not Install] libvirt-daemon-driver-vbox-debuginfo (1.2.9-8.1)
[Do Not Install] libvirt-daemon-driver-xen-debuginfo (1.2.9-8.1)
[Do Not Install] libvirt-daemon-lxc (1.2.9-8.1)
[Do Not Install] libvirt-daemon-uml (1.2.9-8.1)
[Do Not Install] libvirt-daemon-vbox (1.2.9-8.1)

Note: in a meantime I added VirtualBox 4.3, which runs OK in desktop kernel.

Are all necessary drivers there ?

Thank you anyway for all help.

[QUOTE=tsu2;2687795]Something seems to have caused your virtualization services to come to a screeching halt.
Have you tried rebooting and re-trying to install a new Guest?

Did many times, no luck. :frowning:

Nobody has any idea of missing drivers, or anything else ?

Are there any succes stories of Xen on opensuse 13.2 ?

Should I submit this as a bug? How to do it best?

Occurred to me…
If the error occurred after trying to read the DVD install source, this might be a bug I discovered many versions ago in libvirt but after it was fixed raised its ugly head again once again later. If the bug re-appeared once, maybe it showed up again.

Verify…
The path to the install media is exactly correct. If you don’t know whether it’s correct, copy and paste the path here.

IIRC the first time I found this bug, it repeated a string twice in the path, making the path invalid.
But, the entire path should be checked.

TSU

I am Trying to create new VM, as I was used to in opensuse 12.3, i.e.
I go with GUI -> Virtual Machine Manager -> Vm-install
disk paths are specified as:
phy:/dev/sr0
file:/var/lib/libvirt/images/opensuse13-1/disk0.raw
then after all configurations are specified, hit OK, then small window with title “Creating the Virtual Machine”, with progress bar "Please wait … Preparing to start the installation "
and then ERROR “End of file while reading data: Input/outpu error”.

Where should I check the path ???

I did twice, one as paravirtualized, one as full virtualized.
The Same error appears.

in the journalctl I found “libvirtd: … failed” listings. Unfortunately I don’t understand enough what does it mean.
Please help,
thank you for previous assistance :slight_smile:

Jan 19 15:19:41 Osuse13 libvirtd[1528]: libvirtd: libxl_fork.c:350: sigchld_installhandler_core: Assertion ((void)"application must negotiate with libxl about SIGCHLD", !(sigchld_saved_action.sa_flags & 4) && (sigchld_saved_action.__sigaction_handler.sa_handler == ((__sighandler_t) 0) || sigchld_saved_action.__sigaction_handler.sa_handler == ((__sighandler_t) 1)))' failed. Jan 19 15:19:42 Osuse13 libvirtd[3313]: Failed to query host NUMA topology, disabling NUMA capabilities Jan 19 15:19:42 Osuse13 libvirtd[3313]: Failed to get host CPU Jan 19 15:19:42 Osuse13 libvirtd[3313]: Failed to query host NUMA topology, disabling NUMA capabilities Jan 19 15:21:02 Osuse13 libvirtd[3313]: this function is not supported by the connection driver: virDomainMemoryStats Jan 19 15:21:12 Osuse13 libvirtd[3313]: libvirtd: libxl_fork.c:350: sigchld_installhandler_core: Assertion ((void)“application must negotiate with libxl about SIGCHLD”, !(sigchld_saved_action.sa_flags & 4) && (sigchld_saved_action.__sigaction_handler.sa_handler == ((__sighandler_t) 0) || sigchld_saved_action.__sigaction_handler.sa_handler == ((__sighandler_t) 1)))’ failed.
Jan 19 15:21:12 Osuse13 libvirtd[3398]: Failed to query host NUMA topology, disabling NUMA capabilities
Jan 19 15:21:12 Osuse13 libvirtd[3398]: Failed to get host CPU
Jan 19 15:21:12 Osuse13 libvirtd[3398]: Failed to query host NUMA topology, disabling NUMA capabilities
Jan 19 15:21:33 Osuse13 libvirtd[3398]: this function is not supported by the connection driver: virDomainListAllSnapshots
Jan 19 15:25:03 Osuse13 kernel: SFW2-INext-DROP-DEFLT IN=br0 OUT= MAC= SRC=fe80:0000:0000:0000:c634:6bff:feb8:1110 DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=84 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=44
Jan 19 15:30:01 Osuse13 cron[3467]: pam_unix(crond:session): session opened for user root by (uid=0)
Jan 19 15:30:01 Osuse13 CRON[3467]: pam_unix(crond:session): session closed for user root
Jan 19 15:31:19 Osuse13 libvirtd[3398]: libvirtd: libxl_fork.c:350: sigchld_installhandler_core: Assertion ((void)"application must negotiate with libxl about SIGCHLD", !(sigchld_saved_action.sa_flags & 4) && (sigchld_saved_action.__sigaction_handler.sa_handler == ((__sighandler_t) 0) || sigchld_saved_action.__sigaction_handler.sa_handler == ((__sighandler_t) 1)))' failed. Jan 19 15:31:19 Osuse13 libvirtd[3495]: Failed to query host NUMA topology, disabling NUMA capabilities Jan 19 15:31:19 Osuse13 libvirtd[3495]: Failed to get host CPU Jan 19 15:31:19 Osuse13 libvirtd[3495]: Failed to query host NUMA topology, disabling NUMA capabilities Jan 19 15:38:32 Osuse13 libvirtd[3495]: libvirtd: libxl_fork.c:350: sigchld_installhandler_core: Assertion ((void)“application must negotiate with libxl about SIGCHLD”, !(sigchld_saved_action.sa_flags & 4) && (sigchld_saved_action.__sigaction_handler.sa_handler == ((__sighandler_t) 0) || sigchld_saved_action.__sigaction_handler.sa_handler == ((__sighandler_t) 1)))’ failed.
Jan 19 15:38:33 Osuse13 libvirtd[3825]: Failed to query host NUMA topology, disabling NUMA capabilities
Jan 19 15:38:33 Osuse13 libvirtd[3825]: Failed to get host CPU
Jan 19 15:38:33 Osuse13 libvirtd[3825]: Failed to query host NUMA topology, disabling NUMA capabilities
Jan 19 15:42:07 Osuse13 kernel: SFW2-INext-DROP-DEFLT IN=br0 OUT= MAC= SRC=fe80:0000:0000:0000:c634:6bff:feb8:1110 DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=84 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=44

Although the error is thrown and the connection of Virtual Machine Manager is lost,
when I reconnect the Virtual Machine Manager I can see and edit virtual Machine details.

However VM guest is unable to start with the deiscribed error.

When I set in the libvirtd.conf:

log_level = 1
log_outputs=“1:syslog:libvirtd”

I have lot of debug output lines but only 3 with “error” designation in the journalctl output

Jan 26 11:14:22 Osuse13 libvirtd[1618]: 1665: error : virDomainGetMetadata:10305 : this function is not supported by the connection driver: virDomainGetMetadata
Jan 26 11:14:22 Osuse13 libvirtd[1618]: 1667: error : virDomainMemoryStats:8277 : this function is not supported by the connection driver: virDomainMemoryStats

Jan 26 11:14:40 Osuse13 libvirtd[2689]: 2689: error : virNetSocketReadWire:1571 : End of file while reading data: Input/output error

What can I do more to solve the problem ?

My previous suggestion to check the virtual cdrom path during installation would be relevant only if you had a problem installing the VM in the first place, and just before you click the button to verify your install and begin installing, the install source path should be obvious.

Since you might be saying the install might have run and is now trying to start, an alternative way to check this issue might be to look at the virtual disk properties and inspect the size (of course from the Host). If the file is only a few KB or MB, then the install didn’t really work and you can look for the virtual cdrom path again. But, if the file is well over 500MB (likely over 1GIG if you installed a Desktop), then source files were likely read and your install wrote to the virtual disk.

TSU

Continuation could be found:
Thread: openSUSE 13.1 -> 13.2 upgrade issues with xen, libvirt, and virt-manager.where WilNix2k](https://forums.opensuse.org/member.php/27133-WilNix2k) describes how to reset libvirt installation
and then Virtual Machine guest is possible to install and run.

Until host reboot :frowning: