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

[Xen-users] xm list doesn't work


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: CHERAMY Guillaume <guillaume.cheramy@xxxxxxxxx>
  • Date: Thu, 19 Jun 2008 09:56:43 +0200
  • Delivery-date: Thu, 19 Jun 2008 00:57:18 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=LxzZ7urz2DYcU4VVkI3KTbhEq7iUyxe+tsjTZ3l14aF/V2S6Ay6SZDc/YBaoNui0yb MQPuMN0xCfLui2AjPRB5VOx46N14DN7cFCQaKQxrJS16OH7VPvUGLxcIg9YnyIxIvJCE k/7uV4rTVrhlH02+RZk+4BawK5v+Iih6tTG8c=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Good morning,

This morning I cannot use xm commands likes :
    xm list
    xm destroy
    xm shutdown


I think I have got a ghost domain, when I dump the tdb xenstore I have
got such informations :

/local/domain/95/vm=/vm/8c8fa467-b26f-2621-aa35-604e4a050efb
/local/domain/95/device/vfb/0/state=1
/local/domain/95/device/vfb/0/backend-id=0
/local/domain/95/device/vfb/0/backend=/local/domain/0/backend/vfb/95/0
/local/domain/95/device/vbd/768/backend-id=0
/local/domain/95/device/vbd/768/virtual-device=768
/local/domain/95/device/vbd/768/device-type=disk
/local/domain/95/device/vbd/768/state=1
/local/domain/95/device/vbd/768/backend=/local/domain/0/backend/vbd/95/768
/local/domain/95/device/vif/0/state=1
/local/domain/95/device/vif/0/backend-id=0
/local/domain/95/device/vif/0/backend=/local/domain/0/backend/vif/95/0
/local/domain/95/device/console/0/state=1
/local/domain/95/device/console/0/backend-id=0
/local/domain/95/device/console/0/backend=/local/domain/0/backend/console/95/0
/local/domain/95/device-misc/vif/nextDeviceID=1
/local/domain/95/device-misc/console/nextDeviceID=1
/local/domain/95/image/device-model-pid=25302
/local/domain/95/image/suspend-cancel=1
/local/domain/95/console/vnc-port=5912
/local/domain/95/console/tty=/dev/pts/20
/local/domain/95/console/port=3
/local/domain/95/console/limit=1048576
/local/domain/95/serial/0/tty=/dev/pts/20
/local/domain/95/control/platform-feature-multiprocessor-suspend=1
/local/domain/95/control/shutdown=poweroff
/local/domain/95/name=xp2
/local/domain/95/domid=95
/local/domain/95/cpu/0/availability=online
/local/domain/95/memory/target=524288
/local/domain/95/store/ring-ref=131070
/local/domain/95/store/port=2
/local/domain/95/xend/shutdown_start_time=1213835402.093376

but the domain 95 doesn't run (xm top works).

The xend.log :
[2008-06-19 02:30:22 6027] DEBUG (__init__:1072)
XendDomainInfo.create(['vm', ['name', 'xp1'], ['memory', 512],
['shadow_memory', 100], ['vcpus', 1], ['on_xend_start', 'ignore'],
['on_xend_stop', 'ignore'], ['localtime', 1], ['image', ['hvm',
['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model',
'/usr/lib/xen/bin/qemu-dm'], ['pae', 1], ['vcpus', 1], ['boot', 'c'],
['fda', ''], ['fdb', ''], ['localtime', 1], ['serial', 'pty'],
['stdvga', 0], ['isa', 0], ['nographic', 0], ['soundhw', ''], ['vnc',
1], ['vncdisplay', 11], ['vncunused', 0], ['sdl', 0], ['xauthority',
'/root/.Xauthority'], ['rtc_timeoffset', '0'], ['monitor', 0], ['acpi',
1], ['apic', 1], ['usb', 1], ['usbdevice', 'tablet'], ['keymap', 'fr'],
['vncpasswd', 'XXXXXXXX']]], ['device', ['vbd', ['uname',
'phy:/dev/xen_disk/xp1'], ['dev', 'hda'], ['mode', 'w']]], ['device',
['vif', ['bridge', 'xenbr5'], ['mac', '00:16:3e:ff:fe:07'], ['type',
'ioemu']]]])
[2008-06-19 02:30:23 6027] DEBUG (__init__:1072)
XendDomainInfo.create(['vm', ['name', 'xp2'], ['memory', 512],
['shadow_memory', 100], ['vcpus', 1], ['on_xend_start', 'ignore'],
['on_xend_stop', 'ignore'], ['localtime', 1], ['image', ['hvm',
['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model',
'/usr/lib/xen/bin/qemu-dm'], ['pae', 1], ['vcpus', 1], ['boot', 'c'],
['fda', ''], ['fdb', ''], ['localtime', 1], ['serial', 'pty'],
['stdvga', 0], ['isa', 0], ['nographic', 0], ['soundhw', ''], ['vnc',
1], ['vncdisplay', 12], ['vncunused', 0], ['sdl', 0], ['xauthority',
'/root/.Xauthority'], ['rtc_timeoffset', '0'], ['monitor', 0], ['acpi',
1], ['apic', 1], ['usb', 1], ['usbdevice', 'tablet'], ['keymap', 'fr'],
['vncpasswd', 'XXXXXXXX']]], ['device', ['vbd', ['uname',
'phy:/dev/xen_disk/xp2'], ['dev', 'hda'], ['mode', 'w']]], ['device',
['vif', ['bridge', 'xenbr5'], ['mac', '00:16:3e:ff:fe:08'], ['type',
'ioemu']]]])
[2008-06-19 02:30:31 6027] INFO (__init__:1072) Domain shutdown timeout
expired: name=xp1 id=94
[2008-06-19 02:30:31 6027] DEBUG (__init__:1072) XendDomainInfo.destroy:
domid=94
[2008-06-19 02:30:31 6027] DEBUG (__init__:1072)
XendDomainInfo.destroyDomain(94)
[2008-06-19 02:30:32 6027] INFO (__init__:1072) Domain shutdown timeout
expired: name=xp2 id=95
[2008-06-19 02:30:32 6027] DEBUG (__init__:1072) XendDomainInfo.destroy:
domid=95
[2008-06-19 02:30:32 6027] DEBUG (__init__:1072)
XendDomainInfo.destroyDomain(95)


My domains works on lvm backends, and when I wants to remove the xp2 lvm
I have got this error :
# lvremove /dev/xen_disk/xp2
  Can't remove open logical volume "xp2"

Thanks for your help, I cannot reboot the server.

Slts

-- 
                         ''~``
                        ( o o )
+------------------.oooO--(_)--Oooo.---------------------+
| Guillaume Chéramy - Guidtz                             |
| E-Mail : guillaume.cheramy@xxxxxxxxx                   |
|                    (   )                               |
+---------------------\ (----(   )-----------------------+
                       \_)    ) /
                             (_/


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