jaeyong yoo
2012-Jul-13 07:14 UTC
virt-install says ERROR POST operation failed: xend_post: error from xen daemon: <Fault 3: ''ubuntu-first-test''>
I was trying to install a guest OS with the following command.
$ virt-install -r 1024 --accelerate -n ubuntu-first-test -f
/var/lib/libvirt/images/guest.img --cdrom
/root/ubuntu-12.04-desktop-i386.iso --hvm
and it says the following.
Starting install...
ERROR POST operation failed: xend_post: error from xen daemon: <Fault 3:
''ubuntu-first-test''>
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
virsh --connect xen:/// start ubuntu-first-test
otherwise, please restart your installation.
and /var/log/xend.log gives
[2012-07-13 16:13:05 13282] DEBUG (XendDomainInfo:103)
XendDomainInfo.create([''vm'', [''name'',
''ubuntu-first-test''], [''memory'',
''1024''], [''maxmem'',
''1024''], [''vcpus'', ''1''],
[''uuid'',
''bdd81c04-58ce-b4ea-578c-51b66b9b97bb''],
[''on_poweroff'', ''destroy''],
[''on_reboot'', ''destroy''],
[''on_crash'', ''destroy''],
[''image'', [''hvm'',
[''kernel'',
''/usr/lib/xen-default/boot/hvmloader''],
[''vcpus'', ''1''], [''boot'',
''dc''], [''acpi'', ''1''],
[''apic'', ''1''], [''pae'',
''1''], [''usb'', ''1''],
[''parallel'', ''none''],
[''serial'', ''pty''],
[''device_model'',
''/usr/lib/xen-default/bin/qemu-dm''], [''vnc'',
''1''], [''vncunused'', ''1''],
[''keymap'', ''en-us'']]],
[''device'', [''vbd'', [''dev'',
''hda:disk''], [''uname'',
''file:/var/lib/libvirt/images/guest.img''],
[''mode'', ''w'']]],
[''device'',
[''vbd'', [''dev'',
''hdc:cdrom''], [''uname'',
''file:/root/ubuntu-12.04-desktop-i386.iso''],
[''mode'', ''r'']]],
[''device'',
[''vif'', [''mac'',
''00:16:3e:61:1b:cb''], [''bridge'',
''xenbr0''], [''script'',
''vif-bridge'']]]])
[2012-07-13 16:13:05 13282] DEBUG (XendDomainInfo:2498)
XendDomainInfo.constructDomain
[2012-07-13 16:13:05 13282] DEBUG (balloon:187) Balloon: 1067064 KiB free;
need 16384; done.
[2012-07-13 16:13:05 13282] DEBUG (XendDomain:476) Adding Domain: 25
[2012-07-13 16:13:05 13282] DEBUG (XendDomainInfo:2836)
XendDomainInfo.initDomain: 25 256
[2012-07-13 16:13:05 13282] DEBUG (image:339) No VNC passwd configured for
vfb access
[2012-07-13 16:13:05 13282] DEBUG (image:891) args: boot, val: dc
[2012-07-13 16:13:05 13282] DEBUG (image:891) args: fda, val: None
[2012-07-13 16:13:05 13282] DEBUG (image:891) args: fdb, val: None
[2012-07-13 16:13:05 13282] DEBUG (image:891) args: soundhw, val: None
[2012-07-13 16:13:05 13282] DEBUG (image:891) args: localtime, val: None
[2012-07-13 16:13:05 13282] DEBUG (image:891) args: serial, val:
[''pty'']
[2012-07-13 16:13:05 13282] DEBUG (image:891) args: std-vga, val: None
[2012-07-13 16:13:05 13282] DEBUG (image:891) args: isa, val: None
[2012-07-13 16:13:05 13282] DEBUG (image:891) args: acpi, val: 1
[2012-07-13 16:13:05 13282] DEBUG (image:891) args: usb, val: 1
[2012-07-13 16:13:05 13282] DEBUG (image:891) args: usbdevice, val: None
[2012-07-13 16:13:05 13282] DEBUG (image:891) args: gfx_passthru, val: None
[2012-07-13 16:13:05 13282] INFO (image:822) Need to create platform
device.[domid:25]
[2012-07-13 16:13:05 13282] DEBUG (XendDomainInfo:2863)
_initDomain:shadow_memory=0x0, memory_static_max=0x40000000,
memory_static_min=0x0.
[2012-07-13 16:13:05 13282] INFO (image:182) buildDomain os=hvm dom=25
vcpus=1
[2012-07-13 16:13:05 13282] DEBUG (image:949) domid = 25
[2012-07-13 16:13:05 13282] DEBUG (image:950) image
/usr/lib/xen-default/boot/hvmloader
[2012-07-13 16:13:05 13282] DEBUG (image:951) store_evtchn = 2
[2012-07-13 16:13:05 13282] DEBUG (image:952) memsize = 1024
[2012-07-13 16:13:05 13282] DEBUG (image:953) target = 1024
[2012-07-13 16:13:05 13282] DEBUG (image:954) vcpus = 1
[2012-07-13 16:13:05 13282] DEBUG (image:955) vcpu_avail = 1
[2012-07-13 16:13:05 13282] DEBUG (image:956) acpi = 1
[2012-07-13 16:13:05 13282] DEBUG (image:957) apic = 1
[2012-07-13 16:13:05 13282] INFO (XendDomainInfo:2357) createDevice: vfb :
{''vncunused'': ''1'',
''keymap'': ''en-us'', ''vnc'':
''1'', ''uuid'':
''05392d6b-04a4-32a8-8131-5d26aaf3c139'',
''other_config'': {''vncunused'':
''1'',
''keymap'': ''en-us'', ''vnc'':
''1''}}
[2012-07-13 16:13:05 13282] DEBUG (DevController:95) DevController: writing
{''state'': ''1'',
''backend-id'': ''0'',
''backend'':
''/local/domain/0/backend/vfb/25/0''} to
/local/domain/25/device/vfb/0.
[2012-07-13 16:13:05 13282] DEBUG (DevController:97) DevController: writing
{''vncunused'': ''1'',
''domain'': ''ubuntu-first-test'',
''frontend'':
''/local/domain/25/device/vfb/0'', ''uuid'':
''05392d6b-04a4-32a8-8131-5d26aaf3c139'',
''frontend-id'': ''25'',
''state'': ''1'',
''keymap'': ''en-us'',
''online'': ''1'', ''vnc'':
''1''} to
/local/domain/0/backend/vfb/25/0.
[2012-07-13 16:13:05 13282] INFO (XendDomainInfo:2357) createDevice: vbd :
{''uuid'':
''9df9e2e2-3658-d907-a729-c4bd2c696edb'',
''bootable'': 1, ''driver'':
''paravirtualised'', ''dev'':
''hda:disk'', ''uname'':
''file:/var/lib/libvirt/images/guest.img'',
''mode'': ''w''}
[2012-07-13 16:13:05 13282] DEBUG (DevController:95) DevController: writing
{''backend-id'': ''0'',
''virtual-device'': ''768'',
''device-type'': ''disk'',
''state'': ''1'', ''backend'':
''/local/domain/0/backend/vbd/25/768''} to
/local/domain/25/device/vbd/768.
[2012-07-13 16:13:05 13282] DEBUG (DevController:97) DevController: writing
{''domain'': ''ubuntu-first-test'',
''frontend'':
''/local/domain/25/device/vbd/768'', ''uuid'':
''9df9e2e2-3658-d907-a729-c4bd2c696edb'',
''bootable'': ''1'', ''dev'':
''hda'',
''state'': ''1'', ''params'':
''/var/lib/libvirt/images/guest.img'', ''mode'':
''w'',
''online'': ''1'',
''frontend-id'': ''25'',
''type'': ''file''} to
/local/domain/0/backend/vbd/25/768.
[2012-07-13 16:13:05 13282] INFO (XendDomainInfo:2357) createDevice: vbd :
{''uuid'':
''0e75747e-6aea-81cd-3d8d-58b21057466c'',
''bootable'': 0, ''driver'':
''paravirtualised'', ''dev'':
''hdc:cdrom'', ''uname'':
''file:/root/ubuntu-12.04-desktop-i386.iso'',
''mode'': ''r''}
[2012-07-13 16:13:05 13282] DEBUG (DevController:95) DevController: writing
{''backend-id'': ''0'',
''virtual-device'': ''5632'',
''device-type'': ''cdrom'',
''state'': ''1'', ''backend'':
''/local/domain/0/backend/vbd/25/5632''} to
/local/domain/25/device/vbd/5632.
[2012-07-13 16:13:05 13282] DEBUG (DevController:97) DevController: writing
{''domain'': ''ubuntu-first-test'',
''frontend'':
''/local/domain/25/device/vbd/5632'', ''uuid'':
''0e75747e-6aea-81cd-3d8d-58b21057466c'',
''bootable'': ''0'', ''dev'':
''hdc'',
''state'': ''1'', ''params'':
''/root/ubuntu-12.04-desktop-i386.iso'',
''mode'': ''r'',
''online'': ''1'',
''frontend-id'': ''25'',
''type'': ''file''} to
/local/domain/0/backend/vbd/25/5632.
[2012-07-13 16:13:05 13282] INFO (XendDomainInfo:2357) createDevice: vif :
{''bridge'': ''xenbr0'',
''mac'': ''00:16:3e:61:1b:cb'',
''uuid'':
''4c902329-aa19-e52b-8d19-880347cf3f8d'',
''script'': ''vif-bridge''}
[2012-07-13 16:13:05 13282] DEBUG (DevController:95) DevController: writing
{''backend-id'': ''0'', ''mac'':
''00:16:3e:61:1b:cb'', ''handle'':
''0'', ''state'':
''1'', ''backend'':
''/local/domain/0/backend/vif/25/0''} to
/local/domain/25/device/vif/0.
[2012-07-13 16:13:05 13282] DEBUG (DevController:97) DevController: writing
{''bridge'': ''xenbr0'',
''domain'': ''ubuntu-first-test'',
''handle'': ''0'', ''uuid'':
''4c902329-aa19-e52b-8d19-880347cf3f8d'',
''script'':
''/etc/xen/scripts/vif-bridge'', ''mac'':
''00:16:3e:61:1b:cb'', ''frontend-id'':
''25'', ''state'': ''1'',
''online'': ''1'', ''frontend'':
''/local/domain/25/device/vif/0''} to
/local/domain/0/backend/vif/25/0.
[2012-07-13 16:13:05 13282] INFO (image:418) spawning device models:
/usr/lib/xen-default/bin/qemu-dm
[''/usr/lib/xen-default/bin/qemu-dm'', ''-d'',
''25'', ''-domain-name'',
''ubuntu-first-test'', ''-videoram'',
''4'', ''-k'', ''en-us'',
''-vnc'', ''127.0.0.1:0'',
''-vncunused'', ''-parallel'',
''none'', ''-vcpus'', ''1'',
''-vcpu_avail'', ''0x1'',
''-boot'', ''dc'', ''-serial'',
''pty'', ''-acpi'', ''-usb'',
''-net'',
''nic,vlan=1,macaddr=00:16:3e:61:1b:cb,model=rtl8139'',
''-net'',
''tap,vlan=1,ifname=tap25.0,bridge=xenbr0'',
''-M'', ''xenfv'']
[2012-07-13 16:13:05 13282] INFO (image:467) device model pid: 17688
[2012-07-13 16:13:05 13282] DEBUG (XendDomainInfo:3420) Storing VM details:
{''on_xend_stop'': ''ignore'',
''pool_name'': ''Pool-0'',
''shadow_memory'': ''9'',
''uuid'':
''bdd81c04-58ce-b4ea-578c-51b66b9b97bb'',
''on_reboot'': ''destroy'',
''start_time'': ''1342163585.95'',
''on_poweroff'': ''destroy'',
''bootloader_args'':
'''', ''on_xend_start'':
''ignore'', ''on_crash'':
''destroy'', ''xend/restart_count'':
''0'', ''vcpus'': ''1'',
''vcpu_avail'': ''1'',
''bootloader'': '''', ''image'':
"(hvm
(kernel '''') (superpages 0) (hpet 0) (loader
/usr/lib/xen-default/boot/hvmloader) (xen_platform_pci 1) (rtc_timeoffset
0) (parallel none) (pci ()) (timer_mode 1) (apic 1) (vpt_align 1) (serial
pty) (vncunused 1) (boot dc) (pae 1) (viridian 0) (acpi 1) (vnc 1)
(nomigrate 0) (usb 1) (tsc_mode 0) (device_model
/usr/lib/xen-default/bin/qemu-dm) (keymap en-us) (notes (SUSPEND_CANCEL
1)))", ''name'': ''ubuntu-first-test''}
[2012-07-13 16:13:05 13282] INFO (image:590) waiting for sentinel_fifo
[2012-07-13 16:13:05 13282] DEBUG (XendDomainInfo:1794) Storing domain
details: {''console/port'': ''3'',
''description'': '''',
''console/limit'':
''1048576'', ''store/port'':
''2'', ''vm'':
''/vm/bdd81c04-58ce-b4ea-578c-51b66b9b97bb'',
''domid'': ''25'',
''image/suspend-cancel'': ''1'',
''cpu/0/availability'': ''online'',
''memory/target'': ''1048576'',
''control/platform-feature-multiprocessor-suspend'':
''1'', ''store/ring-ref'':
''1044476'', ''console/type'':
''ioemu'', ''name'':
''ubuntu-first-test''}
[2012-07-13 16:13:06 13282] DEBUG (DevController:95) DevController: writing
{''state'': ''1'',
''backend-id'': ''0'',
''backend'':
''/local/domain/0/backend/console/25/0''} to
/local/domain/25/device/console/0.
[2012-07-13 16:13:06 13282] DEBUG (DevController:97) DevController: writing
{''domain'': ''ubuntu-first-test'',
''frontend'':
''/local/domain/25/device/console/0'', ''uuid'':
''7d4d2e1b-2086-8b6b-9698-a1a8917f87cb'',
''frontend-id'': ''25'',
''state'': ''1'',
''location'': ''3'', ''online'':
''1'', ''protocol'': ''vt100''}
to
/local/domain/0/backend/console/25/0.
[2012-07-13 16:13:06 13282] WARNING (image:552) domain ubuntu-first-test:
device model failure: pid 17688: malfunctioning (closed sentinel), killed;
see /var/log/xen/qemu-dm-ubuntu-first-test.log
[2012-07-13 16:13:06 13282] DEBUG (XendDomainInfo:1881)
XendDomainInfo.handleShutdownWatch
[2012-07-13 16:13:06 13282] WARNING (XendDomainInfo:2061) Domain has
crashed: name=ubuntu-first-test id=25.
[2012-07-13 16:13:06 13282] DEBUG (XendDomainInfo:3071)
XendDomainInfo.destroy: domid=25
[2012-07-13 16:13:07 13282] DEBUG (XendDomainInfo:2401) Destroying device
model
[2012-07-13 16:13:07 13282] DEBUG (XendDomainInfo:2408) Releasing devices
[2012-07-13 16:13:07 13282] DEBUG (XendDomainInfo:2414) Removing vif/0
[2012-07-13 16:13:07 13282] DEBUG (XendDomainInfo:1276)
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2012-07-13 16:13:07 13282] DEBUG (XendDomainInfo:2414) Removing console/0
[2012-07-13 16:13:07 13282] DEBUG (XendDomainInfo:1276)
XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
[2012-07-13 16:13:07 13282] DEBUG (XendDomainInfo:2414) Removing vbd/768
[2012-07-13 16:13:07 13282] DEBUG (XendDomainInfo:1276)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/768
[2012-07-13 16:13:07 13282] DEBUG (XendDomainInfo:2414) Removing vbd/5632
[2012-07-13 16:13:07 13282] DEBUG (XendDomainInfo:1276)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/5632
[2012-07-13 16:13:07 13282] DEBUG (XendDomainInfo:2414) Removing vfb/0
[2012-07-13 16:13:07 13282] DEBUG (XendDomainInfo:1276)
XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0
any pointers?
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
Fajar A. Nugraha
2012-Jul-13 07:21 UTC
Re: virt-install says ERROR POST operation failed: xend_post: error from xen daemon: <Fault 3: ''ubuntu-first-test''>
On Fri, Jul 13, 2012 at 2:14 PM, jaeyong yoo <y.jaeyong@gmail.com> wrote:> and /var/log/xend.log givesDid you read the log?> [2012-07-13 16:13:06 13282] WARNING (image:552) domain ubuntu-first-test: > device model failure: pid 17688: malfunctioning (closed sentinel), killed; > see /var/log/xen/qemu-dm-ubuntu-first-test.log... that line in particular. -- Fajar