Hi Guys,
I am testing out converting some of our Xen linux guests through to VMWare. The process actually worked yesterday multiple times - there is some manual stuff I have to do once it's been converted but the actual conversion works flawlessly.
Now however, whenever I try and convert the machine from Xen to VMWare I am getting a "Unable to create Virtual Machine" error. Logs show:
I have literally no idea why it is failing when it worked so well a couple of hours ago. Can anyone shed any light on the situation for me?
Many Thanks
Tim
You should look at Worker logs. They are on the machine where Converter Server is installed under All Users directory.
I have exported the logs from the Converter of which I copied and pasted the contents in my original post - I can't see anything else helpful in the logs.
Or are there some other files that I can look into?
Yep, the ones you have looked at are the GUI logs. There should be Worker logs as well. Worker is the component that actually creates the VM on the target and there should be the "root" error message about what has failed. GUI is reporting only an error creating VM.
Fantastically pointed out! Thanks for that, I'm new to the converter. Here we go, this looks a bit more promising:
I would think from that it has something to do with the LVM's on my centos box?
Yep, looks like. Earlier in the Worker's log there should be a section about vmware-sysinfo, an XML containing description of your source system, in particular the detected disks, volumes and LVM volumes. Can you look at it and see what is detected there?
Converter works with Volume groups doesn't it? It's funny how it worked earlier today and not now!
Looks normal, except that there are no partitions on the disk, only the disk device itself. The other strange thing is that the root filesystem is on a LVM volume and there is no separate /boot volume. It means the boot manager is loading from an LVM volume? What is it, is it GRUB2? This is something Converter wouldn't expect. Can you upload the whole Worker log?
Uploaded the log file.
Many thanks for another pair of eyes on this. Is there something wrong with my Xen Linux setup?
[root@Zabbix ~]# more /etc/fstab
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
Looks like two disks - xvda1 xvda2
xvda1 is the boot partition
xvda2 is the LVM
[root@Zabbix /]# pvdisplay
--- Physical volume ---
PV Name /dev/xvda2
VG Name VolGroup00
PV Size 24.90 GB / not usable 29.62 MB
Allocatable yes (but full)
PE Size (KByte) 32768
Total PE 796
Free PE 0
Allocated PE 796
PV UUID JhfOcz-yhPJ-JBd3-iXJt-RLN7-HZbh-hMRteD
Yep, however vmware-sysinfo did not recognize this configuration. It only recognizes /dev/xvda disk with no partitions within it. There is an error on the line before the XML:
2012-04-26T16:31:01.867+01:00 [23464 info 'Default'] [Converter Agent SysinfoQuery] successfully exec'ed vmware-sysinfo; result: Error: Can't have a partition outside the disk!
Converter cannot deal with Xen VMs very well. They have some strange storage volumes, but it is looking mostly for attached IDE and SCSI disks. You can try to manually execute vmware-sysinfo on the source. It is a .tar.gz file located in the Program Files directory where Converter is installed, you need to transfer it to the source, extract it in a directory and run the vmware-sysinfo-linXX.sh as root. It should generate a log file describing in more details what disks and partitions are recognized and what has been filtered out.
It's pretty much given me the same info as the Worker log.
Right - does that mean I'd need to get the /boot partition into the LVM? Linux disks are not my strong point here unfortunately.
It's pretty much given me the same info as the Worker log.
For the XML - yes, however there should be a separate log file in the sysinfo directory. It says things like "Skipping device XXXXX"
Yes it does! :
[2012-04-26 17:14:01,919 INFO storage ]: Skipping unsupported device with path: /dev/md0, type: 0
Didn't think I had software RAID on this box, infact - I don't..
For some reason it does not find any partitions under /dev/xvda and /dev/xvdd. I guess that is why "boot" has been left out. I am not sure what exactly caused the Converter error, but it should be related to the missing info from the sysinfo XML.
Can you try to replace the libparted library in your sysinfo folder with the one that is native to your system (if you have one) and re-run vmware-sysinfo again and see if the output would be different? There is a chance that the version shipped by Converter does not recognize storage properly, but the one on your system is doing better.
Still no joy, even after transferring the libparted from /usr.
I'm completely stumped...
I have a xen vm Cent OS 5.7 that I converted successfully from Xen 6.0 to VMware Esxi 4.1 using the latest standalone converter 5.0
But after running the conversion I get the following error?
this was the orginal setup
How do i go about fixing this on the VM?
Thank you for your reply.
You may want to take a look at http://communities.vmware.com/message/1816296#1816296.
no have access