[et-mgmt-tools] virt-p2v problems
Ribeiro Emerson Gomes
Emerson.Ribeiro at scania.com
Tue Jul 14 14:19:44 UTC 2009
Hello everyone,
I'm giving virt-p2v a try to see if I can use it to migrate several RHEL
physical nodes into XEN guests.
First of all, I apologize for the long message, but I want to provide as
many information as I can so somebody might have a clue of what is going
on here.
Here's my test lab:
* Test physical node: Dell Optiplex GX270, 512mb ram, 75Gb hd,
running CentOS 5.3 (i386) minimal install
[root at emerson3 ~]# uname -a
Linux emerson3.br.scania.com 2.6.18-128.el5 #1 SMP Wed Jan 21
10:44:23 EST 2009 i686 i686 i386 GNU/Linux
* XEN Host: Dell 2950, 32Gb RAM, connect to a SAN, running CentOS
(x86_64)
[root at blpc6]# uname -a
Linux blpc6.br.scania.com 2.6.18-128.1.1.el5xen #1 SMP Mon
Jan 26 14:19:09 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
[root at blpc6]# rpm -qa | grep xen
kernel-xen-2.6.18-128.1.1.el5
kmod-gfs-xen-0.1.31-3.el5
xen-libs-3.0.3-80.el5
xen-3.0.3-80.el5
kmod-cmirror-xen-0.1.21-10.el5
kmod-openafs-xen-1.4.8-1.1.2.6.18_128.1.1.el5
Then I downloaded virt-p2v-0.9.9.iso, booted emerson3 off it, answered
all question and left the migration to complete overnight.
This morning after make sure there was a "migration finished
successfully" kind of message on emerson3 console, I connected blpc6 (my
XEN host) and entered:
[root at blpc6]# virsh define p2v-emerson3_br_scania_com-200907131614.conf
libvir: error : configuration file syntax error: expecting a name
Domain emerson3_br_scania_com defined from
p2v-emerson3_br_scania_com-200907131614.conf
Although I found the syntax error weird, it created the XEN conf file:
[root at blpc6]# cat /etc/xen/emerson3_br_scania_com
name = "emerson3_br_scania_com"
uuid = "e955544d84e58d791482e6d8cf4d1da2"
maxmem = 2046
memory = 2046
vcpus = 1
builder = "hvm"
kernel = "/usr/lib/xen/boot/hvmloader"
boot = "c"
pae = 1
acpi = 1
apic = 1
localtime = 0
device_model = "/usr/lib64/xen/bin/qemu-dm"
sdl = 0
vnc = 1
vncunused = 0
vncdisplay = "-5900"
disk = [
"file:/stage/blvd11/p2v-emerson3_br_scania_com-200907131614-hda.img,hda,
w" ]
vif = [ "mac=00:16:3e:73:c7:15" ]
I decided then to go ahead and try to start the domain:
[root at blpc6]# virsh start emerson3_br_scania_com
libvir: error : configuration file syntax error: expecting a name
Domain emerson3_br_scania_com started
[root at blpc6]# virsh list
Id Name State
----------------------------------
0 Domain-0 running
113 emerson3_br_scania_com no state
No state?? Have never seen it...
[root at blpc6]# virsh console emerson3_br_scania_com
No console available for domain
The machine does not ping after 15 minutes, so I assume it didn't
started ok.
Checking XEN logs:
[root at blpc6]# tail xend.log
[2009-07-14 11:07:39 xend 26869] DEBUG (DevController:496)
hotplugStatusCallback
/local/domain/0/backend/vbd/113/768/hotplug-status.
[2009-07-14 11:07:39 xend 26869] DEBUG (DevController:510)
hotplugStatusCallback 1.
[2009-07-14 11:07:39 xend 26869] DEBUG (DevController:154) Waiting for
devices irq.
[2009-07-14 11:07:39 xend 26869] DEBUG (DevController:154) Waiting for
devices vkbd.
[2009-07-14 11:07:39 xend 26869] DEBUG (DevController:154) Waiting for
devices vfb.
[2009-07-14 11:07:39 xend 26869] DEBUG (DevController:154) Waiting for
devices pci.
[2009-07-14 11:07:39 xend 26869] DEBUG (DevController:154) Waiting for
devices ioports.
[2009-07-14 11:07:39 xend 26869] DEBUG (DevController:154) Waiting for
devices tap.
[2009-07-14 11:07:39 xend 26869] DEBUG (DevController:154) Waiting for
devices vtpm.
[2009-07-14 11:07:39 xend 26869] INFO (XendDomain:380) Domain
emerson3_br_scania_com (113) unpaused.
[root at blpc6]# cat qemu-dm.27016.log
domid: 113
qemu: the number of cpus is 1
Watching /local/domain/113/logdirty/next-active
/etc/xen/qemu-ifup: could not launch network script
Could not initialize device 'tap'
This XEN host is able to start other XEN guests successfully, so network
is working fine.
I have no idea what TAP device is.
Any clues?
Thanks in advance,
Emerson Ribeiro
Infomate @ Scania Latin America Ltda
55 11 4344-8905
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20090714/5c74e126/attachment.htm>
More information about the et-mgmt-tools
mailing list