My Oracle Support Banner

Oracle VM: Unable To Power on a P2V VM Guest with Error "Error: Boot loader didn't return any data!" (Doc ID 2341937.1)

Last updated on JANUARY 31, 2019

Applies to:

Oracle VM - Version 3.1.1 and later
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64

Symptoms

Unable to start (power on) a guest VM.

Oracle VM Server ovs-agent.log shows errors similar to the one here:


[2017-10-25 12:40:09 29979] DEBUG (common:46) dispatch function start_vm to server https://oracle:******@x.x.x.x:8899/api/2
[2017-10-25 12:40:09 29981] DEBUG (service:77) start_vm: ('repo-xxx', 'xxx')
[2017-10-25 12:40:11 29981] ERROR (service:96) catch_error: Command: ['xm', 'create', '/OVS/Repositories/repo-xxx/VirtualMachines/xxx/vm.cfg'] failed (1): stderr: Error: Boot loader didn't return any data!
stdout: Using config file "/OVS/Repositories/repo-xxx/VirtualMachines/xxx/vm.cfg".
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/agent/service.py", line 94, in wrapper
return func(*args)
File "/usr/lib64/python2.4/site-packages/agent/hypervisor/xenxm.py", line 719, in start_vm
run_cmd(['xm', 'create', path])
File "/usr/lib64/python2.4/site-packages/agent/common.py", line 66, in run_cmd
raise RuntimeError('Command: %s failed (%s): stderr: %s stdout: %s'
RuntimeError: Command: ['xm', 'create', '/OVS/Repositories/repo-xxx/VirtualMachines/xxx/vm.cfg'] failed (1): stderr: Error: Boot loader didn't return any data!
stdout: Using config file "/OVS/Repositories/repo-xxx/VirtualMachines/xxx/vm.cfg".

Oracle VM Server xend.log shows errors similar to this:

[2017-10-25 12:40:09 7061] DEBUG (XendDomainInfo:106) XendDomainInfo.create(['vm', ['name', 'xxxxx'], ['memory', 8192], ['maxmem', 8192], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'resta
rt'], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['vcpu_avail', 1], ['vcpus', 1], ['uuid', '0004fb00-0006-0000-xxx-xxxxx'], ['cpu_cap', 0], ['cpu_weight', 27500], ['oos', 1], ['bootloader', '/usr/bin/pygrub'], ['boot
loader_args', '-q'], ['image', ['linux', ['videoram', 4], ['tsc_mode', 0], ['nomigrate', 0]]], ['s3_integrity', 1], ['device', ['vbd', ['uname', 'file:/OVS/Repositories/repo-xxx/VirtualDisks/xxx.img'], ['dev', 'xvdb'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/OVS/Repositories/repo-xxx/VirtualDisks/xxx.img'], ['dev', 'xvdc'], ['mode', 'w!']]], ['device', ['
vkbd']], ['device', ['vfb', ['vncunused', '1'], ['vnc', '1'], ['vnclisten', '127.0.0.1'], ['keymap', 'en-us'], ['xauthority', '//.Xauthority']]]])
[2017-10-25 12:40:10 7061] DEBUG (XendDomainInfo:2570) XendDomainInfo.constructDomain
[2017-10-25 12:40:10 7061] DEBUG (balloon:187) Balloon: 36064608 KiB free; need 16384; done.
[2017-10-25 12:40:10 7061] DEBUG (XendDomain:476) Adding Domain: 6
[2017-10-25 12:40:10 7061] DEBUG (XendDomainInfo:2908) XendDomainInfo.initDomain: 6 27500
[2017-10-25 12:40:10 29989] DEBUG (XendBootloader:113) Launching bootloader as ['/usr/bin/pygrub', '--output=/var/run/xend/boot/xenbl.31075', '-q', '/OVS/Repositories/repo-xxx/VirtualDisks/xxxx.img'].
[2017-10-25 12:40:10 7061] ERROR (XendBootloader:214) Boot loader didn't return any data!
[2017-10-25 12:40:10 7061] ERROR (XendDomainInfo:496) VM start failed
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 482, in start
XendTask.log_progress(31, 60, self._initDomain)
File "/usr/lib64/python2.4/site-packages/xen/xend/XendTask.py", line 209, in log_progress
retval = func(*args, **kwds)
File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 2910, in _initDomain
self._configureBootloader()
File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 3359, in _configureBootloader
bootloader_args, kernel, ramdisk, args)
File "/usr/lib64/python2.4/site-packages/xen/xend/XendBootloader.py", line 215, in bootloader
raise VmError, msg
VmError: Boot loader didn't return any data!
[2017-10-25 12:40:10 7061] DEBUG (XendDomainInfo:3145) XendDomainInfo.destroy: domid=6
[2017-10-25 12:40:10 7061] DEBUG (XendDomainInfo:2478) No device model
[2017-10-25 12:40:10 7061] DEBUG (XendDomainInfo:2480) Releasing devices
[2017-10-25 12:40:11 7061] ERROR (XendDomainInfo:111) Domain construction failed
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 109, in create
vm.start()
File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 482, in start
XendTask.log_progress(31, 60, self._initDomain)
File "/usr/lib64/python2.4/site-packages/xen/xend/XendTask.py", line 209, in log_progress
retval = func(*args, **kwds)
File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 2910, in _initDomain
self._configureBootloader()
File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 3359, in _configureBootloader
bootloader_args, kernel, ramdisk, args)
File "/usr/lib64/python2.4/site-packages/xen/xend/XendBootloader.py", line 215, in bootloader
raise VmError, msg
VmError: Boot loader didn't return any data!

Changes

Guest VM was converted from physical server.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.