Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 295174 Details for
Bug 433307
Xen restore tries to allocate "maxmem" if specified in config file
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
xm save/restore commands and xend.log
console-and-xend-log.txt (text/plain), 8.47 KB, created by
monbernard
on 2008-02-18 15:30:04 UTC
(
hide
)
Description:
xm save/restore commands and xend.log
Filename:
MIME Type:
Creator:
monbernard
Created:
2008-02-18 15:30:04 UTC
Size:
8.47 KB
patch
obsolete
>[root@virtu11 ~]# xm list >Name ID Mem(MiB) VCPUs State Time(s) >Domain-0 0 434 1 r----- 16001.4 >manu 4 1023 1 -b---- 2438.1 >[root@virtu11 ~]# virsh start vt11u2 >Domain vt11u2 started > >[root@virtu11 ~]# xm list >Name ID Mem(MiB) VCPUs State Time(s) >Domain-0 0 434 1 r----- 16004.4 >manu 4 1023 1 -b---- 2438.5 >vt11u2 8 1021 2 r----- 12.8 >[root@virtu11 ~]# virsh dominfo vt11u2 | grep mem >Max memory: 4194304 kB >Used memory: 1047632 kB >[root@virtu11 ~]# virsh save vt11u2 /var/lib/xen/vt11u2.save >Domain vt11u2 saved to /var/lib/xen/vt11u2.save > >[root@virtu11 ~]# xm list >Name ID Mem(MiB) VCPUs State Time(s) >Domain-0 0 434 1 r----- 16043.5 >manu 4 1023 1 -b---- 2442.0 >[root@virtu11 ~]# ll /var/lib/xen/vt11u2.save >-rwxr-xr-x 1 root root 1075103277 Feb 18 17:53 /var/lib/xen/vt11u2.save >[root@virtu11 ~]# virsh restore /var/lib/xen/vt11u2.save >libvir: Xen Daemon error : POST operation failed: (xend.err 'Restore failed') >error: Failed to restore domain from /var/lib/xen/vt11u2.save > >[root@virtu11 ~]# xm list >Name ID Mem(MiB) VCPUs State Time(s) >Domain-0 0 434 1 r----- 16074.8 >manu 4 1023 1 ------ 2446.2 > > >[root@virtu11 ~]# tail /var/log/xen/xend.log > >[2008-02-18 17:54:39 xend.XendDomainInfo 3324] DEBUG (XendDomainInfo:275) XendDomainInfo.restore(['domain', ['domid', '8'], ['uuid', 'a3b8259c-053f-24ce-2967-221c003884d7'], ['vcpus', '2'], ['vcpu_avail', '3'], ['cpu_weight', '1.0'], ['memory', '1024'], ['shadow_memory', '0'], ['maxmem', '4096'], ['features'], ['name', 'vt11u2'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['linux', ['kernel', '/boot/efi/efi/redhat/vmlinuz-2.6.18-53.el5xen'], ['ramdisk', '/boot/efi/efi/redhat/initrd-2.6.18-53.el5xenU.img']]], ['device', ['vif', ['backend', '0'], ['script', 'vif-bridge'], ['bridge', 'xenbr0'], ['mac', '00:16:3e:6b:eb:db']]], ['device', ['vbd', ['backend', '0'], ['dev', 'sda1:disk'], ['uname', 'phy:/dev/sda4'], ['mode', 'w']]], ['state', '-b----'], ['shutdown_reason', 'poweroff'], ['cpu_time', '13.965783622'], ['online_vcpus', '2'], ['up_time', '67.0097739697'], ['start_time', '1203353539.71'], ['store_mfn', '65534'], ['console_mfn', '65535']]) >[2008-02-18 17:54:39 xend.XendDomainInfo 3324] DEBUG (XendDomainInfo:306) parseConfig: config is ['domain', ['domid', '8'], ['uuid', 'a3b8259c-053f-24ce-2967-221c003884d7'], ['vcpus', '2'], ['vcpu_avail', '3'], ['cpu_weight', '1.0'], ['memory', '1024'], ['shadow_memory', '0'], ['maxmem', '4096'], ['features'], ['name', 'vt11u2'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['linux', ['kernel', '/boot/efi/efi/redhat/vmlinuz-2.6.18-53.el5xen'], ['ramdisk', '/boot/efi/efi/redhat/initrd-2.6.18-53.el5xenU.img']]], ['device', ['vif', ['backend', '0'], ['script', 'vif-bridge'], ['bridge', 'xenbr0'], ['mac', '00:16:3e:6b:eb:db']]], ['device', ['vbd', ['backend', '0'], ['dev', 'sda1:disk'], ['uname', 'phy:/dev/sda4'], ['mode', 'w']]], ['state', '-b----'], ['shutdown_reason', 'poweroff'], ['cpu_time', '13.965783622'], ['online_vcpus', '2'], ['up_time', '67.0097739697'], ['start_time', '1203353539.71'], ['store_mfn', '65534'], ['console_mfn', '65535']] >[2008-02-18 17:54:39 xend.XendDomainInfo 3324] DEBUG (XendDomainInfo:411) parseConfig: result is {'shadow_memory': 0, 'start_time': 1203353539.71, 'uuid': 'a3b8259c-053f-24ce-2967-221c003884d7', 'on_crash': 'restart', 'on_reboot': 'restart', 'localtime': None, 'image': ['linux', ['kernel', '/boot/efi/efi/redhat/vmlinuz-2.6.18-53.el5xen'], ['ramdisk', '/boot/efi/efi/redhat/initrd-2.6.18-53.el5xenU.img']], 'on_poweroff': 'destroy', 'bootloader_args': None, 'cpus': None, 'name': 'vt11u2', 'backend': [], 'vcpus': 2, 'cpu_weight': 1.0, 'features': None, 'vcpu_avail': 3, 'memory': 1024, 'device': [('vif', ['vif', ['backend', '0'], ['script', 'vif-bridge'], ['bridge', 'xenbr0'], ['mac', '00:16:3e:6b:eb:db']]), ('vbd', ['vbd', ['backend', '0'], ['dev', 'sda1:disk'], ['uname', 'phy:/dev/sda4'], ['mode', 'w']])], 'bootloader': None, 'cpu': None, 'maxmem': 4096} >[2008-02-18 17:54:39 xend.XendDomainInfo 3324] DEBUG (XendDomainInfo:1349) XendDomainInfo.construct: None >[2008-02-18 17:54:39 xend 3324] DEBUG (balloon:127) Balloon: 2580624 KiB free; need 2048; done. >[2008-02-18 17:54:39 xend.XendDomainInfo 3324] DEBUG (XendDomainInfo:756) Storing VM details: {'shadow_memory': '0', 'uuid': 'a3b8259c-053f-24ce-2967-221c003884d7', 'on_reboot': 'restart', 'start_time': '1203353539.71', 'on_poweroff': 'destroy', 'name': 'vt11u2', 'vcpus': '2', 'vcpu_avail': '3', 'memory': '1024', 'on_crash': 'restart', 'image': '(linux (kernel /boot/efi/efi/redhat/vmlinuz-2.6.18-53.el5xen) (ramdisk /boot/efi/efi/redhat/initrd-2.6.18-53.el5xenU.img))', 'maxmem': '4096'} >[2008-02-18 17:54:39 xend 3324] DEBUG (DevController:110) DevController: writing {'backend-id': '0', 'mac': '00:16:3e:6b:eb:db', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/9/0'} to /local/domain/9/device/vif/0. >[2008-02-18 17:54:39 xend 3324] DEBUG (DevController:112) DevController: writing {'bridge': 'xenbr0', 'domain': 'vt11u2', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/9/device/vif/0', 'mac': '00:16:3e:6b:eb:db', 'online': '1', 'frontend-id': '9'} to /local/domain/0/backend/vif/9/0. >[2008-02-18 17:54:39 xend 3324] DEBUG (DevController:110) DevController: writing {'backend-id': '0', 'virtual-device': '2049', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/9/2049'} to /local/domain/9/device/vbd/2049. >[2008-02-18 17:54:39 xend 3324] DEBUG (DevController:112) DevController: writing {'domain': 'vt11u2', 'frontend': '/local/domain/9/device/vbd/2049', 'dev': 'sda1', 'state': '1', 'params': '/dev/sda4', 'mode': 'w', 'online': '1', 'frontend-id': '9', 'type': 'phy'} to /local/domain/0/backend/vbd/9/2049. >[2008-02-18 17:54:39 xend.XendDomainInfo 3324] DEBUG (XendDomainInfo:791) Storing domain details: {'console/port': '2', 'name': 'vt11u2', 'console/limit': '1048576', 'vm': '/vm/a3b8259c-053f-24ce-2967-221c003884d7', 'domid': '9', 'cpu/0/availability': 'online', 'memory/target': '1048576', 'cpu/1/availability': 'online', 'store/port': '1'} >[2008-02-18 17:54:39 xend 3324] DEBUG (XendCheckpoint:198) restore:shadow=0x0, _static_max=0x1000, _static_min=0x400, >[2008-02-18 17:54:39 xend 3324] DEBUG (balloon:127) Balloon: 2580544 KiB free; need 1048576; done. >[2008-02-18 17:54:39 xend 3324] DEBUG (XendCheckpoint:215) [xc_restore]: /usr/lib/xen/bin/xc_restore 22 9 1 2 0 0 0 >[2008-02-18 17:54:39 xend 3324] INFO (XendCheckpoint:351) xc_linux_restore start: p2m_size = 40000 >[2008-02-18 17:54:50 xend 3324] INFO (XendCheckpoint:351) Failed allocation for dom 9: 262144 extents of order 0 >[2008-02-18 17:54:50 xend 3324] INFO (XendCheckpoint:351) ERROR Internal error: Failed to allocate memory for 4194304 KB to dom 9. >[2008-02-18 17:54:50 xend 3324] INFO (XendCheckpoint:351) >[2008-02-18 17:54:51 xend 3324] INFO (XendCheckpoint:351) Restore exit with rc=1 >[2008-02-18 17:54:51 xend.XendDomainInfo 3324] DEBUG (XendDomainInfo:1557) XendDomainInfo.destroy: domid=9 >[2008-02-18 17:54:51 xend 3324] ERROR (XendDomain:268) Restore failed >Traceback (most recent call last): > File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 263, in domain_restore_fd > return XendCheckpoint.restore(self, fd) > File "/usr/lib/python2.4/site-packages/xen/xend/XendCheckpoint.py", line 285, in restore > dominfo.destroy() > File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1562, in destroy > self.destroyDomain() > File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1566, in destroyDomain > log.debug("XendDomainInfo.destroyDomain(%s)", self.domid) > File "/usr/lib/python2.4/logging/__init__.py", line 954, in debug > if DEBUG >= self.getEffectiveLevel(): > File "/usr/lib/python2.4/logging/__init__.py", line 1144, in getEffectiveLevel > while logger: >Error: (1, 'Internal error', 'Could not get info for domain (3 = No such process)')
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 433307
: 295174