Folks,
I am having issues getting domU (snv_103) up and running. I end up with
this error towards POST install. Further dom0 is nv_103 itself.
----------------------
Creating boot_archive for /a
updating /a/platform/i86pc/boot_archive
updating /a/platform/i86pc/amd64/boot_archive
syncing file systems... done
rebooting...
libvir: Xen Daemon error : GET operation failed:
libvir: error : invalid argument in virDomainLookupByUUIDString
Guest installation complete... restarting guest.
virDomainCreate() failed POST operation failed: (xend.err "Boot loader
didn''t return any data!")
Domain installation may not have been
successful. If it was, you can restart your domain
by running ''virsh start guest-nv103''; otherwise, please
restart your installation.
Thu, 20 Nov 2008 15:19:20 ERROR virDomainCreate() failed POST operation
failed: (xend.err "Boot loader didn''t return any data!")
Traceback (most recent call last):
File "/usr/bin/virt-install", line 511, in ?
main()
File "/usr/bin/virt-install", line 497, in main
dom.create()
File "libvirt.py", line 240, in create
if ret == -1: raise libvirtError (''virDomainCreate() failed'',
dom=self)
libvirtError: virDomainCreate() failed POST operation failed: (xend.err
"Boot loader didn''t return any data!")
--------------
(a) I created a zfs pool and then a volume for domU.
bash-3.2# zpool status
pool: xvm_pool
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
xvm_pool ONLINE 0 0 0
c0t0d0s7 ONLINE 0 0 0
errors: No known data errors
bash-3.2# zfs list
NAME USED AVAIL REFER MOUNTPOINT
xvm_pool 20.0G 18.4G 18K /xvm_pool
xvm_pool/guest-nv103 20G 29.4G 8.95G -
(b) I used this command to install domU
/usr/bin/virt-install -n guest-nv103 --nographics -p -f
/dev/zvol/dsk/xvm_pool/guest-nv103 -r 1024 -s 20 -l /solarisdvd.iso -b
e1000g1
(c) during the install, I used fdisk to create right partitions and then
chose *zfs* for domU
(d) towards the end I hit the above issue.
More Info:
bash-3.2# virsh dominfo guest-nv103
Id: -
Name: guest-nv103
UUID: 781bb47b-9e2b-e9c5-352b-7ca20f42c001
OS Type: linux
State: shut off
CPU(s): 1
Max memory: 1048576 kB
Used memory: 1048576 kB
bash-3.2# virsh dumpxml guest-nv103
<domain type=''xen'' id=''-1''>
<name>guest-nv103</name>
<uuid>781bb47b-9e2b-e9c5-352b-7ca20f42c001</uuid>
<bootloader>/usr/lib/xen/bin/pygrub</bootloader>
<os>
<type>linux</type>
</os>
<memory>1048576</memory>
<vcpu>1</vcpu>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<devices>
<interface type=''bridge''>
<source bridge=''e1000g1''/>
<target dev=''vif-1.0''/>
<mac address=''00:16:3e:3c:9f:2b''/>
</interface>
<disk type=''block'' device=''disk''>
<driver name=''phy''/>
<source dev=''/dev/zvol/dsk/xvm_pool/guest-nv103''/>
<target dev=''xvda''/>
</disk>
</devices>
</domain>
Any Idea why it''s failing
thanks in advance
~Girish