problem restarting xen guest after FC6 installation to guest

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

 



I just installed xen on a recent FC6 installation. I was able to
create a minimal FC6 guest machine (domain, I gather, in xen
parlance). When the installation finished, I told it to reboot. The
VNC viewer shut down.

I now cannot start the guest. I get, e.g.:

--------------------------------------------------
[root@charlesc dhcpd]# virsh restore /home/ccurley/projects/xen/FCTest1 
libvir: Xen Daemon error : POST operation failed: (xend.err 'Restore failed')
libvir: error : library call virDomainRestore failed, possibly not supported
error: Failed to restore domain from /home/ccurley/projects/xen/FCTest1

[root@charlesc dhcpd]# xm restore /home/ccurley/projects/xen/FCTest1 
Error: Restore failed
Usage: xm restore <CheckpointFile>

Restore a domain from a saved state.
[root@charlesc dhcpd]#
--------------------------------------------------

/var/log/xen/xend-debug.log is silent; it has information related to
the installation but not for any of my startup attempts.

/var/log/xen/xend.log reports, for the last attempt above:

--------------------------------------------------
[2006-12-30 17:27:41 xend.XendDomainInfo 3959] DEBUG (XendDomainInfo:190) XendDomainInfo.create(['vm', ['name', 'FCTest1'], [
'memory', '256'], ['maxmem', '256'], ['vcpus', '1'], ['uuid', '0d4127d4-077f-6594-7f10-020d939f33e4'], ['on_poweroff', 'destr
oy'], ['on_reboot', 'destroy'], ['on_crash', 'destroy'], ['image', ['linux', ['kernel', '/var/lib/xen/vmlinuz.pUWWz3'], ['ram
disk', '/var/lib/xen/initrd.img.9QcbE2'], ['args', ' method=ftp://charlesc/pub/fc6/FC-6-i386-DVD.iso  '], ['vnc', '1'], ['vnc
unused', '1']]], ['device', ['tap', ['dev', 'xvda'], ['uname', 'tap:aio:/home/ccurley/projects/xen/FCTest1'], ['mode', 'w']]]
, ['device', ['vif', ['mac', '00:16:3e:45:85:28'], ['bridge', 'xenbr0'], ['script', '/etc/xen/scripts/vif-bridge']]]])
[2006-12-30 17:27:41 xend.XendDomainInfo 3959] DEBUG (XendDomainInfo:296) parseConfig: config is ['vm', ['name', 'FCTest1'], 
['memory', '256'], ['maxmem', '256'], ['vcpus', '1'], ['uuid', '0d4127d4-077f-6594-7f10-020d939f33e4'], ['on_poweroff', 'dest
roy'], ['on_reboot', 'destroy'], ['on_crash', 'destroy'], ['image', ['linux', ['kernel', '/var/lib/xen/vmlinuz.pUWWz3'], ['ra
mdisk', '/var/lib/xen/initrd.img.9QcbE2'], ['args', ' method=ftp://charlesc/pub/fc6/FC-6-i386-DVD.iso  '], ['vnc', '1'], ['vn
cunused', '1']]], ['device', ['tap', ['dev', 'xvda'], ['uname', 'tap:aio:/home/ccurley/projects/xen/FCTest1'], ['mode', 'w']]
], ['device', ['vif', ['mac', '00:16:3e:45:85:28'], ['bridge', 'xenbr0'], ['script', '/etc/xen/scripts/vif-bridge']]]]
[2006-12-30 17:27:41 xend.XendDomainInfo 3959] DEBUG (XendDomainInfo:395) parseConfig: result is {'shadow_memory': None, 'uui
d': '0d4127d4-077f-6594-7f10-020d939f33e4', 'on_crash': 'destroy', 'on_reboot': 'destroy', 'localtime': None, 'image': ['linu
x', ['kernel', '/var/lib/xen/vmlinuz.pUWWz3'], ['ramdisk', '/var/lib/xen/initrd.img.9QcbE2'], ['args', ' method=ftp://charles
c/pub/fc6/FC-6-i386-DVD.iso  '], ['vnc', '1'], ['vncunused', '1']], 'on_poweroff': 'destroy', 'bootloader_args': None, 'cpus'
: None, 'name': 'FCTest1', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'features': None, 'vcpu_avail': None, 'memory': 256
, 'device': [('tap', ['tap', ['dev', 'xvda'], ['uname', 'tap:aio:/home/ccurley/projects/xen/FCTest1'], ['mode', 'w']]), ('vif
', ['vif', ['mac', '00:16:3e:45:85:28'], ['bridge', 'xenbr0'], ['script', '/etc/xen/scripts/vif-bridge']])], 'bootloader': No
ne, 'cpu': None, 'maxmem': 256}
[2006-12-30 17:27:41 xend.XendDomainInfo 3959] DEBUG (XendDomainInfo:1253) XendDomainInfo.construct: None
[2006-12-30 17:27:41 xend.XendDomainInfo 3959] DEBUG (XendDomainInfo:1285) XendDomainInfo.initDomain: 1 1.0
[2006-12-30 17:27:41 xend 3959] INFO (image:214) configuring linux guest
[2006-12-30 17:27:41 xend 3959] INFO (image:237) setting use_graphics
[2006-12-30 17:27:41 xend 3959] DEBUG (balloon:133) Balloon: 98108 KiB free; 0 to scrub; need 262144; retries: 20.
:
[2006-12-30 17:27:41 xend 3959] DEBUG (balloon:148) Balloon: setting dom0 target to 1256 MiB.
[2006-12-30 17:27:41 xend.XendDomainInfo 3959] DEBUG (XendDomainInfo:1014) Setting memory target of domain Domain-0 (0) to 12
56 MiB.
[2006-12-30 17:27:42 xend 3959] DEBUG (balloon:127) Balloon: 263148 KiB free; need 262144; done.
[2006-12-30 17:27:42 xend 3959] INFO (image:138) buildDomain os=linux dom=1 vcpus=1
[2006-12-30 17:27:42 xend 3959] DEBUG (image:193) dom            = 1
[2006-12-30 17:27:42 xend 3959] DEBUG (image:194) image          = /var/lib/xen/vmlinuz.pUWWz3
[2006-12-30 17:27:42 xend 3959] DEBUG (image:195) store_evtchn   = 1
[2006-12-30 17:27:42 xend 3959] DEBUG (image:196) console_evtchn = 2
[2006-12-30 17:27:42 xend 3959] DEBUG (image:197) cmdline        =   method=ftp://charlesc/pub/fc6/FC-6-i386-DVD.iso  
[2006-12-30 17:27:42 xend 3959] DEBUG (image:198) ramdisk        = /var/lib/xen/initrd.img.9QcbE2
[2006-12-30 17:27:42 xend 3959] DEBUG (image:199) vcpus          = 1
[2006-12-30 17:27:42 xend 3959] DEBUG (image:200) features       = 
[2006-12-30 17:27:42 xend 3959] DEBUG (blkif:24) exception looking up device number for xvda: [Errno 2] No such file or direc
tory: '/dev/xvda'
[2006-12-30 17:27:42 xend 3959] DEBUG (DevController:110) DevController: writing {'backend-id': '0', 'virtual-device': '51712
', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/tap/1/51712'} to /local/domain/1/device/vbd/51712
.
[2006-12-30 17:27:42 xend 3959] DEBUG (DevController:112) DevController: writing {'domain': 'FCTest1', 'frontend': '/local/do
main/1/device/vbd/51712', 'dev': 'xvda', 'state': '1', 'params': 'aio:/home/ccurley/projects/xen/FCTest1', 'mode': 'w', 'onli
ne': '1', 'frontend-id': '1', 'type': 'tap'} to /local/domain/0/backend/tap/1/51712.
[2006-12-30 17:27:42 xend 3959] DEBUG (DevController:110) DevController: writing {'backend-id': '0', 'mac': '00:16:3e:45:85:2
8', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/1/0'} to /local/domain/1/device/vif/0.
[2006-12-30 17:27:42 xend 3959] DEBUG (DevController:112) DevController: writing {'bridge': 'xenbr0', 'domain': 'FCTest1', 'h
andle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/1/device/vif/0', 'mac': '00:16
:3e:45:85:28', 'online': '1', 'frontend-id': '1'} to /local/domain/0/backend/vif/1/0.
[2006-12-30 17:27:42 xend 3959] INFO (image:279) spawning video: ['/usr/lib/xen/bin/xen-vncfb', '--unused', '--listen', '127.
0.0.1', '--domid', '1', '--title', 'FCTest1']
[2006-12-30 17:27:42 xend 3959] INFO (image:281) device model pid: 4588
[2006-12-30 17:27:42 xend.XendDomainInfo 3959] DEBUG (XendDomainInfo:712) Storing VM details: {'shadow_memory': '0', 'uuid': 
'0d4127d4-077f-6594-7f10-020d939f33e4', 'on_reboot': 'destroy', 'start_time': '1167524862.93', 'on_poweroff': 'destroy', 'nam
e': 'FCTest1', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '256', 'on_crash': 'destroy', 'image': "
(linux (kernel /var/lib/xen/vmlinuz.pUWWz3) (ramdisk /var/lib/xen/initrd.img.9QcbE2) (args ' method=ftp://charlesc/pub/fc6/FC
-6-i386-DVD.iso  ') (vnc 1) (vncunused 1))", 'maxmem': '256'}
[2006-12-30 17:27:42 xend.XendDomainInfo 3959] DEBUG (XendDomainInfo:747) Storing domain details: {'console/ring-ref': '15191
5', 'console/port': '2', 'name': 'FCTest1', 'console/limit': '1048576', 'vm': '/vm/0d4127d4-077f-6594-7f10-020d939f33e4', 'do
mid': '1', 'cpu/0/availability': 'online', 'memory/target': '262144', 'store/ring-ref': '151916', 'store/port': '1'}
[2006-12-30 17:27:43 xend 3959] DEBUG (DevController:143) Waiting for devices vif.
[2006-12-30 17:27:43 xend.XendDomainInfo 3959] DEBUG (XendDomainInfo:933) XendDomainInfo.handleShutdownWatch
[2006-12-30 17:27:43 xend 3959] DEBUG (DevController:149) Waiting for 0.
[2006-12-30 17:27:43 xend 3959] DEBUG (DevController:464) hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-statu
s.
[2006-12-30 17:27:43 xend 3959] DEBUG (DevController:464) hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-statu
s.
[2006-12-30 17:27:43 xend 3959] DEBUG (DevController:478) hotplugStatusCallback 1.
[2006-12-30 17:27:43 xend 3959] DEBUG (DevController:143) Waiting for devices usb.
[2006-12-30 17:27:43 xend 3959] DEBUG (DevController:143) Waiting for devices vbd.
[2006-12-30 17:27:43 xend 3959] DEBUG (DevController:143) Waiting for devices irq.
[2006-12-30 17:27:43 xend 3959] DEBUG (DevController:143) Waiting for devices pci.
[2006-12-30 17:27:43 xend 3959] DEBUG (DevController:143) Waiting for devices ioports.
[2006-12-30 17:27:43 xend 3959] DEBUG (DevController:143) Waiting for devices tap.
[2006-12-30 17:27:43 xend 3959] DEBUG (DevController:149) Waiting for 51712.
[2006-12-30 17:27:43 xend 3959] DEBUG (DevController:464) hotplugStatusCallback /local/domain/0/backend/tap/1/51712/hotplug-s
tatus.
[2006-12-30 17:27:43 xend 3959] DEBUG (DevController:478) hotplugStatusCallback 1.
[2006-12-30 17:27:43 xend 3959] DEBUG (DevController:143) Waiting for devices vtpm.
[2006-12-30 17:27:43 xend 3959] INFO (XendDomain:370) Domain FCTest1 (1) unpaused.
[2006-12-30 18:00:43 xend.XendDomainInfo 3959] INFO (XendDomainInfo:892) Domain has shutdown: name=FCTest1 id=1 reason=reboot
.
[2006-12-30 18:00:43 xend.XendDomainInfo 3959] DEBUG (XendDomainInfo:1449) XendDomainInfo.destroy: domid=1
[2006-12-30 18:00:43 xend.XendDomainInfo 3959] DEBUG (XendDomainInfo:1457) XendDomainInfo.destroyDomain(1)
[2006-12-30 18:02:43 xend 3959] 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 118, in restore
    raise XendError("not a valid guest state file: found '%s'" %
XendError: not a valid guest state file: found '<EB>H<90>^P<8E>���^@<B0><B8>^@^@<8E>%G�؎%@<C0>'
[2006-12-30 18:05:55 xend 3959] 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 118, in restore
    raise XendError("not a valid guest state file: found '%s'" %
XendError: not a valid guest state file: found '<EB>H<90>^P<8E>���^@<B0><B8>^@^@<8E>%G�؎%@<C0>'
[2006-12-30 18:12:11 xend 3959] ERROR (XendDomain:268) Restore failed

etc...
--------------------------------------------------

This line:

[2006-12-30 18:00:43 xend.XendDomainInfo 3959] INFO (XendDomainInfo:892) Domain has shutdown: name=FCTest1 id=1 reason=reboot

I am using http://fedoraproject.org/wiki/FedoraXenQuickstartFC6 as my
guide. Did I miss a step, like taking a snapshot of the guest?

-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB

Attachment: pgp7cNJcQmOuw.pgp
Description: PGP signature

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux