Xen Migration Errors
by Chris Vaughan
Hi,
I am trying to perform a live xen migration and in the xm list it's saying
that it transfers but when I try and console onto the node it looks like it
does a kernel dump.
Here is my xend.log:
[2006-06-21 14:33:01 xend.XendDomainInfo] DEBUG (XendDomainInfo:259)
XendDomainInfo.restore(['domain', ['domid', '4'], ['uuid',
'aeb7627f-88cb-2248-726c-42a57950aa83'], ['ssidref', '0'], ['vcpus', '1'],
['vcpu_avail', '1'], ['cpu_weight', '1.0'], ['memory', '64'], ['maxmem',
'64'], ['features'], ['name', 'fedoraNode'], ['on_poweroff', 'destroy'],
['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['linux',
['kernel', '/boot/vmlinuz-2.6.16-1.2122_FC5xenU'], ['root', '/dev/sda1'],
['args', 'selinux=0 3 HOSTINFO=testnode151:192.168.0.70SERVERINFO=testnode150:
192.168.0.70 NODELIST= GATEWAY=192.168.0.1
DNS=192.168.0.1USERLIST=test1:mike APP= APPARGS=']]], ['device',
['vif', ['backend', '0'],
['script', 'vif-bridge'], ['mac', '00:16:3e:03:c0:44']]], ['device', ['vbd',
['backend', '0'], ['dev', 'sda1'], ['uname',
'file:/home/chris/images/fedoraNode.img'], ['mode', 'w']]], ['state',
'--p---'], ['shutdown_reason', 'poweroff'], ['cpu_time', '0.0'],
['online_vcpus', '1'], ['up_time', '70.0036299229'], ['start_time', '
1150929727.88'], ['store_mfn', '134920'], ['console_mfn', '134919']])
[2006-06-21 14:33:01 xend.XendDomainInfo] DEBUG (XendDomainInfo:290)
parseConfig: config is ['domain', ['domid', '4'], ['uuid',
'aeb7627f-88cb-2248-726c-42a57950aa83'], ['ssidref', '0'], ['vcpus', '1'],
['vcpu_avail', '1'], ['cpu_weight', '1.0'], ['memory', '64'], ['maxmem',
'64'], ['features'], ['name', 'fedoraNode'], ['on_poweroff', 'destroy'],
['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['linux',
['kernel', '/boot/vmlinuz-2.6.16-1.2122_FC5xenU'], ['root', '/dev/sda1'],
['args', 'selinux=0 3 HOSTINFO=testnode151:192.168.0.70SERVERINFO=testnode150:
192.168.0.70 NODELIST= GATEWAY=192.168.0.1
DNS=192.168.0.1USERLIST=test1:mike APP= APPARGS=']]], ['device',
['vif', ['backend', '0'],
['script', 'vif-bridge'], ['mac', '00:16:3e:03:c0:44']]], ['device', ['vbd',
['backend', '0'], ['dev', 'sda1'], ['uname',
'file:/home/chris/images/fedoraNode.img'], ['mode', 'w']]], ['state',
'--p---'], ['shutdown_reason', 'poweroff'], ['cpu_time', '0.0'],
['online_vcpus', '1'], ['up_time', '70.0036299229'], ['start_time', '
1150929727.88'], ['store_mfn', '134920'], ['console_mfn', '134919']]
[2006-06-21 14:33:01 xend.XendDomainInfo] DEBUG (XendDomainInfo:389)
parseConfig: result is {'uuid': 'aeb7627f-88cb-2248-726c-42a57950aa83',
'on_crash': 'restart', 'on_reboot': 'restart', 'image': ['linux', ['kernel',
'/boot/vmlinuz-2.6.16-1.2122_FC5xenU'], ['root', '/dev/sda1'], ['args',
'selinux=0 3 HOSTINFO=testnode151:192.168.0.70 SERVERINFO=testnode150:
192.168.0.70 NODELIST= GATEWAY=192.168.0.1
DNS=192.168.0.1USERLIST=test1:mike APP= APPARGS=']], 'on_poweroff':
'destroy',
'bootloader_args': None, 'cpus': None, 'name': 'fedoraNode', 'backend': [],
'vcpus': 1, 'cpu_weight': 1.0, 'features': None, 'vcpu_avail': 1, 'memory':
64, 'device': [('vif', ['vif', ['backend', '0'], ['script', 'vif-bridge'],
['mac', '00:16:3e:03:c0:44']]), ('vbd', ['vbd', ['backend', '0'], ['dev',
'sda1'], ['uname', 'file:/home/chris/images/fedoraNode.img'], ['mode',
'w']])], 'bootloader': None, 'cpu': None, 'maxmem': 64}
[2006-06-21 14:33:01 xend.XendDomainInfo] DEBUG (XendDomainInfo:1205)
XendDomainInfo.construct: None
[2006-06-21 14:33:01 xend.XendDomainInfo] DEBUG (XendDomainInfo:700) Storing
VM details: {'name': 'fedoraNode', 'on_reboot': 'restart', 'image': "(linux
(kernel /boot/vmlinuz-2.6.16-1.2122_FC5xenU) (root /dev/sda1) (args
'selinux=0 3 HOSTINFO=testnode151:192.168.0.70 SERVERINFO=testnode150:
192.168.0.70 NODELIST= GATEWAY=192.168.0.1
DNS=192.168.0.1USERLIST=test1:mike APP= APPARGS='))", 'on_poweroff':
'destroy', 'uuid':
'aeb7627f-88cb-2248-726c-42a57950aa83', 'on_crash': 'restart', 'vcpus': '1',
'vcpu_avail': '1', 'memory': '64', 'maxmem': '64'}
[2006-06-21 14:33:01 xend] DEBUG (DevController:110) DevController: writing
{'backend-id': '0', 'mac': '00:16:3e:03:c0:44', 'handle': '0', 'state': '1',
'backend': '/local/domain/0/backend/vif/23/0'} to
/local/domain/23/device/vif/0.
[2006-06-21 14:33:01 xend] DEBUG (DevController:112) DevController: writing
{'mac': '00:16:3e:03:c0:44', 'state': '1', 'handle': '0', 'script':
'/etc/xen/scripts/vif-bridge', 'frontend-id': '23', 'domain': 'fedoraNode',
'frontend': '/local/domain/23/device/vif/0'} to
/local/domain/0/backend/vif/23/0.
[2006-06-21 14:33:01 xend] DEBUG (blkif:24) exception looking up device
number for sda1: [Errno 2] No such file or directory: '/dev/sda1'
[2006-06-21 14:33:01 xend] DEBUG (DevController:110) DevController: writing
{'virtual-device': '2049', 'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/23/2049'} to /local/domain/23/device/vbd/2049.
[2006-06-21 14:33:01 xend] DEBUG (DevController:112) DevController: writing
{'domain': 'fedoraNode', 'frontend': '/local/domain/23/device/vbd/2049',
'dev': 'sda1', 'state': '1', 'params': '/home/chris/images/fedoraNode.img',
'mode': 'w', 'frontend-id': '23', 'type': 'file'} to
/local/domain/0/backend/vbd/23/2049.
[2006-06-21 14:33:01 xend.XendDomainInfo] DEBUG (XendDomainInfo:725) Storing
domain details: {'console/port': '2', 'name': 'fedoraNode', 'console/limit':
'1048576', 'vm': '/vm/aeb7627f-88cb-2248-726c-42a57950aa83', 'domid': '23',
'cpu/0/availability': 'online', 'memory/target': '65536', 'store/port': '1'}
[2006-06-21 14:33:01 xend] DEBUG (balloon:126) Balloon: free 237; need 73;
done.
[2006-06-21 14:33:01 xend] DEBUG (XendCheckpoint:155) [xc_restore]:
/usr/lib/xen/bin/xc_restore 10 20 23 18432 1 2
[2006-06-21 14:33:01 xend] ERROR (XendCheckpoint:234) xc_linux_restore
start: max_pfn = 4800
[2006-06-21 14:33:01 xend] ERROR (XendCheckpoint:234) Increased domain
reservation by 12000 KB
[2006-06-21 14:33:01 xend] ERROR (XendCheckpoint:234) Reloading memory
pages: 0%
[2006-06-21 14:33:08 xend] ERROR (XendCheckpoint:234) Received all pages (0
races)
[2006-06-21 14:33:08 xend] ERROR (XendCheckpoint:234) ^H^H^H^H100%
[2006-06-21 14:33:08 xend] ERROR (XendCheckpoint:234) Memory reloaded.
[2006-06-21 14:33:08 xend] ERROR (XendCheckpoint:234) Decreased reservation
by 2136 pages
[2006-06-21 14:33:08 xend] ERROR (XendCheckpoint:234) Domain ready to be
built.
[2006-06-21 14:33:08 xend] ERROR (XendCheckpoint:234) Restore exit with rc=0
[2006-06-21 14:33:08 xend] DEBUG (XendCheckpoint:207) store-mfn 107286
[2006-06-21 14:33:08 xend] DEBUG (XendCheckpoint:207) console-mfn 28893
[2006-06-21 14:33:08 xend.XendDomainInfo] DEBUG (XendDomainInfo:663)
XendDomainInfo.completeRestore
[2006-06-21 14:33:08 xend.XendDomainInfo] DEBUG (XendDomainInfo:725) Storing
domain details: {'console/ring-ref': '28893', 'console/port': '2', 'name':
'fedoraNode', 'console/limit': '1048576', 'vm':
'/vm/aeb7627f-88cb-2248-726c-42a57950aa83', 'domid': '23',
'cpu/0/availability': 'online', 'memory/target': '65536', 'store/ring-ref':
'107286', 'store/port': '1'}
[2006-06-21 14:33:08 xend.XendDomainInfo] DEBUG (XendDomainInfo:908)
XendDomainInfo.handleShutdownWatch
[2006-06-21 14:33:08 xend.XendDomainInfo] DEBUG (XendDomainInfo:673)
XendDomainInfo.completeRestore done
Any help would be appreciated. Both distros are running FC5. Does the same
hardware, kernel and image need to exist on the host and the migration
destination?
Thanks,
--
------------------------------
Christopher Vaughan
17 years, 10 months
xenguest-install.py nfs problems
by Tom Spec
!-- DIV {margin:0px;}-->!-- DIV {margin:0px;}-->When I run xenguest-install.py on FC5, it always gives me the following error after "What is the install location?":
Invalid NFS location given
I have tried two different methods that work for me for regular installations,but I can't get this script to work.
1) Specify the location that contains the Fedora Core .iso files
2) Specify the location that contains the "Fedora" directory (and subsequently all the RPMs)
Can someone tell me exactly what xenguest-install.py is looking for in an NFS install location?
Note: It does seem to be mounting the NFS directory, it's just that it tells me it's invalid.
Any help would be appreciated.
# rpm -qa | grep xen
kernel-xen0-2.6.16-1.2122_FC5
xen-3.0.2-0.FC5.3
Tom
17 years, 10 months
Xen guest on RAID5 LVM (install problem)
by Robert Mortimer
I am trying to install a Xen FC5 client on my FC5 machine.
I have a single SATA boot drive with a standard FC5 install
I have a RAID5 array of 3 SATA disks for my VM's
I run the install script but and specify the path to the logical Volume when
prompted
All goes well until the script tries to format the partition.
If it has already been mounted it will recognize the fact
When it goes to format I get the following just after the network setup
loader received SIGSEGV!. Backtrace:
[0x8049865]
[0x754420]
[0x8063ca0]
[0x805e5e1]
[0x804ad21]
[0x80cae75]
[0x8048131]
install exited abnormally
sending termination signals...done
sending kill signals...done
disabling swap...
unmounting filesystems...
/proc done
/dev/pts done
/sys done
/tmp/ramfs done
you may safely reboot your system
If I format the LVM with ext3 I get to the partitioning but it then craps
out on the format
Robert
17 years, 10 months
xen boot problem
by Ron Wahler
with FC5 2.5.16.1-2133 and xen 3.2
to get zen to boot out of grub I had to turn off the xend on startup with
chkconfig and
then Zen would come up into X Windows. You then have to setenforce=0 and
then start
xend.
chkconfig --level 345 xend off
....
boot xen into xwindows
.....
setenforce=o
xend start
...
now xen is ready for a guest.
Ron Wahler
http://www.positive-logic.net
17 years, 10 months
xen boot problem
by Ron Wahler
FC5 kernel version: 2.6.1-2133_FC5
xen: 3.2
this is the error I get after selecting xen from the
grub boot line and then booting to the xen kernel, I
never get to the login prompt booting at RL 3. any
help would be great.
thanks,
Ron.
dmesg:
Jun 20 09:46:20 localhost kernel:
audit(1150818380.683:5): avc: denied {
create } for pid=2663 comm="python" name="xend"
scontext=system_u:sy stem_r:xend_t:s0
tcontext=system_u:object_r:var_run_t:s0 tclass=dir
cat /var/log/xend-debug.log
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python2.4/threading.py", line 442, in
__bootstrap
self.run()
File "/usr/lib/python2.4/threading.py", line 422, in
run
self.__target(*self.__args, **self.__kwargs)
File
"/usr/lib/python2.4/site-packages/xen/xend/server/XMLRPCServer.py",
line 94, in run
self.server = UnixXMLRPCServer(XML_RPC_SOCKET,
False)
File
"/usr/lib/python2.4/site-packages/xen/util/xmlrpclib2.py",
line 147, in __init__
os.chown(parent, os.geteuid(), os.getegid())
OSError: [Errno 13] Permission denied: '/var/run/xend'
xen.log:
cat /var/log/xend.log
[2006-06-20 13:56:42 xend] INFO (SrvDaemon:285) Xend
Daemon started
[2006-06-20 13:56:42 xend] INFO (SrvDaemon:289) Xend
changeset: unavailable .
[2006-06-20 13:56:42 xend.XendDomainInfo] DEBUG
(XendDomainInfo:201)
XendDomainInfo.recreate({'paused': 0, 'cpu_time':
36250185703L, 'ssidref': 0, 'handle': [0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'shutdown_reason':
0, 'dying': 0, 'dom': 0, 'mem_kb': 262144,
'maxmem_kb': -4, 'max_vcpu_id': 0, 'crashed': 0,
'running': 1, 'shutdown': 0, 'online_vcpus': 1,
'blocked': 0})
[2006-06-20 13:56:42 xend.XendDomainInfo] INFO
(XendDomainInfo:213) Recreating domain 0, UUID
00000000-0000-0000-0000-000000000000.
[2006-06-20 13:56:42 xend.XendDomainInfo] WARNING
(XendDomainInfo:235) No vm path in store for existing
domain 0
[2006-06-20 13:56:42 xend.XendDomainInfo] DEBUG
(XendDomainInfo:673) Storing VM details: {'ssidref':
'0', 'uuid': '00000000-0000-0000-0000-000000000000',
'on_reboot': 'restart', 'on_poweroff': 'destroy',
'name': 'Domain-0', 'vcpus': '1', 'vcpu_avail': '1',
'memory': '256', 'on_crash': 'restart', 'maxmem':
'256'}
[2006-06-20 13:56:42 xend.XendDomainInfo] DEBUG
(XendDomainInfo:698) Storing domain details:
{'cpu/0/availability': 'online', 'memory/target':
'262144', 'name': 'Domain-0', 'console/limit':
'1048576', 'vm':
'/vm/00000000-0000-0000-0000-000000000000', 'domid':
'0'}
[2006-06-20 13:56:42 xend] DEBUG (XendDomain:152)
number of vcpus to use is 0
[2006-06-20 13:56:42 xend.XendDomainInfo] DEBUG
(XendDomainInfo:882)
XendDomainInfo.handleShutdownWatch
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
17 years, 10 months
xen Serial Port
by Sanjam Garg
Hi
Does anyone have any idea how I can communicate with /dev/ttyS0 present in Dom0 from a virtual machine.
Sanjam
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
17 years, 10 months
libvir: Xen Daemon error : POST operation failed: No such domain xenboxa
by Chitlesh GOORAH
Hai there,
xenguest-install.py is failing each time. Below are more details about
my problem:
-bash-3.1# uname -r
2.6.16-1.2133_FC5xen0
-bash-3.1# rpm -qa | grep xen
kernel-xen0-2.6.16-1.2133_FC5
xen-3.0.2-0.FC5.3
-bash-3.1# /usr/sbin/xenguest-install.py
What is the name of your virtual machine? xenbox
How much RAM should be allocated (in megabytes)? 512
What would you like to use as the disk (path)? /home/chitlesh/xenbox
What is the install location? http://mirrors.kernel.org/fedora/core/5/i386/os
Starting install...
libvir: Xen Daemon error : POST operation failed: No such domain xenboxa
Failed to get devices for domain xenbox
Traceback (most recent call last):
File "/usr/sbin/xenguest-install.py", line 460, in ?
main()
File "/usr/sbin/xenguest-install.py", line 451, in main
start_paravirt_install(name, ram, disk, mac, uuid, src, options.extra)
File "/usr/sbin/xenguest-install.py", line 331, in start_paravirt_install
dom = conn.createLinux(cfgxml, 0)
File "/usr/lib/python2.4/site-packages/libvirt.py", line 207, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed')
libvirt.libvirtError: virDomainCreateLinux() failed
-bash-3.1# /usr/sbin/xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 256 1 r----- 941.0
Checking for xendomains:/etc/init.d/xendomains: line 69:
log_failure_msg: command not found
i already did xm mem-set 0 256
What should I do to overcome this ?
Chitlesh
--
http://clunixchit.blogspot.com
17 years, 10 months
System shutting down -- need manual reset.
by Thomas von Steiger
Hello,
I have daily this kernel error and with system down.
Kernel Version 2.6.16-1.2122_FC5xen0, box running on latest updates.
Is this a know problem ?
(XEN) Assertion '(sp == 0) || (pending_eoi[cpu][sp-1].vector < vector)'
failed, line 189, file irq.c
(XEN) BUG at irq.c:189
(XEN) (file=extable.c, line=77) Pre-exception: ff13173f -> 00000000
(XEN) ----[ Xen-3.0.2-2 Not tainted ]----
(XEN) CPU: 0
(XEN) EIP: e008:[<ff13173f>] __do_IRQ_guest+0x192/0x2af
(XEN) EFLAGS: 00010086 CONTEXT: hypervisor
(XEN) eax: ff1a7138 ebx: ff117d4b ecx: 0000399b edx: 0000399b
(XEN) esi: 00005305 edi: 00000000 ebp: ff1b9eac esp: ff1b9e74
(XEN) cr0: 8005003b cr3: 61531000
(XEN) ds: e010 es: e010 fs: e010 gs: e010 ss: e010 cs: e008
(XEN) Xen stack trace from esp=ff1b9e74:
(XEN) ff197519 ff197527 000000bd ff197527 ffbfee80 00000001 00000013
ff1d2d00
(XEN) ffbb5280 ffffffff ff1b9ebc 00000001 00000000 ff117d4b ff1b9edc
ff131250
(XEN) 000000b0 00000000 ff1b9edc ff11cfc7 00000000 00000000 000000b0
ff1d2d00
(XEN) ff1c3680 ff117d4b 00e46103 ff12cdd5 ff1b9ee8 ff117d4b 00000003
ffbbb204
(XEN) 00005305 00000000 ff1b9f7c 00000000 00b00000 ff11b6b1 0000e008
00000246
(XEN) ff1c1100 ffbbb204 58825219 00005aeb ff1081eb ffbb6080 0000000e
ff1b9f40
(XEN) ff131874 0000000e 00000001 00000001 ff131844 ffbea080 ffbbb180
0007a120
(XEN) 00000000 ffb4f080 ffbbb180 00000000 58825219 00005aeb ffbea080
0007a120
(XEN) 00000000 ffb4f080 ff1b9fac ff11bb79 00000001 ff1c2500 00000002
ff1b9fb4
(XEN) ff1b9fac ff17e171 00200002 00000001 00000000 00000002 00000000
ff17e376
(XEN) 00000000 00000000 00000000 00005305 00000000 00000000 00005305
00880000
(XEN) 00005305 00b00000 00000000 0000e008 00000202 0000007b 0000007b
00000000
(XEN) 00000000 00000000 ffb4f080
(XEN) Xen call trace:
(XEN) [<ff13173f>] __do_IRQ_guest+0x192/0x2af
(XEN) [<ff131250>] do_IRQ+0x58/0x18e
(XEN) [<ff12cdd5>] common_interrupt+0x45/0x50
(XEN) [<ff11b6b1>] __enter_scheduler+0x3d8/0x48c
(XEN) [<ff11bb79>] do_softirq+0xa1/0xb8
(XEN)
(XEN) ************************************
(XEN) CPU0 FATAL TRAP 6 (invalid opcode), ERROR_CODE 0000, IN INTERRUPT
CONTEXT.
(XEN) System shutting down -- need manual reset.
(XEN) ************************************
Regards,
Thomas
17 years, 10 months
xenguest-install problem
by Laurent van der Straten
I try to install FC5 i386 as guest on fc5 X86_64 host. each try I get
this :
libvir: Xen Daemon error : POST operation failed: No such domain fc5i
Failed to get devices for domain fc5
Traceback (most recent call last):
File "/usr/sbin/xenguest-install.py", line 460, in ?
main()
File "/usr/sbin/xenguest-install.py", line 451, in main
start_paravirt_install(name, ram, disk, mac, uuid, src,
options.extra)
File "/usr/sbin/xenguest-install.py", line 331, in
start_paravirt_install
dom = conn.createLinux(cfgxml, 0)
File "/usr/lib64/python2.4/site-packages/libvirt.py", line 207, in
createLinux if ret is None:raise libvirtError('virDomainCreateLinux()
failed')
libvirt.libvirtError: virDomainCreateLinux() failed
details:
Linux xen.unipress.be 2.6.16-1.2133_FC5xen0 #1 SMP Tue Jun 6 01:21:07
EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
[root@xen laurent]# /usr/sbin/xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 512 1 r----- 7220.4
server : Dual Opteron 4GB RAM
thanks a lot
--
**********************************************************************
Laurent van der Straten
Network/Operation Systems/Support
Rue Théodore Verhaegen, 196 202
1060 Bruxelles
Belgium
Tel: +32 2 533 99 84
Fax: +32 2 523 24 96
URL: www.up-servers.com
**********************************************************************
17 years, 10 months