[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v6 00/13] execute hotplug scripts from libxl



On Tue, 2012-07-03 at 10:19 +0100, Ian Campbell wrote:
> On Thu, 2012-06-14 at 13:21 +0100, Roger Pau Monne wrote:
> ...
> 
> It seems that the error handling when the bootloader fails is broken by
> this change. Actually I think it was broken before (seemed to blindly
> plunge on, Ian J CCd) but now it just hangs.

Actually it seems that with this series it hangs in much the same place
even on successful pygrub invocation:
        # xl -vvv cr /tmp/di-test.cfg 
        Parsing config from /tmp/di-test.cfg
        xl: acquire lock
        xl: acquire lock rc=0
        libxl: debug: libxl_create.c:1135:do_domain_create: ao 0x8069ee8: 
create: how=(nil) callback=(nil) poller=0x8069e50
        libxl: debug: libxl_device.c:253:libxl__device_disk_set_backend: Disk 
vdev=xvdd spec.backend=unknown
        libxl: debug: libxl_device.c:207:disk_try_backend: Disk vdev=xvdd, 
backend phy unsuitable as phys path not a block device
        libxl: debug: libxl_device.c:214:disk_try_backend: Disk vdev=xvdd, 
backend tap unsuitable because blktap not available
        libxl: debug: libxl_device.c:289:libxl__device_disk_set_backend: Disk 
vdev=xvdd, using backend qdisk
        libxl: debug: libxl_device.c:253:libxl__device_disk_set_backend: Disk 
vdev=xvda spec.backend=unknown
        libxl: debug: libxl_device.c:289:libxl__device_disk_set_backend: Disk 
vdev=xvda, using backend phy
        libxl: debug: libxl_create.c:665:initiate_domain_create: running 
bootloader
        libxl: debug: libxl_device.c:253:libxl__device_disk_set_backend: Disk 
vdev=(null) spec.backend=qdisk
        libxl: debug: libxl.c:2224:libxl__device_disk_local_attach: locally 
attaching qdisk /scratch/di-test.iso
        libxl: debug: libxl_bootloader.c:413:bootloader_disk_attached_cb: 
Config bootloader value: pygrub
        libxl: debug: libxl_bootloader.c:429:bootloader_disk_attached_cb: 
Checking for bootloader in libexec path: /usr/lib/xen/bin/pygrub
        libxl: debug: libxl_create.c:1148:do_domain_create: ao 0x8069ee8: 
inprogress: poller=0x8069e50, flags=i
        libxl: debug: libxl_event.c:512:libxl__ev_xswatch_register: watch 
w=0x806a0d8 wpath=/local/domain/33 token=3/0: register slotnum=3
        libxl: debug: libxl_event.c:1604:libxl__ao_progress_report: ao 
0x8069ee8: progress report: ignored
        libxl: debug: libxl_bootloader.c:549:bootloader_gotptys: executing 
bootloader: /usr/lib/xen/bin/pygrub
        libxl: debug: libxl_bootloader.c:553:bootloader_gotptys:   bootloader 
arg: /usr/lib/xen/bin/pygrub
        libxl: debug: libxl_bootloader.c:553:bootloader_gotptys:   bootloader 
arg: --args=debian-installer/exit/always_halt=true -- console=hvc0 
hostname=di-test domain=uk.xensource.com auto-install/enable=true 
url=http://cosworth.uk.xensource.com/users/ianc/ks/wheezy.cfg 
base-installer/kernel/image=linux-image-686-pae
        libxl: debug: libxl_bootloader.c:553:bootloader_gotptys:   bootloader 
arg: --output=/var/run/xen/bootloader.33.out
        libxl: debug: libxl_bootloader.c:553:bootloader_gotptys:   bootloader 
arg: --output-format=simple0
        libxl: debug: libxl_bootloader.c:553:bootloader_gotptys:   bootloader 
arg: --output-directory=/var/run/xen/bootloader.33.d
        libxl: debug: libxl_bootloader.c:553:bootloader_gotptys:   bootloader 
arg: --kernel=/install.386/xen/vmlinuz
        libxl: debug: libxl_bootloader.c:553:bootloader_gotptys:   bootloader 
arg: --ramdisk=/install.386/xen/initrd.gz
        libxl: debug: libxl_bootloader.c:553:bootloader_gotptys:   bootloader 
arg: /scratch/di-test.iso
        libxl: debug: libxl_event.c:457:watchfd_callback: watch w=0x806a0d8 
wpath=/local/domain/33 token=3/0: event epath=/local/domain/33
        libxl: debug: libxl_bootloader.c:634:bootloader_finished: bootloader 
completed
        libxl: debug: libxl_bootloader.c:136:bootloader_result_command: 
bootloader output contained kernel 
/var/run/xen/bootloader.33.d/boot_kernel.IZtG8X
        libxl: debug: libxl_bootloader.c:136:bootloader_result_command: 
bootloader output contained ramdisk 
/var/run/xen/bootloader.33.d/boot_ramdisk.qb1WlL
        libxl: debug: libxl_bootloader.c:136:bootloader_result_command: 
bootloader output contained args debian-installer/exit/always_halt=true -- 
console=hvc0 hostname=di-test domain=uk.xensource.com auto-install/enable=true 
url=http://cosworth.uk.xensource.com/users/ianc/ks/wheezy.cfg 
base-installer/kernel/image=linux-image-686-pae
        libxl: debug: libxl_bootloader.c:647:bootloader_finished: bootloader 
execution successful
        libxl: debug: libxl_event.c:549:libxl__ev_xswatch_deregister: watch 
w=0x806a0d8 wpath=/local/domain/33 token=3/0: deregister slotnum=3
        <hang>
        



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.