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

[Xen-devel] Reboot failure in Xen 4.2.0



Hi,

I am having an issue where a small percentage of the time, rebooting a
VM from the VM does not actually work.

Xen Version: 4.2.0
OS: Debian 6.0
Kernel: 3.2.30

Note, we are still using xend instead of xl. Could that be the problem?

xend.log output
----------------------

[2012-11-12 14:47:20 2381] INFO (XendDomainInfo:2079) Domain has
shutdown: name=ie3d.x.rootbsd.net id=77 reason=reboot.
[2012-11-12 14:47:20 2381] DEBUG (XendDomainInfo:3077)
XendDomainInfo.destroy: domid=77
[2012-11-12 14:47:20 2381] DEBUG (XendDomainInfo:2402) Destroying device model
[2012-11-12 14:47:20 2381] INFO (image:615) ie3d.x.rootbsd.net device
model terminated
[2012-11-12 14:47:20 2381] DEBUG (XendDomainInfo:2409) Releasing devices
[2012-11-12 14:47:20 2381] DEBUG (XendDomainInfo:2415) Removing vif/0
[2012-11-12 14:47:20 2381] DEBUG (XendDomainInfo:1276)
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2012-11-12 14:47:20 2381] DEBUG (XendDomainInfo:2415) Removing vif/1
[2012-11-12 14:47:20 2381] DEBUG (XendDomainInfo:1276)
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/1
[2012-11-12 14:47:20 2381] DEBUG (XendDomainInfo:2415) Removing console/0
[2012-11-12 14:47:20 2381] DEBUG (XendDomainInfo:1276)
XendDomainInfo.destroyDevice: deviceClass = console, device =
console/0
[2012-11-12 14:47:20 2381] DEBUG (XendDomainInfo:2415) Removing vbd/768
[2012-11-12 14:47:20 2381] DEBUG (XendDomainInfo:1276)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/768
[2012-11-12 14:47:20 2381] DEBUG (XendDomainInfo:2415) Removing vfb/0
[2012-11-12 14:47:20 2381] DEBUG (XendDomainInfo:1276)
XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0
[2012-11-12 14:47:20 2381] DEBUG (XendDomainInfo:125)
XendDomainInfo.create_from_dict({'vcpus_params': {'cap': 0, 'weight':
256}, 'PV_args': '', 'features': '', 'cpus': [[], []], 'paused': 0,
'use_tmp_kernel': False, 'actions_after_reboot': 'restart',
'memory_sharing': 0, 'superpages': 0, 'VCPUs_live': 2,
'PV_bootloader': '', 'actions_after_crash': 'restart', 'vbd_refs':
['7413f24b-3ea4-468c-be55-613b842efdc7'], 'PV_ramdisk': '',
'is_control_domain': False, 'name_label': 'ie3d.x.rootbsd.net',
'VCPUs_at_startup': 1, 'HVM_boot_params': {'order': 'nc'}, 'platform':
{'videoram': '4', 'hpet': '0', 'stdvga': '0', 'vnclisten': '0.0.0.0',
'loader': '/usr/lib/xen/boot/hvmloader', 'serial': 'pty', 'vncunused':
'0', 'xen_platform_pci': '1', 'usb': '1', 'nestedhvm': '0', 'boot':
'nc', 'rtc_timeoffset': 1, 'vncpasswd': 'XXXXXXXX', 'pci': [], 'pae':
'1', 'vpt_align': '1', 'hap': '1', 'viridian': '0', 'acpi': '1',
'localtime': '0', 'timer_mode': '1', 'vnc': '1', 'nographic': '0',
'vncdisplay': '749', 'pci_msitranslate': '1', 'oos': '1', 'apic': '1',
'sdl': '0', 'nomigrate': '0', 'guest_os_type': 'default', 'tsc_mode':
'0', 'usbdevice': 'tablet', 'device_model':
'/usr/lib/xen/bin/qemu-dm', 'pci_power_mgmt': '0', 'xauthority':
'/root/.Xauthority', 'isa': '0'}, 'PV_kernel': '', 'console_refs':
['011f85bb-c354-33d5-b1f6-bbc3699f1ad1',
'c853847e-a218-46c1-70ba-346551ea43e9'], 'online_vcpus': 2, 'blocked':
0, 'on_xend_stop': 'ignore', 'pool_name': 'Pool-0', 'shutdown': 0,
'HVM_boot_policy': 'BIOS order', 'description': '', 'shutdown_reason':
1, 'VCPUs_max': 2, 'start_time': 1352731059.4260111,
'memory_static_max': 536870912, 'actions_after_shutdown': 'destroy',
'use_tmp_ramdisk': False, 'on_xend_start': 'ignore', 'crashed': 0,
'memory_dynamic_max': 536870912, 'actions_after_suspend': '',
'is_a_template': False, 'PV_bootloader_args': '',
'memory_dynamic_min': 536870912, 'uuid':
'8ef5dc51-f0df-20e1-41b2-ad1fea07399f', 'cpu_time':
36.203068825000003, 'shadow_memory': 6, 'memory_static_min': 0,
'dying': 0, 'vcpu_avail': 3, 'notes': {'SUSPEND_CANCEL': 1},
'other_config': {}, 'auto_power_on': False, 'running': 0, 'domid': 77,
'Description': '', 'vif_refs':
['b27dbf8a-47c6-eabb-f40e-c81a961440eb',
'20bb6946-f8b2-a7ba-80f7-3bc6145f35c6'], 'target': 0, 'vtpm_refs': [],
's3_integrity': 1, 'devices': {'20bb6946-f8b2-a7ba-80f7-3bc6145f35c6':
('vif', {'bridge': 'pri700', 'uuid':
'20bb6946-f8b2-a7ba-80f7-3bc6145f35c6', 'devid': 1, 'mac':
'00:16:3e:3f:0b:ea', 'model': 'e1000', 'type': 'ioemu'}),
'b27dbf8a-47c6-eabb-f40e-c81a961440eb': ('vif', {'bridge': 'pub700',
'uuid': 'b27dbf8a-47c6-eabb-f40e-c81a961440eb', 'devid': 0, 'mac':
'00:16:3e:6c:95:10', 'model': 'e1000', 'type': 'ioemu'}),
'c853847e-a218-46c1-70ba-346551ea43e9': ('console', {'location': '5',
'devid': 0, 'protocol': 'vt100', 'uuid':
'c853847e-a218-46c1-70ba-346551ea43e9', 'other_config': {}}),
'011f85bb-c354-33d5-b1f6-bbc3699f1ad1': ('vfb', {'vncunused': 0,
'other_config': {'vncunused': 0, 'vncpasswd': 'XXXXXXXX', 'vnclisten':
'0.0.0.0', 'vnc': '1', 'vncdisplay': 749}, 'vnc': '1', 'uuid':
'011f85bb-c354-33d5-b1f6-bbc3699f1ad1', 'vnclisten': '0.0.0.0',
'vncdisplay': 749, 'vncpasswd': 'XXXXXXXX', 'location':
'0.0.0.0:6649', 'devid': 0}), '7413f24b-3ea4-468c-be55-613b842efdc7':
('vbd', {'uuid': '7413f24b-3ea4-468c-be55-613b842efdc7', 'bootable':
1, 'devid': 768, 'driver': 'paravirtualised', 'dev': 'hda', 'uname':
'phy:/var/run/ganeti/instance-disks/ie3d.x.rootbsd.net:0', 'mode':
'w'})}})
[2012-11-12 14:47:20 2381] DEBUG (XendDomainInfo:2499)
XendDomainInfo.constructDomain
[2012-11-12 14:47:20 2381] ERROR (XendDomainInfo:488) VM start failed
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py",
line 473, in start
    XendTask.log_progress(0, 30, self._constructDomain)
  File "/usr/lib/python2.6/dist-packages/xen/xend/XendTask.py", line
209, in log_progress
    retval = func(*args, **kwds)
  File "/usr/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py",
line 2576, in _constructDomain
    self._recreateDom()
  File "/usr/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py",
line 1730, in _recreateDom
    complete(self.dompath, lambda t: self._recreateDomFunc(t))
  File "/usr/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py",
line 364, in complete
    if t.commit():
  File "/usr/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py",
line 41, in commit
    rc = xshandle().transaction_end(self.transaction, False)
Error: (2, 'No such file or directory')
[2012-11-12 14:47:20 2381] DEBUG (XendDomainInfo:3077)
XendDomainInfo.destroy: domid=78
[2012-11-12 14:47:20 2381] DEBUG (XendDomainInfo:2407) No device model
[2012-11-12 14:47:20 2381] DEBUG (XendDomainInfo:2409) Releasing devices
[2012-11-12 14:47:20 2381] ERROR (XendDomainInfo:130) Domain construction failed
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py",
line 128, in create_from_dict
    vm.start()
  File "/usr/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py",
line 473, in start
    XendTask.log_progress(0, 30, self._constructDomain)
  File "/usr/lib/python2.6/dist-packages/xen/xend/XendTask.py", line
209, in log_progress
    retval = func(*args, **kwds)
  File "/usr/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py",
line 2576, in _constructDomain
    self._recreateDom()
  File "/usr/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py",
line 1730, in _recreateDom
    complete(self.dompath, lambda t: self._recreateDomFunc(t))
  File "/usr/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py",
line 364, in complete
    if t.commit():
  File "/usr/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py",
line 41, in commit
    rc = xshandle().transaction_end(self.transaction, False)
Error: (2, 'No such file or directory')
[2012-11-12 14:47:20 2381] ERROR (XendDomainInfo:2235) Failed to
restart domain 77.
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py",
line 2218, in _restart
    new_dom_info)
  File "/usr/lib/python2.6/dist-packages/xen/xend/XendDomain.py", line
1017, in domain_create_from_dict
    dominfo = XendDomainInfo.create_from_dict(config_dict)
  File "/usr/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py",
line 128, in create_from_dict
    vm.start()
  File "/usr/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py",
line 473, in start
    XendTask.log_progress(0, 30, self._constructDomain)
  File "/usr/lib/python2.6/dist-packages/xen/xend/XendTask.py", line
209, in log_progress
    retval = func(*args, **kwds)
  File "/usr/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py",
line 2576, in _constructDomain
    self._recreateDom()
  File "/usr/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py",
line 1730, in _recreateDom
    complete(self.dompath, lambda t: self._recreateDomFunc(t))
  File "/usr/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py",
line 364, in complete
    if t.commit():
  File "/usr/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py",
line 41, in commit
    rc = xshandle().transaction_end(self.transaction, False)
Error: (2, 'No such file or directory')


vm configuration file
---------------------------------
kernel = '/usr/lib/xen/boot/hvmloader'
builder = 'hvm'
memory = 512
vcpus = 2
name = 'ie3d.x.rootbsd.net'
pae = 1
acpi = 1
apic = 1
device_model = '/usr/lib/xen/bin/qemu-dm'
boot = 'nc'
sdl = 0
usb = 1
usbdevice = 'tablet'
vnc = 1
vnclisten = '0.0.0.0'
vncdisplay = 749
vncunused = 0
vncpasswd = 'JJw1ZHwQ'
serial = 'pty'
vif = ['mac=00:16:3e:6c:95:10, model=e1000, type=ioemu,
bridge=pub700','mac=00:16:3e:3f:0b:ea, model=e1000, type=ioemu,
bridge=pri700']
disk = ['phy:/var/run/ganeti/instance-disks/ie3d.x.rootbsd.net:0,hda,w']
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'

_______________________________________________
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®.