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

[Xen-users] Hotplug scripts not working


  • To: <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: 周健 <zhoujian.king@xxxxxxxx>
  • Date: Tue, 18 Oct 2011 14:22:50 +0800
  • Delivery-date: Mon, 17 Oct 2011 23:24:31 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Messageid: 192.168.122.23_25_10.241.33.140_2701_20111018.14:22:48.150
  • Thread-index: AcyMtyEbQcUdJG1JTUaDMmaU8p0sbgApwvdQ

Hi all,

 

I meet a very confused issue when start a windows machine in (2.6.18-194.26.1.el5xen, xen 3.4.3).  

The message as following:

 

[2011-10-17 12:07:53 3757] DEBUG (DevController:97) DevController: writing {'bridge': 'eth0', 'domain': 'windows_14_2011_03_25_14_47_28', 'handle': '1', 'uuid': '9fa800fd-c929-9272-e7b7-9bb33f5ce6be', 'script': '/etc/xen/scripts/vif-bridge', 'mac': '00:16:3e:00:02:eb', 'frontend-id': '9', 'state': '1', 'online': '1', 'frontend': '/local/domain/9/device/vif/1'} to /local/domain/0/backend/vif/9/1.

[2011-10-17 12:07:53 3757] INFO (image:394) spawning device models: /usr/lib64/xen/bin/qemu-dm ['/usr/lib64/xen/bin/qemu-dm', '-d', '9', '-domain-name', 'windows_14_2011_03_25_14_47_28', '-videoram', '4', '-vnc', '0.0.0.0:14', '-vncunused', '-vcpus', '4', '-boot', 'cd', '-serial', 'pty', '-acpi', '-usbdevice', 'tablet', '-net', 'nic,vlan=1,macaddr=00:16:3e:00:01:eb,model=rtl8139', '-net', 'tap,vlan=1,ifname=tap9.0,bridge=eth1', '-net', 'nic,vlan=2,macaddr=00:16:3e:00:02:eb,model=rtl8139', '-net', 'tap,vlan=2,ifname=tap9.1,bridge=eth0', '-M', 'xenfv']

[2011-10-17 12:07:53 3757] INFO (image:443) device model pid: 9984

[2011-10-17 12:07:53 3757] INFO (image:531) waiting for sentinel_fifo

[2011-10-17 12:07:53 3757] DEBUG (XendDomainInfo:3067) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '34', 'uuid': '9152a7b1-7396-43af-85e4-69989060dbe5', 'on_reboot': 'restart', 'start_time': '1318824473.19', 'on_poweroff': 'destroy', 'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '4', 'vcpu_avail': '15', 'bootloader': '', 'image': '(hvm (kernel ) (videoram 4) (hpet 0) (stdvga 0) (vnclisten 0.0.0.0) (loader /usr/lib/xen/boot/hvmloader) (serial pty) (vncunused 1) (xen_platform_pci 1) (boot cd) (rtc_timeoffset 66) (pci ()) (pae 1) (vpt_align 1) (hap 1) (viridian 0) (acpi 1) (localtime 0) (timer_mode 1) (vnc 1) (nographic 0) (guest_os_type default) (vncdisplay 14) (pci_msitranslate 1) (apic 1) (sdl 0) (monitor 0) (usbdevice tablet) (device_model /usr/lib64/xen/bin/qemu-dm) (pci_power_mgmt 0) (usb 0) (xauthority /root/.Xauthority) (isa 0) (notes (SUSPEND_CANCEL 1)))', 'name': 'windows_14_2011_03_25_14_47_28'}

[2011-10-17 12:07:53 3757] DEBUG (XendDomainInfo:1629) Storing domain details: {'console/port': '6', 'cpu/3/availability': 'online', 'name': 'windows_14_2011_03_25_14_47_28', 'console/limit': '1048576', 'store/port': '5', 'cpu/2/availability': 'online', 'vm': '/vm/9152a7b1-7396-43af-85e4-69989060dbe5', 'domid': '9', 'image/suspend-cancel': '1', 'cpu/0/availability': 'online', 'memory/target': '3840000', 'control/platform-feature-multiprocessor-suspend': '1', 'store/ring-ref': '1044476', 'cpu/1/availability': 'online', 'console/type': 'ioemu'}

[2011-10-17 12:07:53 3757] DEBUG (DevController:139) Waiting for devices vif.

[2011-10-17 12:07:53 3757] DEBUG (DevController:144) Waiting for 0.

[2011-10-17 12:07:53 3757] DEBUG (XendDomainInfo:1716) XendDomainInfo.handleShutdownWatch

[2011-10-17 12:07:53 3757] DEBUG (DevController:629) hotplugStatusCallback /local/domain/0/backend/vif/9/0/hotplug-status.

[2011-10-17 12:07:53 3757] DEBUG (DevController:629) hotplugStatusCallback /local/domain/0/backend/vif/9/0/hotplug-status.

[2011-10-17 12:07:53 3757] DEBUG (DevController:643) hotplugStatusCallback 1.

[2011-10-17 12:07:53 3757] DEBUG (DevController:144) Waiting for 1.

[2011-10-17 12:07:53 3757] DEBUG (DevController:629) hotplugStatusCallback /local/domain/0/backend/vif/9/1/hotplug-status.

[2011-10-17 12:09:33 3757] WARNING (XendDomain:1048) Failed to setup devices for <domain id=9 name=windows_14_2011_03_25_14_47_28 memory=3932160000 state=paused>: Device 1 (vif) could not be connected. Hotplug scripts not working.

[2011-10-17 12:09:33 3757] DEBUG (XendDomainInfo:2739) XendDomainInfo.destroy: domid=9

[2011-10-17 12:09:34 3757] DEBUG (XendDomainInfo:2214) Destroying device model

 

 

While it worked well for one year and anther windows virtual machine still running at the same host.

Thank you at all.

 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

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