Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OVA migration fails with forklift 2.7 #1188

Open
arturshadnik opened this issue Nov 15, 2024 · 0 comments
Open

OVA migration fails with forklift 2.7 #1188

arturshadnik opened this issue Nov 15, 2024 · 0 comments

Comments

@arturshadnik
Copy link
Contributor

Hello!

When migrating an OVA using forklift 2.7, the migration fails during the Disk Transfer stage. The following error is seen in the conversion pod logs:

commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle -E /dev/sdb
SELinux enabled state cached to: disabled
No filesystem is currently mounted on /sys/fs/cgroup.
Failed to determine unit we run in, ignoring: No data available
command: lvm 'lvs' '-o' 'vg_name,lv_name' '-S' 'lv_role=public && lv_skip_activation!=yes' '--noheadings' '--separator' '/'
command: lvm returned 0
check_for_filesystem_on: /dev/sda (unknown)
command: mount '-o' 'ro' '/dev/sda' '/sysroot//'
libguestfs: trace: v2v: inspect_os = []
virt-v2v-inspector: error: inspection could not detect the source guest (or physical machine).

Assuming that you are running virt-v2v/virt-p2v on a source which is supported (and not, for example, a blank disk), then this should not happen.

No root device found in this operating system image.
rm -rf -- '/tmp/v2vnbdkit.761K9X'
rm -rf -- '/tmp/v2v.xAOMBC'
libguestfs: trace: v2v: close
libguestfs: closing guestfs handle 0x5568e05df630 (state 2)
libguestfs: trace: v2v: internal_autosync
command: mount returned 32
command: mount: stderr:
mount: /sysroot: wrong fs type, bad option, bad superblock on /dev/sda, missing codepage or helper program, or other error.
inspect_os: fses:
inspect_get_roots: roots:

VirtualMachine metadata from conversion pod logs:

metadata:
name: bitnami-wordpress-6-6.2.2-r1-debian-11-amd64
labels:
libguestfs.org/virt-v2v-version: "2.5.6"
libguestfs.org/osinfo: debian11
libguestfs.org/source: vmware

Args used for virt-v2v-inspector
-v -x -if raw -i disk -O /var/tmp/v2v/inspection.xml /var/tmp/v2v/bitnami-wordpress-6-6-2-2-r1-debian-11-amd64-sda

The same OVA can be migrated without issue using forklift 2.6.3. The OVA being migrated is Bitnami Wordpress, from VMWare and using Debian 11 (as shown in the vm metadata) - so it should be supported by virt-v2v.

Happy to provide the full log if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant