Problem Installing Virtual Machines When openSuSE with Xen Is Booted

Here’s the error I get

Unable to complete install: ‘POST operation failed: xend_post: error from xen daemon: (xend.err “Error creating domain: Boot loader didn’t return any data!”)’
Details

Unable to complete install: ‘POST operation failed: xend_post: error from xen daemon: (xend.err “Error creating domain: Boot loader didn’t return any data!”)’

Traceback (most recent call last):
File “/usr/share/virt-manager/virtManager/asyncjob.py”, line 91, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File “/usr/share/virt-manager/virtManager/create.py”, line 1908, in do_install
guest.start_install(meter=meter)
File “/usr/share/virt-manager/virtinst/guest.py”, line 426, in start_install
noboot)
File “/usr/share/virt-manager/virtinst/guest.py”, line 490, in _create_guest
dom = self.conn.createLinux(start_xml or final_xml, 0)
File “/usr/lib64/python2.7/site-packages/libvirt.py”, line 3440, in createLinux
if ret is None:raise libvirtError(‘virDomainCreateLinux() failed’, conn=self)
libvirtError: POST operation failed: xend_post: error from xen daemon: (xend.err “Error creating domain: Boot loader didn’t return any data!”)

Is there a workaround for this?

For some reason I have no problem doing it when booted into standard openSuSE

Which OS are you using? 13.1?
Anyway, I suggest you toss out xend and install libxl instead. After all, xend is deprecated, plus libxl gives you much less of a headache. Then go on from there (manual configuration if need be).
You should also be more specific on what exactly you are doing when the error occurs. Right now quite some guessing would be required as the error message doesn’t reveal too much on what might have gone awry in the first place.

13.2.

The error occurs during the VM creation process. Just after I click finish

Okay. I uninstalled xend. Here’s the process I’m going through

Installation wizard window

Create a new virtual machine (step 1 of 4)

Connection localhost (xen)

Choose how you would like to install the operating system

Local install media (ISO image or CDROM): greyed out

Network Install (HTTP, FTP or NFS)

Network Boot (PXE): greyed out

Import existing disk image (I choose this since I have no idea how to install over a network)

Architecture options

Virt Type: xen (paravirt chosen)

Step 2

Provide the existing storage path

I choose /dev/vg0/LV

Step 3

Choose Memory and CPU settings

1024 MB and 2 CPUs

Step 4

Ready to begin installation

OS: openSUSE 13 (or later)
Install: Import existing OS image

Memory: 1024 MB

CPUs: 2

Storage: 8.0 GB (/dev/vg0/LV)

Then I press Finish and that’s when I get

Unable to complete install: ‘End of file while reading data: Input/output error’

And

Error polling connection ‘xen:///’: internal error: client socket is closed

That’s what I had to put up with as well when I used virt-manager or the likes, so I abandoned that method and started setting up my VMs by hand - after I got an XML file to start working with, that is.

If you’d like, I could give you an XML file from which to get a fulvirt VM started.

Otherwise you should have a look into the log of your setup tool (virt-manager?) and try to extract any XML defining the dsired domain in order to get started with. It is most likely that some f the definitions contain errors, hence preventing the creation of your VM. What I have found out under 13.1 is that the default network definition and the definition of the virtual hd are prone to errors and need to be corrected manually.

If you have a chance, try to have virt-install (virt-manager relies on that to generate VMs) output the XML definition of a VM to a file. Once you have obtained that file, please post its contents here or send me a PM containing it for further examination. If my assumption on what’s going on is confirmed, you shoud file a bug report.