Hello, yesterday a coworker had to reboot one VM, the Vm did shutdown but never came back up. We are USing CentOS 5.1 and XEN xen-3.0-x86_64. What can be the reason of this behavior? Here ist the part of the logfile: [2008-07-02 15:04:18 xend.XendDomainInfo 31150] INFO (XendDomainInfo:947) Domain has shutdown: name=auto-input-vm1 id=26 reason=reboot. [2008-07-02 15:04:18 xend.XendDomainInfo 31150] DEBUG (XendDomainInfo:1566) XendDomainInfo.destroyDomain(26) [2008-07-02 15:04:19 xend.XendDomainInfo 31150] DEBUG (XendDomainInfo:200) XendDomainInfo.create([''domain'', [''domid'', 26], [''uuid'', ''xxxxxx-c425-7b20-8207-xxxxxxxxxxxx''], [''vcpus'', 1], [''vcpu_avail'', 1], [ ''cpu_weight'', 1.0], [''memory'', 1000], [''shadow_memory'', 0], [''maxmem'', 1000], [''features'', ''''], [''name'', ''auto-input-vm1''], [''on_poweroff'', ''destroy''], [''on_reboot'', ''restart''], [''on_crash'', ''restart''], [''im age'', [''linux'', [''ramdisk'', ''/var/lib/xen/boot_ramdisk.2MZelw''], [''kernel'', ''/var/lib/xen/boot_kernel.2F7umw''], [''args'', ''ro root=LABEL=/ console=xvc0'']]], [''device'', [''vif'', [''backend'', 0], [''script'', ''vif- bridge''], [''bridge'', ''xenbr0''], [''mac'', ''00:16:3e:28:3e:65'']]], [''device'', [''vbd'', [''backend'', 0], [''dev'', ''sda2:disk''], [''uname'', ''file:/VM/auto-input_swapfile.img''], [''mode'', ''w'']]], [''device'', [''tap'', [''b ackend'', 0], [''dev'', ''xvda:disk''], [''uname'', ''tap:aio:/VM/auto-input-vm1.img''], [''mode'', ''w'']]], [''state'', ''---s--''], [''shutdown_reason'', ''reboot''], [''cpu_time'', 16039.677647815], [''online_vcpus'', 1], [''up_t ime'', ''5015366.31765''], [''start_time'', ''1209995692.6'']]) [2008-07-02 15:04:19 xend.XendDomainInfo 31150] DEBUG (XendDomainInfo:306) parseConfig: config is [''domain'', [''domid'', 26], [''uuid'', ''bd14b9c2-c425-7b20-8207-d97f8d48262d''], [''vcpus'', 1], [''vcpu_avail'', 1], [''cpu_weight'', 1.0], [''memory'', 1000], [''shadow_memory'', 0], [''maxmem'', 1000], [''features'', ''''], [''name'', ''auto-input-vm1''], [''on_poweroff'', ''destroy''], [''on_reboot'', ''restart''], [''on_crash'', ''restart''], [''i mage'', [''linux'', [''ramdisk'', ''/var/lib/xen/boot_ramdisk.2MZelw''], [''kernel'', ''/var/lib/xen/boot_kernel.2F7umw''], [''args'', ''ro root=LABEL=/ console=xvc0'']]], [''device'', [''vif'', [''backend'', 0], [''script'', ''vif -bridge''], [''bridge'', ''xenbr0''], [''mac'', ''00:16:3e:28:3e:65'']]], [''device'', [''vbd'', [''backend'', 0], [''dev'', ''sda2:disk''], [''uname'', ''file:/VM/auto-input_swapfile.img''], [''mode'', ''w'']]], [''device'', [''tap'', ['' backend'', 0], [''dev'', ''xvda:disk''], [''uname'', ''tap:aio:/VM/auto-input-vm1.img''], [''mode'', ''w'']]], [''state'', ''---s--''], [''shutdown_reason'', ''reboot''], [''cpu_time'', 16039.677647815], [''online_vcpus'', 1], [''up_ time'', ''5015366.31765''], [''start_time'', ''1209995692.6'']] [2008-07-02 15:04:19 xend.XendDomainInfo 31150] DEBUG (XendDomainInfo:411) parseConfig: result is {''shadow_memory'': 0, ''start_time'': 1209995692.5999999, ''uuid'': ''bd14b9c2-c425-7b20-8207-d97f8d48262d'', ''on_cr ash'': ''restart'', ''on_reboot'': ''restart'', ''localtime'': None, ''image'': [''linux'', [''ramdisk'', ''/var/lib/xen/boot_ramdisk.2MZelw''], [''kernel'', ''/var/lib/xen/boot_kernel.2F7umw''], [''args'', ''ro root=LABEL=/ consol e=xvc0'']], ''on_poweroff'': ''destroy'', ''bootloader_args'': None, ''cpus'': None, ''name'': ''auto-input-vm1'', ''backend'': [], ''vcpus'': 1, ''cpu_weight'': 1.0, ''features'': '''', ''vcpu_avail'': 1, ''memory'': 1000, ''device'': [(''vif'', [''vif'', [''backend'', 0], [''script'', ''vif-bridge''], [''bridge'', ''xenbr0''], [''mac'', ''00:16:3e:xx:xx:xx'']]), (''vbd'', [''vbd'', [''backend'', 0], [''dev'', ''sda2:disk''], [''uname'', ''file:/VM/auto-input_swapfile. img''], [''mode'', ''w'']]), (''tap'', [''tap'', [''backend'', 0], [''dev'', ''xvda:disk''], [''uname'', ''tap:aio:/VM/auto-input-vm1.img''], [''mode'', ''w'']])], ''bootloader'': None, ''cpu'': None, ''maxmem'': 1000} [2008-07-02 15:04:19 xend.XendDomainInfo 31150] DEBUG (XendDomainInfo:1349) XendDomainInfo.construct: None [2008-07-02 15:04:19 xend 31150] DEBUG (balloon:127) Balloon: 959300 KiB free; need 2048; done. [2008-07-02 15:04:19 xend.XendDomainInfo 31150] DEBUG (XendDomainInfo:1397) XendDomainInfo.initDomain: 43 1.0 [2008-07-02 15:04:19 xend.XendDomainInfo 31150] DEBUG (XendDomainInfo:1436) _initDomain:shadow_memory=0x0, maxmem=0x3e8, memory=0x3e8. [2008-07-02 15:04:19 xend 31150] DEBUG (balloon:127) Balloon: 1024688 KiB free; need 1024000; done. [2008-07-02 15:04:19 xend.XendDomainInfo 31150] ERROR (XendDomainInfo:212) Domain construction failed Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 205, in create vm.initDomain() File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1453, in initDomain channel_details = self.image.createImage() File "/usr/lib64/python2.4/site-packages/xen/xend/image.py", line 119, in createImage return self.createDomain() File "/usr/lib64/python2.4/site-packages/xen/xend/image.py", line 128, in createDomain raise VmError(''Kernel image does not exist: %s'' % self.kernel) VmError: Kernel image does not exist: /var/lib/xen/boot_kernel.2F7umw [2008-07-02 15:04:19 xend.XendDomainInfo 31150] DEBUG (XendDomainInfo:1557) XendDomainInfo.destroy: domid=43 [2008-07-02 15:04:19 xend.XendDomainInfo 31150] DEBUG (XendDomainInfo:1566) XendDomainInfo.destroyDomain(43) [2008-07-02 15:04:19 xend.XendDomainInfo 31150] ERROR (XendDomainInfo:1860) Failed to restart domain 26. Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1846, in restart new_dom = XendDomain.instance().domain_create(config) File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomain.py", line 228, in domain_create dominfo = XendDomainInfo.create(config) File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 205, in create vm.initDomain() File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1453, in initDomain channel_details = self.image.createImage() File "/usr/lib64/python2.4/site-packages/xen/xend/image.py", line 119, in createImage return self.createDomain() File "/usr/lib64/python2.4/site-packages/xen/xend/image.py", line 128, in createDomain raise VmError(''Kernel image does not exist: %s'' % self.kernel) VmError: Kernel image does not exist: /var/lib/xen/boot_kernel.2F7umw thx for help . _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
webmaster@fragrant-chios.com
2008-Jul-03 06:35 UTC
[Xen-users] xmclone closes the shell were it runs from
hi everybody, when I run the xmclone script it exit and closing the shell it´s invoked from. I cannot see anything and no log entries seems to be made. When redirecting the output to a file it shows the help (since i did not add any options) and the last line says exit 1. Any idea´s on how the debug this any further. without log entries it''s hard to understand whats happening setup dom0: opensuse 11.0 64bit xen 3.2.1 xmclone: 0.4.3 best regards, Isidoros. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users