[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-fr] Problème Xen avec une VM que l'on ne peut controller
As tu essayé la commande "xm create -c [ta_VM] " ? cela te permettrait de voir la console de la VM au démarrage et ainsi voir où ca bloc ... Sinon la log n'indique aucune erreur mais elle est incomplete ! Il faudrait la log à partir de la directive XendDomainInfo.create qui se trouve avant le log que tu as fournit. cela serait par ex un log de ce type (log d'une de mes VM qui a bien démarré) : [2007-09-19 14:06:43 xend.XendDomainInfo 3220] DEBUG (__init__:1072) XendDomainInfo.create(['vm', ['name', 'kerio1'], ['memory', '256'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.18-4-xen-amd64'], ['ramdisk', '/boot/initrd.img-2.6.18-4-xen-amd64'], ['root', '/dev/sda1 ro']]], ['device', ['vbd', ['uname', 'file:/home/xen/domains/kerio1/disk.img'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/home/xen/domains/kerio1/swap.img'], ['dev', 'sda2'], ['mode', 'w']]], ['device', ['vif', ['bridge', 'brnet'], ['mac', '00:16:3E:XX:XX:XX']]], ['device', ['vif', ['bridge', 'brcluster'], ['mac', '00:16:3E:XX:XX:XX']]]]) [2007-09-19 14:06:43 xend.XendDomainInfo 3220] DEBUG (__init__:1072) parseConfig: config is ['vm', ['name', 'kerio1'], ['memory', '256'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.18-4-xen-amd64'], ['ramdisk', '/boot/initrd.img-2.6.18-4-xen-amd64'], ['root', '/dev/sda1 ro']]], ['device', ['vbd', ['uname', 'file:/home/xen/domains/kerio1/disk.img'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/home/xen/domains/kerio1/swap.img'], ['dev', 'sda2'], ['mode', 'w']]], ['device', ['vif', ['bridge', 'brnet'], ['mac', '00:16:3E:XX:XX:XX']]], ['device', ['vif', ['bridge', 'brcluster'], ['mac', '00:16:3E:XX:XX:XX']]]] [2007-09-19 14:06:43 xend.XendDomainInfo 3220] DEBUG (__init__:1072) parseConfig: result is {'shadow_memory': None, 'uuid': None, 'on_crash': 'restart', 'on_reboot': 'restart', 'localtime': None, 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6.18-4-xen-amd64'], ['ramdisk', '/boot/initrd.img-2.6.18-4-xen-amd64'], ['root', '/dev/sda1 ro']], 'on_poweroff': 'destroy', 'bootloader_args': None, 'cpus': None, 'name': 'kerio1', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'features': None, 'vcpu_avail': None, 'memory': 256, 'device': [('vbd', ['vbd', ['uname', 'file:/home/xen/domains/kerio1/disk.img'], ['dev', 'sda1'], ['mode', 'w']]), ('vbd', ['vbd', ['uname', 'file:/home/xen/domains/kerio1/swap.img'], ['dev', 'sda2'], ['mode', 'w']]), ('vif', ['vif', ['bridge', 'brnet'], ['mac', '00:16:3E:XX:XX:XX']]), ('vif', ['vif', ['bridge', 'brcluster'], ['mac', '00:16:3E:XX:XX:XX']])], 'bootloader': None, 'cpu': None, 'maxmem': None} [2007-09-19 14:06:43 xend.XendDomainInfo 3220] DEBUG (__init__:1072) XendDomainInfo.construct: None [2007-09-19 14:06:43 xend.XendDomainInfo 3220] DEBUG (__init__:1072) XendDomainInfo.initDomain: 7 1.0 [2007-09-19 14:06:43 xend 3220] DEBUG (__init__:1072) Balloon: 1180 KiB free; 0 to scrub; need 262144; retries: 20. [2007-09-19 14:06:43 xend 3220] DEBUG (__init__:1072) Balloon: setting dom0 target to 2615 MiB. [2007-09-19 14:06:43 xend.XendDomainInfo 3220] DEBUG (__init__:1072) Setting memory target of domain Domain-0 (0) to 2615 MiB. [2007-09-19 14:06:43 xend 3220] DEBUG (__init__:1072) Balloon: 262300 KiB free; need 262144; done. [2007-09-19 14:06:43 xend 3220] INFO (__init__:1072) buildDomain os=linux dom=7 vcpus=1 [2007-09-19 14:06:43 xend 3220] DEBUG (__init__:1072) dom = 7 [2007-09-19 14:06:43 xend 3220] DEBUG (__init__:1072) image = /boot/vmlinuz-2.6.18-4-xen-amd64 [2007-09-19 14:06:43 xend 3220] DEBUG (__init__:1072) store_evtchn = 1 [2007-09-19 14:06:43 xend 3220] DEBUG (__init__:1072) console_evtchn = 2 [2007-09-19 14:06:43 xend 3220] DEBUG (__init__:1072) cmdline = root=/dev/sda1 ro [2007-09-19 14:06:43 xend 3220] DEBUG (__init__:1072) ramdisk = /boot/initrd.img-2.6.18-4-xen-amd64 [2007-09-19 14:06:43 xend 3220] DEBUG (__init__:1072) vcpus = 1 [2007-09-19 14:06:43 xend 3220] DEBUG (__init__:1072) features = [2007-09-19 14:06:44 xend 3220] DEBUG (__init__:1072) DevController: writing {'backend-id': '0', 'virtual-device': '2049', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/7/2049'} to /local/domain/7/device/vbd/2049. [2007-09-19 14:06:44 xend 3220] DEBUG (__init__:1072) DevController: writing {'domain': 'kerio1', 'frontend': '/local/domain/7/device/vbd/2049', 'dev': 'sda1', 'state': '1', 'params': '/home/xen/domains/kerio1/disk.img', 'mode': 'w', 'online': '1', 'frontend-id': '7', 'type': 'file'} to /local/domain/0/backend/vbd/7/2049. [2007-09-19 14:06:44 xend 3220] DEBUG (__init__:1072) DevController: writing {'backend-id': '0', 'virtual-device': '2050', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/7/2050'} to /local/domain/7/device/vbd/2050. [2007-09-19 14:06:44 xend 3220] DEBUG (__init__:1072) DevController: writing {'domain': 'kerio1', 'frontend': '/local/domain/7/device/vbd/2050', 'dev': 'sda2', 'state': '1', 'params': '/home/xen/domains/kerio1/swap.img', 'mode': 'w', 'online': '1', 'frontend-id': '7', 'type': 'file'} to /local/domain/0/backend/vbd/7/2050. [2007-09-19 14:06:44 xend 3220] DEBUG (__init__:1072) DevController: writing {'backend-id': '0', 'mac': '00:16:3E:XX:XX:XX', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/7/0'} to /local/domain/7/device/vif/0. [2007-09-19 14:06:44 xend 3220] DEBUG (__init__:1072) DevController: writing {'bridge': 'brnet', 'domain': 'kerio1', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/7/device/vif/0', 'mac': '00:16:3E:XX:XX:XX', 'online': '1', 'frontend-id': '7'} to /local/domain/0/backend/vif/7/0. [2007-09-19 14:06:44 xend 3220] DEBUG (__init__:1072) DevController: writing {'backend-id': '0', 'mac': '00:16:3E:XX:XX:XX', 'handle': '1', 'state': '1', 'backend': '/local/domain/0/backend/vif/7/1'} to /local/domain/7/device/vif/1. [2007-09-19 14:06:44 xend 3220] DEBUG (__init__:1072) DevController: writing {'bridge': 'brcluster', 'domain': 'kerio1', 'handle': '1', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/7/device/vif/1', 'mac': '00:16:3E:XX:XX:XX', 'online': '1', 'frontend-id': '7'} to /local/domain/0/backend/vif/7/1. [2007-09-19 14:06:44 xend.XendDomainInfo 3220] DEBUG (__init__:1072) Storing VM details: {'shadow_memory': '0', 'uuid': '9b7e7e0a-e9d3-c94f-8523-829a2e874ace', 'on_reboot': 'restart', 'start_time': '1190203604.11', 'on_poweroff': 'destroy', 'name': 'kerio1', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '256', 'on_crash': 'restart', 'image': "(linux (kernel /boot/vmlinuz-2.6.18-4-xen-amd64) (ramdisk /boot/initrd.img-2.6.18-4-xen-amd64) (root '/dev/sda1 ro'))", 'maxmem': '256'} [2007-09-19 14:06:44 xend.XendDomainInfo 3220] DEBUG (__init__:1072) Storing domain details: {'console/ring-ref': '568868', 'console/port': '2', 'name': 'kerio1', 'console/limit': '1048576', 'vm': '/vm/9b7e7e0a-e9d3-c94f-8523-829a2e874ace', 'domid': '7', 'cpu/0/availability': 'online', 'memory/target': '262144', 'store/ring-ref': '568869', 'store/port': '1'} Cdt, Matthieu
_______________________________________________ Xen-fr mailing list Xen-fr@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-fr
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |