VMware Cloud Community
lwchkg
Contributor
Contributor

Unable to convert CentOS7 machine (Unable to query live source machine)

Does anyone seen this, and do you have a solution?

The problem screenshot is shown below.

And here's the worker log (I only copy "distribution" to "bootLoader", that should be enough):

--> [2020-06-24 12:17:25,840 INFO distribution ]: File '/etc/os-release' exists.

--> [2020-06-24 12:17:25,840 INFO distribution ]: Found distro name as 'centos' in line 'ID="centos"'

--> [2020-06-24 12:17:25,840 INFO distribution ]: Found distro version as '7' in line 'VERSION_ID="7"'

--> [2020-06-24 12:17:25,842 INFO operatingSystem ]: Command 'uname -n' returned:

--> [2020-06-24 12:17:25,842 INFO operatingSystem ]: --> eclass.tanghin.edu.hk

--> [2020-06-24 12:17:25,844 INFO operatingSystem ]: Command 'uname -r' returned:

--> [2020-06-24 12:17:25,844 INFO operatingSystem ]: --> 3.10.0-957.21.3.el7.x86_64

--> [2020-06-24 12:17:25,844 INFO operatingSystem ]: File '/sbin/dracut' exists.

--> [2020-06-24 12:17:25,844 INFO hardwareInfo ]: File '/sys/firmware/efi' does not exist.

--> [2020-06-24 12:17:25,844 INFO bootLoader ]: PopulateBootLoaderType: Trying to run /usr/sbin/grub2-install

--> [2020-06-24 12:17:25,848 INFO bootLoader ]: Command '/usr/sbin/grub2-install --version' returned:

--> [2020-06-24 12:17:25,848 INFO bootLoader ]: --> /usr/sbin/grub2-install (GRUB) 2.02~beta2

--> [2020-06-24 12:17:25,848 INFO bootLoader ]: PopulateBootLoaderType: Detected GRUB version as GRUB2

--> [2020-06-24 12:17:25,848 WARN bootLoader ]: ResolveSymbolicLink: Cannot find /boot/grub/grub.cfg

--> [2020-06-24 12:17:25,848 INFO bootLoader ]: Looking for grub.cfg in /boot

--> [2020-06-24 12:17:25,851 INFO bootLoader ]: Command 'find /boot -name grub.cfg' returned:

--> [2020-06-24 12:17:25,851 INFO bootLoader ]: --> /boot/grub2/grub.cfg

--> [2020-06-24 12:17:25,851 INFO bootLoader ]: PopulateLoaderConfigFile: Found /boot/grub2/grub.cfg

--> [2020-06-24 12:17:25,851 INFO bootLoader ]: File '/tmp/vmware-sysinfo-grub-device.map' does not exist.

--> [2020-06-24 12:17:25,851 INFO bootLoader ]: Trying to create device map file /tmp/vmware-sysinfo-grub-device.map

--> [2020-06-24 12:17:25,851 INFO bootLoader ]: Running command: grub --batch --no-floppy --device-map=/tmp/vmware-sysinfo-grub-device.map > /dev/null 2>&1

--> [2020-06-24 12:17:25,853 INFO bootLoader ]: Writable command 'grub --batch --no-floppy --device-map=/tmp/vmware-sysinfo-grub-device.map > /dev/null 2>&1' succeeded.

--> [2020-06-24 12:17:25,853 ERROR bootLoader ]: Unable to open file: /tmp/vmware-sysinfo-grub-device.map

-->

Note: "grub" command doesn't exist in CentOS 7 as GRUB2 is used instead.

converter_2020-06-24_12-54-34.png

Reply
0 Kudos
2 Replies
lwchkg
Contributor
Contributor

Added detail: the machine to be converted is a CentOS 7.6 machine.

So https://kb.vmware.com/s/article/67504 appears to apply. However, when I tried to use the workaround none of the packages listed there exists (see the log below).

[root@eclass etc]# yum downgrade lvm2-libs-2.02.180-10.el7_6.2.x86_64 lvm2-2.02.180-10.el7_6.2.x86_64 device-mapper-event-libs-1.02.149-10.el7_6.2.x86_64 device-mapper-1.02.149-10.el7_6.2.x86_64 device-mapper-libs-1.02.149-10.el7_6.2.x86_64 device-mapper-event-1.02.149-10.el7_6.2.x86_64

Loaded plugins: fastestmirror, langpacks

Loading mirror speeds from cached hostfile

* base: mirrors.icidc.com

* epel: hkg.mirror.rackspace.com

* extras: mirrors.icidc.com

* updates: mirrors.icidc.com

No package lvm2-libs-2.02.180-10.el7_6.2.x86_64 available.

No package lvm2-2.02.180-10.el7_6.2.x86_64 available.

No package device-mapper-event-libs-1.02.149-10.el7_6.2.x86_64 available.

No package device-mapper-1.02.149-10.el7_6.2.x86_64 available.

No package device-mapper-libs-1.02.149-10.el7_6.2.x86_64 available.

No package device-mapper-event-1.02.149-10.el7_6.2.x86_64 available.

Reply
0 Kudos
NicolasAlauzet

Those are system/env libraries. Is your system updated?

Linux @ CERN: /cern/centos/7/updates/x86_64/repoview/lvm2-libs.html

Is no chance to convert when powered off?

-------------------------------------------------------------------
Triple VCIX (CMA-NV-DCV) | vExpert | MCSE | CCNA
Reply
0 Kudos